diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/rs.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c index 95652601cd5a..f1364b7f58e4 100644 --- a/drivers/net/wireless/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/iwlwifi/mvm/rs.c | |||
@@ -2241,6 +2241,11 @@ static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta, | |||
2241 | if (i == IWL_RATE_9M_INDEX) | 2241 | if (i == IWL_RATE_9M_INDEX) |
2242 | continue; | 2242 | continue; |
2243 | 2243 | ||
2244 | /* VHT MCS9 isn't valid for 20Mhz for NSS=1,2 */ | ||
2245 | if (i == IWL_RATE_MCS_9_INDEX && | ||
2246 | sta->bandwidth == IEEE80211_STA_RX_BW_20) | ||
2247 | continue; | ||
2248 | |||
2244 | lq_sta->active_siso_rate |= BIT(i); | 2249 | lq_sta->active_siso_rate |= BIT(i); |
2245 | } | 2250 | } |
2246 | } | 2251 | } |
@@ -2251,6 +2256,11 @@ static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta, | |||
2251 | if (i == IWL_RATE_9M_INDEX) | 2256 | if (i == IWL_RATE_9M_INDEX) |
2252 | continue; | 2257 | continue; |
2253 | 2258 | ||
2259 | /* VHT MCS9 isn't valid for 20Mhz for NSS=1,2 */ | ||
2260 | if (i == IWL_RATE_MCS_9_INDEX && | ||
2261 | sta->bandwidth == IEEE80211_STA_RX_BW_20) | ||
2262 | continue; | ||
2263 | |||
2254 | lq_sta->active_mimo2_rate |= BIT(i); | 2264 | lq_sta->active_mimo2_rate |= BIT(i); |
2255 | } | 2265 | } |
2256 | } | 2266 | } |