From 32f54e059f6679229b1fb7d63b810fb02a420ffc Mon Sep 17 00:00:00 2001 From: "tarun.kumar" Date: Wed, 27 May 2026 13:31:32 +0530 Subject: [PATCH] fix(wifi) : Add Mode/threshold checks in esp_wifi_disable_pmf_config() --- components/esp_wifi/include/esp_wifi.h | 2 ++ components/esp_wifi/lib | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index 45ed0476665..4b4725c3f26 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -1584,6 +1584,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`, or when `wifi_ap_config_t.wpa3_compatible_mode` is enabled. + * @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`), or when `disable_wpa3_compatible_mode` is false. * * @param ifx Interface to be configured. * diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 34e7c075b93..7aaf787957c 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 34e7c075b9346dc22a281df22e315817f0062da8 +Subproject commit 7aaf787957c52e27c5cbdd8a5b86d277f4ef4b46