summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaoli Zhou <quic_zchaoli@quicinc.com>2023-04-07 14:33:52 +0800
committerJouni Malinen <j@w1.fi>2023-04-19 11:34:38 +0300
commite8912452ed0354191c53c066bf34fed1e6e276e4 (patch)
treebcae24632d6127aa7cfccf51353de2380b553bd8
parent9932ff30c46b3c68abe717f7a0011412f5d1c344 (diff)
downloadhostap-e8912452ed0354191c53c066bf34fed1e6e276e4.tar.gz
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 <quic_zchaoli@quicinc.com>
-rw-r--r--wpa_supplicant/config.c1
-rw-r--r--wpa_supplicant/wpa_cli.c2
2 files changed, 2 insertions, 1 deletions
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",