aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorBala Shanmugam <bkamatch@qca.qualcomm.com>2012-03-30 12:20:35 (GMT)
committerJouni Malinen <j@w1.fi>2012-03-30 12:20:35 (GMT)
commit1f6c0ab87229222e8f2f4bd933a85ff0c9e89bdd (patch)
tree35b784d2c8e83a2df2a435e37eba53403dfa73b1 /wpa_supplicant/config_ssid.h
parent17218a7babd390e3ea9b3e5b2f40602e3a6c91d9 (diff)
downloadhostap-1f6c0ab87229222e8f2f4bd933a85ff0c9e89bdd.zip
hostap-1f6c0ab87229222e8f2f4bd933a85ff0c9e89bdd.tar.gz
hostap-1f6c0ab87229222e8f2f4bd933a85ff0c9e89bdd.tar.bz2
Allow background scan period to be configured
A network block specific background scan period can now be configured for drivers that implement internal background scan mechanism for roaming and BSS selection. Signed-hostap: Bala Shanmugam <bkamatch@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index fa18826..80d4382 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -25,6 +25,7 @@
WPA_CIPHER_WEP104 | WPA_CIPHER_WEP40)
#define DEFAULT_FRAGMENT_SIZE 1398
+#define DEFAULT_BG_SCAN_PERIOD -1
#define DEFAULT_DISABLE_HT 0
#define DEFAULT_DISABLE_HT40 0
#define DEFAULT_DISABLE_MAX_AMSDU -1 /* no change */
@@ -157,6 +158,12 @@ struct wpa_ssid {
int key_mgmt;
/**
+ * bg_scan_period - Background scan period in seconds, 0 to disable, or
+ * -1 to indicate no change to default driver configuration
+ */
+ int bg_scan_period;
+
+ /**
* proto - Bitfield of allowed protocols, WPA_PROTO_*
*/
int proto;