Commit Graph

860 Commits

Author SHA1 Message Date
Island
aa5357ab70 Merge branch 'bugfix/fix_some_ble_bugs_250331_esp32c3_v5.3' into 'release/v5.3'
Fixed some BLE bugs 250331 on esp32c3 (v5.3)

See merge request espressif/esp-idf!38579
2025-04-23 10:32:45 +08:00
Island
f3dc80e9f6 Merge branch 'bugfix/fix_ble_kconfig_v5.3' into 'release/v5.3'
fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior (v5.3)

See merge request espressif/esp-idf!37421
2025-04-22 11:48:20 +08:00
Chen Jian Hua
3dbcb7b7f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a684dd5)
- Fixed clear legacy adv error when adv not exist
- Disable anonymous extended adv reporting
- Fixed BLE assert lld_adv.c 2992
- Fixed heap assert due to adv data buffer double freeing
- Fixed BLE 0x08 disconnect when the win size is greater than half of the conn interval


(cherry picked from commit 4602665e5d)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-04-21 14:33:34 +08:00
Island
182b1583c7 Merge branch 'change/ble_update_lib_20250417_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250417 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!38544
2025-04-21 10:40:43 +08:00
Wang Meng Yang
916f1992bd Merge branch 'fix/some_issues_in_bt_controller_v5.3' into 'release/v5.3'
fix(bt): fixed some issues in bt controller(backport v5.3)

See merge request espressif/esp-idf!38449
2025-04-18 17:51:23 +08:00
Shen Wei Long
758eeb45a7 change(ble): [AUTO_MR] Update lib_esp32c6 to cd6ba0ec
(cherry picked from commit a89916eef4)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-04-18 14:10:06 +08:00
Shen Wei Long
e6d2a5debb change(ble): [AUTO_MR] Update lib_esp32h2 to cd6ba0ec
(cherry picked from commit d48cc9ce2a)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-04-18 14:10:04 +08:00
Zhou Xiao
47ff853520 feat(ble): support configurable rxbuf opt feat on ESP32-C6
(cherry picked from commit 5fbbec8655)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:33 +08:00
Zhou Xiao
659d7ad3cc feat(ble): support configurable rxbuf opt feat on ESP32-H2
(cherry picked from commit 4937d3c883)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:31 +08:00
Zhou Xiao
c5ac5e42b3 feat(ble): use new section for ble sleep on ESP32-C2
(cherry picked from commit ce4e012c8b)

Co-authored-by: cjin <jinchen@espressif.com>
2025-04-17 10:54:29 +08:00
Zhou Xiao
246b1ca89d change(ble): [AUTO_MR] Update lib_esp32c2 to fca2b9ea
(cherry picked from commit 09467baed0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:26 +08:00
Zhou Xiao
8c4a9675f7 change(ble): [AUTO_MR] Update lib_esp32c6 to 76549818
(cherry picked from commit e2d1a5509e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:24 +08:00
Zhou Xiao
a666e3edbf change(ble): [AUTO_MR] Update lib_esp32h2 to 76549818
(cherry picked from commit c11bb1ddd0)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-04-17 10:54:22 +08:00
gongyantao
fb5a67c1d3 fix(bt): fixed some issues in bt controller
- add check for Wi-Fi channel
- fix the incorrect unit of duration_min in cpb tx
- recalculate the channel map when afh is enabled
- fix incorrect vendor event count causing an assertion failure
2025-04-16 15:31:04 +08:00
Island
5de769cba4 Merge branch 'change/ble_update_lib_20250313_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20250313 - Update ESP BLE Controller Lib (v5.3)

See merge request espressif/esp-idf!37821
2025-04-16 14:38:01 +08:00
Island
9a97296876 Merge branch 'feat/support_blecrt_359_v5.3' into 'release/v5.3'
Support BLE vendor hci set rx sensie and max gain on esp32c3 (v5.3)

See merge request espressif/esp-idf!38129
2025-04-16 11:25:15 +08:00
chenjianhua
2a30f64b71 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command
2025-04-15 14:48:25 +08:00
baohongde
a90116fdd1 feat(coex): Support BR/EDR (e)SCO and Wi-Fi coexistence 2025-04-15 14:17:21 +08:00
Rahul Tank
70c9a757c7 Merge branch 'fix/ble_issue_10032025_v5.3' into 'release/v5.3'
fix(nimble): Fix some nimble issues ble_issue_10032025_v5.3

See merge request espressif/esp-idf!37623
2025-04-15 12:32:44 +08:00
Shen Weilong
7856fefea1 feat(ble/controller): Added memory boundary check for ESP32-C2 2025-04-15 12:20:31 +08:00
Shen Weilong
353abd8d22 feat(ble/controller): Added memory boundary check for ESP32-C6 and ESP32-H2 2025-04-15 12:20:20 +08:00
Zhou Xiao
9fc5f5c1ef fix(ble): fix ble log init failure mem leak for ESP32 2025-04-15 12:17:03 +08:00
Zhou Xiao
e4225026b5 fix(ble): fix ble log init failure mem leak for ESP32-C3 2025-04-15 12:17:03 +08:00
zwl
87838acaed feat(ble): add enhanced connect function on ESP32-C2 2025-04-15 12:17:03 +08:00
Zhou Xiao
c3d2bc6302 feat(ble): support ble log simple output via SPI interface for ESP32-C6 2025-04-15 12:17:03 +08:00
Zhou Xiao
90954505ff feat(ble): support ble log simple output via SPI interface for ESP32-C5 2025-04-15 12:17:03 +08:00
Zhou Xiao
e22a8ff4fc feat(ble): support ble log simple output via SPI interface for ESP32-H2 2025-04-15 12:17:03 +08:00
Zhou Xiao
9c27284fd5 feat(ble): support ble log simple output via SPI interface for ESP32-C2 2025-04-15 12:17:03 +08:00
Zhou Xiao
1dac25fab7 fix(ble): add feed wdts during ble log dump for ESP32-C2 2025-04-15 12:17:03 +08:00
Island
97016c986c Merge branch 'feat/optimize_hci_data_recv_process_v5.3' into 'release/v5.3'
Feat/optimize hci data recv process (v5.3)

See merge request espressif/esp-idf!37833
2025-04-15 11:35:08 +08:00
Island
4615344118 Merge branch 'feat/support_bluedroid_host_iso_feature_master_v5.3' into 'release/v5.3'
Fixed controller flash only bug if hci-uart is enabled (v5.3)

See merge request espressif/esp-idf!38162
2025-04-15 11:34:53 +08:00
Marius Vikhammer
7fea3ef20f Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.3' into 'release/v5.3'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.3)

See merge request espressif/esp-idf!37115
2025-04-15 11:05:57 +08:00
zhiweijian
94ada16554 fix(bt/controller): Fixed controller flash only bug if hci-uart is enabled 2025-04-07 17:02:58 +08:00
Shen Wei Long
92ddd1cccb feat(ble/controller): Deleted useless functions for ESP32-C6/H2/C2 2025-03-24 20:20:35 +08:00
Geng Yu Chao
c28b58a059 feat(ble): Add Kconfig support for direction finding feature
(cherry picked from commit 8c7af817d89c254714dc9c93414499fead3717d3)

Co-authored-by: Geng Yuchao <gengyuchao@espressif.com>
2025-03-24 11:56:05 +05:30
zhiweijian
8c132bbbd8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3 (86a4da5c)
- Remove unused functions in the controller
2025-03-21 19:48:44 +08:00
chenjianhua
b1f85271ff fix(bt): Update bt lib for ESP32(dc1cd581)
- Remove unused functions in the controller
- Add an SDK config for the minimum size of encryption key
2025-03-21 19:34:37 +08:00
linruihao
7e654ca887 fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-18 20:21:57 +08:00
Zhao Wei Liang
c70eac403d feat(ble): change whitelist max size to 31 on ESP32-C2
(cherry picked from commit 578f2358c6)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:33 +08:00
Zhao Wei Liang
a921ffacee feat(ble): change whitelist max size to 31 on ESP32-C6
(cherry picked from commit 2b435687b0)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:30 +08:00
Zhao Wei Liang
6c7416bc9a fix(ble): fixed hci driver stack protection fault issue on ESP32-C2
(cherry picked from commit afd44d14b9)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:26 +08:00
Zhao Wei Liang
c4d62abfe9 fix(ble): fixed hci driver stack protection fault issue on ESP32-C6
(cherry picked from commit ec4a1324f5)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-03-18 16:04:24 +08:00
zhiweijian
8f7ed33e18 fix(ble/controller): reduce controller bin size 2025-03-14 10:53:03 +08:00
chenjianhua
49243e1ad8 fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-10 15:28:50 +08:00
gongyantao
c1d5cb63cc fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-10 15:28:32 +08:00
Jin Cheng
73508cf7b4 fix(bt/controller): fixed some controller bugs on ESP32.
1. added a VSC to control whether to initiate lmp_auto_rate
        - Closes https://github.com/espressif/esp-idf/issues/15133
    2. fixed EA resource cleanup error after SNIFF negotiation failure
        - Closes https://github.com/espressif/esp-idf/issues/13605
    3. removed an assertion in SCO data TX handler after disconnection
        - Closes https://github.com/espressif/esp-idf/issues/15176
2025-03-10 15:28:22 +08:00
Sudeep Mohanty
81109e8bdd fix(panic_handler): Updated panic handler to use RTC WDT
This commit updates the following:
- Updates the panic handler to use only the RTC WDT to reset the system.
- Refactors some of the panic handler code.
- Updates Bluetooth files where in they now feed the WDTs instead of
  reconfiguring them.
- Removes some unnecessary configuration of WDTs from various files.
- Added a unit test to verify that the system does not lock up when the
  panic handler is stuck.
- Updates the memprot unit tests to work with the refactored panic
  handler.

Closes https://github.com/espressif/esp-idf/issues/15166
Closes https://github.com/espressif/esp-idf/issues/15018
Closes https://github.com/espressif/esp-idf/issues/10110
2025-03-06 09:13:17 +01:00
Zhang Hai Peng
a903c662db fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior
(cherry picked from commit 9496949132)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-03-03 11:13:40 +08:00
chenjianhua
2b80f7506d feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(723439d)
- Added BLE controller debug log trace
- Added BLE controller log module
2025-02-27 15:46:45 +08:00
Zhao Wei Liang
be9de2b50e feat(ble): add a debug way to retain scene on ESP32-C6
(cherry picked from commit bc299e784c)

Co-authored-by: zwl <zhaoweiliang@espressif.com>
2025-02-26 15:03:37 +08:00