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
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
Wang Meng Yang
90c98ef8bb
Merge branch 'bugfix/fix_osi_event_bug_v6.1' into 'release/v6.1'
...
Bugfix/fix osi event bug[backport v6.1]
See merge request espressif/esp-idf!52322
2026-09-04 08:32:08 +08:00
Wang Meng Yang
530c113ccf
Merge branch 'fix/bt_memory_v6.1' into 'release/v6.1'
...
fix(bt_memory): Reduce memory usage in transfer (v6.1)
See merge request espressif/esp-idf!52275
2026-09-04 07:49:41 +08:00
Rahul Tank
629db27293
Merge branch 'bugfix/fix_stale_conn_cccd_v6.1' into 'release/v6.1'
...
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool (v6.1)
See merge request espressif/esp-idf!51950
2026-09-03 19:04:06 +05:30
Jiang Jiang Jian
598fb82bd5
Merge branch 'feat/support_pawr_connect_evt_v6.1' into 'release/v6.1'
...
feat(ble/bluedroid): Support PAWR connection event (6.1)
See merge request espressif/esp-idf!51443
2026-09-03 20:41:30 +08:00
Rahul Tank
5b8f3fb8f1
fix(nimble): fix crash on disconnect due to stale per-connection CCCD pool
2026-09-03 13:43:35 +05:30
hejiaxin
79221f020d
fix(bt_avrcp): size some AVRC command buffers
2026-09-03 10:40:52 +08:00
hejiaxin
28add9e24b
fix(bt_l2cap): size L2CAP ERTM S-frame & RX SDU buffer
2026-09-03 10:40:52 +08:00
hejiaxin
560cc8ccf2
fix(bt_sdp): size SDP TX buffers
2026-09-03 10:40:52 +08:00
hejiaxin
e5632732d8
fix(bt_rfcomm): size RFCOMM TX buffers by peer MTU
2026-09-03 10:40:52 +08:00
hejiaxin
693a830f3e
fix(bt_hid): size HID TX buffers to report length
2026-09-03 10:40:52 +08:00
Wang Meng Yang
1e2241eb4f
Merge branch 'feature/refactor_with_broker_v6.1' into 'release/v6.1'
...
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31 (6.1)
See merge request espressif/esp-idf!51757
2026-09-03 07:43:18 +08:00
liqigan
974f0f558b
change(bt/bluedroid): Used dynamic osi event to reduce lock cost
2026-09-02 18:54:59 +08:00
Wang Meng Yang
c2cde7c8f6
Merge branch 'bugfix/a2dp_aac_br_v6.1' into 'release/v6.1'
...
fix(bt): Fix some bugs of A2DP AAC (v6.1)
See merge request espressif/esp-idf!52186
2026-09-02 17:45:20 +08:00
Rahul Tank
f5e9410e62
Merge branch 'bugfix/fix_nimble_issue_310826_v6.1' into 'release/v6.1'
...
fix(nimble): Fix few nimble issues 31082026
See merge request espressif/esp-idf!52224
2026-09-02 13:31:33 +05:30
cjin
dd809a9ef8
change(ble): Update lib_esp32h4 to 19f4fcca
2026-09-01 17:38:16 +08:00
cjin
e62f358958
change(ble): Update lib_esp32s31 to 19f4fcca
2026-09-01 17:38:16 +08:00
cjin
e89ec27231
change(ble): Update lib_esp32c6 to 304d435f
2026-09-01 17:38:15 +08:00
cjin
071704e151
change(ble): [AUTO_MR] Update lib_esp32c5 to 304d435f
2026-09-01 17:37:29 +08:00
cjin
c7cbf2d387
change(ble): [AUTO_MR] Update lib_esp32h2 to 304d435f
2026-09-01 17:34:23 +08:00
Island
429855b705
Merge branch 'feat/adapt_uhci_code_260824_v6.1' into 'release/v6.1'
...
refactor(hci): switch HCI UART DMA transport to UHCI driver APIs (6.1)
See merge request espressif/esp-idf!52161
2026-09-01 11:28:39 +08:00
Rahul Tank
891278ef2a
fix(nimble): Fix ECC HW byte-order and dropped SOC_ESP_NIMBLE_CONTROLLER
2026-08-31 20:27:23 +08:00
Rahul Tank
f3495027b0
fix(nimble): Add support for shorter connection intervals
2026-08-31 20:27:23 +08:00
ShenWeilong
890863c0b0
fix(ble): Fixed occasional supervision timeout and mic error for esp32s31
2026-08-31 20:24:11 +08:00
liqigan
9df5f1c6ef
fix(bt/controller): Fixed event mask not set to default value after hci reset
2026-08-31 20:24:11 +08:00
Jin Cheng
ad61b54843
fix(bt/controller): update libbtdm_common_app.a to f60e5b29
...
- fixed BT ASSERT ID 8486
- relates to BTQABR2023-884
2026-08-31 20:24:11 +08:00
ShenWeilong
313d4cd3f1
fix(ble): Check if there are illegal library files in controller lib path
2026-08-31 20:24:11 +08:00
ShenWeilong
bd68a316f8
change(ble): check the lib folder first in thr controller cmake
2026-08-31 20:24:11 +08:00
Jin Cheng
d2da25f512
fix(bt/bluedroid): fixed the function prototype of the command handler of READ LOCAL SUPPORTED CODECS
2026-08-31 20:24:11 +08:00
ShenWeilong
2829e28730
fix(bt): fixed mempool deinit crash issue for esp32s31
2026-08-31 20:24:11 +08:00
Shen Weilong
f1c41c8949
fix(ble): fixed occasional sched assertion for scan scenario
2026-08-31 20:24:11 +08:00
Wang Mengyang
e2dd003a70
fix(bt): fix unused-variable build warnings for BR/EDR examples on ESP32-S31
2026-08-31 20:24:11 +08:00
cjin
f0d00d7aed
fix(ble): fix bt_apb module clock config on esp32h4 and esp32s31
2026-08-31 20:24:11 +08:00
ShenWeilong
8f2bb43020
feat(bt): updated libble and libbtdm
...
1. Added strong function for btdm_compressed_assert.
2. Fixed some berdr hci issues
3. Updated ble config params structure
2026-08-31 20:24:11 +08:00
liqigan
b086d116bd
change(bt/controller): Adapt BR/EDR controller to new architecture
2026-08-31 20:24:11 +08:00
ShenWeilong
18534fb1cd
feat(bt): refactor bt sdk with broker for esp32h4 and esp32s31
2026-08-31 20:24:11 +08:00
zhiweijian
fdeb0cdc94
fix(ble/bluedroid): Build LE event mask from host feature macros
2026-08-31 19:50:11 +08:00
zhiweijian
bc400f224b
feat(ble/bluedroid): Support PAWR connection event
2026-08-31 19:50:00 +08:00
Jiang Jiang Jian
ae42d2cf67
Merge branch 'bugfix/fix_bluedroid_find_info_format_mismatch_v6.1' into 'release/v6.1'
...
fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch (6.1)
See merge request espressif/esp-idf!52081
2026-08-31 11:46:57 +08:00
Liu Linyan
00a60eb202
feat(ble_mesh): Enable IV Index recovery by default
...
(cherry picked from commit 8e59eb4850 )
Co-authored-by: Liu Linyan <liulinyan@espressif.com >
2026-08-31 11:43:45 +08:00
Jiang Jiang Jian
b979cf26d0
Merge branch 'fix/ble_mesh_added_gatt_err_rsp_v6.1' into 'release/v6.1'
...
fix(ble_mesh): align GATTS read/write response handling with ATT (6.1)
See merge request espressif/esp-idf!51464
2026-08-31 11:29:21 +08:00
Jiang Jiang Jian
c0b6759e93
Merge branch 'idf/ble_audio_pts_v6.1' into 'release/v6.1'
...
feat(ble_audio): Miscellaneous update for verifying with PTS cases (v6.1)
See merge request espressif/esp-idf!51421
2026-08-31 11:28:03 +08:00
Jiang Jiang Jian
880b0b1f67
Merge branch 'fix/fix_some_ble_sleep_issues_v6.1' into 'release/v6.1'
...
Fix/fix some ble sleep issues (6.1)
See merge request espressif/esp-idf!51320
2026-08-31 11:26:01 +08:00
Jiang Jiang Jian
76805236ee
Merge branch 'fix/ble_log_compression_issue_on_windows_v6.1' into 'release/v6.1'
...
fix(bt): fix BLE log compression build on Windows (6.1)
See merge request espressif/esp-idf!51247
2026-08-31 11:23:51 +08:00
Jiang Jiang Jian
127053ab8d
Merge branch 'feat/update_mesh_lib_to_supported_get_lib_ver_v6.1' into 'release/v6.1'
...
Feat/update mesh lib to supported get lib ver (6.1)
See merge request espressif/esp-idf!51174
2026-08-31 11:15:03 +08:00
Jiang Jiang Jian
5ca2597430
Merge branch 'fix/ble_hidd_remove_ccc_gating_v6.1' into 'release/v6.1'
...
fix(esp_hid/bluedroid): remove app-layer CCC gating in HID device (6.1)
See merge request espressif/esp-idf!51008
2026-08-31 11:13:50 +08:00
Jiang Jiang Jian
1c220a2399
Merge branch 'change/ble_update_lib_20260717_v6.1' into 'release/v6.1'
...
change(ble): [AUTO_MR] 20260717 - Update ESP BLE Controller Lib (6.1)
See merge request espressif/esp-idf!50933
2026-08-31 11:13:18 +08:00