aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index de96783954a1..f8b5595ba4af 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -203,6 +203,26 @@
203 * @NL80211_CMD_SCAN_ABORTED: scan was aborted, for unspecified reasons, 203 * @NL80211_CMD_SCAN_ABORTED: scan was aborted, for unspecified reasons,
204 * partial scan results may be available 204 * partial scan results may be available
205 * 205 *
206 * @NL80211_CMD_START_SCHED_SCAN: start a scheduled scan. Like with normal
207 * scans, if SSIDs (%NL80211_ATTR_SCAN_SSIDS) are passed, they are used
208 * in the probe requests. For broadcast, a broadcast SSID must be
209 * passed (ie. an empty string). If no SSID is passed, no probe
210 * requests are sent and a passive scan is performed.
211 * %NL80211_ATTR_SCAN_FREQUENCIES, if passed, define which channels
212 * should be scanned; if not passed, all channels allowed for the
213 * current regulatory domain are used. Extra IEs can also be passed
214 * from the userspace by using the %NL80211_ATTR_IE attribute.
215 * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan
216 * @NL80211_CMD_SCHED_SCAN_RESULTS: indicates that there are scheduled scan
217 * results available.
218 * @NL80211_CMD_SCHED_SCAN_STOPPED: indicates that the scheduled scan has
219 * stopped. The driver may issue this event at any time during a
220 * scheduled scan. One reason for stopping the scan is if the hardware
221 * does not support starting an association or a normal scan while running
222 * a scheduled scan. This event is also sent when the
223 * %NL80211_CMD_STOP_SCHED_SCAN command is received or when the interface
224 * is brought down while a scheduled scan was running.
225 *
206 * @NL80211_CMD_GET_SURVEY: get survey resuls, e.g. channel occupation 226 * @NL80211_CMD_GET_SURVEY: get survey resuls, e.g. channel occupation
207 * or noise level 227 * or noise level
208 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to 228 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
@@ -545,6 +565,11 @@ enum nl80211_commands {
545 NL80211_CMD_GET_WOWLAN, 565 NL80211_CMD_GET_WOWLAN,
546 NL80211_CMD_SET_WOWLAN, 566 NL80211_CMD_SET_WOWLAN,
547 567
568 NL80211_CMD_START_SCHED_SCAN,
569 NL80211_CMD_STOP_SCHED_SCAN,
570 NL80211_CMD_SCHED_SCAN_RESULTS,
571 NL80211_CMD_SCHED_SCAN_STOPPED,
572
548 /* add new commands above here */ 573 /* add new commands above here */
549 574
550 /* used to define NL80211_CMD_MAX below */ 575 /* used to define NL80211_CMD_MAX below */