brcmfmac: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode
authorChung-Hsien Hsu <stanley.hsu@cypress.com>
Mon, 17 Aug 2020 07:33:14 +0000 (02:33 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 16 Sep 2020 05:56:04 +0000 (08:56 +0300)
commit787fb926f8ccb95f43f0870cebb1d9af21c7f194
treea36572662ee1852b63e2c64092dc91549f9a381e
parent5a6bd84f815485800699f55c78f690b2ed35f0c5
brcmfmac: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode

Firmware may have authenticator code built-in. This is detected by the
driver and indicated in the wiphy features flags. User space can use
this flag to determine whether or not to provide the pre-shared key
material in the nl80211 start AP command to offload the 4-way handshake
in AP mode.

Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200817073316.33402-3-stanley.hsu@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h