aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-05-16 18:57:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-05-21 21:48:13 -0400
commiteefce91a384a64c7bbf913eb08c4adfb911c3639 (patch)
treeac091cd36f7739d9934a7ee01950a9da3e7cfc8b /net/mac80211/ieee80211_i.h
parente93048825face354ecb0cb3ac00190c764a44f45 (diff)
mac80211: dont allow fragmentation and requeuing on A-MPDU queues
There really is no reason for a driver to reject a frame on an A-MPDU queue when it can stop that queue for any period of time and is given frames one by one. Hence, disallow it with a big warning and reduce mac80211-internal state. Also add a warning when we try to fragment a frame destined for an A-MPDU queue and drop it, the actual bug needs to be fixed elsewhere but I'm not exactly sure how to yet. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Ron Rindjunsky <ron.rindjunsky@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 79a65b3ee02b..86a861251e8c 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -595,7 +595,7 @@ struct ieee80211_local {
595 struct timer_list sta_cleanup; 595 struct timer_list sta_cleanup;
596 596
597 unsigned long state[IEEE80211_MAX_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; 597 unsigned long state[IEEE80211_MAX_QUEUES + IEEE80211_MAX_AMPDU_QUEUES];
598 struct ieee80211_tx_stored_packet pending_packet[IEEE80211_MAX_QUEUES + IEEE80211_MAX_AMPDU_QUEUES]; 598 struct ieee80211_tx_stored_packet pending_packet[IEEE80211_MAX_QUEUES];
599 struct tasklet_struct tx_pending_tasklet; 599 struct tasklet_struct tx_pending_tasklet;
600 600
601 /* number of interfaces with corresponding IFF_ flags */ 601 /* number of interfaces with corresponding IFF_ flags */