Commit Graph

38984 Commits

Author SHA1 Message Date
Rahul Tank
d5848c3a43 Merge branch 'feat/throughput_l2cap_coc_v5.2' into 'release/v5.2'
Added l2cap_coc example for throughput (v5.2)

See merge request espressif/esp-idf!49743
2026-06-22 19:47:01 +05:30
Mahavir Jain
d945534a1a Merge branch 'fix/ecdsa_ecc_hw_input_validation_v5.2' into 'release/v5.2'
Validate ECDSA signature range and harden ECC memory power-down (v5.2)

See merge request espressif/esp-idf!49446
2026-06-22 18:24:33 +05:30
Jiang Jiang Jian
7b6a7d0659 Merge branch 'fix/scan_authmode_fixes_v5.2_part2' into 'release/v5.2'
fix(wifi): backport scan and NAN timer fixes (Backport v5.2: Part 2)

See merge request espressif/esp-idf!49585
2026-06-22 19:32:44 +08:00
Astha Verma
e08b2eefa6 fix(nimble): Added l2cap_coc throughput examples 2026-06-22 11:49:55 +05:30
Island
75a5c91e7a Merge branch 'feat/ble-smp-multi-adv-static-random-address_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses (5.2)

See merge request espressif/esp-idf!49785
2026-06-22 10:35:20 +08:00
Rahul Tank
08d9fe6262 Merge branch 'bugfix/fix_log_performance_v5.2' into 'release/v5.2'
fix(nimble): Guard ble_hs_log_mbuf/flat_buf against non-DEBUG log level (v5.2)

See merge request espressif/esp-idf!49732
2026-06-18 21:39:23 +05:30
harshal.patil
81f43c0ffb fix(esp_common/esp_fault): make ESP_FAULT_ASSERT survive optimization
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached
flag/status already proven by a preceding `if (!C) return/goto`: the compiler
folds C to a constant and drops all three checks, removing the fault-injection
protection with no warning.
2026-06-18 21:13:50 +05:30
Zhang Hai Peng
b35182d6f2 feat(ble/bluedroid): Add BLE SMP support for multi-ADV with static random addresses
(cherry picked from commit 7986e2faa8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-18 10:24:45 +08:00
Marius Vikhammer
bb0dcaad77 Merge branch 'fix/efuse_damaged_reading_virtual_blocks_v5.2' into 'release/v5.2'
fix(efuse): erase virtual blocks before burn in damaged-reading test (v5.2)

See merge request espressif/esp-idf!49723
2026-06-17 18:21:12 +08:00
Island
be7754ce17 Merge branch 'feat/format_bt_hci_to_btsnoop_v5.2' into 'release/v5.2'
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib (5.2)

See merge request espressif/esp-idf!49706
2026-06-17 14:43:46 +08:00
Rahul Tank
d045ed9bb4 fix(nimble): Gaurd ble_hs_log_mbuf/flat_buf against non-DEBUG log level 2026-06-16 16:36:52 +05:30
Konstantin Kondrashov
6ea717e163 fix(efuse): erase virtual blocks before burn in damaged-reading test
Some chip may have BLOCK3 in use so we need to erase it before test.
2026-06-16 12:49:43 +03:00
harshal.patil
c19a35990f fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-16 15:17:49 +05:30
harshal.patil
6d25d74aa6 fix(esp_common): Add esp_fault_internal.h for use by G0 components
In release/v5.x, esp_fault.h resides in the esp_hw_support (G1)
component, so the G0 components (hal, esp_rom) must not depend on it.
Copy its contents to esp_common as esp_fault_internal.h, keep
esp_fault.h as a compatibility wrapper around it, and switch the hal
and esp_rom ECDSA/ECC code to the internal header.
2026-06-16 15:17:49 +05:30
harshal.patil
b55865f1a2 ci(mbedtls): Add out-of-bounds test for the ECDSA hardware driver 2026-06-16 15:17:49 +05:30
harshal.patil
13a12d441d fix(esp_rom): Patch ets_ecdsa_verify() to include signature bounds check 2026-06-16 15:17:49 +05:30
harshal.patil
046a3bb908 fix(mbedtls): validate ECDSA signature range and harden ECC memory power-down
Co-Authored-By: Ashish Sharma <ashish.sharma@espressif.com>
2026-06-16 15:17:49 +05:30
Mahavir Jain
52611afb24 Merge branch 'fix/mbedtls_build_failure_x509_crt_v5.2' into 'release/v5.2'
fix(mbedtls): fixes build failure with clang21 (v5.2)

See merge request espressif/esp-idf!49418
2026-06-16 14:02:32 +05:30
Zhang Hai Peng
6d3c288a6e refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.


(cherry picked from commit 3a7896f2c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-16 15:34:00 +08:00
Wang Meng Yang
8f58679ce4 Merge branch 'bugfix/bbp_isses_v5.2' into 'release/v5.2'
Bugfix/bbp isses v5.2

See merge request espressif/esp-idf!49628
2026-06-15 20:38:45 +08:00
Island
2ec1d4883d Merge branch 'fix/gattc-multi-app-notif-warning_v5.2' into 'release/v5.2'
fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if (5.2)

See merge request espressif/esp-idf!49513
2026-06-15 15:08:08 +08:00
Island
a3684e583c Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v5.2' into 'release/v5.2'
Bugfix/fix bluedroid ai review bugs 20260427 (5.2)

See merge request espressif/esp-idf!49537
2026-06-15 11:04:08 +08:00
Jin Cheng
de369a5cfc fix(bt/bluedroid): added buffer length check for HID Device data indication 2026-06-12 18:47:38 +08:00
Jin Cheng
f2b3536279 fix(bt/bluedroid): added validation for all SMP BR opcode lengths in smp_br_data_received 2026-06-12 18:47:38 +08:00
Jin Cheng
929c3e42ec fix(bt/bluedroid): fixed CTKD link key authentication downgrade in SC-Only mode 2026-06-12 18:47:38 +08:00
Jin Cheng
a4e6fa2f42 fix(bt/bluedroid): added buffer length check for HID host data indication 2026-06-12 18:47:38 +08:00
Jin Cheng
c2610255a5 fix(bt/bluedroid): added buffer length check for L2CAP related functions 2026-06-12 18:47:38 +08:00
zhiweijian
47a74cc4b3 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
2026-06-12 10:48:23 +08:00
zhiweijian
2c42954274 refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
2026-06-12 10:45:43 +08:00
ShenWeilong
da0d372821 fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples 2026-06-12 10:45:32 +08:00
Rahul Tank
3d5c2ef7cb Merge branch 'bugfix/bt4371_crash_v5.2' into 'release/v5.2'
fix(nimble): Deinit NimBLE stop event in host task (v5.2)

See merge request espressif/esp-idf!49301
2026-06-12 07:28:15 +05:30
Rahul Tank
3121f8951a fix(nimble): Deinit NimBLE stop event in host task 2026-06-11 20:06:32 +05:30
Rahul Tank
b34815c397 Merge branch 'fix/add_remaining_vars_to_heap_v5.2' into 'release/v5.2'
fix(nimble): Change remaining vars from Static to Dynamic (v5.2)

See merge request espressif/esp-idf!49283
2026-06-11 17:37:13 +05:30
Sarvesh Bodakhe
f3081828b4 fix(wifi): backport scan and NAN timer fixes to v5.2
- Fix SAE mixed mode classification for AP with FT-PSK AKM
- Use RSN IE key_mgmt instead of merged bitfied for WPA+RSN SAE check
- Enforce MFPR, RSN-only proto and no-TKIP for WPA3-192-bit Enterprise
- Stop NAN timers from re-arming after nan_stop
2026-06-11 15:19:28 +05:30
Wang Meng Yang
e4d048f5aa Merge branch 'bugfix/ci_avrc_abs_vol_example_v5.2' into 'release/v5.2'
fix: Fix the potential stack overflow issue in the Classic Bluetooth example (v5.2)

See merge request espressif/esp-idf!49408
2026-06-11 14:19:37 +08:00
Zhi Wei Jian
f5984ba6ea fix(bt): fix BTC task and BLE mesh bluedroid adapter
(cherry picked from commit 678fb93245)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:38 +08:00
Zhi Wei Jian
975e6e8e4c fix(ble/bluedroid): fix HCI command and BTU robustness
(cherry picked from commit c9d13aaf64)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:37 +08:00
Zhi Wei Jian
91042dc0a3 fix(ble/bluedroid): fix CTE and ISO API validation
(cherry picked from commit 0c3c894b7d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:37 +08:00
Zhi Wei Jian
f6da83a024 fix(ble/bluedroid): fix GATT server lifecycle and callbacks
(cherry picked from commit 54a1e31916)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:36 +08:00
Zhi Wei Jian
b9eaab2dce fix(ble/bluedroid): fix GATT client API parameter validation
(cherry picked from commit 653477c3e9)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:36 +08:00
Zhi Wei Jian
99a9a87fa3 fix(ble/bluedroid): fix GATT client cache and service discovery
(cherry picked from commit b3ff15ed31)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:35 +08:00
Zhi Wei Jian
b73af73f4d fix(ble/bluedroid): fix GAP BLE API parameter validation
(cherry picked from commit e3311c81c4)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:35 +08:00
Zhi Wei Jian
40a01827cd fix(ble/bluedroid): fix BLE bonding key storage validation
(cherry picked from commit 62cdd4ac38)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-10 19:53:34 +08:00
Zhang Hai Peng
c90d9506a2 fix(bt): Suppress gattc drop-notif warning for unregistered gatt_if
GATT stack broadcasts notifications to every client app, so unregistered
gatt_if instances were flooding logs even when another app had registered
the handle. Only warn when no client app registered for the handle.


(cherry picked from commit c18c8dc5e7)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-10 15:24:31 +08:00
Rahul Tank
3c1326b00d Merge branch 'bugfix/ai_fixes_common_components_v5.2' into 'release/v5.2'
fix(nimble): Review fixes common components( v5.2)

See merge request espressif/esp-idf!49432
2026-06-10 12:18:01 +05:30
morris
644f790c5c Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v5.2' into 'release/v5.2'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v5.2)

See merge request espressif/esp-idf!49178
2026-06-10 10:10:45 +08:00
Rahul Tank
e54499f554 fix(nimble): Address review fixes for tinycrypt / and blufi code 2026-06-09 15:19:02 +05:30
Ashish Sharma
8ad759efb7 fix(mbedtls): fixes build failure with clang21
Closes https://github.com/espressif/esp-idf/issues/18456
2026-06-09 14:04:39 +08:00
Mahavir Jain
52595a136f Merge branch 'fix/tls-session-verify-and-hostname-warn_v5.2' into 'release/v5.2'
fix(esp-tls): fix TLS session resumption bypassing CA verification and clarify skip_common_name behavior (v5.2)

See merge request espressif/esp-idf!48933
2026-06-09 10:38:08 +05:30
yangfeng
cbe290c1d2 fix: Fix the potential stack overflow issue in the Classic Bluetooth example 2026-06-09 09:44:30 +08:00