24595 Commits

Author SHA1 Message Date
David Cermak
c68c6dfb76 fix(lwip): Fix potential data-race in ping tcpip callback
Need to use tcpip_api_call() instead of tcpip_callback(), since the
former waits for the tcpip task to complete and thus prevents potential
data races with subsequent TCP/IP tasks.
2025-01-21 10:03:17 +01:00
Jiang Jiang Jian
72d91b5117 Merge branch 'change/ble_update_lib_20250103_v5.2' into 'release/v5.2'
change(ble): [AUTO_MR] 20250103 - Update ESP BLE Controller Lib (v5.2)

See merge request espressif/esp-idf!36371
2025-01-17 10:44:25 +08:00
Jiang Jiang Jian
6a465772aa Merge branch 'feature/softap_detect_wrong_password_attempt_v5.2' into 'release/v5.2'
esp_wifi: softAP: detect external station attempting to connect with wrong password  (Backport v5.2)

See merge request espressif/esp-idf!36455
2025-01-17 10:36:42 +08:00
Jiang Jiang Jian
bb268e1131 Merge branch 'fix/sdmmc_write_sectors_dma_always_send_cmd13_v5.2' into 'release/v5.2'
fix(sdmmc): sdmmc_write_sectors_dma always check card status after write (v5.2)

See merge request espressif/esp-idf!34342
2025-01-17 10:32:10 +08:00
Sarvesh Bodakhe
806b75938a feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
This event is triggered when external station tries connecting to softAP
with wrong password.

Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2025-01-16 20:13:55 +05:30
Jiang Jiang Jian
02935a77a5 Merge branch 'bugfix/sync_buf_crash_v5.2' into 'release/v5.2'
fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers (v5.2)

See merge request espressif/esp-idf!36342
2025-01-16 21:04:46 +08:00
Jiang Jiang Jian
3b2d916af0 Merge branch 'fix/esp_vfs_register_fd_range_warning_message_v5.2' into 'release/v5.2'
fix(storage/vfs): incorrect log level in esp_vfs_register_fd_range (v5.2)

See merge request espressif/esp-idf!36320
2025-01-16 20:57:04 +08:00
Jiang Jiang Jian
5c235ffa36 Merge branch 'fix/heap-allocate-in-rtc-iram_v5.2' into 'release/v5.2'
fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM (backport v5.2)

See merge request espressif/esp-idf!35621
2025-01-16 20:53:40 +08:00
Adam Múdry
2dc6551390 fix(sdmmc): Send status (CMD13) even if write/read command fails 2025-01-16 20:39:29 +08:00
Adam Múdry
a44a659b0f fix(sdmmc): Improve SD card state checking after write/read command 2025-01-16 20:39:29 +08:00
Jiang Jiang Jian
5c627d9d18 Merge branch 'fix/fix_coex_macro_control_5_2' into 'release/v5.2'
fix(openthread): use the correct macros to control code compilation (v5.2)

See merge request espressif/esp-idf!36447
2025-01-16 20:36:29 +08:00
Jiang Jiang Jian
8775d06702 Merge branch 'fix/fix_tsens_power_after_modem_wakeup_v5.2' into 'release/v5.2'
fix(esp_hw_support): fix tsensor power enable failed after modem state wakeup (v5.2)

See merge request espressif/esp-idf!36226
2025-01-16 20:30:54 +08:00
zwl
565c4d0b73 feat(ble): support for putting ble code into flash on ESP32-C6 2025-01-16 18:18:14 +08:00
Xu Si Yu
8487bb7054 fix(openthread): use the correct macros to control code compilation 2025-01-16 18:04:30 +08:00
Michael (XIAO Xufeng)
f0364c578b Merge branch 'test/add_cache2phys_xip_tests_v5.2' into 'release/v5.2'
fix(mmap): fixed spi_flash_phys2cache return addr in PSRAM issue (v5.2)

See merge request espressif/esp-idf!35987
2025-01-16 17:56:55 +08:00
Marius Vikhammer
0fc594154a Merge branch 'feature/efuse_update_for_esp32h2_eco5_v5.2' into 'release/v5.2'
feat(efuse): Adds efuses for esp32h2 eco5 (v5.2)

See merge request espressif/esp-idf!36246
2025-01-16 17:50:54 +08:00
Jiang Jiang Jian
ce956ecfad Merge branch 'fix/set_154_cca_duration_v5.2' into 'release/v5.2'
fix(15.4): set 15.4 energy scan duration before cca (v5.2)

See merge request espressif/esp-idf!36426
2025-01-16 16:52:33 +08:00
Michael (XIAO Xufeng)
9a161557a1 Merge branch 'feat/add_h2_config_and_maxver_for_v5.2' into 'release/v5.2'
feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 (v5.2)

See merge request espressif/esp-idf!36418
2025-01-16 13:32:27 +08:00
Xu Si Yu
d223421f92 fix(15.4): set 15.4 energy scan duration before cca 2025-01-16 11:45:50 +08:00
morris
8eaf6004b3 Merge branch 'refactor/update_lpperi_regs_for_h2_eco5_v5.2' into 'release/v5.2'
refactor(lpperi): compatible refactor for H2 ECO5 (v5.2)

See merge request espressif/esp-idf!36338
2025-01-16 10:51:16 +08:00
Marius Vikhammer
e21640838d Merge branch 'bugfix/enable_additional_lp_io_wakeup_v5.2' into 'release/v5.2'
fix(lp_io): allow edge wakeup types for LP-IO on chips which support it

See merge request espressif/esp-idf!36328
2025-01-16 10:02:39 +08:00
Xiao Xufeng
e9d35ac8ac feat(soc): add Kconfig rev min option and increase max ver for H2 v1.2 2025-01-16 00:18:20 +08:00
Rahul Tank
e5da868951 Merge branch 'bugfix/fix_compilation_warn_v5.2' into 'release/v5.2'
fix(nimble): Address compilation warnings for different flag combination (v5.2)

See merge request espressif/esp-idf!36394
2025-01-15 21:32:56 +08:00
laokaiyao
43ad52ee95 refactor(lpperi): improve compatibility solution 2025-01-15 20:42:44 +08:00
laokaiyao
be89694353 refactor(lpperi): compatible refactor for H2 ECO5 2025-01-15 20:42:44 +08:00
yinqingzhao
358d1ec359 fix(wifi): remove micro definition 2025-01-15 16:09:55 +08:00
Michael (XIAO Xufeng)
a83eb05dc0 Merge branch 'feat/increase_c2_supported_ver_v5.2' into 'release/v5.2'
feat(soc): increase c2 max supported version (v5.2)

See merge request espressif/esp-idf!35972
2025-01-15 15:25:56 +08:00
Jiang Jiang Jian
324c7effcc Merge branch 'bugfix/fix_double_wifi_active_time_v5.2' into 'release/v5.2'
bugfix/fix double wifi active time v5.2

See merge request espressif/esp-idf!36357
2025-01-15 14:11:08 +08:00
Rahul Tank
a0da07d8f3 fix(nimble): Fix compilation issues for different flag combinations 2025-01-15 10:18:05 +05:30
Shu Chen
0f5b20f045 Merge branch 'feat/update_thread_lib_v5.2' into 'release/v5.2'
fix(openthread): update SRP server to support zero subtype (v5.2)

See merge request espressif/esp-idf!36334
2025-01-15 11:08:09 +08:00
morris
0e42d52009 Merge branch 'bugfix/postpone_cpu_pll_off_time_in_slp_v5.2' into 'release/v5.2'
fix(clk): postpone CPU PLL off time in sleep (v5.2)

See merge request espressif/esp-idf!36301
2025-01-15 10:14:27 +08:00
David Cermak
2e2551030e fix(lwip): Fix ping session calling thread unsafe API
Closes https://github.com/espressif/esp-idf/issues/14982
2025-01-14 11:25:54 +01:00
Zhou Xiao
16595a5a9a fix(ble): fixed ld file for c2eco0 and c2eco4
(cherry picked from commit 937fe2a6e3102ff9a44da2e2288c7df7588a271c)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 17:43:27 +08:00
Zhou Xiao
304c40c89a fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-H2
(cherry picked from commit d2b62f21301f01f7585100c08551fdaa1b52ef5c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:08 +08:00
Zhou Xiao
502648625e fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C6
(cherry picked from commit 8d6ec1283875d0ea1993473d078bbc2dad47be9d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:06 +08:00
Zhou Xiao
bfcb67058a fix(ble): fixed esp_ble_tx_power_set api issue on ESP32-C2
(cherry picked from commit 6a752eeb89a48ee5c1d5e07b8f2ea297ca1c268d)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:03 +08:00
Zhou Xiao
5095bba000 feat(ble): support for putting ble code into flash on ESP32-H2
(cherry picked from commit 5a9acdc379ac2ed560ac6e92ddcc89696eaea6f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-01-14 14:54:01 +08:00
Zhou Xiao
c2762f9206 change(ble): Update lib_esp32c2 to 2a00fb0b
(cherry picked from commit 7cd3fe6953ce455dcde3bc499d0f09a5c5cd57d7)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:59 +08:00
Zhou Xiao
85a1305052 change(ble): Update lib_esp32c6 to 3422b706
(cherry picked from commit 4fc95fa91f178aeed607d0366e7b91a0ea018ac6)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:57 +08:00
Zhou Xiao
dd5230866b change(ble): Update lib_esp32h2 to 3422b706
(cherry picked from commit fe5a12e7e74de53b8d3c6d5088419deb9a69f704)

Co-authored-by: zhouxiao <zhouxiao@espressif.com>
2025-01-14 14:53:54 +08:00
morris
5d2609911e Merge branch 'fix/twai_io_init_glitch_v5.2' into 'release/v5.2'
fix(driver_twai): fixed bus-off when twai_init due to wrong gpio config (v5.2)

See merge request espressif/esp-idf!34817
2025-01-14 11:56:22 +08:00
liuning
a122a750fb fix(wifi): fix double max active time, fix coex pwr period cant been updated by ps type set 2025-01-14 10:42:47 +08:00
liuning
1bb0b02c55 feat(coex): update coexist debug default event 2025-01-14 10:37:32 +08:00
David Čermák
5de8b483ea Merge branch 'fix/lwip_ping_ipv6only_v5.2' into 'release/v5.2'
fix(lwip): Fix IP6 raw socket checksum in IPv6-only configuration (v5.2)

See merge request espressif/esp-idf!35087
2025-01-14 01:59:07 +08:00
Jiang Jiang Jian
6050f356c2 Merge branch 'bugfix/fix_the_wpa3_connect_error_in_mesh_v5.2' into 'release/v5.2'
fix(wifi/mesh): fixed the mesh connection failure in WPA3 mode after erasing flash (v5.2)

See merge request espressif/esp-idf!36326
2025-01-13 19:37:06 +08:00
Mahavir Jain
7351290ac4 Merge branch 'bugfix/update_api_to_get_url_correctly_v5.2' into 'release/v5.2'
fix(esp_http_client): updated API esp_http_client_get_url() to get URL in correct format (v5.2)

See merge request espressif/esp-idf!36333
2025-01-13 18:25:24 +08:00
Guillaume Souchere
7fac9e4f7a fix(esp_hw_support): Unused variables in memory_utils functions 2025-01-13 11:11:40 +01:00
David Čermák
9c6da59dca Merge branch 'fix/esp_netif_ppp_nullptr_check_v5.2' into 'release/v5.2'
fix(esp_netif): Prevent null deref when checking netif type (v5.2)

See merge request espressif/esp-idf!35672
2025-01-13 17:41:23 +08:00
Song Ruo Jing
2e41f0b875 fix(clk): postpone CPU PLL off time in sleep
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2025-01-13 17:33:23 +08:00
David Cermak
38323b6601 fix(lwip): Fix ping_v6 receiving to accept only echo replies
This fixes a bug where we ping our own IP and the request itself
bounces back to the raw receive function and is incorrectly treated as
reply. (this bug was discovered when fixing ICMPv6 pings with incorrect
checksums, while the ping request was dropped in icmpv6.c due to wrong
checksum, but was also fed to raw layers where it was treated as
"correct" response, so the PINGv6 to ourselves still worked)
2025-01-13 10:25:45 +01:00