path: root/wpa_supplicant/config_ssid.h
diff options
authorJouni Malinen <j@w1.fi>2009-09-14 21:08:24 (GMT)
committerJouni Malinen <j@w1.fi>2009-09-14 21:08:24 (GMT)
commit60b94c9819199c0427e623080ebae27fe44be6b5 (patch)
tree6f8ccef606126a46a2097fdd42b2a9b81601c1cf /wpa_supplicant/config_ssid.h
parent3180d7a2088fdd429c2eb9ae74abfa96e6a9b9b0 (diff)
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.
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index c120360..e09e3ed 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -350,6 +350,15 @@ struct wpa_ssid {
* known to not use all possible channels.
int *scan_freq;
+ /**
+ * bgscan - Background scan and roaming parameters or %NULL if none
+ *
+ * This is an optional set of parameters for background scanning and
+ * roaming within a network (ESS) in following format:
+ * <bgscan module name>:<module parameters>
+ */
+ char *bgscan;
#endif /* CONFIG_SSID_H */