diff options
author | Chung-Hsien Hsu <stanley.hsu@cypress.com> | 2020-08-17 02:33:14 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-09-16 08:56:04 +0300 |
commit | 787fb926f8ccb95f43f0870cebb1d9af21c7f194 (patch) | |
tree | a36572662ee1852b63e2c64092dc91549f9a381e /drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h | |
parent | 5a6bd84f815485800699f55c78f690b2ed35f0c5 (diff) | |
download | linux-stable-787fb926f8ccb95f43f0870cebb1d9af21c7f194.tar.gz linux-stable-787fb926f8ccb95f43f0870cebb1d9af21c7f194.tar.bz2 linux-stable-787fb926f8ccb95f43f0870cebb1d9af21c7f194.zip |
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
Diffstat (limited to 'drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h')
-rw-r--r-- | drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h index cda3fc1bab7f..d1f4257af696 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h @@ -28,6 +28,7 @@ * MONITOR_FMT_HW_RX_HDR: firmware provides monitor packets with hw/ucode header * DOT11H: firmware supports 802.11h * SAE: simultaneous authentication of equals + * FWAUTH: Firmware authenticator */ #define BRCMF_FEAT_LIST \ BRCMF_FEAT_DEF(MBSS) \ @@ -49,7 +50,8 @@ BRCMF_FEAT_DEF(MONITOR_FMT_RADIOTAP) \ BRCMF_FEAT_DEF(MONITOR_FMT_HW_RX_HDR) \ BRCMF_FEAT_DEF(DOT11H) \ - BRCMF_FEAT_DEF(SAE) + BRCMF_FEAT_DEF(SAE) \ + BRCMF_FEAT_DEF(FWAUTH) /* * Quirks: |