]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: add scheduled scan plans configuration
authorAvraham Stern <avraham.stern@intel.com>
Sun, 8 Nov 2015 08:09:14 +0000 (10:09 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 14 Apr 2016 09:09:25 +0000 (11:09 +0200)
commit9ae0d10319434efe95ac6939f4f2c1c3edf1c48b
treea16f654c7004c069889dfa73bd26c3f717c5ef7c
parent568c70577e3d72e308c9aca93eb1a27d96486b6f
iw: add scheduled scan plans configuration

Scheduled scan now supports configuring multiple 'scan plans'.
Each scan plan specifies the interval between scans and the number
of iterations to scan. So add an option to configure scan plans
for scheduled scan
At least one scan plan must be configured. Note that all scan plans
but the last one must specify the scan interval and the number of
iterations. The last scan plan must specify only the interval and
will be run infinitely.
The option to set only an interval is kept for backwards
compatibility. However, the new scan plans option and the old interval
optoin are mutually exclusive.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
info.c
iw.h
scan.c