aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-17 13:54:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-23 15:28:33 -0400
commit8a690674e0601efbe9a7b16a5826fc522645cca3 (patch)
treec22f122d36d33a2ac446a0626a0fa4213cb9190d /net/mac80211/ieee80211_i.h
parente828b9fb4f6c3513950759d5fb902db5bd054048 (diff)
mac80211: Support on-channel scan option.
This based on an idea posted by Stanislaw Gruszka, though I accept full blame for the implementation! This has been tested with ath9k. The idea is to let users scan on the current operating channel without interrupting normal traffic more than absolutely necessary (changing power level might reset some hardware, for instance). Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index bd7a451b0849..1d074260acd1 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -803,6 +803,8 @@ struct tpt_led_trigger {
803 * well be on the operating channel 803 * well be on the operating channel
804 * @SCAN_HW_SCANNING: The hardware is scanning for us, we have no way to 804 * @SCAN_HW_SCANNING: The hardware is scanning for us, we have no way to
805 * determine if we are on the operating channel or not 805 * determine if we are on the operating channel or not
806 * @SCAN_ONCHANNEL_SCANNING: Do a software scan on only the current operating
807 * channel. This should not interrupt normal traffic.
806 * @SCAN_COMPLETED: Set for our scan work function when the driver reported 808 * @SCAN_COMPLETED: Set for our scan work function when the driver reported
807 * that the scan completed. 809 * that the scan completed.
808 * @SCAN_ABORTED: Set for our scan work function when the driver reported 810 * @SCAN_ABORTED: Set for our scan work function when the driver reported
@@ -811,6 +813,7 @@ struct tpt_led_trigger {
811enum { 813enum {
812 SCAN_SW_SCANNING, 814 SCAN_SW_SCANNING,
813 SCAN_HW_SCANNING, 815 SCAN_HW_SCANNING,
816 SCAN_ONCHANNEL_SCANNING,
814 SCAN_COMPLETED, 817 SCAN_COMPLETED,
815 SCAN_ABORTED, 818 SCAN_ABORTED,
816}; 819};