aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.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_file.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_file.c')
-rw-r--r--wpa_supplicant/config_file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index 2b46fed..e580861 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -792,7 +792,11 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
INT(disabled);
INT(peerkey);
INT(mixed_cell);
+ INT(vht);
+ INT(ht40);
INT(max_oper_chwidth);
+ INT(vht_center_freq1);
+ INT(vht_center_freq2);
INT(pbss);
INT(wps_disabled);
#ifdef CONFIG_IEEE80211W