From 7191595d2a59db2330edd8b0007a3ed333784b4b Mon Sep 17 00:00:00 2001 From: sibeibei Date: Fri, 11 Apr 2025 11:22:35 +0800 Subject: [PATCH] feat(coex): support backgorund scan for coex, fix some issues of scan when connected --- components/esp_wifi/include/esp_wifi_types_generic.h | 1 + components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi_types_generic.h b/components/esp_wifi/include/esp_wifi_types_generic.h index dd1ab1a4bd..2cc2fa008a 100644 --- a/components/esp_wifi/include/esp_wifi_types_generic.h +++ b/components/esp_wifi/include/esp_wifi_types_generic.h @@ -246,6 +246,7 @@ typedef struct { wifi_scan_channel_bitmap_t channel_bitmap; /**< Channel bitmap for setting specific channels to be scanned. Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap. Also, note that only allowed channels configured by wifi_country_t can be scanned. */ + bool coex_background_scan; /**< Enable it to scan return home channel under coexist */ } wifi_scan_config_t; /** diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index b60fa94e4b..583c685668 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit b60fa94e4b50aaef8344e9eb494c7d7d28fe2d8d +Subproject commit 583c685668cc420e60f5f22148ddf10c32e94cc3