diff --git a/components/esp_wifi/include/esp_wifi_types_generic.h b/components/esp_wifi/include/esp_wifi_types_generic.h index 838d40b9417..29c57e5f656 100644 --- a/components/esp_wifi/include/esp_wifi_types_generic.h +++ b/components/esp_wifi/include/esp_wifi_types_generic.h @@ -258,6 +258,7 @@ typedef struct { 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 */ + uint8_t max_scan_ap_num; /**< Max AP records to keep during the scan, sorted by RSSI. 0 means no limit. */ } wifi_scan_config_t; /** diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 778c894d934..029850a040a 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 778c894d9349c6fa852d1e6f2753a4d608c07e7d +Subproject commit 029850a040a2e47c5ba7fae2e7fc4ae6c9438a0a diff --git a/components/esp_wifi/remote/include/injected/esp_wifi_types_generic.h b/components/esp_wifi/remote/include/injected/esp_wifi_types_generic.h index ea1362f9d03..179846605ee 100644 --- a/components/esp_wifi/remote/include/injected/esp_wifi_types_generic.h +++ b/components/esp_wifi/remote/include/injected/esp_wifi_types_generic.h @@ -258,6 +258,7 @@ typedef struct { 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 */ + uint8_t max_scan_ap_num; /**< Max AP records to keep during the scan, sorted by RSSI. 0 means no limit. */ } wifi_scan_config_t; /**