Commit Graph

1271 Commits

Author SHA1 Message Date
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
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
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
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
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
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
cjin
8e5df72d46 fix(ble): fix ble retention dependency order 2026-09-07 20:20:27 +08:00
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
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
Jin Cheng
b71c37083a fix(bt): update ESP32 libbtdm_app.a to fix several issues
- fixed IntegerDividedByZero during Qos negotiation.
  Closes https://github.com/espressif/esp-idf/issues/18951
- ignored the check for bandwidth and retransmission effort when Host
  accepts the SCO connection request.
2026-09-03 11:27:05 +08:00
Xiao Xufeng
3d76ced5bb fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-08-31 01:37:44 +08:00
ShenWeilong
b66fa4551f fix(bt): fixed mempool deinit crash issue 2026-08-27 16:50:22 +08:00
Zhao Wei Liang
173daa4bbc change(ble): [AUTO_MR] Update lib_esp32c6 to cdaefea1
(cherry picked from commit d2210c2c26)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-08-25 14:05:19 +08:00
Zhao Wei Liang
ba5f877e69 change(ble): [AUTO_MR] Update lib_esp32c5 to cdaefea1
(cherry picked from commit 85d8971199)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-08-25 14:05:18 +08:00
Zhao Wei Liang
110239b3a3 change(ble): [AUTO_MR] Update lib_esp32h2 to cdaefea1
(cherry picked from commit b3ba8cad9a)

Co-authored-by: zhaoweiliang <zhaoweiliang@espressif.com>
2026-08-25 14:05:17 +08:00
Island
3844dee2e7 Merge branch 'fix/fix_some_ble_sleep_issues_v5.5' into 'release/v5.5'
Fix/fix some ble sleep issues (5.5)

See merge request espressif/esp-idf!51318
2026-07-31 11:09:57 +08:00
cjin
2fca2f8b49 fix(bt): fix deselect slow clk missing on ESP32-C5 2026-07-30 10:39:30 +08:00
cjin
57d2a46509 change(ble): [AUTO_MR] Update lib_esp32c6 to 18aafc6f 2026-07-29 08:36:20 +08:00
cjin
4d0df8eef3 change(ble): [AUTO_MR] Update lib_esp32c5 to 18aafc6f 2026-07-29 08:36:20 +08:00
cjin
3bf8c8d7d5 change(ble): [AUTO_MR] Update lib_esp32h2 to 18aafc6f 2026-07-29 08:36:20 +08:00
Island
279340ddf0 Merge branch 'change/ble_update_lib_20260610_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (5.5)

See merge request espressif/esp-idf!50225
2026-07-21 11:22:34 +08:00
Zhou Xiao
55364e0dd7 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790
(cherry picked from commit 226a0483b1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:31 +08:00
Zhou Xiao
474af5b309 change(ble): [AUTO_MR] Update lib_esp32c5 to a6519790
(cherry picked from commit a43358587c)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:31 +08:00
Zhou Xiao
3af6a43d3d change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790
(cherry picked from commit 8a744e8e93)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:31 +08:00
zhanghaipeng
50144bc133 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:42:02 +08:00
Jin Cheng
a58fe87e8a fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:41:56 +08:00
Zhou Xiao
a2e0eb62bc change(ble): [AUTO_MR] Update lib_esp32c2 to 750d4902
(cherry picked from commit 897f3b2af1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-06-17 19:51:33 +08:00
Island
0364adce59 Merge branch 'fix/ble_funcs_reset_default_enabled_v5.5' into 'release/v5.5'
fix(bt): Add default BLE controller funcs reset enable (5.5)

See merge request espressif/esp-idf!49137
2026-06-05 12:13:32 +08:00
Jin Chen
00ae58b047 fix(ble): fix conn recycle assertion at halt on ESP32-C2
(cherry picked from commit 5483aeedb6)

Co-authored-by: cjin <jinchen@espressif.com>
2026-06-03 17:54:07 +08:00
Jiang Jiang Jian
a3ef6b3446 Merge branch 'change/ble_update_lib_20260520_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260520 - Update ESP BLE Controller Lib (5.5)

See merge request espressif/esp-idf!48769
2026-06-03 10:29:48 +08:00
Zhang Hai Peng
8147cb5708 fix(bt): Add default BLE controller funcs reset enable
(cherry picked from commit 7c1cb4b296)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-02 10:14:22 +08:00
Rahul Tank
133caa82e3 Merge branch 'bugfix/add_support_min_count_v5.5' into 'release/v5.5'
fix(nimble): Add support for shorter connection interval (v5.5)

See merge request espressif/esp-idf!48162
2026-06-01 14:36:15 +05:30
Rahul Tank
ba5cfdb7e4 fix(nimble): Add support for shorter connection intervals 2026-05-28 15:52:48 +05:30
Zhang Hai Peng
0a5d37dbc6 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(51d9dfde)
- improve coded PHY performance under Wi-Fi coexistence


(cherry picked from commit 8da824cd0e)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-28 11:24:23 +08:00
linruihao
b7fcb06e03 fix(coex): fix ble coded phy rx issue when aborted by coex 2026-05-28 10:31:00 +08:00
ShenWeilong
b56fa33bb4 change(bt): Separated bt/cmakelist to bt/controller/cmakelist and bt/porting/cmakelist 2026-05-27 10:37:03 +08:00
zhaoweiliang
e679634703 change(ble): [AUTO_MR] Update lib_esp32c6 to 4adb29e0 2026-05-26 13:32:34 +08:00
zhaoweiliang
cd71106589 change(ble): [AUTO_MR] Update lib_esp32c5 to 4adb29e0 2026-05-26 13:32:34 +08:00
zhaoweiliang
9ca46a4e84 change(ble): [AUTO_MR] Update lib_esp32h2 to 4adb29e0 2026-05-26 13:32:34 +08:00
linruihao
5fa64e4f50 fix(bt): Correct the error code in pairing when pin code req rejected by host 2026-05-21 19:05:44 +08:00
Island
d907a9497c Merge branch 'bugfix/fix_ble_read_remote_feature_timeout_v5.5' into 'release/v5.5'
Fixed read remote feature timeout when using coded phy(2f683593) (5.5)

See merge request espressif/esp-idf!48063
2026-05-15 10:22:25 +08:00
Zhang Hai Peng
bf64433a6b feat(ble): Support BLE critical logs
(cherry picked from commit 0af57d731c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-14 14:23:45 +08:00
Zhang Hai Peng
f68279de63 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV


(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-05-13 21:37:00 +08:00
Jin Cheng
b5e9a8f849 fix(bt/controller): fixed sevaral controller issues
- Relax the TID checks during EPR to be compatible with some RealTek devices
        - Closes https://github.com/espressif/esp-idf/issues/18145
    - Fixed wrong HCI event used for eSCO connection update
    - Do not inform the host when conneciton request was automatically rejected
2026-05-11 13:44:31 +08:00
ShenWeilong
1d42b7d2d4 fix(ble): always init the default os queue for all of controllers 2026-04-29 16:53:01 +08:00
Shen Wei Long
41cc1446ce change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6
(cherry picked from commit 70acbd85f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:44:01 +00:00
Shen Wei Long
4d174fde94 change(ble): [AUTO_MR] Update lib_esp32c5 to 6c6de5d6
(cherry picked from commit 27e95081d2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:44:00 +00:00
Shen Wei Long
283531e301 change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6
(cherry picked from commit f3b2bf78aa)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:44:00 +00:00
Jiang Jiang Jian
2c7f5ace94 Merge branch 'bugfix/fix_some_bt_coex_bugs_v5.5' into 'release/v5.5'
fix(coex): fix some esp32 coexistence bugs (Backport v5.5)

See merge request espressif/esp-idf!47394
2026-04-20 18:23:22 +08:00
linruihao
3fdd5b25b4 fix(coex): fix some esp32 coexistence bugs
- fix ble scan may restart twice in coex scenarios
- fix bredr page/pscan coex request/release not match
- fix bredr incorrect inquiry length calculation
- update bredr page/inquiry pti
- add coex pti protection for entire page/inquiry event
2026-04-20 11:16:28 +08:00