Merge branch 'fix/add_owe_check_pmf_disable_v5.4' into 'release/v5.4'

fix(wifi) : Add Mode/threshold checks in esp_wifi_disable_pmf_config()(v5.4)

See merge request espressif/esp-idf!48965
This commit is contained in:
Jiang Jiang Jian
2026-05-29 14:22:04 +08:00
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -1579,6 +1579,8 @@ esp_err_t esp_wifi_config_80211_tx(wifi_interface_t ifx, wifi_tx_rate_config_t *
* @brief Disable PMF configuration for specified interface
*
* @attention This API should be called after esp_wifi_set_config() and before esp_wifi_start().
* @attention SoftAP: PMF cannot be disabled for `WIFI_AUTH_WPA3_PSK`, `WIFI_AUTH_WPA2_WPA3_PSK`, `WIFI_AUTH_OWE`.
* @attention Station: PMF cannot be disabled when `wifi_sta_config_t.threshold.authmode` is `WIFI_AUTH_WPA3_PSK`, `WIFI_AUTH_WPA2_WPA3_PSK`, or `WIFI_AUTH_OWE` (see `wifi_scan_threshold_t`).
*
* @param ifx Interface to be configured.
*