mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
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:
@@ -1608,6 +1608,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.
|
||||
*
|
||||
|
||||
Submodule components/esp_wifi/lib updated: e8218e5e8e...cde32e0a50
@@ -1608,6 +1608,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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user