From 10b0b768b7da41eba6823e3982f4b78530d2424e Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Mon, 31 Oct 2022 21:06:28 +0530 Subject: [PATCH 1/3] esp_wifi: Add config option for AP retry count Provide a config option for station to retry with the AP if connection fails first time. --- components/esp_wifi/include/esp_wifi_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 8fddc21471..401f0bbaf0 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -282,6 +282,7 @@ typedef struct { uint32_t btm_enabled:1; /**< Whether BSS Transition Management is enabled for the connection */ uint32_t reserved:30; /**< Reserved for future feature set */ wifi_sae_pwe_method_t sae_pwe_h2e; /**< Whether SAE hash to element is enabled */ + uint8_t failure_retry_cnt; /**< Number of connection retries station will do before moving to next AP. scan_method should be set as WIFI_ALL_CHANNEL_SCAN to use this config. Note: Enabling this may cause connection time to increase incase best AP doesn't behave properly. */ } wifi_sta_config_t; /** @brief Configuration data for ESP32 AP or STA. From e7a2559640b210aef9e5b3a2f1db169516c31c4b Mon Sep 17 00:00:00 2001 From: "alex.li" Date: Tue, 8 Nov 2022 17:31:44 +0800 Subject: [PATCH 2/3] esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently. --- components/esp_rom/esp32c3/ld/esp32c3.rom.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_rom/esp32c3/ld/esp32c3.rom.ld b/components/esp_rom/esp32c3/ld/esp32c3.rom.ld index 78c35f3715..789699bb77 100644 --- a/components/esp_rom/esp32c3/ld/esp32c3.rom.ld +++ b/components/esp_rom/esp32c3/ld/esp32c3.rom.ld @@ -1733,7 +1733,7 @@ ieee80211_recycle_cache_eb = 0x4000188c; ieee80211_search_node = 0x40001890; roundup2 = 0x40001894; ieee80211_crypto_encap = 0x40001898; -ieee80211_crypto_decap = 0x4000189c; +/* ieee80211_crypto_decap = 0x4000189c; */ /* ieee80211_decap = 0x400018a0; */ ieee80211_set_tx_pti = 0x400018a4; wifi_is_started = 0x400018a8; From fc1e91f53cfd69478bf95939915552311f1f29cc Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 6 Dec 2022 17:31:15 +0800 Subject: [PATCH 3/3] esp_wifi: update wifi lib 1.wifi: fixed sniffer mode can not capture control packet when station is enabled 2.Fixed WAPI issue on GTK compability and reference to broadcast arp pkts. 3.Fixed TX fragment issue that PN code is less than MSDU after PN code add two for TX fragment. 4.Added station connect retry count to make it easier to connect to the except AP 5.Fixed some issues on Soft-AP power save. 6.Fixed SoftAP memory leak after wifi init and deinit 7.Fixed sta get ap info does not return connected ssid issue. 8.Fixed SoftAP disconnection happened even when receive PS-Poll. --- 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 5596acc7bc..f949345782 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 5596acc7bccdf890501d7d5d67a18526415f6c4b +Subproject commit f9493457825aabe75391eacc83c4792c26426800