Skip to content

Commit 60e884b

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'fix/backport_some_wifi_bugs_v5.5_0617' into 'release/v5.5'
fix: backport some wifi bugs v5.5 0617 See merge request espressif/esp-idf!39953
2 parents 589c251 + 6cb9214 commit 60e884b

File tree

23 files changed

+237
-102
lines changed

23 files changed

+237
-102
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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 @@ ppTxFragmentProc = 0x40001e08;
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.net80211.ld

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ic_reset_extra_softap_rx_ba = 0x40000b50;
3636
ieee80211_align_eb = 0x40000b54;
3737
ieee80211_ampdu_reorder = 0x40000b58;
3838
ieee80211_ampdu_start_age_timer = 0x40000b5c;
39-
ieee80211_encap_esfbuf = 0x40000b60;
39+
/*ieee80211_encap_esfbuf = 0x40000b60;*/
4040
ieee80211_is_tx_allowed = 0x40000b64;
4141
ieee80211_output_pending_eb = 0x40000b68;
4242
ieee80211_output_process = 0x40000b6c;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ hal_get_tsf_time = 0x40000c64;
5353
hal_get_sta_tsf = 0x40000c68;
5454
ic_get_trc = 0x40000c74;
5555
ic_mac_deinit = 0x40000c78;
56-
ic_mac_init = 0x40000c7c;
56+
/* ic_mac_init = 0x40000c7c; */
5757
ic_interface_enabled = 0x40000c80;
5858
is_lmac_idle = 0x40000c84;
5959
ic_get_he_rts_threshold_bytes = 0x40000c88;
@@ -104,7 +104,7 @@ mac_tx_set_tb = 0x40000d38;
104104
mac_tx_set_mplen = 0x40000d3c;
105105
mac_tx_set_txop_q = 0x40000d40;
106106
mac_tx_set_pti = 0x40000d44;
107-
pm_check_state = 0x40000d48;
107+
/*pm_check_state = 0x40000d48;*/
108108
pm_disable_dream_timer = 0x40000d4c;
109109
pm_disable_sleep_delay_timer = 0x40000d50;
110110
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.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -999,6 +999,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
999999
* - ESP_ERR_WIFI_MODE: invalid mode
10001000
* - ESP_ERR_WIFI_PASSWORD: invalid password
10011001
* - ESP_ERR_WIFI_NVS: WiFi internal NVS error
1002+
* - ESP_ERR_WIFI_STATE: WiFi still connecting when invoke esp_wifi_set_config
10021003
* - others: refer to the error code in esp_err.h
10031004
*/
10041005
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);

0 commit comments

Comments
 (0)