wpa_supplicant: Enable VHT and HE in default config parameters
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@tu-ilmenau.de>
This commit is contained in:
parent
df6745e8c8
commit
5965c7da5d
2 changed files with 4 additions and 1 deletions
|
@ -3038,6 +3038,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;
|
||||
|
|
|
@ -876,9 +876,10 @@ static void wpa_config_write_network(FILE *f, struct wpa_ssid *ssid)
|
|||
write_int(f, "proactive_key_caching", ssid->proactive_key_caching, -1);
|
||||
INT(disabled);
|
||||
INT(mixed_cell);
|
||||
INT(vht);
|
||||
INT_DEF(vht, 1);
|
||||
INT_DEF(ht, 1);
|
||||
INT(ht40);
|
||||
INT_DEF(he, 1);
|
||||
INT_DEF(max_oper_chwidth, DEFAULT_MAX_OPER_CHWIDTH);
|
||||
INT(vht_center_freq1);
|
||||
INT(vht_center_freq2);
|
||||
|
|
Loading…
Reference in a new issue