Skip to content

Commit d3a98e2

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'bugfix/fix_some_wifi_bugs_250929_v5.4' into 'release/v5.4'
fix(wifi): fix some wifi bugs 20250929(Backport v5.4) See merge request espressif/esp-idf!42275
2 parents 2d0f48e + c0cdb94 commit d3a98e2

File tree

11 files changed

+14
-13
lines changed

11 files changed

+14
-13
lines changed

components/esp_rom/esp32c2/ld/esp32c2.rom.eco4.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -19,7 +19,7 @@ lmacDiscardMSDU = 0x40001b18;
1919
lmacEndFrameExchangeSequence = 0x40001b1c;
2020
lmacMSDUAged = 0x40001b28;
2121
//lmacSetTxFrame = 0x40001b4c;
22-
pm_check_state = 0x40001b6c;
22+
/* pm_check_state = 0x40001b6c; */
2323
pm_dream = 0x40001b78;
2424
pm_on_beacon_rx = 0x40001ba0;
2525
//pm_parse_beacon = 0x40001bac;
@@ -57,7 +57,7 @@ lmac_stop_hw_txq = 0x40001df8;
5757
esf_buf_setup = 0x40001e0c;
5858
hal_crypto_set_key_entry = 0x40001e18;
5959
pm_start = 0x40001e34;
60-
pm_stop = 0x40001e38;
60+
/*pm_stop = 0x40001e38;*/
6161
hal_set_sta_tbtt = 0x40001e4c;
6262
//pm_update_next_tbtt = 0x40001e50;
6363
pm_set_sleep_type = 0x40001e54;

components/esp_rom/esp32c2/ld/esp32c2.rom.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ hal_mac_tx_get_blockack = 0x40001af4;
493493
/*hal_mac_tx_set_ppdu = 0x40001af8;*/
494494
ic_get_trc = 0x40001afc;
495495
/* ic_mac_deinit = 0x40001b00; */
496-
ic_mac_init = 0x40001b04;
496+
/* ic_mac_init = 0x40001b04; */
497497
ic_interface_enabled = 0x40001b08;
498498
is_lmac_idle = 0x40001b0c;
499499
/*lmacAdjustTimestamp = 0x40001b10;*/

components/esp_rom/esp32c3/ld/esp32c3.rom.eco7.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ lmacTxDone = 0x4000162c;
1414
/*lmacTxFrame = 0x40001630;*/
1515
mac_tx_set_htsig = 0x40001638;
1616
mac_tx_set_plcp1 = 0x40001640;
17-
pm_check_state = 0x40001648;
17+
/* pm_check_state = 0x40001648; */
1818
/*pm_on_beacon_rx = 0x4000167c;*/
1919
/*pm_parse_beacon = 0x40001688;*/
2020
/*pm_process_tim = 0x4000168c;*/

components/esp_rom/esp32c3/ld/esp32c3.rom.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ hal_mac_tx_get_blockack = 0x400015d0;
683683
/* hal_mac_tx_set_ppdu = 0x400015d4;*/
684684
ic_get_trc = 0x400015d8;
685685
/* ic_mac_deinit = 0x400015dc; */
686-
ic_mac_init = 0x400015e0;
686+
/* ic_mac_init = 0x400015e0; */
687687
ic_interface_enabled = 0x400015e4;
688688
is_lmac_idle = 0x400015e8;
689689
/*lmacAdjustTimestamp = 0x400015ec;*/

components/esp_rom/esp32c5/ld/esp32c5.rom.pp.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ mac_tx_set_tb = 0x40000d38;
106106
mac_tx_set_mplen = 0x40000d3c;
107107
mac_tx_set_txop_q = 0x40000d40;
108108
mac_tx_set_pti = 0x40000d44;
109-
pm_check_state = 0x40000d48;
109+
/*pm_check_state = 0x40000d48;*/
110110
pm_disable_dream_timer = 0x40000d4c;
111111
pm_disable_sleep_delay_timer = 0x40000d50;
112112
/*pm_dream = 0x40000d54;*/

components/esp_rom/esp32c6/ld/esp32c6.rom.pp.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ hal_mac_tx_get_blockack = 0x40000bfc;
3131
//hal_mac_tx_set_ppdu = 0x40000c00;
3232
ic_get_trc = 0x40000c04;
3333
//ic_mac_deinit = 0x40000c08;
34-
ic_mac_init = 0x40000c0c;
34+
/* ic_mac_init = 0x40000c0c; */
3535
ic_interface_enabled = 0x40000c10;
3636
is_lmac_idle = 0x40000c14;
3737
/*lmacAdjustTimestamp = 0x40000c18;*/

components/esp_rom/esp32c61/ld/esp32c61.rom.pp.ld

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dbg_hal_check_clr_mplen_bitmap = 0x40000bdc;
6060
dbg_hal_check_set_mplen_bitmap = 0x40000be0;
6161
ic_get_trc = 0x40000be4;
6262
ic_mac_deinit = 0x40000be8;
63-
ic_mac_init = 0x40000bec;
63+
/* ic_mac_init = 0x40000bec; */
6464
ic_interface_enabled = 0x40000bf0;
6565
is_lmac_idle = 0x40000bf4;
6666
ic_get_he_rts_threshold_bytes = 0x40000bf8;
@@ -110,7 +110,7 @@ mac_tx_set_tb = 0x40000ca4;
110110
mac_tx_set_mplen = 0x40000ca8;
111111
mac_tx_set_txop_q = 0x40000cac;
112112
mac_tx_set_pti = 0x40000cb0;
113-
pm_check_state = 0x40000cb4;
113+
/* pm_check_state = 0x40000cb4; */
114114
pm_disable_dream_timer = 0x40000cb8;
115115
pm_disable_sleep_delay_timer = 0x40000cbc;
116116
pm_dream = 0x40000cc0;

components/esp_rom/esp32s3/ld/esp32s3.rom.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ hal_mac_tx_get_blockack = 0x400052b0;
936936
/* hal_mac_tx_set_ppdu = 0x400052bc;*/
937937
ic_get_trc = 0x400052c8;
938938
/* ic_mac_deinit = 0x400052d4; */
939-
ic_mac_init = 0x400052e0;
939+
/* ic_mac_init = 0x400052e0; */
940940
ic_interface_enabled = 0x400052ec;
941941
is_lmac_idle = 0x400052f8;
942942
/*lmacAdjustTimestamp = 0x40005304;*/

components/esp_wifi/include/esp_wifi_types_generic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ typedef struct {
244244
wifi_scan_channel_bitmap_t channel_bitmap; /**< Channel bitmap for setting specific channels to be scanned.
245245
Please note that the 'channel' parameter above needs to be set to 0 to allow scanning by bitmap.
246246
Also, note that only allowed channels configured by wifi_country_t can be scanned. */
247+
bool coex_background_scan; /**< Enable it to scan return home channel under coexist */
247248
} wifi_scan_config_t;
248249

249250
/**

0 commit comments

Comments
 (0)