From 181666c4a708f637c51fe8d4c0fdff334e7321e1 Mon Sep 17 00:00:00 2001 From: jgujarathi Date: Mon, 12 Jun 2023 10:27:25 +0530 Subject: [PATCH] fix(esp_wifi) : Fix collection of issues in sta roam and scan. 1) Fix issue during split scan to allow for data tx. 2) Fix issue when parsing wpa_ie to set correct authmode when AP supports both WPA_EAP and WPA_EAP_SHA256 authmode. Closes https://github.com/espressif/esp-idf/issues/11202 3) Fix an occasional crash during sta roam. 4) Add home_channel_dwell_time to wifi_scan_config_t. This allows configuration of the time spent between scanning consecutive channels for tx. 5) Adds a obss scan timer disarm when a sta disconnects from an AP --- 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 eb32abb895..d7db356ceb 100644 --- a/components/esp_wifi/include/esp_wifi_types.h +++ b/components/esp_wifi/include/esp_wifi_types.h @@ -157,6 +157,7 @@ typedef struct { bool show_hidden; /**< enable to scan AP whose SSID is hidden */ wifi_scan_type_t scan_type; /**< scan type, active or passive */ wifi_scan_time_t scan_time; /**< scan time per channel */ + uint8_t home_chan_dwell_time;/**< time spent at home channel between scanning consecutive channels.*/ } wifi_scan_config_t; typedef enum { diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 9a2cbdc710..5033478764 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 9a2cbdc71044dd3f96ec828a9e88cea5bfd4efd0 +Subproject commit 50334787643dafa7e7a2adb619dd57a2a5cdd3ee