summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-05-11 18:09:37 +0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 23:12:27 +0400
commitbbe6ad6dcb1eb26bd12ec85320f402721c3383ae (patch)
tree08e7e3491caa30e22c9c38d9d3a8728a02adc0c5 /include/net
parent79f460ca49d8d5700756ab7071c951311c7f29cc (diff)
downloadlinux-bbe6ad6dcb1eb26bd12ec85320f402721c3383ae.tar.xz
cfg80211/nl80211: add interval attribute for scheduled scans
Introduce NL80211_ATTR_SCHED_SCAN_INTERVAL as a required attribute for NL80211_CMD_START_SCHED_SCAN. This value informs the driver at which intervals the scheduled scan cycles should be executed. Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index e214c85b74d2..1f1e221b6ce3 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -829,6 +829,7 @@ struct cfg80211_scan_request {
* @ssids: SSIDs to scan for (passed in the probe_reqs in active scans)
* @n_ssids: number of SSIDs
* @n_channels: total number of channels to scan
+ * @interval: interval between each scheduled scan cycle
* @ie: optional information element(s) to add into Probe Request or %NULL
* @ie_len: length of ie in octets
* @wiphy: the wiphy this was for
@@ -839,6 +840,7 @@ struct cfg80211_sched_scan_request {
struct cfg80211_ssid *ssids;
int n_ssids;
u32 n_channels;
+ u32 interval;
const u8 *ie;
size_t ie_len;