]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add support for tx to abort low priority scan requests
authorSam Leffler <sleffler@chromium.org>
Fri, 12 Oct 2012 04:03:35 +0000 (21:03 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 18 Oct 2012 07:01:53 +0000 (09:01 +0200)
commit3fd7adcd2c5524e857b37a70ba31287bd8357a35
tree68d6ca0c3bed7979f578b3b554b2c8e6b668c32a
parent33b65c8fd9dd84e717420aa50e29ca8890cd7c8a
mac80211: add support for tx to abort low priority scan requests

Use NL80211_SCAN_FLAG_LOW_PRIORITY flag in mac80211's scan state
machine to prematurely terminate scan operations if outbound
traffic collides. This is useful for marking background scans so
they don't affect throughput.

Signed-off-by: Sam Leffler <sleffler@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
[set feature flag only if software scan is used]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/main.c
net/mac80211/scan.c