]> git.karo-electronics.de Git - linux-beck.git/commitdiff
iwlwifi: mvm: rs: enable MCS9 for Tx
authorEyal Shapira <eyal@wizery.com>
Mon, 28 Apr 2014 11:20:29 +0000 (14:20 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 7 May 2014 19:44:43 +0000 (22:44 +0300)
After fixes to the rs algorithm reenable MCS9.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c

index 6d5af48be70d6b1d710b734661133c9b586a246a..10ad1dca5f17a7d6b79a59b8ce57858ae0024d55 100644 (file)
@@ -2440,10 +2440,6 @@ static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta,
                        if (i == IWL_RATE_9M_INDEX)
                                continue;
 
-                       /* Disable MCS9 as a workaround */
-                       if (i == IWL_RATE_MCS_9_INDEX)
-                               continue;
-
                        /* VHT MCS9 isn't valid for 20Mhz for NSS=1,2 */
                        if (i == IWL_RATE_MCS_9_INDEX &&
                            sta->bandwidth == IEEE80211_STA_RX_BW_20)
@@ -2462,10 +2458,6 @@ static void rs_vht_set_enabled_rates(struct ieee80211_sta *sta,
                        if (i == IWL_RATE_9M_INDEX)
                                continue;
 
-                       /* Disable MCS9 as a workaround */
-                       if (i == IWL_RATE_MCS_9_INDEX)
-                               continue;
-
                        /* VHT MCS9 isn't valid for 20Mhz for NSS=1,2 */
                        if (i == IWL_RATE_MCS_9_INDEX &&
                            sta->bandwidth == IEEE80211_STA_RX_BW_20)