From 4fd34e5e4c9498b36185bd80d69dfd133a9ba10b Mon Sep 17 00:00:00 2001 From: Sajia Date: Thu, 24 Jul 2025 18:43:54 +0530 Subject: [PATCH] fix(wifi): Add bss max idle timer and protected keep alive fixes --- components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld | 2 +- components/esp_wifi/include/esp_wifi_types_generic.h | 2 +- components/esp_wifi/lib | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld b/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld index 1178331f39b..a9758072119 100644 --- a/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld +++ b/components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld @@ -80,7 +80,7 @@ tsf_hal_set_tbtt_start_time = 0x40001f38; ieee80211_ampdu_reorder = 0x40001fb0; ieee80211_encap_esfbuf = 0x40001fb8; ieee80211_output_process = 0x40001fc4; -sta_input = 0x40001fcc; +//sta_input = 0x40001fcc; ieee80211_classify = 0x40001fe0; ieee80211_crypto_decap = 0x40001ff8; //ieee80211_ccmp_decrypt = 0x4000200c; diff --git a/components/esp_wifi/include/esp_wifi_types_generic.h b/components/esp_wifi/include/esp_wifi_types_generic.h index 502f345de57..21bee273742 100644 --- a/components/esp_wifi/include/esp_wifi_types_generic.h +++ b/components/esp_wifi/include/esp_wifi_types_generic.h @@ -521,7 +521,7 @@ typedef enum { * @brief Configuration structure for BSS max idle */ typedef struct { - uint16_t period; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature */ + uint16_t period; /**< Sets BSS Max idle period (1 Unit = 1000TUs OR 1.024 Seconds). If there are no frames for this period from a STA, SoftAP will disassociate due to inactivity. Setting it to 0 disables the feature. Minimum value will be 10 */ bool protected_keep_alive; /**< Requires clients to use protected keep alive frames for BSS Max Idle period */ } wifi_bss_max_idle_config_t; diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 4faf5f1e9f1..9a2f1c6ccba 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 4faf5f1e9f1254042771b2ec46028f5c5c8d36c6 +Subproject commit 9a2f1c6ccba624fdd29362a16b70a8dc6c7d4d98