mac80211: dont allow fragmentation and requeuing on A-MPDU queues
commiteefce91a384a64c7bbf913eb08c4adfb911c3639
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 16 May 2008 22:57:13 +0000 (17 00:57 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:48:13 +0000 (21 21:48 -0400)
treeac091cd36f7739d9934a7ee01950a9da3e7cfc8b
parente93048825face354ecb0cb3ac00190c764a44f45
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>
include/net/mac80211.h
net/mac80211/ieee80211_i.h
net/mac80211/tx.c