diff options
author | Daniel Kim <dekim@broadcom.com> | 2014-03-25 21:45:09 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-27 19:20:06 +0100 |
commit | 87b7e9e2f6fe7e6b401443b3dd4b64815bcaa15c (patch) | |
tree | 19c23a2fa665cf3bf0ff64178edd94a63a267587 /drivers/net/wireless/brcm80211/include/brcmu_wifi.h | |
parent | rtlwifi: Remove casts of pointer to same type (diff) | |
download | linux-87b7e9e2f6fe7e6b401443b3dd4b64815bcaa15c.tar.xz linux-87b7e9e2f6fe7e6b401443b3dd4b64815bcaa15c.zip |
brcmfmac: use mfp if required from user-space
The struct cfg80211_connect_params indicate whether the connection
should use management frame protection (mfp). If required set the
MFP_CAPABLE flag in the firmware command. This is supported from
user-space by wpa_supplicant since v2.1.
Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/include/brcmu_wifi.h')
-rw-r--r-- | drivers/net/wireless/brcm80211/include/brcmu_wifi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h index 7ca2aa1035b2..74419d4bd123 100644 --- a/drivers/net/wireless/brcm80211/include/brcmu_wifi.h +++ b/drivers/net/wireless/brcm80211/include/brcmu_wifi.h @@ -217,6 +217,9 @@ static inline bool ac_bitmap_tst(u8 bitmap, int prec) #define WSEC_SWFLAG 0x0008 /* to go into transition mode without setting wep */ #define SES_OW_ENABLED 0x0040 +/* MFP */ +#define MFP_CAPABLE 0x0200 +#define MFP_REQUIRED 0x0400 /* WPA authentication mode bitvec */ #define WPA_AUTH_DISABLED 0x0000 /* Legacy (i.e., non-WPA) */ |