diff options
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index f8b5595ba4af..281a2bb6a6ec 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -203,15 +203,17 @@ | |||
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 | 206 | * @NL80211_CMD_START_SCHED_SCAN: start a scheduled scan at certain |
207 | * scans, if SSIDs (%NL80211_ATTR_SCAN_SSIDS) are passed, they are used | 207 | * intervals, as specified by %NL80211_ATTR_SCHED_SCAN_INTERVAL. |
208 | * in the probe requests. For broadcast, a broadcast SSID must be | 208 | * Like with normal scans, if SSIDs (%NL80211_ATTR_SCAN_SSIDS) |
209 | * passed (ie. an empty string). If no SSID is passed, no probe | 209 | * are passed, they are used in the probe requests. For |
210 | * requests are sent and a passive scan is performed. | 210 | * broadcast, a broadcast SSID must be passed (ie. an empty |
211 | * %NL80211_ATTR_SCAN_FREQUENCIES, if passed, define which channels | 211 | * string). If no SSID is passed, no probe requests are sent and |
212 | * should be scanned; if not passed, all channels allowed for the | 212 | * a passive scan is performed. %NL80211_ATTR_SCAN_FREQUENCIES, |
213 | * current regulatory domain are used. Extra IEs can also be passed | 213 | * if passed, define which channels should be scanned; if not |
214 | * from the userspace by using the %NL80211_ATTR_IE attribute. | 214 | * passed, all channels allowed for the current regulatory domain |
215 | * are used. Extra IEs can also be passed from the userspace by | ||
216 | * using the %NL80211_ATTR_IE attribute. | ||
215 | * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan | 217 | * @NL80211_CMD_STOP_SCHED_SCAN: stop a scheduled scan |
216 | * @NL80211_CMD_SCHED_SCAN_RESULTS: indicates that there are scheduled scan | 218 | * @NL80211_CMD_SCHED_SCAN_RESULTS: indicates that there are scheduled scan |
217 | * results available. | 219 | * results available. |
@@ -948,6 +950,9 @@ enum nl80211_commands { | |||
948 | * indicate which WoW triggers should be enabled. This is also | 950 | * indicate which WoW triggers should be enabled. This is also |
949 | * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN | 951 | * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN |
950 | * triggers. | 952 | * triggers. |
953 | |||
954 | * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan | ||
955 | * cycles, in msecs. | ||
951 | * | 956 | * |
952 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 957 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
953 | * @__NL80211_ATTR_AFTER_LAST: internal use | 958 | * @__NL80211_ATTR_AFTER_LAST: internal use |
@@ -1142,6 +1147,8 @@ enum nl80211_attrs { | |||
1142 | NL80211_ATTR_WOWLAN_TRIGGERS, | 1147 | NL80211_ATTR_WOWLAN_TRIGGERS, |
1143 | NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, | 1148 | NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED, |
1144 | 1149 | ||
1150 | NL80211_ATTR_SCHED_SCAN_INTERVAL, | ||
1151 | |||
1145 | /* add attributes here, update the policy in nl80211.c */ | 1152 | /* add attributes here, update the policy in nl80211.c */ |
1146 | 1153 | ||
1147 | __NL80211_ATTR_AFTER_LAST, | 1154 | __NL80211_ATTR_AFTER_LAST, |