aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-03-07 16:20:57 (GMT)
committerJouni Malinen <j@w1.fi>2017-03-11 08:59:51 (GMT)
commit2124a615e35737eeb21d9a038d189da882f68144 (patch)
tree0ebdb8ecbea30aeaa9cf7e8b1cd646adfbfd9d74 /wpa_supplicant/config.c
parent57ee04dc7d8b3f42f0e230b6b5c27e97e9863cf6 (diff)
downloadhostap-2124a615e35737eeb21d9a038d189da882f68144.zip
hostap-2124a615e35737eeb21d9a038d189da882f68144.tar.gz
hostap-2124a615e35737eeb21d9a038d189da882f68144.tar.bz2
wpa_supplicant: Allow explicit wide channel configuration for AP mode
Instead of deducing the wide (HT, VHT) channel configuration only automatically in P2P mode, allow it to be configured in the network in non-P2P mode. Also allow all of these parameters to be configured through the control interface or the configuration file. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'wpa_supplicant/config.c')
-rw-r--r--wpa_supplicant/config.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index e3ce6bc..95971ea 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -1995,8 +1995,12 @@ static const struct parse_data ssid_fields[] = {
{ FUNC(auth_alg) },
{ FUNC(scan_freq) },
{ FUNC(freq_list) },
+ { INT_RANGE(vht, 0, 1) },
+ { INT_RANGE(ht40, -1, 1) },
{ INT_RANGE(max_oper_chwidth, VHT_CHANWIDTH_USE_HT,
VHT_CHANWIDTH_80P80MHZ) },
+ { INT(vht_center_freq1) },
+ { INT(vht_center_freq2) },
#ifdef IEEE8021X_EAPOL
{ FUNC(eap) },
{ STR_LENe(identity) },