From b5477c55321816f350cb0f376490032c9924142c Mon Sep 17 00:00:00 2001 From: "wangtao@espressif.com" Date: Wed, 26 Feb 2025 17:47:16 +0800 Subject: [PATCH 1/2] fix(wifi): fix max idle period 1 issue --- components/esp_rom/esp32c5/mp/esp32c5/ld/esp32c5.rom.pp.ld | 2 +- components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_rom/esp32c5/mp/esp32c5/ld/esp32c5.rom.pp.ld b/components/esp_rom/esp32c5/mp/esp32c5/ld/esp32c5.rom.pp.ld index 83e6d8cc6e..9eca4dc53f 100644 --- a/components/esp_rom/esp32c5/mp/esp32c5/ld/esp32c5.rom.pp.ld +++ b/components/esp_rom/esp32c5/mp/esp32c5/ld/esp32c5.rom.pp.ld @@ -118,7 +118,7 @@ pm_local_tsf_process = 0x40000d68; pm_set_beacon_filter = 0x40000d6c; pm_is_in_wifi_slice_threshold = 0x40000d70; pm_is_waked = 0x40000d74; -pm_keep_alive = 0x40000d78; +//pm_keep_alive = 0x40000d78; /*pm_on_beacon_rx = 0x40000d7c;*/ pm_on_data_rx = 0x40000d80; pm_on_data_tx = 0x40000d84; diff --git a/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld b/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld index 9974f45cb5..eef294baca 100644 --- a/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld +++ b/components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld @@ -67,7 +67,7 @@ pm_local_tsf_process = 0x40000bac; pm_set_beacon_filter = 0x40000bb0; pm_is_in_wifi_slice_threshold = 0x40000bb4; pm_is_waked = 0x40000bb8; -pm_keep_alive = 0x40000bbc; +//pm_keep_alive = 0x40000bbc; pm_on_beacon_rx = 0x40000bc0; pm_on_data_rx = 0x40000bc4; pm_on_tbtt = 0x40000bc8; From 9655032d2b63e927a6fb45c73b5cbe5f6480b44f Mon Sep 17 00:00:00 2001 From: Linda Date: Mon, 20 Jan 2025 17:51:26 +0800 Subject: [PATCH 2/2] docs: update the API description for esp-wifi_scan_get_ap_records --- components/esp_wifi/include/esp_wifi.h | 2 +- components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index fa9c40e868..e1120510a9 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -583,7 +583,7 @@ esp_err_t esp_wifi_scan_stop(void); esp_err_t esp_wifi_scan_get_ap_num(uint16_t *number); /** - * @brief Get AP list found in last scan. + * @brief Retrieve the list of APs found during the last scan. The returned AP list is sorted in descending order based on RSSI. * * @attention This API will free all memory occupied by scanned AP list. * diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index fd857ec9e1..7b7ca286d8 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit fd857ec9e1f20942c9d398cccd84cc4f498e8e1a +Subproject commit 7b7ca286d82f0d3e0ad324d1b1d72a0f6b99e318