diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2014-02-07 19:27:27 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:36:16 -0500 |
commit | 79d9a54cf0e7c77dd6eada44c1461ad2e7da83b8 (patch) | |
tree | efd42357f05f8a1337196a7aee14f7567c849fd5 /drivers/net/wireless/mwifiex/fw.h | |
parent | 645097cea620cb94d620360226508c6074ec278b (diff) |
mwifiex: advertise correct beamforming information for VHT
Currently MU/SU beamformer and MU beamformee features are
not supported.
Hence this patch modifies VHT capability information accordingly.
Number of sounding dimensions should be zero in this case.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/fw.h')
-rw-r--r-- | drivers/net/wireless/mwifiex/fw.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index cad9f86600c2..4139c6f4a52b 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h | |||
@@ -243,6 +243,15 @@ enum MWIFIEX_802_11_PRIVACY_FILTER { | |||
243 | #define GET_DEVTXMCSMAP(dev_mcs_map) (dev_mcs_map >> 16) | 243 | #define GET_DEVTXMCSMAP(dev_mcs_map) (dev_mcs_map >> 16) |
244 | #define GET_DEVRXMCSMAP(dev_mcs_map) (dev_mcs_map & 0xFFFF) | 244 | #define GET_DEVRXMCSMAP(dev_mcs_map) (dev_mcs_map & 0xFFFF) |
245 | 245 | ||
246 | /* Clear SU Beanformer, MU beanformer, MU beanformee and | ||
247 | * sounding dimensions bits | ||
248 | */ | ||
249 | #define MWIFIEX_DEF_11AC_CAP_BF_RESET_MASK \ | ||
250 | (IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE | \ | ||
251 | IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE | \ | ||
252 | IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE | \ | ||
253 | IEEE80211_VHT_CAP_SOUNDING_DIMENSIONS_MASK) | ||
254 | |||
246 | #define MOD_CLASS_HR_DSSS 0x03 | 255 | #define MOD_CLASS_HR_DSSS 0x03 |
247 | #define MOD_CLASS_OFDM 0x07 | 256 | #define MOD_CLASS_OFDM 0x07 |
248 | #define MOD_CLASS_HT 0x08 | 257 | #define MOD_CLASS_HT 0x08 |