]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac80211: tear down all agg queues when restart/reconfig hw
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Wed, 3 Feb 2010 17:28:55 +0000 (09:28 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:18 +0000 (07:41 -0700)
commita850f39d86b2fa5a0933ccd6c8e91e9e86d62937
tree29d16e77b37a486c3826b13431977b3a861e4b42
parent6a45694284d21a5f1f322eea978247edd8916410
mac80211: tear down all agg queues when restart/reconfig hw

commit 74e2bd1fa3ae9695af566ad5a7a288898787b909 upstream.

When there is a need to restart/reconfig hw, tear down all the
aggregation queues and let the mac80211 and driver get in-sync to have
the opportunity to re-establish the aggregation queues again.

Need to wait until driver re-establish all the station information before tear
down the aggregation queues, driver(at least iwlwifi driver) will reject the
stop aggregation queue request if station is not ready. But also need to make
sure the aggregation queues are tear down before waking up the queues, so
mac80211 will not sending frames with aggregation bit set.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/mac80211/util.c