]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config_ssid.h
Add preliminary background scan and roaming module design
authorJouni Malinen <j@w1.fi>
Mon, 14 Sep 2009 21:08:24 +0000 (00:08 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 14 Sep 2009 21:08:24 +0000 (00:08 +0300)
commit60b94c9819199c0427e623080ebae27fe44be6b5
tree6f8ccef606126a46a2097fdd42b2a9b81601c1cf
parent3180d7a2088fdd429c2eb9ae74abfa96e6a9b9b0
Add preliminary background scan and roaming module design

This allows background scanning and roaming decisions to be contained in
a single place based on a defined set of notification events which will
hopefully make it easier to experiment with roaming improvements. In
addition, this allows multiple intra-ESS roaming policies to be used
(each network configuration block can configure its own bgscan module).

The beacon loss and signal strength notifications are implemented for
the bgscan API, but the actual events are not yet available from the
driver.

The included sample bgscan module ("simple") is an example of what can
be done with the new bgscan mechanism. It requests periodic background
scans when the device remains associated with an ESS and has couple of
notes on what a more advanced bgscan module could do to optimize
background scanning and roaming. The periodic scans will cause the scan
result handler to pick a better AP if one becomes available. This bgscan
module can be taken into use by adding bgscan="simple" (or
bgscan="simple:<bgscan interval in seconds>") into the network
configuration block.
wpa_supplicant/Makefile
wpa_supplicant/bgscan.c [new file with mode: 0644]
wpa_supplicant/bgscan.h [new file with mode: 0644]
wpa_supplicant/bgscan_simple.c [new file with mode: 0644]
wpa_supplicant/config.c
wpa_supplicant/config_ssid.h
wpa_supplicant/events.c
wpa_supplicant/scan.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h