[PATCH v4 5/7] wpa_supplicant: enable vht and he in default config parameters

Markus Theil markus.theil at tu-ilmenau.de
Tue Jun 30 07:53:21 EDT 2020


Enable VHT and HE as default config parameters in order for
wpa_supplicant AP mode to use it, if hw support is given.

Signed-off-by: Markus Theil <markus.theil at tu-ilmenau.de>
---
 wpa_supplicant/config.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 0b4a66ad7..4bae53ba9 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -3036,6 +3036,8 @@ void wpa_config_set_network_defaults(struct wpa_ssid *ssid)
 	ssid->wpa_deny_ptk0_rekey = PTK0_REKEY_ALLOW_ALWAYS;
 	ssid->bg_scan_period = DEFAULT_BG_SCAN_PERIOD;
 	ssid->ht = 1;
+	ssid->vht = 1;
+	ssid->he = 1;
 #ifdef IEEE8021X_EAPOL
 	ssid->eapol_flags = DEFAULT_EAPOL_FLAGS;
 	ssid->eap_workaround = DEFAULT_EAP_WORKAROUND;
-- 
2.27.0




More information about the Hostap mailing list