From d688fc3542fdba8801c7bd6780af26498e289213 Mon Sep 17 00:00:00 2001 From: jack Date: Fri, 25 Nov 2022 14:01:34 +0800 Subject: [PATCH] eps-wifi: update wifi lib 1. Adding check for ies in match security 2. Set AP rsnxe while connecting to a AP 3. Restores station status to connected when no other AP is found for roam 4. Add config option for AP retry count 5. Fix unprotected SA Query issue --- components/esp_wifi/include/esp_wifi_types.h | 1 + components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types.h b/components/esp_wifi/include/esp_wifi_types.h index 4dae6a8c3f..85614b0b91 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -258,6 +258,7 @@ typedef struct { uint32_t mbo_enabled:1; /**< Whether MBO is enabled for the connection */ uint32_t reserved:29; /**< 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. diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 0f1f055488..378947adbf 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 0f1f0554882b17e3f7dd03d6c1150e8f6cade83b +Subproject commit 378947adbfcfa4c1bcf96b3465ffec23ab7d9e32