]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix aggregation to not require queue stop
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 16:28:41 +0000 (17:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:22 +0000 (20:13 -0400)
commitcd8ffc800ce18e558335c4946b2217864fc16045
treee9bb8c3d6011e89374f9df353ff1f15d45a63590
parenta220858d30604902f650074bfac5a7598bc97ea4
mac80211: fix aggregation to not require queue stop

Instead of stopping the entire AC queue when enabling aggregation
(which was only done for hardware with aggregation queues) buffer
the packets for each station, and release them to the pending skb
queue once aggregation is turned on successfully.

We get a little more code, but it becomes conceptually simpler and
we can remove the entire virtual queue mechanism from mac80211 in
a follow-up patch.

This changes how mac80211 behaves towards drivers that support
aggregation but have no hardware queues -- those drivers will now
not be handed packets while the aggregation session is being
established, but only after it has been fully established.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/agg-tx.c
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/tx.c