]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Export wpa_supplicant config item 'he' for external configuration
authorChaoli Zhou <quic_zchaoli@quicinc.com>
Fri, 7 Apr 2023 06:33:52 +0000 (14:33 +0800)
committerJouni Malinen <j@w1.fi>
Wed, 19 Apr 2023 08:34:38 +0000 (11:34 +0300)
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>
wpa_supplicant/config.c
wpa_supplicant/wpa_cli.c

index 5c57427af66e619eda0e2481dbe45a9034920449..de9b9b30fd2c342ae2dff329cd7fca56dd390ee5 100644 (file)
@@ -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) },
index f808ac424aaa2222a6d17fc6287c104d432c18a3..effc7b3bc2947fc57dbb8432b5b1ccb9a339cc64 100644 (file)
@@ -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",