Commit Graph

3421 Commits

Author SHA1 Message Date
Darian Leung
c2e134b775 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-12-05 18:04:52 +08:00
Darshan Dobariya
7cdddd47aa fix(nimble): Fixed authcomplete failure caused by a mismatch in the c1 value (v5.2) 2023-12-05 14:22:42 +05:30
Jiang Jiang Jian
eb848eaa6b Merge branch 'bugfix/remove_rpa_rec_v5.2' into 'release/v5.2'
fix(nimble): Handled the deletion of RPA mapping.(v5.2)

See merge request espressif/esp-idf!27320
2023-12-05 11:16:12 +08:00
Jiang Jiang Jian
c7b527bd27 Merge branch 'bugfix/alarm_args_double_free_v5.2' into 'release/v5.2'
Bugfix/alarm args double free v5.2

See merge request espressif/esp-idf!27537
2023-12-05 11:14:13 +08:00
Island
3081c8b5ea Merge branch 'bugfix/BLEQABR23-811_v5.2' into 'release/v5.2'
bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate...(v5.2)

See merge request espressif/esp-idf!27567
2023-12-04 19:48:29 +08:00
zhanghaipeng
633dd89d4a feat(bt/bluedroid): Support ble create sync report disable and filter duplicate 2023-12-04 14:40:58 +08:00
Jiang Jiang Jian
4e0459f112 Merge branch 'feature/refactor_some_coexist_sections_v5.2' into 'release/v5.2'
Feature/refactor some coexist sections v5.2

See merge request espressif/esp-idf!27365
2023-12-04 10:46:16 +08:00
Abhinav Kudnar
fb4e56e9a3 fix(nimble): Handled the deletion of RPA mapping. 2023-12-01 17:54:11 +05:30
zhanghaipeng
068a364a6b fix(bt/bluedroid): Fix BLE SMP register log level 2023-12-01 17:05:23 +08:00
luoxu
134fd6b8d8 bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-01 16:48:31 +08:00
luoxu
d3a78fef1b bugfix(ble_mesh): Fixed incorrect RPR Client unicast address was obtained(154b4fcc) 2023-12-01 16:04:09 +08:00
Island
2110f6b037 Merge branch 'update/ble_mesh_put_lib_in_submodule_v5.2' into 'release/v5.2'
fix(ble_mesh): Put Mesh 1.1 lib files in submodule (v5.2)

See merge request espressif/esp-idf!27549
2023-12-01 15:17:17 +08:00
Rahul Tank
dc835a0918 Merge branch 'bugfix/add_legacy_adv_clear_vsc_v5.2' into 'release/v5.2'
fix(nimble): Add support for VSC to clear legacy adv memory (v5.2)

See merge request espressif/esp-idf!27470
2023-12-01 15:03:45 +08:00
liuning
2482c4a025 feat(coex): apply struct for coex version 2023-12-01 06:00:34 +00:00
Island
eba1baa63d Merge branch 'bugfix/ble_update_lib_20231124_v5.2' into 'release/v5.2'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

See merge request espressif/esp-idf!27394
2023-12-01 13:58:27 +08:00
Liu Linyan
ba7b323c3e fix(ble_mesh): Use submodule for mesh 1.1 lib files 2023-12-01 10:00:37 +08:00
Liu Linyan
e58ed21fbf fix(ble_mesh): Remove the orginal mesh 1.1 lib files 2023-12-01 10:00:30 +08:00
Jin Cheng
d28751ee7f fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in L2CAP layer 2023-11-30 19:58:38 +08:00
Jin Cheng
7a335421e1 fix(bt/bluedroid): Set the alarm_arg to NULL after releasing to avoid double free in BTC layer 2023-11-30 19:58:02 +08:00
Rahul Tank
99a923fa0f 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-30 09:10:06 +05:30
zhanghaipeng
3d2daa08cc fix(bt/bluedroid): Fix bluedroid menuconfig 2023-11-30 10:42:04 +08:00
luoxu
afab071f51 bugfix(ble_mesh): Supplementary configuration options that should be enabled. 2023-11-29 19:19:18 +08:00
Liu Linyan
d680a3949b fix(ble_mesh): Support using random adv interval for mesh packets 2023-11-29 19:19:18 +08:00
Roshan Bangar
1437d00487 fix(nimble): Handled invalid write on year value in Current Time Service 2023-11-29 09:49:53 +05:30
Rahul Tank
f40318c6c7 Merge branch 'bugfix/fix_duplicate_exception_vsc_5.2' into 'release/v5.2'
fix(nimble): Fix the parameters in duplicate exception list vsc command(v5.2)

See merge request espressif/esp-idf!27405
2023-11-28 15:49:51 +08:00
Rahul Tank
8150abfb67 fix(nimble): Fix the parameters in duplicate exception list vsc command 2023-11-27 08:52:27 +05:30
Rahul Tank
4bedb8372b feat(nimble): Added example support for Current Time Service 2023-11-27 08:43:00 +05:30
Rahul Tank
634ce1e425 fix(nimble): Fix dangling pointer error during compilation 2023-11-26 12:36:26 +05:30
luomanruo
c6c42d0b5c ble: update sdkconfig_version on ESP32C2, ESP32H2 and ESP32C6 2023-11-24 20:20:20 +08:00
luomanruo
6abe369115 ble:
Update c2 lib to 79ed4e8a
Update h2 lib to 9a237426
Update c6 lib to 9a237426
2023-11-24 19:21:13 +08:00
Jiang Jiang Jian
a9f7ea3566 Merge branch 'bugfix/ble_gap_unpair_oldest_peer_fix_v5.2' into 'release/v5.2'
fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory (v5.2)

See merge request espressif/esp-idf!27315
2023-11-24 12:24:43 +08:00
Jiang Jiang Jian
f0e1a1f35f Merge branch 'bugfix/ble_update_lib_1110_5.2' into 'release/v5.2'
Bugfix/ble update lib 1110 5.2

See merge request espressif/esp-idf!27062
2023-11-24 10:13:30 +08:00
darshan
80f3916f0f fix(nimble): Fixed ble_gap_unpair_oldest_peer to prevent writing to invalid memory 2023-11-23 10:54:31 +05:30
Shu Chen
d0dab67955 Merge branch 'fix/esp32c6_sleep_pll_issue_v5.2' into 'release/v5.2'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.2)

See merge request espressif/esp-idf!27313
2023-11-23 02:31:14 +08:00
Jiang Jiang Jian
c23973dfa7 Merge branch 'test/ctrl_acl_u_pkt_type_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic (v5.2)

See merge request espressif/esp-idf!27128
2023-11-22 17:17:22 +08:00
xiaqilin
6ffc6a40a7 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-11-22 11:58:02 +08:00
Jiang Jiang Jian
93b2c4640b Merge branch 'bugfix/coex_deprecate_config_rename_v5.2' into 'release/v5.2'
fix(esp_coex): Fix deprecated configuration options not rename to new one (Backport v5.2)

See merge request espressif/esp-idf!27091
2023-11-22 11:33:20 +08:00
Rahul Tank
ecd894a4bd Merge branch 'feature/get_whitelist_size_v5.2' into 'release/v5.2'
feat(nimble): Added API to retrieve the size of the controller's white list (v5.2)

See merge request espressif/esp-idf!26953
2023-11-22 11:15:19 +08:00
Jin Cheng
15b27b1749 feat(bt/bluedroid): Added an API to specify data types for ACL-U traffic 2023-11-21 08:09:24 +00:00
Jiang Jiang Jian
26aa680b5b Merge branch 'bugfix/add_par_check_in_ag_cind_res_v5.2' into 'release/v5.2'
Bugfix/add par check in ag cind res v5.2

See merge request espressif/esp-idf!27256
2023-11-21 16:08:09 +08:00
luomanruo
b7b042f45d ble(fix): deinit crash issue 2023-11-21 15:07:37 +08:00
luomanruo
533b82aae1 ble: update controller log module 2023-11-21 15:06:23 +08:00
luomanruo
17c72d85e4 ble: update c6 h2 lib to 5b1dfd2b, c2 lib to db4e1fb2 2023-11-21 15:06:23 +08:00
luomanruo
564e5c9429 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:06:23 +08:00
darshan
fb6ba3f337 feat(nimble): Added API to retrieve the size of the controller's white list (v5.2) 2023-11-21 12:34:55 +05:30
Jiang Jiang Jian
ba8afdbf81 Merge branch 'bugfix/fix_incorrect_irk_set_v5.2' into 'release/v5.2'
fix(nimble): Fixed issue of incorrect IRK being set (v5.2)

See merge request espressif/esp-idf!27249
2023-11-21 11:16:45 +08:00
Wang Meng Yang
b1bba5fdd3 Merge branch 'bugfix/spp_deinit_crash_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix the crash of invalid access to released resources (v5.2)

See merge request espressif/esp-idf!27250
2023-11-21 09:59:01 +08:00
Jiang Jiang Jian
d4b4fe85af Merge branch 'feature/support_for_32_and_128_bit_custom_uuids_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs (backport v5.2)

See merge request espressif/esp-idf!27229
2023-11-20 17:00:47 +08:00
Jin Cheng
78a3ecb7ff fix(bt/bluedroid): corrected the API documents of profile HFP and A2DP 2023-11-20 11:58:13 +08:00
Jin Cheng
135987b339 fix(bt/bluedroid): Added some argument check in APIs of HFP AG 2023-11-20 11:57:58 +08:00
Rahul Tank
600c7c8828 fix(nimble): Fixed issue of incorrect IRK being set 2023-11-20 08:21:50 +05:30
Jin Cheng
0e61201243 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-17 10:37:28 +08:00
Jiang Jiang Jian
7f8fe9569c Merge branch 'bugfix/fix_some_ble_bugs_v5.2' into 'release/v5.2'
Fixed some BLE bugs (backport v5.2)

See merge request espressif/esp-idf!27195
2023-11-17 10:30:27 +08:00
Jiang Jiang Jian
47ddba60d7 Merge branch 'bugfix/generate_new_irk_across_reboot_v5.2' into 'release/v5.2'
fix(nimble): Generate a new unique IRK for every chip. (v5.2)

See merge request espressif/esp-idf!27116
2023-11-17 10:28:22 +08:00
chenjianhua
d65f8a5fc6 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2758518)
- Fixed power state setting when entering modem sleep
2023-11-16 16:31:25 +08:00
chenjianhua
34d964bf38 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-11-16 16:31:18 +08:00
chenjianhua
48b4693eae 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-16 16:29:47 +08:00
chenjianhua
9ecfa6af81 feat(bt/bluedroid): support clear legacy advertising 2023-11-16 16:29:32 +08:00
muhaidong
2b6feac67c change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-11-16 11:03:44 +08:00
linruihao
7b27e4e66a fix(esp_coex): Fix deprecated configuration options not rename to new one 2023-11-16 02:59:00 +00:00
Rahul Tank
78784a60c0 fix(nimble): Generate a new unique Local IRK for each chip 2023-11-14 10:38:25 +05:30
Jiang Jiang Jian
8da85639a2 Merge branch 'bugfix/build_error_when_enable_ag_and_hf_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix build error when both of the HFP roles are enabled (v5.2)

See merge request espressif/esp-idf!27076
2023-11-13 16:03:12 +08:00
Abhinav Kudnar
c56f226e51 fix(nimble): Handled IRK/LTK deletion based on key availability 2023-11-11 11:43:12 +05:30
Wang Mengyang
9036037a36 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 21:08:01 +08:00
Rahul Tank
db5e8805ed fix(nimble): Initate pairing if encryption fails with reason no pin or key missing 2023-11-09 11:49:51 +05:30
Jiang Jiang Jian
9cd791b6ca Merge branch 'backport/fix_ble_scan_rsp_v5.2' into 'release/v5.2'
Backport/fix ble scan rsp v5.2(backport v5.2)

See merge request espressif/esp-idf!27008
2023-11-09 12:16:19 +08:00
Island
441b0f1ea0 Merge branch 'test/ble_mesh_sar_enh_v5.2' into 'release/v5.2'
update(ble_mesh): Miscellaneous updates/fixes and support SAR enhancement (v5.2)

See merge request espressif/esp-idf!26986
2023-11-09 11:34:01 +08:00
zhanghaipeng
82052a0fc4 fix(bt/bluedroid): Fix ble keysize check 2023-11-08 19:45:38 +08:00
zhanghaipeng
41be2013fd fix(bt/bluedroid): Fix ble adv report evt type 2023-11-08 19:45:29 +08:00
Island
1ae8347bf4 Merge branch 'backport/fix_ble_remove_bond_list_v5.2' into 'release/v5.2'
fix(bt/bluedroid): Fix BLE remove bond list status(backport v5.2)

See merge request espressif/esp-idf!26978
2023-11-08 19:39:59 +08:00
Liu Linyan
d9876ffd53 feat(ble_mesh): Support Bluetooth Mesh SAR enhancement 2023-11-07 19:13:09 +08:00
Liu Linyan
f57acc21d6 fix(ble_mesh): Miscellaneous updates and fixes 2023-11-07 19:13:04 +08:00
Liu Linyan
48960337b8 update(ble_mesh): Remove useless mesh lib copy script 2023-11-07 19:13:00 +08:00
zhanghaipeng
28a8e77021 fix(bt/bluedroid): Fix BLE remove bond list status 2023-11-07 15:57:54 +08:00
Rahul Tank
e9df6d89af fix(nimble): Added check to validate allowed random address 2023-11-04 09:17:03 +05:30
Jiang Jiang Jian
04ead4c281 Merge branch 'feat/add_support_for_host_only_mode_v5.2' into 'release/v5.2'
Feat/add support for host only mode v5.2

See merge request espressif/esp-idf!26881
2023-11-03 20:57:33 +08:00
Jiang Jiang Jian
bfa65bfd0d Merge branch 'bugfix/remove_iram_attr_from_ceva_files_v5.2' into 'release/v5.2'
fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file (v5.2)

See merge request espressif/esp-idf!26838
2023-11-03 20:57:13 +08:00
Island
3d37631967 Merge branch 'bugfix/ble_update_lib_1027_5.2' into 'release/v5.2'
Bugfix/ble update lib 1027 5.2

See merge request espressif/esp-idf!26831
2023-11-03 17:53:23 +08:00
Wang Meng Yang
8a12837745 Merge branch 'feature/include_hf_and_ag_in_single_build_v5.2' into 'release/v5.2'
Feature/include hf and ag in single build v5.2

See merge request espressif/esp-idf!26873
2023-11-03 16:00:21 +08:00
Ilia Lutchenko
0a23da71ac feat(bt/bluedroid): Add new APIs for 32 and 128-bit UUIDs
1. Added new API functions that can add 32 and 128-bit UUID to the EIR data
when these UUIDs are set in SDP.
The old functions that only work with 16-bit UUIDs have been left
unchanged to avoid having to redo code that already utilizes them.

2. Fixed bug with zero handler return in btc_sdp.c
sdp_create_record.handle in tBTA_SDP struct wasn't saved before.
Because of it Bluetooth stack always returned zero handler to
application callback.

Closes https://github.com/espressif/esp-idf/issues/11529
2023-11-02 17:43:55 +01:00
Jin Cheng
b05df37981 feat(bt/bluedroid): Support to build HID Host and HID Device in single binary 2023-11-02 17:32:55 +08:00
Wang Mengyang
8b8c3d6204 feat(bt/bluedroid): Support to build HFP Audio Gateway and Hands Free Unit in single binary 2023-11-02 17:32:48 +08:00
Jin Cheng
b9ed6f722b feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-11-02 11:10:24 +08:00
Rahul Tank
e758c819d9 fix(nimble): remove IRAM_ATTR from npl_os_freertos.c file 2023-11-01 17:36:44 +05:30
luomanruo
3b7e220519 ble: update c2 lib to 6ed444f2 2023-11-01 17:25:24 +08:00
luomanruo
e3d72eada7 ble: update c2 rom.ld 2023-11-01 17:25:17 +08:00
cjin
20ca1c0dfa change(ble): added option for msys buffer source 2023-11-01 17:25:09 +08:00
luomanruo
caaf3fbe69 ble: update c6 h2 lib to 5bd7cb83, c2 lib to 1d31e175 2023-11-01 17:25:01 +08:00
zhanghaipeng
0de2c5092b feat(bt/bluedroid): Display BLE permission check handle in error trace 2023-10-31 19:45:10 +08:00
zhanghaipeng
a2e4a3581b feat(bt/bluedroid): Support BLE gattc notify registration number 2023-10-31 19:42:48 +08:00
zhanghaipeng
b68c026adb fix(bt/bluedroid): Fix key size check in BLE smp 2023-10-31 19:42:34 +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
Jiang Jiang Jian
865d29ea18 Merge branch 'bugfix/update_ble_lib_1018' into 'master'
change(ble): update ble lib on c6 h2 and c2 chip

Closes BLERP-144, BLERP-134, BLERP-143, BLERP-128, BLERP-136, BLERP-135, BLERP-132, BLERP-146, BLERP-147, BLERP-148, BLERP-149, BLERP-150, BLERP-145, BLERP-151, BLERP-152, BLERP-153, BLERP-154, BLERP-155, and BLERP-156

See merge request espressif/esp-idf!26541
2023-10-20 00:40:54 +08:00
Zhi Wei Jian
e925665f94 Merge branch 'bugfix/fix_ble_bond_error_after_reboot' into 'master'
fix(ble/bluedroid): fixed BLE bond error after reboot

Closes CBLE50Y23-58

See merge request espressif/esp-idf!26392
2023-10-19 11:58:16 +08:00
Zim Kalinowski
fa1a3ce0b5 Merge branch 'refactor/components_linux_compatible' into 'master'
Exclude all currently incompatible components from Linux build

Closes IDF-8318 and IDF-5996

See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +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