diff options
author | Eyal Shapira <eyal@wizery.com> | 2014-01-06 13:16:48 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-01-13 15:17:19 -0500 |
commit | e36b766d0c674c9dc73a2ace7aa37aea78afa233 (patch) | |
tree | 948ddb33f2ccd2b9efac47165b8f9ea6b8d6990b /drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | |
parent | f94045ed19821cee923f79953f3f35a2de81f695 (diff) |
iwlwifi: change beamformee STS cap
All beamformee supporting chips have the ability to support
VHT NDP in up to 4 STSs. So change the published beamformee
STS cap accordingly to 3 as it should be Nsts-1.
Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-nvm-parse.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c index 1b61cb529948..0c677b4e68cb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c +++ b/drivers/net/wireless/iwlwifi/iwl-nvm-parse.c | |||
@@ -264,14 +264,13 @@ static void iwl_init_vht_hw_capab(const struct iwl_cfg *cfg, | |||
264 | struct ieee80211_sta_vht_cap *vht_cap) | 264 | struct ieee80211_sta_vht_cap *vht_cap) |
265 | { | 265 | { |
266 | int num_ants = num_of_ant(data->valid_rx_ant); | 266 | int num_ants = num_of_ant(data->valid_rx_ant); |
267 | int bf_sts_cap = num_ants - 1; | ||
268 | 267 | ||
269 | vht_cap->vht_supported = true; | 268 | vht_cap->vht_supported = true; |
270 | 269 | ||
271 | vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | | 270 | vht_cap->cap = IEEE80211_VHT_CAP_SHORT_GI_80 | |
272 | IEEE80211_VHT_CAP_RXSTBC_1 | | 271 | IEEE80211_VHT_CAP_RXSTBC_1 | |
273 | IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE | | 272 | IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE | |
274 | bf_sts_cap << IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT | | 273 | 3 << IEEE80211_VHT_CAP_BEAMFORMEE_STS_SHIFT | |
275 | 7 << IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT; | 274 | 7 << IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT; |
276 | 275 | ||
277 | if (num_ants > 1) | 276 | if (num_ants > 1) |