aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@qca.qualcomm.com>2015-11-25 03:51:43 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-26 15:47:15 (GMT)
commit0f29bc68d18e489e9294bb0ef7a86a9a5235f8d1 (patch)
tree9647f0e5da84e814f5787b425ebc61e8fa63e6d1 /wpa_supplicant/config.c
parent05032725e1c2fc861516e50afc04134c307f7434 (diff)
downloadhostap-0f29bc68d18e489e9294bb0ef7a86a9a5235f8d1.zip
hostap-0f29bc68d18e489e9294bb0ef7a86a9a5235f8d1.tar.gz
hostap-0f29bc68d18e489e9294bb0ef7a86a9a5235f8d1.tar.bz2
IBSS/mesh: Add support for VHT80P80 configuration
A new network profile configuration parameter max_oper_chwidth=3 can be used to specify preference to enable 80+80 MHz VHT channel for IBSS. If that is set, the first 80 MHz segment is specified based on the frequency parameter in the network profile and the second segment is selected automatically (which will practically be limited to a single possibility due to DFS requirements in most countries). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 3bda77c..bdcfe9f 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -1845,6 +1845,8 @@ static const struct parse_data ssid_fields[] = {
{ FUNC(auth_alg) },
{ FUNC(scan_freq) },
{ FUNC(freq_list) },
+ { INT_RANGE(max_oper_chwidth, VHT_CHANWIDTH_USE_HT,
+ VHT_CHANWIDTH_80P80MHZ) },
#ifdef IEEE8021X_EAPOL
{ FUNC(eap) },
{ STR_LENe(identity) },