aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>2011-09-02 04:21:59 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-14 13:56:18 -0400
commit693828fe92933ce4fff4c1e51365b2e6ab033b0e (patch)
tree05216b06c2ff8838053602d0754fc7f491a275bb /net/mac80211/ieee80211_i.h
parentc9c0d9ecdceebe51d1c4e2231f0e691556ec348f (diff)
mac80211: stop tx before doing hw config and rate update
The assumption is that during the hw config, transmission was already stopped by mac80211. Sometimes the AP can be switching b/w the ht modes due to intolerant or etc where STA is in the middle of transmission. In such scenario, buffer overflow was observed at driver side. And also before updating the rate control, the frames are continued to xmited with older rates. This patch ensures that the frames are always xmitted with updated rates and avoid buffer overflow. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 5e636bc3551f..21186e280ceb 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -671,6 +671,7 @@ enum queue_stop_reason {
671 IEEE80211_QUEUE_STOP_REASON_AGGREGATION, 671 IEEE80211_QUEUE_STOP_REASON_AGGREGATION,
672 IEEE80211_QUEUE_STOP_REASON_SUSPEND, 672 IEEE80211_QUEUE_STOP_REASON_SUSPEND,
673 IEEE80211_QUEUE_STOP_REASON_SKB_ADD, 673 IEEE80211_QUEUE_STOP_REASON_SKB_ADD,
674 IEEE80211_QUEUE_STOP_REASON_CHTYPE_CHANGE,
674}; 675};
675 676
676#ifdef CONFIG_MAC80211_LEDS 677#ifdef CONFIG_MAC80211_LEDS