aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-05-11 10:09:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-05-11 15:12:27 -0400
commitbbe6ad6dcb1eb26bd12ec85320f402721c3383ae (patch)
tree08e7e3491caa30e22c9c38d9d3a8728a02adc0c5 /include/net
parent79f460ca49d8d5700756ab7071c951311c7f29cc (diff)
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 {
829 * @ssids: SSIDs to scan for (passed in the probe_reqs in active scans) 829 * @ssids: SSIDs to scan for (passed in the probe_reqs in active scans)
830 * @n_ssids: number of SSIDs 830 * @n_ssids: number of SSIDs
831 * @n_channels: total number of channels to scan 831 * @n_channels: total number of channels to scan
832 * @interval: interval between each scheduled scan cycle
832 * @ie: optional information element(s) to add into Probe Request or %NULL 833 * @ie: optional information element(s) to add into Probe Request or %NULL
833 * @ie_len: length of ie in octets 834 * @ie_len: length of ie in octets
834 * @wiphy: the wiphy this was for 835 * @wiphy: the wiphy this was for
@@ -839,6 +840,7 @@ struct cfg80211_sched_scan_request {
839 struct cfg80211_ssid *ssids; 840 struct cfg80211_ssid *ssids;
840 int n_ssids; 841 int n_ssids;
841 u32 n_channels; 842 u32 n_channels;
843 u32 interval;
842 const u8 *ie; 844 const u8 *ie;
843 size_t ie_len; 845 size_t ie_len;
844 846