From e8912452ed0354191c53c066bf34fed1e6e276e4 Mon Sep 17 00:00:00 2001 From: Chaoli Zhou Date: Fri, 7 Apr 2023 14:33:52 +0800 Subject: [PATCH] Export wpa_supplicant config item 'he' for external configuration Export the "he" network profile item to be configurable from external client side, like wpa_cli or NetworkManager. This follows the earlier changes to allow the previously internal-only parameter (e.g., vht) to be used for additional purposes for AP mode. Signed-off-by: Chaoli Zhou --- wpa_supplicant/config.c | 1 + wpa_supplicant/wpa_cli.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c index 5c57427af..de9b9b30f 100644 --- a/wpa_supplicant/config.c +++ b/wpa_supplicant/config.c @@ -2501,6 +2501,7 @@ static const struct parse_data ssid_fields[] = { { FUNC(freq_list) }, { INT_RANGE(ht, 0, 1) }, { INT_RANGE(vht, 0, 1) }, + { INT_RANGE(he, 0, 1) }, { INT_RANGE(ht40, -1, 1) }, { INT_RANGE(max_oper_chwidth, CONF_OPER_CHWIDTH_USE_HT, CONF_OPER_CHWIDTH_80P80MHZ) }, diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index f808ac424..effc7b3bc 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -1427,7 +1427,7 @@ static const char *network_fields[] = { "bssid_accept", "psk", "proto", "key_mgmt", "bg_scan_period", "pairwise", "group", "auth_alg", "scan_freq", "freq_list", "max_oper_chwidth", "ht40", "vht", "vht_center_freq1", - "vht_center_freq2", "ht", "edmg", + "vht_center_freq2", "ht", "edmg", "he", #ifdef IEEE8021X_EAPOL "eap", "identity", "anonymous_identity", "password", "ca_cert", "ca_path", "client_cert", "private_key", "private_key_passwd",