From c4c8aab39db6de13dc92f08bc8267f8d76af7ba8 Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Tue, 12 Apr 2022 12:29:44 +0530 Subject: [PATCH] esp_wifi: Update wifi lib 1. In scan, correctly identify AP's with mixed key mgmt 2. Add API to disable PMF configuration --- components/esp_wifi/include/esp_wifi.h | 13 +++++++++++++ components/esp_wifi/lib | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index bcd10c77a1..3d62c5c297 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -1295,6 +1295,19 @@ esp_err_t esp_wifi_get_country_code(char *country); */ esp_err_t esp_wifi_config_80211_tx_rate(wifi_interface_t ifx, wifi_phy_rate_t rate); +/** + * @brief Disable PMF configuration for specified interface + * + * @attention This API should be called after esp_wifi_set_config() and before esp_wifi_start(). + * + * @param ifx Interface to be configured. + * + * @return + * - ESP_OK: succeed + * - others: failed + */ +esp_err_t esp_wifi_disable_pmf_config(wifi_interface_t ifx); + #ifdef __cplusplus } #endif diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 5a0d2aee49..1b0fcf9eeb 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 5a0d2aee49633b1a0c0374c2a01ed8c2a10e2fe4 +Subproject commit 1b0fcf9eeb96ddc4d72ab5850a0bf9e95e289da4