]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config_file.c
nl80211: Add option to delay start of schedule scan plans
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Mon, 6 Mar 2017 07:53:10 +0000 (13:23 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 9 Mar 2017 13:44:26 +0000 (15:44 +0200)
commitd0330d57f3d320719c1f8fc8478a6dc5ef613946
tree4bb6f7226f56455bfb427c961ef19a703bfae540
parentb696f791ac011a7d9bed73db11c16199b56aa2b1
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>
src/drivers/driver.h
src/drivers/driver_nl80211_scan.c
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_cli.c