]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refcount aggregation queue stop
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:41 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:27 +0000 (15:39 -0400)
commitd205944d7671e61ed9adc9ddf9090b7b260408d0
tree1096c42ede83af4dbae34387246f91c0d6649baf
parentbdac1a91216ec5a71e262480c20978a4ef0a87d3
mac80211: refcount aggregation queue stop

mac80211 currently maintains the ampdu_lock to
avoid starting a queue due to one aggregation
session while another aggregation session needs
the queue stopped.

We can do better, however, and instead refcount
the queue stops for this particular purpose,
thus removing the need for the lock. This will
help making ampdu_action able to sleep.

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