Commit Graph

601 Commits

Author SHA1 Message Date
luomanruo
0504b60b7a ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:38:22 +08:00
luomanruo
573e13c569 ble(update):
Update c2 lib to 7c6c9d53
Update h2 lib to 0ecb36f0
Update c6 lib to 0ecb36f0
2023-12-19 12:25:08 +08:00
linruihao
fa3474496d fix(bt/controller): Fixed establish two sco connections failed 2023-12-18 11:26:06 +08:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Island
e5b77d7b8a Merge branch 'bugfix/ble_update_lib_20231201' into 'master'
update lib on master

Closes BLERP-302

See merge request espressif/esp-idf!27585
2023-12-11 11:33:42 +08:00
chenjianhua
7c56f21981 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(65db61f)
- Fixed remove and clear white list
2023-12-08 13:37:09 +08:00
Jiang Jiang Jian
608664781d Merge branch 'bugfix/fix_bt_3262' into 'master'
Fixed random address setting when scanning on ESP32(fa43201)

See merge request espressif/esp-idf!27396
2023-12-05 19:47:09 +08:00
luomanruo
bf44a9e9c6 ble(fix): clear event queue when init event queue
ble: update log module on ESP32C2, ESP32H2 and ESP32C6
2023-12-05 16:12:09 +08:00
Darian
e3191df37a Merge branch 'change/deprecate_legacy_xtensa_include_path' into 'master'
change(xtensa): Deprecate legacy include paths

Closes IDF-7230

See merge request espressif/esp-idf!26725
2023-12-05 15:05:29 +08:00
chenjianhua
74f99d2679 fix(bt): Update bt lib for ESP32(fa43201)
- Fixed assert for instant passed workaround
- Fixed scan evt timeout
- Fixed random address setting when scanning
2023-12-04 17:03:38 +08:00
chenjianhua
daae89357c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-01 21:12:43 +08:00
chenjianhua
9c40585b23 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(70ab55f)
- Fixed assert for instant passed workaround
- Fixed add RPA to white list
- Fixed AES encryption for RPA resolution
2023-12-01 21:01:53 +08:00
luomanruo
3c90024f25 ble(update):
Update c2 lib to 47a787f0
Update h2 lib to 73452eac
Update c6 lib to 73452eac
2023-12-01 19:30:35 +08:00
Island
682ca74e98 Merge branch 'bugfix/ble_update_lib_20231124' into 'master'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

Closes BLERP-269 and BLERP-291

See merge request espressif/esp-idf!27391
2023-12-01 13:58:11 +08:00
Darian Leung
a5d5ee7445 change(xtensa): Deprecate ".../xtensa_context.h" include path
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Darian Leung
2204c8e137 change(xtensa): Deprecate ".../xtensa_api.h" include path
This commit deprecates the "freertos/xtensa_api.h" and "xtensa/xtensa_api.h"
include paths. Users should use "xtensa_api.h" instead.

- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Replaced some calls with "esp_cpu_..." equivalents
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
shangke
a7dc484564 fix(bt/controller): Fixed some HCI commands parameter 2023-11-30 02:41:56 +00:00
laokaiyao
bb0879b3f8 feat(esp32c5): introduce target esp32c5 2023-11-28 16:14:17 +08:00
luomanruo
f5ef22d54d ble:
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:20:47 +08:00
Jiang Jiang Jian
676968ab0e Merge branch 'bugfix/ble_update_lib_1110' into 'master'
Bugfix/ble update lib 1110

Closes BLERP-242, BLERP-248, BLERP-241, BLERP-243, BLERP-239, BLERP-256, BLERP-257, BLERP-258, BLERP-259, BLERP-260, BLERP-261, BLERP-262, BLERP-240, BLERP-227, BLERP-214, BLERP-266, BLERP-267, BLERP-268, BT-3481, WIFI-6313, and BLERP-287

See merge request espressif/esp-idf!27060
2023-11-23 11:05:18 +08:00
Liu Ning
e50d9fca3a Merge branch 'feature/refactor_some_coexist_sections' into 'master'
feature(coex): refactor some coexist sections

Closes WIFI-5976、WIFI-5464 以及 TZ-81

See merge request espressif/esp-idf!26706
2023-11-22 17:48:24 +08:00
liuning
c783332962 feat(coex): apply struct for coex version 2023-11-21 18:00:26 +08:00
luomanruo
29f712651a ble(fix): deinit crash issue 2023-11-21 15:02:43 +08:00
luomanruo
20c890f33b ble: update controller log module 2023-11-21 15:00:55 +08:00
luomanruo
93df0042d1 ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2 2023-11-21 15:00:55 +08:00
luomanruo
ec119aa694 ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
ble(fix): Fixed the issue of not returning memory to the memory pool after deinit callout
2023-11-21 15:00:55 +08:00
xiaqilin
a0ecd49725 feat(pm): change power up/down register callback name 2023-11-21 10:18:55 +08:00
cjin
e98e291601 fix(pm): switch root clk src to PLL for modem reg opt and added callback 2023-11-21 10:18:32 +08:00
cjin
15e1c8d3ca feat(ble): remove software regdma opt in bt 2023-11-21 10:18:03 +08:00
chenjianhua
7a07d51859 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-15 16:46:10 +08:00
muhaidong
deed5684ce change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-06 21:55:33 +08:00
Island
ca331989f8 Merge branch 'feat/support_clear_legacy_adv_on_esp32c3' into 'master'
Support clear legacy adv using vendor hci on esp32c3

Closes BLERP-191

See merge request espressif/esp-idf!26696
2023-11-02 19:00:05 +08:00
Island
dc66da9d1d Merge branch 'feat/support_clear_legacy_adv_on_esp32' into 'master'
Support clear legacy adv using vendor hci on esp32

Closes BLERP-191

See merge request espressif/esp-idf!26697
2023-11-02 18:59:48 +08:00
chenjianhua
448d168dfd update esp32 bt-lib (6458728)
- Modify mesh proxy solic uuid to 0x18590303
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-11-01 19:25:01 +08:00
luomanruo
b281a72fa1 ble: update c2 lib to 6ed444f2 2023-10-27 20:11:47 +08:00
luomanruo
d42fbcf144 ble: update c2 rom.ld 2023-10-27 16:03:32 +08:00
cjin
43b53a1885 change(ble): added option for msys buffer source 2023-10-27 16:03:05 +08:00
luomanruo
d23e4d6f3e ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-10-27 14:28:10 +08:00
chenjianhua
ada56ca062 Update bt lib for ESP32-C3 and ESP32-S3(f817304)
- Support get the range of TX power level
- Support clear legacy adv using vendor hci
2023-10-26 19:43:02 +08:00
zhanghaipeng
9804a8b0f9 fix(ble/controller): Fix bugs in setting adv data and scan response data 2023-10-24 10:48:31 +08:00
luomanruo
5f891fae7e ble: update controller log module for ESP32-C6, ESP32-H2 and ESP32-C2 2023-10-18 18:10:25 +08:00
luomanruo
0b7cba39de ble: update controller log module for ESP32-C2 2023-10-18 17:08:51 +08:00
luomanruo
8f30d922ac ble: update controller log module for ESP32-H2 and ESP32-C6 2023-10-18 17:08:51 +08:00
cjin
c9cf190847 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:08:51 +08:00
Jiang Jiang Jian
249e45a5d6 Merge branch 'bugfix/coex_cfg_option_invisible' into 'master'
fix(esp_coex): Fix dependency errors in coexist configuration

Closes BT-3435

See merge request espressif/esp-idf!26484
2023-10-18 15:36:22 +08:00
Zhi Wei Jian
daf1fc790a Merge branch 'bugfix/fix_dtm_test_failed_on_ble_5.0' into 'master'
fix(ble/bluedroid): fixed bluedroid host DTM API

Closes BLEQABR23-690 and BLECRT-42

See merge request espressif/esp-idf!26345
2023-10-18 14:04:54 +08:00
Island
83943ed3c4 Merge branch 'ble_dev/added_modem_reset_on_ble' into 'master'
feat(ble): added modem reset on c2 h2 and c6

See merge request espressif/esp-idf!26387
2023-10-17 15:42:32 +08:00
Zhang Hai Peng
ea81f4c4a3 Merge branch 'bugfix/fix_ble_bugs' into 'master'
Fix some BLE bugs in bluedroid host

See merge request espressif/esp-idf!26448
2023-10-16 19:27:29 +08:00
linruihao
11efe6ecdc fix(esp_coex): Fix dependency errors in coexist configuration 2023-10-16 11:44:23 +08:00
Island
f19f1dbd91 Merge branch 'bugfix/0925_update_libble_c6_h2_c2' into 'master'
update c6 h2 c2 libble to 7ec5b5c1

Closes BLERP-92, BLERP-122, BLERP-93, BLERP-94, BLERP-89, BLERP-90, BLERP-95, BLERP-97, BLERP-98, BLERP-99, BLERP-100, BLERP-101, BLERP-102, BLERP-120, and BLERP-123

See merge request espressif/esp-idf!26176
2023-10-16 10:47:08 +08:00
cjin
6503d1327b feat(ble): added modem reset on c2 h2 and c6 2023-10-13 11:39:29 +08:00
zhanghaipeng
7492c004dd fix(bt/bluedroid): Optimize the description of Scan Duplicate in BLE 2023-10-13 10:54:25 +08:00
luomanruo
f74338afa2 ble:update c2 libble to 6a8d1f3d, h2 c6 libble to 57ed7949 2023-10-12 15:56:56 +08:00
zhiweijian
d3394003b5 Update BLE lib on ESP32-C3 and ESP32-S3
- modify mesh proxy solic uuid to 0x18590303
- Fixed DTM payload length cannot be 0
- Added config to enable Hw recorrect eco
- report the number of packets sent on the TX end
2023-10-12 07:42:53 +00:00
zhaokeke
a39869416c feat(bt): Frees BLE memory when no longer in use
It will free libble.a & libbt all txt, data and bss segment memory.
This memory is combined into one large memory and put into the heap
pool.
2023-10-08 16:08:47 +08:00
Zhi Wei Jian
5306b3308f Merge branch 'feature/add_config_to_disable_uart_flow_control' into 'master'
feat: add config to disable ble hci uart flow control

Closes CBLE50Y23-50

See merge request espressif/esp-idf!26155
2023-10-08 10:55:04 +08:00
Island
492c819357 Merge branch 'bugfix/fix_phy_63' into 'master'
Fixed extended adv address setting after adv restart on esp32c3

Closes BLERP-86 and BLERP-107

See merge request espressif/esp-idf!26157
2023-09-28 14:21:08 +08:00
zhiweijian
3cc06e472b change(ble/controller): disable pll track by default in BLE controller on ESP32-C3 and ESP32-S3 2023-09-26 16:23:58 +08:00
zhangwenxu
e5b96c94b5 fix(CI): fix CI build 2023-09-26 16:23:58 +08:00
zwl
355a420055 fix(phy): Fix ble phy_enable/disable api invoking issue for esp32c2,esp32h2 and esp32c6 2023-09-26 16:23:58 +08:00
Jiang Jiang Jian
17ae394fd1 Merge branch 'feature/update_esp32h2_sleep_logic' into 'master'
feat(pm): remove SOC_PM_RETENTION_HAS_CLOCK_BUG for esp32h2

See merge request espressif/esp-idf!26081
2023-09-26 16:11:25 +08:00
chenjianhua
42b85dffb1 Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-09-26 16:10:21 +08:00
zhiweijian
150900eabb feat: add config to disable ble hci uart flow control 2023-09-25 14:26:59 +08:00
baohongde
87af877d33 feat(bt/hci): Added Vendor-Specific HCI command to disable DM1 for ACL-U 2023-09-22 14:36:45 +08:00
baohongde
510ddd1cbc fix(bt/bluedroid): Fix issue of QoS configuration failure when t_poll is greater than 40 2023-09-22 12:14:32 +08:00
Wang Meng Yang
92e8662a80 Merge branch 'bugfix/add_params_check_for_hci' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!25866
2023-09-22 11:37:30 +08:00
shangke
dcb714e796 fix(bt/controller): Fixed some HCI commands parameter
1: add param check for HCI_Recevie_Synchronization_Train.
2: add param check for HCI_Set_Connectionless_Peripheral_Broadcast.
3: fix slave cannot take a secure authentication.
2023-09-21 15:07:25 +08:00
cjin
7b176501e3 feat(ble): update ble sleep logic for esp32h2 2023-09-21 11:30:49 +08:00
Island
2c51e10198 Merge branch 'bugfix/fix_bleqabr23_394' into 'master'
Fixed address resolution for directed advertising on esp32c3 and esp32s3

See merge request espressif/esp-idf!25586
2023-09-18 15:23:03 +08:00
chenjianhua
827a00d4d5 Update bt lib for ESP32-C3 and ESP32-S3(29996e0)
- Fixed address resolution for directed adv with RPA when scanning
- Fixed resolvable private address renew after timeout
2023-09-15 17:49:37 +08:00
linruihao
efacf9a73d fix(esp_coex): Fix esp32 ble scan not restart when wifi start stop 2023-09-14 17:55:55 +08:00
Jiang Jiang Jian
ca78f8b925 Merge branch 'bugfix/bugfix_for_esp32c2_esp32c6_esp32h2' into 'master'
fix(ble): fixed crash when memory is insufficient on esp32c2

Closes BLERP-9, BLERP-10, BLERP-11, BLERP-13, and BLERP-12

See merge request espressif/esp-idf!25823
2023-09-14 10:43:27 +08:00
Jin Cheng
3fb242660d fix(bt/controller): Fixed error in sniff negotiation
fix(bt/controller): Avoided both local and peer unsniff being triggered
fix(bt/controller): Fixed the crash of mixing of master- and slave-initiated sniff requests
fix(bt/controller): Moved the TX of HW_ERR_EVT out of interrupt context to thread context
fix(bt/controller): Fixed the issue rx_irq is generated after error_irq for slave sniff mode frame
fix(bt/controller): Fixed asser error resulted from failure of role switch frame insert
fix(bt/controller): Ignored rx_irq in inquiry scan frame end
fix(bt/controller): Ignored rx_irq in page scan frame end
fix(bt/controller): Added status check before set/clear sniff coex status
fix(bt/controller): Fixed IntegerDevideByZero caused by interrupted r_ld_sco_start
2023-09-12 12:20:50 +00:00
luomanruo
fa4f34e791 change(ble): update controller log print interface 2023-09-12 15:44:01 +08:00
cjin
7fc9c0ad62 ble: support esp32c2 wakeup overhead 2023-09-08 15:50:28 +08:00
luomanruo
60d6b3c13e ble: update esp32h2 and esp32c6 libble to a9fa2002 2023-09-08 14:25:26 +08:00
zwl
4955bb3bda feat(ble): enable adv report flow control on esp32c2 2023-09-07 16:22:39 +08:00
zwl
67c8b38d20 fix(ble): fixed crash when memory is insufficient on esp32c2 2023-09-07 16:22:29 +08:00
zhiweijian
5d8873f2d8 change: enable pll track by default on ESP32 2023-09-07 06:08:36 +00:00
Jiang Jiang Jian
a1c0d9c3a1 Merge branch 'feature/ble_lib_update_h2_c6' into 'master'
ble: update h2 c6 libble to 5d7af429

Closes BLERP-7

See merge request espressif/esp-idf!25691
2023-09-07 10:25:08 +08:00
zhiweijian
2a11862118 feat(ble/controller): Add API to enable/disable pll track 2023-09-05 21:50:39 +08:00
luomanruo
a2935ba6ec change: print assert info before dump log 2023-09-05 20:40:04 +08:00
cjin
926695b000 change: changed ble msys init for controller 2023-09-05 20:40:04 +08:00
cjin
574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
luomanruo
7ec0ccad09 ble: update h2 c6 libble to 5d7af429 2023-09-05 20:40:04 +08:00
zhiweijian
618c6f8336 Add new mesh types for exception list on ESP32-C3 and ESP32-S3 2023-09-04 20:38:36 +08:00
Zhi Wei Jian
6daba772d8 Merge branch 'feature/add_new_mesh_adv_type_for_exception_list' into 'master'
Add BLE mesh adv types for exception list

See merge request espressif/esp-idf!25652
2023-09-04 14:06:50 +08:00
Island
8904d6bb37 Merge branch 'feature/esp32c2_add_trace_function' into 'master'
ble: supported trace function and adv report flow control on esp32c2

See merge request espressif/esp-idf!25639
2023-09-01 20:10:38 +08:00
zhiweijian
65e18ff02a Add mesh adv type for exception list 2023-09-01 17:38:06 +08:00
zwl
4abf0c46b5 ble: supported trace function and adv report flow control on esp32c2 2023-08-31 11:58:29 +08:00
linruihao
f3b87ee3bd fix(bt/controller): Fixed some HCI commands parameter check
Fixed HCI_Change_Connection_Packet_Type Command parameter check
Fixed HCI_Accpet_Synchronous_Connection_Request Command parameter check
Fixed HCI_Set_Connectionless_Peripheral_Broadcast_Data Command parameter check
2023-08-30 19:38:14 +08:00
luomanruo
3f6dd76e41 ble: Assert when getting memory fail 2023-08-25 12:23:00 +08:00
Jiang Jiang Jian
b39180d7a1 Merge branch 'bugfix/m_ble_issues_bugfix_c2' into 'master'
update btlib to 7d0ce3ba, some esp32c2 issues bugfixed

See merge request espressif/esp-idf!25428
2023-08-24 14:13:05 +08:00
Chen Jian Hua
70071a334f Merge branch 'bugfix/fix_bleqabr23_181_esp32' into 'master'
Support BLE RX error packet count record on esp32

See merge request espressif/esp-idf!25316
2023-08-24 11:12:36 +08:00
luomanruo
a2620e7588 ble: update btlib to f9db7b90, some esp32c2 issues bugfixed 2023-08-23 10:20:01 +08:00
chenjianhua
be0ef2d0e0 update esp32 bt-lib (7b24543)
- Support BLE RX error packet count record
- Fixed instant setting for LLC procedures with instants
- Fixed adv random delay when adv interval is less than 20ms
2023-08-18 16:49:35 +08:00
zwl
38d20430c7 ble: Added adv report flow control config on ESP32C6 and ESP32H2 2023-08-17 19:47:16 +08:00
zwl
386a31dfaf ble: fixed heap corruption on esp32c6 and esp32h2 2023-08-17 19:47:12 +08:00
Island
1f3e3f8f6a Merge branch 'bugfix/fix_current_issue_after_ble_init' into 'master'
Fix phy enable/disable for ESP32C6/H2/C2

See merge request espressif/esp-idf!25080
2023-08-14 13:11:19 +08:00
chenjianhua
7accddadaa Update bt lib for ESP32-C3 and ESP32-S3(59725b5)
- Support BLE RX error packet count record
- Fixed adv random delay when adv interval is less than 20ms
- Fixed adv random address setting when owner address type is public
2023-08-11 14:08:59 +08:00