]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: change RX aggregation locking
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jun 2010 08:21:46 +0000 (10:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Jun 2010 19:39:28 +0000 (15:39 -0400)
commitc94192d6e68d1c97bbb128deb4b41f30bd31c1cb
tree441f0f69dc5b08d79c5f5f4e7adae88ad18dbd86
parentc914c13515a01d654a5a15ddc1e0a82f16d34666
mac80211: change RX aggregation locking

To prepare for allowing drivers to sleep in
ampdu_action, change the locking in the RX
aggregation code to use a mutex, so that it
would already allow drivers to sleep. But
explicitly disable BHs around the callback
for now since the TX part cannot yet sleep,
and drivers' locking might require it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/agg-rx.c
net/mac80211/driver-ops.h
net/mac80211/ht.c
net/mac80211/iface.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h