]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: stop only the queues assigned to the vif during channel switch
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 13 Jun 2014 13:30:07 +0000 (16:30 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 23 Jun 2014 12:22:29 +0000 (14:22 +0200)
commitb0d0a45ea907116b2d195c09f2fe6694471cff7b
treed80aacded124a3add8691ada27deb47ce6722ae0
parentb06349bc8f50741d062a6573ff1aedbf0bd717d5
mac80211: stop only the queues assigned to the vif during channel switch

Instead of stopping all the hardware queues during channel switch,
which is especially bad when we have large CSA counts, stop only the
queues that are assigned to the vif that is performing the channel
switch.

Additionally, check for (sdata->csa_block_tx) instead of calling
ieee80211_csa_needs_block_tx(), which can now be removed.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/mlme.c