Search Linux Wireless

[PATCH] mac80211: IBSS, clear fast_sta when update rates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is required to handle sta.wme correctly
after update rates (eg. when using HT/VHT) when
driver using IEEE80211_HW_SUPPORT_FAST_XMIT.

In other case fast tx path will not add QOS data and
in case of ath10k driver (rate control in the HW) only
legacy rates will be used.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
---
 net/mac80211/ibss.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
index bfef1b2..f76414e 100644
--- a/net/mac80211/ibss.c
+++ b/net/mac80211/ibss.c
@@ -1087,6 +1087,7 @@ static void ieee80211_update_sta_info(struct ieee80211_sub_if_data *sdata,
 		if (sta->sta.rx_nss != rx_nss)
 			changed |= IEEE80211_RC_NSS_CHANGED;
 
+		ieee80211_clear_fast_xmit(sta);
 		drv_sta_rc_update(local, sdata, &sta->sta, changed);
 	}
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux