diff options
author | Sam Leffler <sleffler@chromium.org> | 2012-10-12 06:03:35 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-10-18 09:01:53 +0200 |
commit | cd2bb512cda58f1efb922ad6dc29013ea5d5d9d0 (patch) | |
tree | 68d6ca0c3bed7979f578b3b554b2c8e6b668c32a /net/mac80211/ieee80211_i.h | |
parent | cfg80211: add support for flushing old scan results (diff) | |
download | linux-cd2bb512cda58f1efb922ad6dc29013ea5d5d9d0.tar.xz linux-cd2bb512cda58f1efb922ad6dc29013ea5d5d9d0.zip |
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>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r-- | net/mac80211/ieee80211_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h index 6327816790e6..02e47930964f 100644 --- a/net/mac80211/ieee80211_i.h +++ b/net/mac80211/ieee80211_i.h @@ -866,6 +866,7 @@ enum { * @SCAN_SUSPEND: Suspend the scan and go back to operating channel to * send out data * @SCAN_RESUME: Resume the scan and scan the next channel + * @SCAN_ABORT: Abort the scan and go back to operating channel */ enum mac80211_scan_state { SCAN_DECISION, @@ -873,6 +874,7 @@ enum mac80211_scan_state { SCAN_SEND_PROBE, SCAN_SUSPEND, SCAN_RESUME, + SCAN_ABORT, }; struct ieee80211_local { |