nl80211: Add support for multiple scan plans for scheduled scan
authorAvraham Stern <avraham.stern@intel.com>
Tue, 17 Nov 2015 13:08:23 +0000 (15:08 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 30 Nov 2015 12:03:28 +0000 (14:03 +0200)
commit09ea4309b65594e169f462744fda6f82ff89774f
treec37cdf5dcd5df648ce5b838de759738ea19b709a
parentf0154bf4347f0277e683c5666ff86fc9a0f0ce8c
nl80211: Add support for multiple scan plans for scheduled scan

Add 'scan plans' to driver scan parameters for scheduled scan.
Each 'scan plan' specifies the number of iterations to run the scan
request and the interval between iterations. When a scan plan
finishes (i.e., it was run for the specified number of iterations),
the next scan plan is executed. The last scan plan will run
infinitely.

The maximum number of supported scan plans, the maximum number of
iterations for a single scan plan and the maximum scan interval
are advertised by the driver.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h
src/drivers/driver_nl80211_capa.c
src/drivers/driver_nl80211_scan.c
wpa_supplicant/driver_i.h
wpa_supplicant/scan.c