481 Commits

Author SHA1 Message Date
Wang Mengyang
76486bbfcb change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 17:14:58 +08:00
Wang Mengyang
eca6545ffe fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified

fix(bt): remove unused file linker.lf
2024-05-06 17:14:55 +08:00
zhanghaipeng
2efc1c3c7c fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:51:43 +08:00
Island
fb12a68017 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.0' into 'release/v5.0'
ble: support only legacy adv and slave function on esp32c2 (v5.0)

See merge request espressif/esp-idf!30336
2024-04-22 22:51:02 +08:00
Jiang Jiang Jian
dd61b7ed37 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BT and BLE bugs 2404 (backport v5.0)

See merge request espressif/esp-idf!30259
2024-04-22 10:48:04 +08:00
Jiang Jiang Jian
3b6ee156c9 Merge branch 'feat/set_get_lpclk_src_v5.0' into 'release/v5.0'
feat(ble): Added API to get low power clock source(v5.0)

See merge request espressif/esp-idf!30109
2024-04-22 10:25:55 +08:00
chenjianhua
c9255fc852 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-18 14:43:13 +08:00
baohongde
043ea1cb60 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-18 14:43:07 +08:00
chenjianhua
49f11c53bd fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-18 14:43:00 +08:00
baohongde
0a86dd2eb3 feat(ble/controller): Add coexist schm for BLE 2024-04-18 14:31:53 +08:00
chenjianhua
fdd4f3d17c feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-18 14:09:09 +08:00
zhanghaipeng
c9c946811c fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-18 14:09:09 +08:00
Jin Cheng
51c26053a4 fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-04-18 14:09:09 +08:00
zwl
0e058edb9f ble: support only legacy adv and slave function on esp32c2 2024-04-18 12:15:56 +08:00
xiongweichao
3fd0dba1a3 feat(ble): Added API to get low power clock source 2024-04-18 10:07:39 +08:00
zwl
c6d8d19b81 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 15:04:51 +08:00
Island
2796f0162f Merge branch 'bugfix/ble_bugfix_for_esp32c2' into 'release/v5.0'
ble: update esp32c2 lib to 7a428d35

See merge request espressif/esp-idf!29991
2024-04-03 12:39:55 +08:00
cjin
4d648f6330 feat(ble): add cca related config in c6, h2 and c2 2024-04-02 12:12:24 +08:00
cjin
4c05613b33 change(ble): support ble light sleep using ext 32k xtal on C2 2024-04-02 12:11:16 +08:00
zwl
909393befc ble: update esp32c2 lib to 7a428d35 2024-04-02 12:04:43 +08:00
gongyantao
f3133d1590 fix(bt): fix some issues in bt controller
1: fixed the incorrect timeing in reporting HCI_Link_Key_Type_Changed.
2: fixed the incorrect iv value during resuming encryption.
3: fixed the incorrect return with hci command rd_stored_link_key.
2024-04-02 09:39:32 +08:00
linruihao
9277a80293 fix(bt/controller): Fixed some bugs in esp32 bt controller
1. fixed crash issue in coexist callback
2. fixed wrong LMP message send when expect peer device increase tx power to max
2024-03-15 19:08:58 +08:00
chenjianhua
12d7e0467f fix(bt): Update bt lib for ESP32(5ea2fca)
- Fixed HCI command status event sending for disconnect command
- Fixed LE transmitter test command param check
2024-03-08 09:29:55 +08:00
Jin Cheng
b4cb3e5744 fix(bt/controller): Fixed 3 esp32 bt controller bugs
update esp32 bt-lib (952debf4)

1. Increased the length of queue for coexist requestions
2. fix(bt/controller): Cleared BT SNIFF when no connections exists
3. fix(bt/controller): Corrected a typo in coex module
2024-03-08 09:29:55 +08:00
chenjianhua
02544b8386 fix(bt): Update bt lib for ESP32(2de69f3)
- Fixed HCI command status event send when LLCP busy
2024-03-08 09:29:55 +08:00
Island
b1992f1b84 Merge branch 'bugfix/ble_update_lib_20240223_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!29208
2024-02-28 16:54:25 +08:00
zwl
3389b68ba9 bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-27 09:12:29 +08:00
zwl
69b6af9ea9 ble(update):
Update c2 lib to 79be7ec9
2024-02-27 09:12:29 +08:00
gongyantao
9b605ab112 change(bt/bluedroid): Redirect app functions in controller based on the bluetooth mode 2024-02-23 19:07:12 +08:00
Jiang Jiang Jian
d253654f0f Merge branch 'bugfix/ble_bug_backport_20240205_v5.0' into 'release/v5.0'
Bugfix/ble bug backport 20240205 (backport v5.0)

See merge request espressif/esp-idf!28898
2024-02-23 10:47:06 +08:00
zhiweijian
4a413b9d27 feat(ble/controller): Add API to get BLE controller status on ESP32 2024-02-05 16:11:26 +08:00
zhanghaipeng
50ef8650ac fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:28:28 +08:00
chenjianhua
1363cbe1ca fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:28:12 +08:00
xiongweichao
332b293215 fix(ble): Fixed macro definition error for 136K clock drift 2024-01-30 15:36:22 +08:00
xiongweichao
08061d3414 fix(ble): Fixed Bluetooth not waking up due to clock drift 2024-01-30 15:36:22 +08:00
Island
acf8c3e9e3 Merge branch 'bugfix/fix_some_ble_issue_v5.0' into 'release/v5.0'
Bugfix/fix some ble issue v5.0(backport v5.0)

See merge request espressif/esp-idf!28615
2024-01-25 12:19:24 +08:00
Jiang Jiang Jian
9be6e00f1e Merge branch 'bugfix/fix_scan_request_ifs_error_v5.0' into 'release/v5.0'
Fixed BLE scan request ifs time error in coexistence scenarios(backport v5.0)

See merge request espressif/esp-idf!28576
2024-01-24 14:00:49 +08:00
zhanghaipeng
ca056b198f feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:54:04 +08:00
zhanghaipeng
e37dcaa92f fix(bt/bluedroid): Fix BLE malloc internal wrapper fail 2024-01-22 20:53:53 +08:00
zhanghaipeng
a3759a122e docs(ble/bluedroid): Optimize documentation for BLE duplicate scan 2024-01-22 20:53:20 +08:00
Jiang Jiang Jian
ad2c1809ce Merge branch 'bugfix/ble_update_lib_20231229_v5.0' into 'release/v5.0'
update lib on release/v5.0

See merge request espressif/esp-idf!28187
2024-01-22 11:15:01 +08:00
zhiweijian
8aa3f66084 Fixed BLE scan request ifs timer error in coexistence scenarios 2024-01-19 14:53:40 +08:00
cjin
dd7bd8ab34 Revert "change(ble): added ble cca en and thresh option"
This reverts commit f6760db77d975d82c7119a82387bc66b9e320c25.
2024-01-17 18:01:06 +08:00
luomanruo
6cc8d4e697 ble(update):
Update c2 lib to e5789394
2024-01-17 15:41:51 +08:00
luomanruo
46bbb6cb48 ble: npl count is zero if nimble host is not used 2024-01-17 15:41:51 +08:00
luomanruo
edcb550e85 ble(update):
Update c2 lib to e5789394
2024-01-17 15:41:51 +08:00
linruihao
50ef9e3533 fix(ble): fixed interrupt timeout in MAC_BB_PD callback 2024-01-15 16:17:06 +08:00
Jiang Jiang Jian
3ce7f472bf Merge branch 'bugfix/fix_ble_recorrect_enable_bug_v5.0' into 'release/v5.0'
fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default (backport v5.0)

See merge request espressif/esp-idf!28109
2023-12-27 20:11:16 +08:00
zhiweijian
d09adbc8fc fix(ble/controller): Fixed BLE recorrect enable bug and fixed BLE bb isr enable by default 2023-12-25 16:16:53 +08:00
linruihao
42bdbcc946 fix(bt/controller): Fixed establish two sco connections failed 2023-12-25 15:48:39 +08:00