aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorAnkita Bajaj <bankita@codeaurora.org>2019-05-30 14:14:55 (GMT)
committerJouni Malinen <jouni@codeaurora.org>2019-06-14 20:10:51 (GMT)
commitef59f987296251f7209313cc28fd10df4e3b307f (patch)
tree335580273293becd85f9fc731625846388aafb3a /wpa_supplicant/config.h
parent4068d683f549be2b480592215b967b107b8adaf8 (diff)
downloadhostap-ef59f987296251f7209313cc28fd10df4e3b307f.zip
hostap-ef59f987296251f7209313cc28fd10df4e3b307f.tar.gz
hostap-ef59f987296251f7209313cc28fd10df4e3b307f.tar.bz2
WNM: Provide option to disable/enable BTM support in STA
Add support to disable/enable BTM support using configuration and wpa_cli command. This is useful mainly for testing purposes. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index abbd8c9..6a297ec 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -374,6 +374,7 @@ struct wpa_cred {
#define CFG_CHANGED_P2P_PASSPHRASE_LEN BIT(16)
#define CFG_CHANGED_SCHED_SCAN_PLANS BIT(17)
#define CFG_CHANGED_WOWLAN_TRIGGERS BIT(18)
+#define CFG_CHANGED_DISABLE_BTM BIT(19)
/**
* struct wpa_config - wpa_supplicant configuration data
@@ -1527,6 +1528,15 @@ struct wpa_config {
* By default, permanent MAC address is used.
*/
int p2p_interface_random_mac_addr;
+
+ /**
+ * disable_btm - Disable BSS transition management in STA
+ * - Set to 0 to enable BSS transition management
+ * - Set to 1 to disable BSS transition management
+ *
+ * By default BSS transition management is enabled
+ */
+ int disable_btm;
};