Commit Graph

34769 Commits

Author SHA1 Message Date
Zhang Hai Peng
30efff9af1 fix(ble/bluedroid): Fixed the problem of macro definition error
(cherry picked from commit 6b212c7d47)

Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com>
2025-08-15 14:53:26 +08:00
Zhang Hai Peng
bdb4d0f8e9 fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data
(cherry picked from commit 12df54e8d1)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-08-15 14:53:23 +08:00
Island
3a3b6adfbe Merge branch 'fix/spi_ble_log_get_lc_ts_ceva_v5.1' into 'release/v5.1'
fix(ble): disabled get lc ts for ESP32-C3 and ESP32-S3 (v5.1)

See merge request espressif/esp-idf!41227
2025-08-15 14:14:31 +08:00
Alexey Gerenkov
4105adb9f3 Merge branch 'feature/update-toolchain-to-esp-12.2.0_20250801_5.1' into 'release/v5.1'
feat(tools): update toolchain version to esp-12.2.0_20250801

See merge request espressif/esp-idf!41147
2025-08-14 18:17:02 +08:00
Zhou Xiao
c15a67431d fix(ble): disabled get lc ts for ESP32-C3 and ESP32-S3
(cherry picked from commit c17bf63874)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-14 11:13:48 +08:00
Rahul Tank
ea5415b5f6 Merge branch 'fix/update_ble_gatts_show_local_with_cpfd_v5.1' into 'release/v5.1'
fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs (v5.1)

See merge request espressif/esp-idf!41174
2025-08-13 20:14:18 +05:30
Island
925c0dd8b8 Merge branch 'change/ble_update_lib_20250806_v5.1' into 'release/v5.1'
change(ble): [AUTO_MR] 20250806 - Update ESP BLE Controller Lib (v5.1)

See merge request espressif/esp-idf!41137
2025-08-13 14:28:07 +08:00
Shu Chen
cf584e3fa7 Merge branch 'feat/add_154_mac_logs_when_ot_assert_v5.1' into 'release/v5.1'
feat(openthread): add option to dump 802.15.4 MAC debug info on assert (v5.1)

See merge request espressif/esp-idf!40974
2025-08-12 07:31:40 +00:00
Alexey Lapshin
f24efab7fc feat(tools): update toolchain version to esp-12.2.0_20250801 2025-08-12 13:51:04 +07:00
Sumeet Singh
a764be9aa5 fix(nimble): Update ble_gatts_show_local with CPFDs and CAFDs (v5.1) 2025-08-11 17:43:48 +05:30
Zhao Wei Liang
130a77f73b change(ble): enabled specify scan channel vs hci cmd for ESP32-C2
(cherry picked from commit 2818eb91f1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-08-11 10:29:36 +08:00
Zhao Wei Liang
32634c5ec5 change(ble): [AUTO_MR] updated rom linker script for ESP32-C2
(cherry picked from commit 7f7c8e2c85)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-08 21:13:36 +08:00
Zhao Wei Liang
f4f14d4342 change(ble): [AUTO_MR] Update lib_esp32c2 to dbd33ef2
(cherry picked from commit 043143ab8b)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-08 21:13:34 +08:00
Zhao Wei Liang
3eb2fab302 change(ble): [AUTO_MR] Update lib_esp32c6 to 898f73cb
(cherry picked from commit fe22519bb5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-08 21:13:31 +08:00
Zhao Wei Liang
4213a758bc change(ble): [AUTO_MR] Update lib_esp32h2 to 898f73cb
(cherry picked from commit 4990dfdd23)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-08 21:13:29 +08:00
Rahul Tank
e114b0095e Merge branch 'bugfix/correct_attr_count_in_get_db_api_v5.1' into 'release/v5.1'
fix(nimble): Updating the count parameter when fetching the gatt db (v5.1)

See merge request espressif/esp-idf!41034
2025-08-08 11:24:19 +05:30
Jiang Jiang Jian
bf4956d7e9 Merge branch 'bugfix/fix_open_mode_rx_fragment_fail_issue_v5.1' into 'release/v5.1'
fix(wifi): fix open mode rx fragment fail issue(Backport v5.1)

See merge request espressif/esp-idf!41064
2025-08-08 12:06:13 +08:00
muhaidong
c678cf9432 fix(wifi): fix open mode rx fragment fail issue 2025-08-06 16:33:43 +08:00
zwx
df951b9dfb feat(openthread): add option to dump 802.15.4 MAC debug info on assert 2025-08-06 06:35:00 +00:00
Mahavir Jain
3e9fdf085f Merge branch 'fix/update_postman_root_certificate_v5.1' into 'release/v5.1'
Updated postman root certificate (v5.1)

See merge request espressif/esp-idf!41055
2025-08-05 19:45:20 +05:30
hrushikesh.bhosale
1f37e2776a fix(esp_http_client): Moved httpd_async request from cert_pem to crt_bundle
Moved the httpd_async request from cert_pem to esp_crt_bundle. As cert_pem
is alredy tested for howmyssl URL
2025-08-05 16:28:16 +05:30
Astha Verma
dbe83fd261 fix(nimble): Handle count correctly by considering offset. 2025-08-05 14:48:52 +05:30
Astha Verma
d0daf991a0 fix(nimble): Updating the count parameter when fetching gatt db 2025-08-05 14:24:20 +05:30
Island
b63fa75d66 Merge branch 'bugfix/fix_bt_hci_not_effective_v5.1' into 'release/v5.1'
Fixed bt hci event was not report to host when hci command was sent (v5.1)

See merge request espressif/esp-idf!41010
2025-08-05 14:31:08 +08:00
Mahavir Jain
e0d824a721 Merge branch 'fix(esp_http_client)/fix_potential_double_free_v5.1' into 'release/v5.1'
fix(esp_http_client): fix possible double memory free (v5.1)

See merge request espressif/esp-idf!40981
2025-08-05 09:49:56 +05:30
Jiang Jiang Jian
a96fb81744 Merge branch 'fix/wpa_eap_v1_192_bit_cert_v5.1' into 'release/v5.1'
Sending disconnect event in connect fail and add enterprise check 192 bit and some fixes for wpa_supplicant(v5.1)

See merge request espressif/esp-idf!41009
2025-08-04 15:00:01 +08:00
Jiang Jiang Jian
9c3469d612 Merge branch 'fix/c6_phylib_for_modem_state_v5.1' into 'release/v5.1'
fix(esp_phy): fix c6 modem state (v5.1)

See merge request espressif/esp-idf!40872
2025-08-04 14:48:21 +08:00
Jiang Jiang Jian
26307750da Merge branch 'bugfix/esp_flash_escape_checking_v5.1' into 'release/v5.1'
fix(esp_flash): fixed issue of escaping boundary check (v5.1)

See merge request espressif/esp-idf!40121
2025-08-04 14:30:27 +08:00
Jiang Jiang Jian
97429efba8 Merge branch 'fix/wpsreg_crash_due_to_double_reset_v5.1' into 'release/v5.1'
fix(wifi): Fix crash in WPS-registrar due to nested 'eap_wsc_reset()' calls (backport v5.1)

See merge request espressif/esp-idf!40964
2025-08-04 14:02:24 +08:00
Jiang Jiang Jian
4a67ad9eca Merge branch 'bugfix/fixed_ble_dtm_err_v5.1' into 'release/v5.1'
Bugfix/fixed ble dtm err (v5.1)

See merge request espressif/esp-idf!40951
2025-08-04 12:09:55 +08:00
Jiang Jiang Jian
b0947e3639 Merge branch 'fix/fix_mmu_map_concurrent_issue_v5.1' into 'release/v5.1'
mmu: fix mmu map concurrent issue (v5.1)

See merge request espressif/esp-idf!38412
2025-08-04 12:03:13 +08:00
Zhang Hai Peng
2c4e2255e9 fix(bt/ble): Update esp32 libbtdm_app.a (722c907a)
- Fixed bt hci event was not report to host when hci command was sent


(cherry picked from commit 155c32be20)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-08-04 11:53:19 +08:00
Wang Meng Yang
ab3034f72d Merge branch 'feat/add_handl_in_sdp_evt_v5.1' into 'release/v5.1'
feat(bt): Add record_handle in ESP_SDP_REMOVE_RECORD_COMP_EVT(v5.1)

See merge request espressif/esp-idf!40722
2025-08-02 14:59:07 +08:00
Kapil Gupta
1264331285 fix (esp_wifi): Set default akm as eap for non AKM APs 2025-08-02 10:42:49 +05:30
Kapil Gupta
9f524203d8 fix(wpa_supplicant): Delay sending of EAP_START for EAP auth 2025-08-02 10:41:01 +05:30
tarun.kumar
3afd8f8b19 fix(wifi): Sending disconnect event in connect fail and add enterprise check in Suite-B 192-bit certification 2025-08-02 10:38:30 +05:30
tarun.kumar
53e113f87a fix(softAP): Adjusted authentication mode for wpa-eap version 1 2025-08-02 10:35:17 +05:30
Alexey Gerenkov
c7b762c455 Merge branch 'fix/cxx-tls-destructors_v5.1' into 'release/v5.1'
fix(cxx): fix TLS classes destructor call (v5.1)

See merge request espressif/esp-idf!34211
2025-08-01 22:46:33 +08:00
Alexey Gerenkov
f34978b594 Merge branch 'ci/enable_sysview_tests_v5.1' into 'release/v5.1'
ci: enable sysview example tests for all chips (v5.1)

See merge request espressif/esp-idf!39476
2025-08-01 22:34:57 +08:00
Jiang Jiang Jian
92a6718847 Merge branch 'fix/__atomic_test_and_set_v5.1' into 'release/v5.1'
fix(newlib): fix __atomic_test_and_set to ensure atomicity (v5.1)

See merge request espressif/esp-idf!37453
2025-08-01 17:35:48 +08:00
Ashish Sharma
ed9266b194 fix(esp_http_client): fix possible double memory free 2025-08-01 15:10:31 +08:00
wangtao@espressif.com
8b50310ae8 fix(phy): fix esp32c2 build issue 2025-08-01 12:05:29 +08:00
Jiang Jiang Jian
0c4a4ef019 Merge branch 'feat/ide_requirements_v5.1' into 'release/v5.1'
feat(tools/requirements): Add IDE requirements files (v5.1)

See merge request espressif/esp-idf!40944
2025-08-01 11:58:54 +08:00
Sarvesh Bodakhe
aa0344c054 fix(wifi): prevent crash in WPS-registrar due to nested 'eap_wsc_reset()' calls
When a WPS handshake is already in progress and the enrollee sends another EAPOL-Start
(e.g., due to missed packets or timeout), the registrar resets its state by calling
'eap_wsc_reset()'. This function frees 'sm->eap_method_priv' and then calls
'esp_wifi_ap_wps_disable()', which internally triggers another call to 'eap_wsc_reset()'.

This results in a double reset where the second invocation accesses the already freed
'sm->eap_method_priv', leading to a crash.

This fix sets 'sm->eap_method_priv' to NULL immediately after freeing it to ensure
any subsequent calls to eap_wsc_reset() do not access an invalid pointer.
2025-08-01 09:06:14 +05:30
Jiang Jiang Jian
477099dd80 Merge branch 'fix/fix_esp32c2_eco4_ld_issue_v51' into 'release/v5.1'
fix(wifi): fix esp32c2 eco4 ld issue v51

See merge request espressif/esp-idf!40925
2025-08-01 10:31:34 +08:00
Zhao Wei Liang
076e6e9ad6 fix(ble): fixed dtm function error on ESP32-H2
(cherry picked from commit 43c82b3b20)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-01 10:20:11 +08:00
Zhao Wei Liang
f6d9263ecf fix(ble): fixed dtm function error on ESP32-C6
(cherry picked from commit ca0fdad4f2)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-08-01 10:20:09 +08:00
Jiang Jiang Jian
690cefd69b Merge branch 'fix/improve_tcp_performance_v51' into 'release/v5.1'
fix(wifi): improve esp32c2 and esp32s2 tcp performance v51

See merge request espressif/esp-idf!40938
2025-07-31 21:10:00 +08:00
Jiang Jiang Jian
bb1446e805 Merge branch 'fix_ot_src_addr_select_v5.1' into 'release/v5.1'
Fix ot src addr select (v5.1)

See merge request espressif/esp-idf!40877
2025-07-31 21:09:23 +08:00
Alexey Lapshin
3b1916ad06 fix(newlib): fix __atomic_test_and_set to ensure atomicity
Before the change described in
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631393.html it
appeared that inlining built-in GCC function __atomic_test_and_set() was
incorrect. It resulted in a non-atomic write.
For GCC toolchains which do not have such patch yet, this commit fixes
__atomic_test_and_set to be atomic in IDF's builds.
2025-07-31 17:53:37 +07:00