aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-03-01 18:50:08 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-01 18:50:08 (GMT)
commit18206e02c540f0a379db507b4ecc22c8855c7acf (patch)
tree03fd856c9942453ccad22df6a8528db1daf21a01 /wpa_supplicant/config_ssid.h
parent5473362458d503bfbbd7137c4bb068df40e32676 (diff)
downloadhostap-18206e02c540f0a379db507b4ecc22c8855c7acf.zip
hostap-18206e02c540f0a379db507b4ecc22c8855c7acf.tar.gz
hostap-18206e02c540f0a379db507b4ecc22c8855c7acf.tar.bz2
Allow wpa_supplicant AP mode to configure Beacon interval
beacon_int (in TU) can now be used to configure Beacon interval for AP mode operations (including P2P GO) in wpa_supplicant. This can be set either in a network block or as a global parameter in the configuration file (or with "SET beacon_int <value>" control interface command) to apply for all networks that do not include the beacon_int parameter to override the default. In addition, this commits extends the dtim_period parameter to be available as a global parameter to set the default value. dtim_period is now stored in the configuration file, too, if it was set. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 9ac67c7..8cab88f 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -549,6 +549,11 @@ struct wpa_ssid {
int dtim_period;
/**
+ * beacon_int - Beacon interval (default: 100 TU)
+ */
+ int beacon_int;
+
+ /**
* auth_failures - Number of consecutive authentication failures
*/
unsigned int auth_failures;