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

- Updated API documentation for esp_wifi_disable_pmf_config()
This commit is contained in:
tarun.kumar
2026-05-20 13:16:55 +05:30
parent 359a84367b
commit 2aa6f04ed9
2 changed files with 3 additions and 1 deletions

View File

@@ -1572,6 +1572,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.
*