From 436be300450e186e306c901a55eb85285a919b39 Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Tue, 12 Apr 2022 15:49:28 +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 7595ccb66d..ca926bfd00 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -1303,6 +1303,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 817a26f06c..b0069fb607 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 817a26f06c8ac7f3b57a2b04528f9e0520e801be +Subproject commit b0069fb607ec41ad872f0deaf3a9bdbbb4018dbb