Commit Graph

6098 Commits

Author SHA1 Message Date
Jiang Jiang Jian
67fa2dab01 Merge branch 'bugfix/msbc_oob_read_v6.1' into 'release/v6.1'
fix(bt/bluedroid): fixed OOB read dring mSBC sync word check (v6.1)

See merge request espressif/esp-idf!52766
2026-09-15 17:16:03 +08:00
Jiang Jiang Jian
a951ac5c8a Merge branch 'feat/opt_prefer_bond_device_when_evicting_overflow_bonds_v6.1' into 'release/v6.1'
fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds (6.1)

See merge request espressif/esp-idf!52611
2026-09-15 17:11:01 +08:00
Jiang Jiang Jian
4d1a6fb047 Merge branch 'fix/esp32-ble-dtm-txbuf-leak_v6.1' into 'release/v6.1'
Fix DTM TX buffer leak in the BLE controller that could cause memory exhaustion and Interrupt WDT timeout during or after DTM TX tests. (6.1)

See merge request espressif/esp-idf!52616
2026-09-15 17:10:51 +08:00
Jiang Jiang Jian
ba9c814922 Merge branch 'change/ble_update_lib_20260904_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260904 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!52440
2026-09-15 17:10:11 +08:00
Jiang Jiang Jian
0967b16795 Merge branch 'bugfix/fix_iso_tx_power_update_fail_v6.1' into 'release/v6.1'
feat(iso): Support set ble iso tx power (6.1)

See merge request espressif/esp-idf!52620
2026-09-15 13:57:37 +08:00
Jiang Jiang Jian
1204c95d40 Merge branch 'bugfix/fix_pbac_pm_config_v6.1' into 'release/v6.1'
fix(bt/bluedroid): enable sniff power management for PBAP client (v6.1)

See merge request espressif/esp-idf!52761
2026-09-15 11:57:18 +08:00
Jiang Jiang Jian
2175e263ee Merge branch 'bugfix/wrong_bredr_tx_power_table_v6.1' into 'release/v6.1'
fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31(backport v6.1)

See merge request espressif/esp-idf!52550
2026-09-15 11:48:50 +08:00
Jiang Jiang Jian
d876407104 Merge branch 'feat/bt_osal_build_configurable_v6.1' into 'release/v6.1'
feat(bt): Add Kconfig option to build the BT OSAL conditionally (6.1)

See merge request espressif/esp-idf!52517
2026-09-15 11:48:41 +08:00
Jiang Jiang Jian
96eb6905ad Merge branch 'bugfix/fxied_btdm_mempool_compilation_issue_6.1' into 'release/v6.1'
fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4

See merge request espressif/esp-idf!52432
2026-09-15 11:47:55 +08:00
Jiang Jiang Jian
742bd16cd8 Merge branch 'bugfix/fix_iso_data_len_get_v6.1' into 'release/v6.1'
fix(iso): correct ISO data length mask from 0x7fff to 0x3fff (6.1)

See merge request espressif/esp-idf!51516
2026-09-15 11:46:04 +08:00
Jin Cheng
42d38ed969 fix(bt/bluedroid): fixed OOB read dring mSBC sync word check 2026-09-15 11:45:34 +08:00
Jiang Jiang Jian
0cb8884e43 Merge branch 'fix/bt_hfp' into 'release/v6.1'
fix(bt_hfp): Fix some bugs in hfp

See merge request espressif/esp-idf!52685
2026-09-15 11:38:56 +08:00
zhaoweiliang
37a4934d18 change(ble): [AUTO_MR] Update lib_esp32c6 to acd9a26e 2026-09-15 10:46:03 +08:00
zhaoweiliang
1a0006de91 change(ble): [AUTO_MR] Update lib_esp32c5 to acd9a26e 2026-09-15 10:45:07 +08:00
Zhao Wei Liang
e9b4a2367d change(ble): [AUTO_MR] Update lib_esp32h2 to acd9a26e
(cherry picked from commit 1eec7c1f03)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-09-15 10:44:01 +08:00
linruihao
f7e7683380 fix(bt/bluedroid): enable sniff power management for PBAP client 2026-09-14 10:18:48 +08:00
ShenWeilong
cda19d52cf fix(bt): supported allocate memroy from spiram for ESP32-S31 and ESP32-H4 2026-09-10 20:58:39 +08:00
hejiaxin
11e2960b24 fix(bt_hfp): Fix some bugs in hfp
- Fix hfp callback data length
- Fix the solution of unknown AT command
2026-09-10 15:31:05 +08:00
wangjialiang
c526feea98 feat(iso): Support set ble iso tx power
(cherry picked from commit 2114bea2bc)

Co-authored-by: wangjialiang <wangjialiang@espressif.com>
2026-09-09 14:56:51 +08:00
Zhang Hai Peng
eade95080a fix(bt): remove noisy OSI event handler enter/exit debug logs
These per-event traces fire on every async dispatch and flood BT logs
without aiding diagnosis; higher-layer traces remain for debugging.


(cherry picked from commit b9b9b8633f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:26:53 +08:00
Zhang Hai Peng
ea6df384d5 fix(bt): update ESP32 libbtdm_app.a to 919c7f4b
- fixed dtm tx buffer leak issue


(cherry picked from commit ab7bb35192)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:26:53 +08:00
Zhang Hai Peng
fdba98f75e fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds
When the bond list is full, drop the oldest disconnected device instead
of the oldest NVS entry, and allow a per-bond except flag so selected
devices are never auto-removed.


(cherry picked from commit bf86892eef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-09 14:25:58 +08:00
Jin Cheng
55942b723c fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid 2026-09-09 13:55:27 +08:00
wangjialiang
321492e10e fix(iso): correct ISO data length mask from 0x7fff to 0x3fff
(cherry picked from commit b0f2f482d64e1d0c5f1ba2817f54d12fcb870e75)

Co-authored-by: wangjialiang <wangjialiang@espressif.com>
2026-09-08 19:48:55 +08:00
Wang Mengyang
cdc7250eb6 fix(bt): fixed use of wrong function to get BR/EDR power table on ESP32-S31
header file "btdm_user_cfg.h" is not included, which causes the undefined macro
"UC_BT_CTRL_BR_EDR_IS_ENABLE" in btdm_external.c. In this case, function
wr_btdm_external_bb_get_tx_pwr_table returns a wrong tx power table for BR/EDR
2026-09-08 14:14:17 +08:00
Jiang Jiang Jian
504babf48a Merge branch 'bugfix/qos_not_reported_v6.1' into 'release/v6.1'
fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event (v6.1)

See merge request espressif/esp-idf!52490
2026-09-08 11:04:14 +08:00
chenjianhua
64ee75c942 feat(bt): Add Kconfig option to build the BT OSAL conditionally 2026-09-07 19:49:05 +08:00
Jiang Jiang Jian
640d832d2f Merge branch 'idf/ble_iso_cis_critical_v6.1' into 'release/v6.1'
fix(ble_iso): Avoid posting CIS events in critical section (v6.1)

See merge request espressif/esp-idf!52443
2026-09-07 15:43:42 +08:00
Jin Cheng
6eb75bbd0e fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event 2026-09-07 12:21:18 +08:00
Jiang Jiang Jian
03c6caae64 Merge branch 'fix/fix_ble_retention_dependency_order_v6.1' into 'release/v6.1'
fix(ble): fix ble retention dependency order (6.1)

See merge request espressif/esp-idf!52466
2026-09-07 12:13:08 +08:00
Jiang Jiang Jian
e174a69b26 Merge branch 'feat/ble_smp_repairing_hardening_v6.1' into 'release/v6.1'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening (6.1)

See merge request espressif/esp-idf!52422
2026-09-04 19:28:52 +08:00
Jin Chen
97cdc77f5c fix(ble): fix ble retention dependency order
(cherry picked from commit 54efd4ccfd)

Co-authored-by: cjin <jinchen@espressif.com>
2026-09-04 18:44:22 +08:00
Jiang Jiang Jian
59512efe9c Merge branch 'fix/use_conflict_cb_for_regi2c_when_regdma_rf_is_used_v6.1' into 'release/v6.1'
feat(sleep): applied regi2c conflict process at regdma rf (6.1)

See merge request espressif/esp-idf!52411
2026-09-04 17:17:09 +08:00
Liu Linyan
390a851de5 fix(ble_iso): Avoid posting CIS events in critical section 2026-09-04 16:41:51 +08:00
Island
5fd4804661 Merge branch 'idf/ble_audio_dynamic_svc_v6.1' into 'release/v6.1'
feat(ble_audio): Backport BLE ISO & BLE Audio MRs to release/v6.1

See merge request espressif/esp-idf!52238
2026-09-04 15:59:13 +08:00
ShenWeilong
92f608fc58 fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4 2026-09-04 15:52:17 +08:00
Wang Meng Yang
ec6c7bea5c Merge branch 'bugfix/delete_unused_avrcp_rcb_v6.1' into 'release/v6.1'
fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails (v6.1)

See merge request espressif/esp-idf!52412
2026-09-04 15:29:42 +08:00
Zhi Wei Jian
5eb72d5eab feat(ble/bluedroid): reject LE re-pairing that weakens an existing bond
Add smp_repairing_is_allowed() behind BT_BLE_SMP_HARDENED_REPAIRING so a
peer cannot replace an existing bond with one that has less MITM
protection, no Secure Connections, or a shorter key. Compare a preceding
Security Request against the pairing command AuthReq, not the
association-model result, and always allow first pairing.

A refusal keeps the stored bond. Pairing-failure erase is split by link
role: default is erase as Central and keep as Peripheral.

Closes BLERP (NDSS 2026) V3, V4 and V6.


(cherry picked from commit 88ea45be73)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-09-04 11:04:00 +08:00
Zhi Wei Jian
5ed6b8dc0c fix(ble/bluedroid): harden LE bond handling across encryption
Keep the existing bond until the new pairing is encrypted, and on encryption
failure drop the link instead of clearing keys. Recovering from a peer that
really deleted the bond is opt-in through BT_BLE_SMP_UNBOND_ON_KEY_MISSING.

Closes BLERP (NDSS 2026) V5, and stops an unauthenticated Pairing Request
from dropping the stored keys (V2 exploitation).


(cherry picked from commit f864615d7d)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-09-04 11:03:59 +08:00
Island
6955bf97cb Merge branch 'change/ble_update_lib_20260901_v6.1' into 'release/v6.1'
change(ble): [AUTO_MR] 20260901 - Update ESP BLE Controller Lib (6.1)

See merge request espressif/esp-idf!52285
2026-09-04 10:53:29 +08:00
cjin
77003bcf0c feat(sleep_modem): allow multi modem to enable rf with regdma 2026-09-04 10:27:25 +08:00
Island
a03feffce8 Merge branch 'idf/ble_mesh_iv_recover_v6.1' into 'release/v6.1'
feat(ble_mesh): Enable IV Index recovery by default (6.1)

See merge request espressif/esp-idf!51973
2026-09-04 10:25:57 +08:00
Matteo Sandrin
e8db799e9f fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails 2026-09-04 10:07:47 +08:00
Liu Linyan
ed16327b81 feat(ble_audio): Add CAP Handover (U2B & B2U) example 2026-09-04 09:26:24 +08:00
Liu Linyan
130e4a07bb fix(ble_audio): Fix wrong registration when multiple tbs instances exist 2026-09-04 09:26:24 +08:00
Liu Linyan
ae452a0ce9 feat(ble_audio): Support BLE ISO & BLE Audio deinitialization 2026-09-04 09:26:24 +08:00
Liu Linyan
1aa418d673 fix(ble_audio): Miscellaneous fixes for running coordinated set 2026-09-04 09:26:24 +08:00
Liu Linyan
cd0572bbb6 feat(ble_audio): Miscellaneous update for ISO & Audio examples 2026-09-04 09:26:24 +08:00
Liu Linyan
89ea6e2b08 fix(ble_audio): Recover ISO HCI cmd from a dropped hciT wakeup 2026-09-04 09:26:24 +08:00
Liu Linyan
cd61beac51 fix(ble_audio): Fix CCCD not found during GATTC auto discovery 2026-09-04 09:26:24 +08:00