diff options
author | Maithili Hinge <maithili@marvell.com> | 2014-03-19 01:24:10 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-19 15:15:47 -0400 |
commit | 474a41e94dfc85167e1761bfbb8bf180f90633b2 (patch) | |
tree | 1cee8cb44e917384c6986a57486ca1601b20a484 /drivers/net/wireless/mwifiex/fw.h | |
parent | c4bc980f1b34a8c172b3812e8c946368c730bddd (diff) |
mwifiex: update MCS set as per RX-STBC bit from hostapd
To set AP in 1X1 or 2X2 mode through hostapd, we need to set
RX-STBC* in hostapd.conf file. Depending upon RX-STBC bit in
ht_cap IE received from hostapd, we need to update mcs set in
bss_cfg appropriately before starting AP.
Signed-off-by: Maithili Hinge <maithili@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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h index 341e41978ac6..b485dc1ae5eb 100644 --- a/drivers/net/wireless/mwifiex/fw.h +++ b/drivers/net/wireless/mwifiex/fw.h | |||
@@ -202,6 +202,11 @@ enum MWIFIEX_802_11_PRIVACY_FILTER { | |||
202 | 202 | ||
203 | #define MWIFIEX_DEF_AMPDU IEEE80211_HT_AMPDU_PARM_FACTOR | 203 | #define MWIFIEX_DEF_AMPDU IEEE80211_HT_AMPDU_PARM_FACTOR |
204 | 204 | ||
205 | #define GET_RXSTBC(x) (x & IEEE80211_HT_CAP_RX_STBC) | ||
206 | #define MWIFIEX_RX_STBC1 0x0100 | ||
207 | #define MWIFIEX_RX_STBC12 0x0200 | ||
208 | #define MWIFIEX_RX_STBC123 0x0300 | ||
209 | |||
205 | /* dev_cap bitmap | 210 | /* dev_cap bitmap |
206 | * BIT | 211 | * BIT |
207 | * 0-16 reserved | 212 | * 0-16 reserved |