aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2015-02-18 02:35:12 (GMT)
committerJouni Malinen <j@w1.fi>2015-02-21 14:07:53 (GMT)
commit0b8bcaa50fdaa3940606a38177477241a3a5c5d6 (patch)
tree3469f07e398a26ef53e7a0ad5886f06a97dcb679 /wpa_supplicant/config.h
parentc77ffc6dafe7909f62c0a5f437a439670b089554 (diff)
downloadhostap-0b8bcaa50fdaa3940606a38177477241a3a5c5d6.zip
hostap-0b8bcaa50fdaa3940606a38177477241a3a5c5d6.tar.gz
hostap-0b8bcaa50fdaa3940606a38177477241a3a5c5d6.tar.bz2
P2P: Allow configuring CTWindow when working as GO
Read p2p_go_ctwindow (0-127 TUs) from the config file, and pass it to the driver on GO start. Use p2p_go_ctwindow=0 (no CTWindow) by default. Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index afae78d..34b754e 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -33,6 +33,7 @@
#define DEFAULT_RAND_ADDR_LIFETIME 60
#define DEFAULT_KEY_MGMT_OFFLOAD 1
#define DEFAULT_CERT_IN_CB 1
+#define DEFAULT_P2P_GO_CTWINDOW 0
#include "config_ssid.h"
#include "wps/wps.h"
@@ -942,6 +943,14 @@ struct wpa_config {
int p2p_go_vht;
/**
+ * p2p_go_ctwindow - CTWindow to use when operating as GO
+ *
+ * By default: 0 (no CTWindow). Values 0-127 can be used to indicate
+ * the length of the CTWindow in TUs.
+ */
+ int p2p_go_ctwindow;
+
+ /**
* p2p_disabled - Whether P2P operations are disabled for this interface
*/
int p2p_disabled;