Commit Graph

3463 Commits

Author SHA1 Message Date
Wang Meng Yang
7a45809b4f Merge branch 'bugfix/crash_in_btc_hf_init' into 'master'
fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks

Closes BT-3498, BT-3505, BT-3524, COEXQABR24-4, COEXQABR24-16, COEXQABR24-17, and BTQABR2023-112

See merge request espressif/esp-idf!27211
2023-12-14 12:23:55 +08:00
linruihao
b0bd1f38f8 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(9129dec) 2023-12-13 19:26:49 +08:00
Jin Cheng
e1a5122dbc Merge branch 'fix/build_error_in_compiler_performance_mode' into 'master'
fix(bt/bluedroid): fixed build error when compiler in performace mode

Closes IDFGH-11637

See merge request espressif/esp-idf!27816
2023-12-12 18:56:42 +08:00
gongyantao
f303fa0174 fix(bt/bluedroid): fixed build error when compiler in performace mode
Closes https://github.com/espressif/esp-idf/issues/12751
2023-12-12 15:00:45 +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
Island
9bdcfa672f Merge branch 'bugfix/fix_ble_adv_scan_status' into 'master'
fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid

Closes BLERP-324

See merge request espressif/esp-idf!27636
2023-12-07 16:25:37 +08:00
Island
fecd858fd5 Merge branch 'bugfix/fix_ble_robost_cashing' into 'master'
fix(bt/bluedroid): Fix BLE robost cashing config

See merge request espressif/esp-idf!27665
2023-12-07 16:25:34 +08:00
zhanghaipeng
305bb1a146 fix(bt/bluedroid): Fix ble gattc deregister 2023-12-07 11:21:13 +08:00
luomanruo
ca4f9ccedb ble(fix): Fixed crash issue when reset event queue 2023-12-06 14:13:23 +08:00
Rahul Tank
d4db3a2f87 fix(nimble): Added change to return success for API execution 2023-12-06 10:20:18 +05:30
Rahul Tank
c256bed7f8 Merge branch 'bugfix/authcomplete_failure' into 'master'
fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value

Closes BLERP-303, BLERP-304, and BLERP-319

See merge request espressif/esp-idf!27499
2023-12-06 12:47:48 +08:00
Island
9040dea13b Merge branch 'bugfix/BLEQABR23-35master' into 'master'
fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval

Closes BLERP-113 and BLERP-112

See merge request espressif/esp-idf!26348
2023-12-06 11:06:38 +08:00
Wu Meng Shi
a93783ae90 fix(ble_mesh): avoid ble_mesh packet collision by using random adv interval 2023-12-06 11:06:38 +08:00
Jiang Jiang Jian
d64217006c Merge branch 'bugfix/IDFGH-11398' into 'master'
bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc)

Closes IDFGH-11398

See merge request espressif/esp-idf!27564
2023-12-06 10:50:50 +08:00
Jin Cheng
e78209ad47 fix(bt/bluedroid): Disabled Sniff Subrating temporarily as it did not work well 2023-12-05 20:10:03 +08:00
Jin Cheng
58256d8c4b fix(bt/bluedroid): Changed the default air mode to invalid value 2023-12-05 20:10:03 +08:00
Jin Cheng
dba328d9d5 fix(bt/bluedroid): Removed redundant operation of SCO clean up 2023-12-05 20:10:03 +08:00
Jin Cheng
0f9e8687ee fix(bt/bluedroid): Corrected the definitions of HF Client callback events 2023-12-05 20:10:00 +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
Darshan Dobariya
c34cba9db1 fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value 2023-12-05 14:18:42 +05:30
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
zhanghaipeng
41facc2e08 fix(bt/bluedroid): Fix BLE robost cashing config 2023-12-05 15:44:15 +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
Island
345013fa46 Merge branch 'bugfix/fix_bleqabr23_808' into 'master'
Fixed assert when LLCP instant passed on ESP32-C3 and ESP32-S3(b8f0db9)

Closes BLERP-298, BLERP-299, BLERP-300, BLERP-301, BLERP-310, BLERP-311, and BLERP-312

See merge request espressif/esp-idf!27477
2023-12-05 11:51:20 +08:00
zhanghaipeng
1eb0522774 fix(bt/bluedroid): Fix ble adv and scan status when deinit bluedroid 2023-12-05 10:38:01 +08:00
Rahul Tank
2cd09e8f71 Merge branch 'bugfix/remove_rpa_rec' into 'master'
fix(nimble): Handled the deletion of RPA mapping

Closes BLERP-289 and BLERP-295

See merge request espressif/esp-idf!27305
2023-12-04 19:49:40 +08:00
Island
4869d96220 Merge branch 'bugfix/BLEQA23-811' into 'master'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...

See merge request espressif/esp-idf!27323
2023-12-04 19:42:50 +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
Island
94d7ec7a38 Merge branch 'bugfix/bluedroid_menuconfig' into 'master'
Bugfix/bluedroid menuconfig

Closes BLERP-317

See merge request espressif/esp-idf!27508
2023-12-04 16:30:05 +08:00
luoxu
18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00: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
chenjianhua
51607c87d6 fix(bt/bluedroid): Fixed add RPA to white list 2023-12-01 21:01:53 +08:00
Abhinav Kudnar
7bafda1155 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:04:20 +05:30
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
zhanghaipeng
d528cc598e fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:21:49 +08:00
Island
e3ab9f009b Merge branch 'feat/support_ble_create_sync_report' into 'master'
feat(bt/bluedroid): Support ble create sync report disable and filter duplicate

Closes BLERP-216

See merge request espressif/esp-idf!26923
2023-12-01 17:17:48 +08:00
luoxu
c90fd0ebe2 bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 15:53:44 +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
Wang Meng Yang
76923a7a7f Merge branch 'bugfix/hci_param_check' into 'master'
fix(bt/controller): Fixed some HCI commands parameter

See merge request espressif/esp-idf!27423
2023-12-01 10:24:11 +08:00
Liu Linyan
9879615053 Merge branch 'update/ble_mesh_put_lib_in_submodule' into 'master'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule

Closes IDFCI-1860

See merge request espressif/esp-idf!26987
2023-12-01 09:56:19 +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
Jin Cheng
48d410e10d fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in l2cap 2023-11-30 19:47:57 +08:00
Liu Linyan
94d3f5037b fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-11-30 16:56:58 +08:00
Liu Linyan
2c579d03ca fix(ble_mesh): Remove the orginal mesh 1.1 lib files 2023-11-30 16:34:22 +08:00
zhanghaipeng
a1b678e721 fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:43:12 +08:00
shangke
a7dc484564 fix(bt/controller): Fixed some HCI commands parameter 2023-11-30 02:41:56 +00:00
Wang Meng Yang
0fb0fc8654 Merge branch 'bugfix/alarm_args_double_free' into 'master'
fix(bt/bluedroid): Free the alarm args only when it is not NULL

Closes BTQABR2023-141

See merge request espressif/esp-idf!27475
2023-11-30 10:27:14 +08:00
Kevin (Lao Kaiyao)
cd9d321062 Merge branch 'feature/introduce_target_esp32c5' into 'master'
feat(esp32c5): introduce target esp32c5 (stage 1)

See merge request espressif/esp-idf!27299
2023-11-29 20:31:34 +08:00
Jin Cheng
823e0711c9 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free 2023-11-29 15:55:46 +08:00
Rahul Tank
6b5d5698cf fix(nimble): Add support for VSC to clear legacy adv memory
Legacy adv does not have an API for clear adv memory in controller.
 Added VSC for same.
2023-11-28 18:13:51 +05:30
laokaiyao
bb0879b3f8 feat(esp32c5): introduce target esp32c5 2023-11-28 16:14:17 +08:00
Roshan Bangar
f78a948c8b fix(nimble): Handled invalid write on year value in Current Time Service 2023-11-27 14:46:00 +05:30
Rahul Tank
d2a52ae749 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-26 12:45:01 +05:30
luomanruo
7eb1a29eb8 ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:18:23 +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
Rahul Tank
356fe4881b Merge branch 'bugfix/fix_dangling_pointer_compilation_warning' into 'master'
fix(nimble): Fix dangling pointer error during compilation

See merge request espressif/esp-idf!26984
2023-11-22 17:59:30 +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
Rahul Tank
1e4e193ca7 fix(nimble): Fix dangling pointer error during compilation 2023-11-22 08:58:41 +05:30
Jiang Jiang Jian
275a7ec2a2 Merge branch 'fix/esp32c6_sleep_pll_issue' into 'master'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue

Closes BLERP-105, BLERP-213, and BLERP-234

See merge request espressif/esp-idf!26208
2023-11-22 10:29:48 +08:00
liuning
c783332962 feat(coex): apply struct for coex version 2023-11-21 18:00:26 +08:00
darshan
a3cdfcb3aa fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory 2023-11-21 14:42:36 +05:30
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
Rahul Tank
edb28d7276 fix(nimble): Fixed issue of incorrect IRK being set 2023-11-17 15:42:57 +05:30
Wang Meng Yang
a7fbf452fa Merge branch 'feature/support_for_32_and_128_bit_custom_uuids' into 'master'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs

Closes IDFGH-10721

See merge request espressif/esp-idf!27069
2023-11-17 11:48:57 +08:00
Wang Meng Yang
0107fe2076 Merge branch 'bugfix/add_par_check_in_ag_cind_res' into 'master'
Bugfix/add par check in ag cind res

See merge request espressif/esp-idf!27147
2023-11-17 11:07:50 +08:00
Wang Meng Yang
1eff15b7eb Merge branch 'bugfix/spp_deinit_crash' into 'master'
fix(bt/bluedroid): Fix crash caused by undeleted timer in esp_spp_deinit

Closes BT-3492

See merge request espressif/esp-idf!27093
2023-11-17 10:33:27 +08:00
Jin Cheng
57e3e97497 fix(bt/bluedroid): Avoided crash of LoadProhibited during HFP AG deinitialization
Move the release of the control blocks from the start
of deinitialization to the profile disabled event.
2023-11-17 09:39:46 +08:00
Jin Cheng
eab9037b1c fix(bt/bluedroid): Added dynamic memory allocation for HFP control blocks 2023-11-16 20:10:29 +08:00
Island
dd5b091a8b Merge branch 'bugfix/fix_bt_3407' into 'master'
Fixed power state setting when entering modem sleep on esp32c3

See merge request espressif/esp-idf!27165
2023-11-16 17:09:29 +08:00
Jiang Jiang Jian
461514319a Merge branch 'bugfix/coex_deprecate_config_rename' into 'master'
fix(esp_coex): Fix deprecated configuration options not rename to new one

Closes BT-3245

See merge request espressif/esp-idf!27068
2023-11-16 10:58:42 +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
Jin Cheng
f5c15be581 fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-15 15:34:27 +08:00
Jin Cheng
4edd531fe3 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-15 15:18:22 +08:00
Jin Cheng
97e9eb5ca8 fix(bt/bluedroid): Fix the crash of invalid access to released resources
It is caused by the delayed timer is alarmed after esp_spp_deinit.
2023-11-15 02:12:14 +00:00
Rahul Tank
4f20eec398 fix(nimble): Generate a new unique Local IRK for each chip 2023-11-14 10:36:09 +05:30
Jiang Jiang Jian
735b9cd827 Merge branch 'bugfix/build_error_when_enable_ag_and_hf' into 'master'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled

See merge request espressif/esp-idf!27073
2023-11-13 11:26:19 +08:00
Jiang Jiang Jian
907a7d9977 Merge branch 'test/ctrl_acl_u_pkt_type' into 'master'
feat(bt/bluedroid): Added an API to specific data types for ACL-U traffic

See merge request espressif/esp-idf!26173
2023-11-13 11:17:37 +08:00
Wang Mengyang
479cecc1f8 fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled and also CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY is set to true 2023-11-10 20:14:01 +08:00
Abhinav Kudnar
0af52055e1 fix(nimble): Handled IRK/LTK deletion based on key availability 2023-11-10 12:27:21 +05:30
linruihao
33909cfa68 fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-10 12:03:27 +08:00
zhanghaipeng
4c9861d40d feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-11-09 17:30:23 +08:00
Rahul Tank
a823541487 fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-08 18:56:50 +05:30
Island
294c2bd70d Merge branch 'debug/fix_ble_scan_rsp' into 'master'
Debug/fix ble scan rsp

Closes BLERP-190 and BLERP-225

See merge request espressif/esp-idf!26988
2023-11-08 19:39:53 +08:00
Jiang Jiang Jian
2051a9fe46 Merge branch 'bugfix/fix_esp_wifi_esp_phy_esp_coex_license_and_header_file_docs_issue' into 'master'
esp_supplicant: remove wpa supplicant ROM source code copyrights

Closes WIFI-5528, WIFI-6224, and DOC-6408

See merge request espressif/esp-idf!23059
2023-11-08 14:11:12 +08:00
zhanghaipeng
ba2f5c4475 fix(bt/bluedroid): Fix ble adv report evt type 2023-11-07 19:59:35 +08:00
zhanghaipeng
c189842b82 fix(bt/bluedroid): Fix ble keysize check 2023-11-07 19:52:59 +08:00
muhaidong
deed5684ce change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-06 21:55:33 +08:00
Liu Linyan
ff7639bcd6 feat(ble_mesh): Support Bluetooth Mesh SAR enhancement 2023-11-06 10:34:51 +08:00
Liu Linyan
c628a94513 fix(ble_mesh): Miscellaneous updates and fixes 2023-11-06 10:34:50 +08:00
Liu Linyan
4c2236c9b5 update(ble_mesh): Remove useless mesh lib copy script 2023-11-06 10:34:50 +08:00