qtnfmac: enable WPA3 SAE support
authorSergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Tue, 5 Feb 2019 09:48:57 +0000 (09:48 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 8 Feb 2019 15:30:24 +0000 (17:30 +0200)
commit47b08e75a669887b19ecaf4e429cf3c19b748500
tree179e7ed6c5479a42fd5b01c376a36532c3f330f5
parent524d6323af5fbc96df5c681a5e338cbb2c089c46
qtnfmac: enable WPA3 SAE support

In the case of SAE AP, drivers offload authentication to user-space
software, e.g. hostapd. For FullMAC drivers the procedure is as follows.
If auth_type is SAE and user space indicates external authentication
capability, then driver requests authentication offload to user-space
software using cfg80211_external_auth_request call. From that point,
auth frame exchange is performed transparently for driver: user-space
software sends/receives mgmt frames using mgmt_tx/mgmt_frame_register
cfg80211 callbacks. As soon as authenitcation is completed, user-space
software notifies driver about its status using external_auth cfg80211
callback.

Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
drivers/net/wireless/quantenna/qtnfmac/commands.c
drivers/net/wireless/quantenna/qtnfmac/commands.h
drivers/net/wireless/quantenna/qtnfmac/event.c
drivers/net/wireless/quantenna/qtnfmac/qlink.h