Commit Graph
5844 Commits
Author SHA1 Message Date
Jiang Jiang Jian e48ca65781 Merge branch 'feat/feat_support_phy_enable_using_regdma_v5.5' into 'release/v5.5'
Feat/feat support phy enable using regdma (5.5)

See merge request espressif/esp-idf!51164
2026-09-14 20:39:41 +08:00
Jiang Jiang Jian ceb251cd3a Merge branch 'bugfix/fix_pbac_pm_config_v5.5' into 'release/v5.5'
fix(bt/bluedroid): enable sniff power management for PBAP client (v5.5)

See merge request espressif/esp-idf!52763
2026-09-14 20:27:00 +08:00
Jin Cheng 5d58539407 fix(bt/bluedroid): fixed OOB read dring mSBC sync word check 2026-09-14 12:04:18 +08:00
Jiang Jiang Jian be1c214237 Merge branch 'change/ble_update_lib_20260904_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260904 - Update ESP BLE Controller Lib (5.5)

See merge request espressif/esp-idf!52438
2026-09-14 10:32:00 +08:00
linruihao 47472bb9e2 fix(bt/bluedroid): enable sniff power management for PBAP client 2026-09-14 10:19:23 +08:00
Wang Meng Yang 72ea868c67 Merge branch 'fix/bt_hfp_v5.5' into 'release/v5.5'
fix(bt_hfp): Fix some bugs in hfp (v5.5)

See merge request espressif/esp-idf!52751
2026-09-14 08:04:06 +08:00
cjin fb9d3d9ee6 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-09-11 17:48:24 +08:00
Shreeyash Bhakare c07b5cb9d4 fix(nimble): Send Prepare Write Request before Execute Write with zero-length data 2026-09-11 14:58:59 +05:30
hejiaxin 189b9bbd2d fix(bt_hfp): Fix some bugs in hfp
- Fix hfp callback data length
- Fix the solution of unknown AT command
2026-09-11 17:25:56 +08:00
Rahul Tank a7121aef2c Merge branch 'bugfix/nimble_issues_08092026_v5.5' into 'release/v5.5'
fix few nimble issues 08092026(v5.5)

See merge request espressif/esp-idf!52603
2026-09-11 14:38:57 +05:30
zhaoweiliang f37458da02 change(ble): [AUTO_MR] Update lib_esp32c5 to acd9a26e 2026-09-11 16:26:04 +08:00
zhaoweiliang 2f25a9fb5d change(ble): [AUTO_MR] Update lib_esp32h2 to acd9a26e 2026-09-11 16:25:44 +08:00
zhaoweiliang 068dadca31 change(ble): [AUTO_MR] Update lib_esp32c6 to acd9a26e 2026-09-11 16:24:54 +08:00
Rahul Tank ecd654c861 Merge branch 'bugfix/hardware_error_assert_v5.5' into 'release/v5.5'
fix(nimble): Add hardware error event handling as normal event (v5.5)

See merge request espressif/esp-idf!52554
2026-09-10 17:12:24 +05:30
Jiang Jiang Jian 175a1a582f Merge branch 'fix/esp32-ble-dtm-txbuf-leak_v5.5' into 'release/v5.5'
Fix DTM TX buffer leak in the BLE controller that could cause memory exhaustion and Interrupt WDT timeout during or after DTM TX tests. (5.5)

See merge request espressif/esp-idf!52614
2026-09-10 11:03:54 +08:00
Jiang Jiang Jian ca1b526f67 Merge branch 'feat/opt_prefer_bond_device_when_evicting_overflow_bonds_v5.5' into 'release/v5.5'
fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds (5.5)

See merge request espressif/esp-idf!52609
2026-09-10 11:00:18 +08:00
Jiang Jiang Jian f23060d30c Merge branch 'bugfix/spp_deinit_fail_v5.5' into 'release/v5.5'
fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid (v5.5)

See merge request espressif/esp-idf!52595
2026-09-10 10:57:42 +08:00
Jiang Jiang Jian a276ed9440 Merge branch 'feat/ble_smp_repairing_hardening_v5.5' into 'release/v5.5'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening (5.5)

See merge request espressif/esp-idf!52420
2026-09-10 10:51:24 +08:00
Jiang Jiang Jian ec6877d459 Merge branch 'fix/fxied_wrong_h2_ble_lib_issue_v5.5' into 'release/v5.5'
fix(ble): Check if there are illegal library files in controller lib path (5.5)

See merge request espressif/esp-idf!52190
2026-09-10 10:47:04 +08:00
Jiang Jiang Jian e9986e0e0c Merge branch 'bugfix/fix_bluedroid_find_info_format_mismatch_v5.5' into 'release/v5.5'
fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch (5.5)

See merge request espressif/esp-idf!52079
2026-09-10 10:44:16 +08:00
Jiang Jiang Jian 91917c67e2 Merge branch 'feat/bt_osal_build_configurable_v5.5' into 'release/v5.5'
feat(bt): Add Kconfig option to build the BT OSAL conditionally (5.5)

See merge request espressif/esp-idf!51515
2026-09-10 10:39:48 +08:00
Jiang Jiang Jian 2fe571159c Merge branch 'fix/mmap_cache_flash_wr_v5.5' into 'release/v5.5'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled (v5.5)

See merge request espressif/esp-idf!50144
2026-09-10 10:39:35 +08:00
Jiang Jiang Jian 93ba4e6fd5 Merge branch 'idf/ble_mesh_iv_recover_v5.5' into 'release/v5.5'
feat(ble_mesh): Enable IV Index recovery by default (5.5)

See merge request espressif/esp-idf!51971
2026-09-10 10:38:02 +08:00
Astha Verma 4c82b25c84 fix(nimble): Fix nimble HID service discovery 2026-09-09 14:11:51 +05:30
Zhang Hai Peng 530f485c58 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:15 +08:00
Zhang Hai Peng 2e2209d693 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:15 +08:00
Zhang Hai Peng ab58d739aa 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:53 +08:00
Jin Cheng fa80443093 fix(bt/bluedroid): fixed JV disable event has no handler in Bluedroid 2026-09-09 13:54:24 +08:00
Shen Wei Long 5aa32e7e9f fix(ble): Check if there are illegal library files in controller lib path
(cherry picked from commit 40706bf28f)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-09-08 20:10:21 +08:00
Rahul Tank 78ff85eb74 fix(nimble): Prevent crash in deinit when host init was not completed 2026-09-08 15:36:52 +05:30
Rahul Tank 8650dcc896 fix(nimble): Add hardware error event handling as normal event 2026-09-08 12:10:59 +05:30
Jiang Jiang Jian 69001928d0 Merge branch 'bugfix/qos_not_reported_v5.5' into 'release/v5.5'
fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event (v5.5)

See merge request espressif/esp-idf!52492
2026-09-08 10:36:02 +08:00
Island 6c9ae2761e Merge branch 'fix/fix_ble_retention_dependency_order_v5.5' into 'release/v5.5'
fix(ble): fix ble retention dependency order (5.5)

See merge request espressif/esp-idf!52464
2026-09-08 10:25:11 +08:00
Zhang Hai Peng b8709f9f13 fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch
Restore GATT_NO_RESOURCES when sequential attributes have differing UUID
sizes so gatts_process_find_info() stops building the response PDU.


(cherry picked from commit 196cb39545)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-07 20:38:14 +08:00
cjin 8e5df72d46 fix(ble): fix ble retention dependency order 2026-09-07 20:20:27 +08:00
Zhi Wei Jian aaa7312c26 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-07 19:45:54 +08:00
Zhi Wei Jian 93f8ae845b 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-07 19:45:54 +08:00
Rahul Tank 58b4f19cdf fix(nimble): Fix for BLERP attack 2026-09-07 14:00:57 +05:30
Rahul Tank 45ce9e56c8 Merge branch 'bugfix/fix_null_proc_dereference_v5.5' into 'release/v5.5'
fix(nimble): Avoid NULL proc dereference in GATT client procedures (v5.5)

See merge request espressif/esp-idf!52219
2026-09-07 13:53:50 +05:30
Jin Cheng b69c04df58 fix(bt/controller): update ESP32 libbtdm_app.a to fix missing QoS_Setup_Cmpl event 2026-09-07 12:22:38 +08:00
Wang Meng Yang 362a1776ec Merge branch 'bugfix/delete_unused_avrcp_rcb_v5.5' into 'release/v5.5'
fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails (v5.5)

See merge request espressif/esp-idf!52414
2026-09-06 12:36:05 +08:00
Rahul Tank 45e5ccc1e4 fix(nimble): Avoid NULL proc dereference in GATT client procedures 2026-09-06 09:54:15 +05:30
Chen Jian Hua 29fa65c11f feat(bt): Add Kconfig option to build the BT OSAL conditionally
(cherry picked from commit 0428ec41a529aa9c83240f40963114b36d80ab7c)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2026-09-04 20:48:40 +08:00
liqigan 4c85b9508c change(bt/bluedroid): Used dynamic osi event to reduce lock cost 2026-09-04 20:06:53 +08:00
Island f3eb6e9246 Merge branch 'bugfix/fix_bluedroid_gatt_discover_downstream_stall_v5.5' into 'release/v5.5'
fix(ble/bluedroid): allow osi_event re-post during POSTING window (5.5)

See merge request espressif/esp-idf!52043
2026-09-04 17:58:42 +08:00
Rahul Tank 8ccbbe0c57 fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool 2026-09-04 12:20:41 +05:30
Island e12f87c8e6 Merge branch 'bugfix/fixed_ble_deinit_crash_issue_5.5' into 'release/v5.5'
fix(bt): fixed mempool deinit crash issue

See merge request espressif/esp-idf!52142
2026-09-04 14:35:23 +08:00
Zhang Hai Peng 4b93bb808e fix(ble/bluedroid): allow osi_event re-post during POSTING window
Do not reject osi_thread_post_event() when only POSTING is set.
QUEUED already prevents double-queueing; rejecting POSTING caused
HCI downstream lost wakeup. Add generic osi_event and hci downstream
diagnostics for post failures.


(cherry picked from commit 011138ffd9)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-04 10:46:15 +08:00
Zhang Hai Peng befbea021a docs(bt): clarify Bluedroid GATT signed write API comments
Correct misleading CHAR_PROP_BIT_AUTH wording and document CSRK-based
signed write usage for server permissions and client write APIs.


(cherry picked from commit 8d230c7650)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-09-04 10:46:15 +08:00
Matteo Sandrin 96a3643cfe fix(bt/bluedroid): delete the unused AVRCP acceptor RCB when A2DP open fails 2026-09-04 10:08:03 +08:00