path: root/wpa_supplicant/bgscan.c
Commit message (Collapse)AuthorAgeFilesLines
* bgscan: Remove unnecessary NULL checkJouni Malinen2017-01-081-2/+0
| | | | | | | The name argument to bgscan_init() cannot be NULL since the only caller already checks this before the call. Signed-off-by: Jouni Malinen <j@w1.fi>
* Move extern declarations for bgscan modules into a header fileJouni Malinen2016-06-241-6/+0
| | | | | | | This gets rid of number of sparse warnings and also allows the compatibility of the declarations to be verified. Signed-off-by: Jouni Malinen <j@w1.fi>
* bgscan: Add global bgscan configurationHaim Dreyfuss2013-11-051-3/+3
| | | | | | | | | | | This option can be used to globally configure bgscan parameters for all the network blocks. Note that this configuration will not override a network block specific bgscan settings, but will only be used in case that the network block does not have a valid bgscan configuration. Signed-hostap: Haim Dreyfuss <haim.dreyfuss@intel.com>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* bgscan: Add new channel condition parameters to signal change eventsPaul Stewart2010-10-121-2/+5
| | | | | bgscan modules can potentially get a richer feel for the channel condition and make better choices about scan/no-scan and roam/no-roam.
* Add current signal strength into signal quality change eventsJouni Malinen2010-08-271-2/+4
* bgscan: Add starting point for more advanced bgscan module: learnJouni Malinen2010-07-101-0/+6
| | | | | This is based on the bgscan "simple" module and this initial commit does not add any new functionality.
* bgscan: Provide scan results to the notify_scan handlerJouni Malinen2010-07-101-2/+4
* bgscan: Add signal strength change eventsJouni Malinen2010-03-281-3/+3
| | | | | | | | | | | | | This allows bgscan modules to use more information to decide on when to perform background scans. bgscan_simple can now change between short and long background scan intervals based on signal strength and in addition, it can trigger immediate scans when the signal strength is detected to be dropping. bgscan_simple takes following parameters now: short interval:signal strength threshold:long interval For example: bgscan="simple:30:-45:300"
* Add preliminary background scan and roaming module designJouni Malinen2009-09-141-0/+110
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.