From 90306752a05972596f60c09a4c89e97513ff4292 Mon Sep 17 00:00:00 2001 From: Nachiket Kukade Date: Wed, 25 Mar 2026 12:32:53 +0530 Subject: [PATCH 1/9] fix(wifi): Leave connection after assoc comeback failure --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index cd66d383a26..76f15568b10 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit cd66d383a2634e2c7a1998a7d82c5ea41074c5af +Subproject commit 76f15568b10e5cfdbdc7c61d1d8b7c441420dd63 From 08399279efa600b198d6752068af06c0d518302c Mon Sep 17 00:00:00 2001 From: muhaidong Date: Wed, 25 Feb 2026 16:54:45 +0800 Subject: [PATCH 2/9] fix(wifi): fix beacon timeout too long issue --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 76f15568b10..3515b12aa10 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 76f15568b10e5cfdbdc7c61d1d8b7c441420dd63 +Subproject commit 3515b12aa10af6e238ce5c99c1817a0500801390 From 58e7f31afaeb01889ec89e6223da5830bfec5f80 Mon Sep 17 00:00:00 2001 From: yinqingzhao Date: Thu, 26 Mar 2026 17:04:09 +0800 Subject: [PATCH 3/9] fix(wifi): fix set protocol or bandwidth wrong before wifi start --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 3515b12aa10..fe2a954a99d 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 3515b12aa10af6e238ce5c99c1817a0500801390 +Subproject commit fe2a954a99d059c650b73ca73a3f04b994958d90 From 08aa130027acf2e14046419d50d5b65ff28ebef3 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Thu, 26 Mar 2026 14:35:04 +0800 Subject: [PATCH 4/9] feat(wifi): Added new API to return value for vendor ie cb --- .../esp_wifi/include/esp_private/wifi.h | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_private/wifi.h b/components/esp_wifi/include/esp_private/wifi.h index c53a28dbd4f..d95f3ffae30 100644 --- a/components/esp_wifi/include/esp_private/wifi.h +++ b/components/esp_wifi/include/esp_private/wifi.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2026 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -846,6 +846,28 @@ void pm_beacon_offset_funcs_empty_init(void); */ void esp_wifi_enable_easy_fragment(bool enable); +/** + * @brief Function signature for received Vendor-Specific Information Element callback with return value. + * @param ctx Context argument, as passed to esp_wifi_set_vendor_ie_cb() when registering callback. + * @param type Information element type, based on frame type received. + * @param sa Source 802.11 address. + * @param vnd_ie Pointer to the vendor specific element data received. + * @param rssi Received signal strength indication. + */ +typedef esp_err_t (*esp_vendor_ie_cb_with_ret_t)(void *ctx, wifi_vendor_ie_type_t type, const uint8_t sa[6], const vendor_ie_data_t *vnd_ie, int rssi); + +/** + * @brief Register Vendor-Specific Information Element monitoring callback. + * + * @param cb Callback function with return value + * @param ctx Context argument, passed to callback function. + * + * @return + * - ESP_OK: succeed + * - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init + */ +esp_err_t esp_wifi_set_vendor_ie_with_ret_cb(esp_vendor_ie_cb_with_ret_t cb, void *ctx); + #ifdef __cplusplus } #endif From 95f9388c53ac48b38ab7776505e9f4bd5f6068e8 Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Thu, 12 Mar 2026 16:35:54 +0800 Subject: [PATCH 5/9] feat(wifi): add new api to return home channel info --- components/esp_wifi/include/esp_wifi.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index d479b3663af..03f0161a475 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -813,6 +813,20 @@ esp_err_t esp_wifi_set_channel(uint8_t primary, wifi_second_chan_t second); */ esp_err_t esp_wifi_get_channel(uint8_t *primary, wifi_second_chan_t *second); +/** + * @brief Get the home channel of device + * + * @param primary store primary channel + * @param[out] second store second channel + * + * @return + * - ESP_OK: succeed + * - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init + * - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start + * - ESP_ERR_INVALID_ARG: invalid argument + */ +esp_err_t esp_wifi_get_home_channel(uint8_t *primary, wifi_second_chan_t *second); + /** * @brief configure country info * From e33a4375748e6fd176587b562118aa66d63bf50d Mon Sep 17 00:00:00 2001 From: zhangyanjiao Date: Fri, 27 Mar 2026 15:25:41 +0800 Subject: [PATCH 6/9] feat(wifi): update wifi lib for vendor ie cb and home channel --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index fe2a954a99d..171da663798 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit fe2a954a99d059c650b73ca73a3f04b994958d90 +Subproject commit 171da6637987aa8861bb0f9f3f0f4b18b743665f From 8ebbf792c30bdebaf168a0bd0eb05ca2d80c88fb Mon Sep 17 00:00:00 2001 From: muhaidong Date: Fri, 27 Mar 2026 14:32:18 +0800 Subject: [PATCH 7/9] fix(wifi): only unicast frames count as keep-alive --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 171da663798..f84f05505ad 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 171da6637987aa8861bb0f9f3f0f4b18b743665f +Subproject commit f84f05505ad5109c4df9ebac0bd9c093d152de39 From 72ad6d318d82178459dc43ac164645ef27d4c25c Mon Sep 17 00:00:00 2001 From: Sarvesh Bodakhe Date: Wed, 1 Apr 2026 12:22:26 +0530 Subject: [PATCH 8/9] fix(wifi): improve WPA3-Enterprise and SAE authmode validation in scan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Enforce TKIP cipher prohibition for WPA3-Enterprise per WFA spec - Validate PMF and TKIP cipher combinations (TKIP incompatible with MFPR) - Fix WPA+RSN IE handling for SAE authmode detection - Add FT-SAE to AKM selection in WPA2/WPA3 mixed mode (MFPC) - Improve enterprise authmode fallback validation with TKIP/MFPR checks - Classify TKIP-only RSN IE APs as WPA per WPA2 Test Plan v1.19 ยง3.2.8.1 Addresses WPA3-Enterprise certification compliance and improves scan result accuracy for enterprise and WPA3 networks. --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index f84f05505ad..18b7aae0fe9 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit f84f05505ad5109c4df9ebac0bd9c093d152de39 +Subproject commit 18b7aae0fe9df180e759c9e3ddec5a007b2fd6a2 From f17769e00481425b4892a6d2bf3acbafc390169e Mon Sep 17 00:00:00 2001 From: "wangtao@espressif.com" Date: Mon, 13 Apr 2026 11:31:48 +0800 Subject: [PATCH 9/9] fix(wifi): fix wifi blacklist issue --- components/esp_rom/esp32c5/ld/esp32c5.rom.eco3.ld | 2 +- components/esp_rom/esp32c61/ld/esp32c61.rom.eco4.ld | 2 +- components/esp_wifi/lib | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_rom/esp32c5/ld/esp32c5.rom.eco3.ld b/components/esp_rom/esp32c5/ld/esp32c5.rom.eco3.ld index e759344295f..71b74082e37 100644 --- a/components/esp_rom/esp32c5/ld/esp32c5.rom.eco3.ld +++ b/components/esp_rom/esp32c5/ld/esp32c5.rom.eco3.ld @@ -21,7 +21,7 @@ Cache_Set_IDROM_MMU_Size = 0x400006c4; hal_mac_tx_set_ppdu = 0x40000c0c; ic_mac_deinit = 0x40000c78; ic_mac_init = 0x40000c7c; -lmacTxFrame = 0x40000cd0; +//lmacTxFrame = 0x40000cd0; lmacDisableTransmit = 0x40000cd4; pm_check_state = 0x40000d48; //pm_set_beacon_filter = 0x40000d6c; diff --git a/components/esp_rom/esp32c61/ld/esp32c61.rom.eco4.ld b/components/esp_rom/esp32c61/ld/esp32c61.rom.eco4.ld index 65455157bdd..ab4622513ae 100644 --- a/components/esp_rom/esp32c61/ld/esp32c61.rom.eco4.ld +++ b/components/esp_rom/esp32c61/ld/esp32c61.rom.eco4.ld @@ -20,7 +20,7 @@ sta_input = 0x40000b3c; hal_mac_tx_set_ppdu = 0x40000b74; ic_mac_deinit = 0x40000be8; ic_mac_init = 0x40000bec; -lmacTxFrame = 0x40000c40; +//lmacTxFrame = 0x40000c40; lmacDisableTransmit = 0x40000c44; pm_check_state = 0x40000cb4; pm_set_beacon_filter = 0x40000cd8; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 18b7aae0fe9..cdb85041a22 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 18b7aae0fe9df180e759c9e3ddec5a007b2fd6a2 +Subproject commit cdb85041a22d09dea948a3fe4975778f79c064d0