]> git.baikalelectronics.ru Git - kernel.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)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:54 +0000 (16:50 -0500)
commit816048b2acfb736862e29c409504548a54a7d939
tree25b0c76fb983cef091fe3a02fe27ab2891b0efb8
parent8671133cb2fb6704c0401a3da122b78802f9f896
mac80211: tear down all agg queues when restart/reconfig hw

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>
net/mac80211/util.c