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)
commitcd2bb512cda58f1efb922ad6dc29013ea5d5d9d0
tree68d6ca0c3bed7979f578b3b554b2c8e6b668c32a
parent15d6030b4bec618742b8b9ccae9209c8f9e4a916
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