aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>2017-03-06 07:53:10 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-09 13:44:26 (GMT)
commitd0330d57f3d320719c1f8fc8478a6dc5ef613946 (patch)
tree4bb6f7226f56455bfb427c961ef19a703bfae540 /wpa_supplicant/config.h
parentb696f791ac011a7d9bed73db11c16199b56aa2b1 (diff)
downloadhostap-d0330d57f3d320719c1f8fc8478a6dc5ef613946.zip
hostap-d0330d57f3d320719c1f8fc8478a6dc5ef613946.tar.gz
hostap-d0330d57f3d320719c1f8fc8478a6dc5ef613946.tar.bz2
nl80211: Add option to delay start of schedule scan plans
The userspace may want to delay the the first scheduled scan. This enhances sched_scan to add initial delay (in seconds) before starting first scan cycle. The driver may optionally choose to ignore this parameter and start immediately (or at any other time). This uses NL80211_ATTR_SCHED_SCAN_DELAY to add this via user global configurable option: sched_scan_start_delay. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 3f84b0e..a7b0435 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -1097,6 +1097,15 @@ struct wpa_config {
unsigned int sched_scan_interval;
/**
+ * sched_scan_start_delay - Schedule scan start delay before first scan
+ *
+ * Delay (in seconds) before scheduling first scan plan cycle. The
+ * driver may ignore this parameter and start immediately (or at any
+ * other time), if this feature is not supported.
+ */
+ unsigned int sched_scan_start_delay;
+
+ /**
* tdls_external_control - External control for TDLS setup requests
*
* Enable TDLS mode where external programs are given the control