aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
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.c
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.c')
-rw-r--r--wpa_supplicant/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 00c5ff0..e3ce6bc 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -4432,6 +4432,7 @@ static const struct global_parse_data global_fields[] = {
{ FUNC(freq_list), 0 },
{ INT(scan_cur_freq), 0 },
{ INT(sched_scan_interval), 0 },
+ { INT(sched_scan_start_delay), 0 },
{ INT(tdls_external_control), 0},
{ STR(osu_dir), 0 },
{ STR(wowlan_triggers), 0 },