]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
Add automatic scanning support
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Tue, 26 Jun 2012 15:55:41 +0000 (18:55 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 26 Jun 2012 15:55:41 +0000 (18:55 +0300)
commit7c865c68536825d91e64e1545a1f6ed51526ebff
tree351542f8291633891dfb2796720c666d7e49eafe
parentb0786fba7100711835674d0d2be22b57abb99ece
Add automatic scanning support

Like bgscan, autoscan is an optional module based feature to automate
scanning but while disconnected or inactive.

Instead of requesting directly a scan, it only sets the scan_interval
and the sched_scan_interval. So, if the driver supports sched_scan,
autoscan will be able to tweak its interval. Otherwise, the tweaked
scan_interval will be used. If scan parameters needs to be tweaked, an
autoscan_params pointer in wpa_s will provide those. So req_scan /
req_sched_scan will not set the scan parameters as they usually do, but
instead will use this pointer.

Modules will not have to request a scan directly, like bgscan does.
Instead, it will need to return the interval it wants after each
notification.

Signed-hostap: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
wpa_supplicant/Android.mk
wpa_supplicant/Makefile
wpa_supplicant/autoscan.c [new file with mode: 0644]
wpa_supplicant/autoscan.h [new file with mode: 0644]
wpa_supplicant/dbus/dbus_new_handlers.c
wpa_supplicant/defconfig
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h