Commit Graph

5439 Commits

Author SHA1 Message Date
Island
e4e0bf11c0 Merge branch 'bugfix/fix_read_failed_if_smp_is_disabled' into 'master'
fix(ble/bluedroid): Fixed read or write failed if SMP is disabled

Closes WIFIBUG-1746

See merge request espressif/esp-idf!46128
2026-03-03 11:00:25 +08:00
zhiweijian
ba0537c118 fix(ble/bluedroid): Fixed read or write failed if SMP is disabled 2026-03-02 18:32:20 +08:00
He Binglin
1b547ca0ba Merge branch 'bugfix/esp_idf_s3_deepsleep_dead' into 'master'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs

See merge request espressif/esp-idf!41680
2026-03-02 11:35:53 +08:00
Island
616951585e Merge branch 'bugfix/fix_some_bluedroid_bugs_260121' into 'master'
Bugfix/fix some bluedroid bugs 260121

Closes BLERP-2581

See merge request espressif/esp-idf!45850
2026-03-02 10:36:39 +08:00
Wang Meng Yang
b3b348c650 Merge branch 'bugfix/bredr_cfg_relative_path' into 'master'
fix: Fix the relative path of esp_bredr_cfg.h

See merge request espressif/esp-idf!46038
2026-02-28 17:04:07 +08:00
Island
b25bd4e3bf Merge branch 'feat/ble_bluedroid_log_full_compression_enable' into 'master'
feat(ble_mesh): enable log full compression function for bluedroid host

Closes BLERP-2547

See merge request espressif/esp-idf!45294
2026-02-28 10:18:43 +08:00
zhiweijian
611eef480a fix(ble/bluedroid): fix ISO HCI layer and update Kconfig
- Fix ISO HCI functions and remove unused code
- Fix spelling: BROCASTER to BROADCASTER in Kconfig and headers
- Update common config headers for consistency
2026-02-27 18:00:07 +08:00
zhiweijian
e118d053b3 fix(ble/bluedroid): fix L2CAP, SMP and HCI command issues
- Fix active_count check in l2cu_ble_plcb_active_count
- Restore previous state if connection command fails
- Fix HCI cmd buffer size off-by-one errors
- Fix connect handle length errors
- Fix channel sounding event status handling
- Fix SMP param_len check in smp_rand_back
- Fix spelling: BROCASTER to BROADCASTER in definitions
2026-02-27 17:59:59 +08:00
zhiweijian
e0ccc644a8 fix(ble/bluedroid): fix GAP, advertising and security issues in BTM layer
- Fix adv state restore and reset if start/stop failed
- Fix periodic adv v2 event without PAWR feature enabled
- Fix periodic adv sync establish skip handling
- Fix resolving list max_size validation
- Fix RPA addr_type update after host-side resolution
- Fix pairing_state reset if p_dev_rec alloc failed
- Fix ISO cis_cnt limit and ext adv parameter check
- Try to delete smp keys even if not in device list
2026-02-27 17:59:46 +08:00
zhiweijian
6242e0244c fix(ble/bluedroid): fix GATT protocol and database operation issues
- Fix GATTC read by type length error and rsp pdu format check
- Fix p_cur_handle update in gatts_db_read_attr_value_by_type
- Fix len calculation error in calculate_database_info_size
- Replace gatt_find_the_connected_bda with p_tcb_list iteration
- Send cmd reject if cid is invalid
- Fix param_len check in smp_rand_back
- Remove duplicate uuid compare functions
2026-02-27 17:59:35 +08:00
zhiweijian
1fea299dc9 fix(ble/bluedroid): fix parameter handling and deep copy in BTC layer
- Fix CS and CTE callback deep copy errors in btc_gap_ble
- Fix incorrect parameter check in btc_gattc_prepare_write_char_descr
- Fix conn_handle length error and malloc failure handling
- Fix memcpy error and reset params if malloc failed
- Fix spelling: BROCASTER to BROADCASTER
- Delete unused ISO functions in btc_iso_ble
2026-02-27 17:59:24 +08:00
zhiweijian
c7931bedf5 fix(ble/bluedroid): fix state management and security issues in BTA DM layer
- Fix out-of-bounds read and peer_device cleanup in bta_dm_acl_change
- Fix adv state restore and BTM status usage in bta_dm_ble_advstop
- Fix remove security device failed due to invalid transport
- Rename tBTA_DM_API_BLE_OBSERVE to tBTA_DM_API_BLE_ADVACTION
- Remove unused btm_sec_find_bonded_dev()
2026-02-27 17:59:13 +08:00
zhiweijian
d4f3517da4 fix(ble/bluedroid): fix memory safety and state issues in BTA GATT layer
- Fix use-after-free and double-free in bta_gattc_update_include_service
- Fix heap buffer overflow in GATT database operations
- Fix GATTC cache load attr length check and NVS handle leak
- Fix parameter validation in bta_gattc_uuid_compare
- Ensure all CLCBs are cleaned up on deregister
- Remove unused bta_gattc_open_error
- Unify GATT db count/fill by declaration handle range
- Fix return status in gatts_set_attribute_value
2026-02-27 17:59:02 +08:00
zhiweijian
562cd2eae5 fix(ble/bluedroid): fix parameter validation and cleanup in ISO and CTE APIs
- Add parameter validation in esp_ble_iso_api and esp_ble_cte_api
- Delete unused ISO functions and incorrect parameter checks
- Add host status check in esp_ble_iso_get_callback()
- Fix CTE parameter handling when enable value is 0
2026-02-27 17:58:50 +08:00
zhiweijian
d439a3fcce fix(ble/bluedroid): fix parameter validation and initialization in BLE APIs
- Add parameter validation in esp_gap_ble_api, esp_gattc_api, esp_gatts_api
- Initialize API args to prevent undefined behavior
- Add host status checks in API functions
- Fix memory leak if bluedroid init failed
2026-02-27 17:58:36 +08:00
Linyan Liu
9863c009d9 fix(ble_mesh): Revert some change updated in the commit 0e0fab2ea7 2026-02-27 15:58:07 +08:00
luoxu
f084edd4d4 fix(ble_mesh): fixed configuration of core nums 2026-02-27 15:58:00 +08:00
Island
5d36094661 Merge branch 'fix/iso_regression' into 'master'
fix(ble): Miscellaneous ISO fixes due to some previous changes

See merge request espressif/esp-idf!46068
2026-02-27 12:20:16 +08:00
luoxu
05783fafd7 feat(ble): update log compression for bluedroid 2026-02-27 11:01:27 +08:00
luoxu
4cf88ce078 feat(ble_mesh): enable log full compression function for bluedroid host 2026-02-27 11:01:27 +08:00
Wang Meng Yang
7290e25c41 Merge branch 'bugfix/mistakenly_rejext_peer_auth_req' into 'master'
fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected

See merge request espressif/esp-idf!46039
2026-02-26 09:42:07 +08:00
Linyan Liu
8829f28561 fix(ble): Miscellaneous ISO fixes due to some previous changes 2026-02-26 08:31:51 +08:00
Jin Cheng
588b03d0d8 fix(bt/controller): fixed remote LMP_AU_RAND is mistakely rejected 2026-02-25 11:05:39 +08:00
yangfeng
8e1629ee21 fix: Fix the relative path of esp_bredr_cfg.h 2026-02-25 11:03:41 +08:00
Rahul Tank
684a81b4f3 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:04:11 +05:30
Astha Verma
1de52330b3 fix(nimble): Fix memory leak when enabling gatt caching 2026-02-16 10:57:35 +05:30
Rahul Tank
a440f62fb4 fix(nimble): Fix tinycrypt compilation issues when enabled 2026-02-16 10:57:03 +05:30
Rahul Tank
379943f60f fix(nimble): Fix to not send legacy command incorrectly 2026-02-16 10:55:31 +05:30
Rahul Tank
c3c99ef135 fix(nimble): Handle scenario of simultaneous connect 2026-02-16 10:54:54 +05:30
Rahul Tank
919aa3d450 fix(nimble): Add support to allow multiple ext adv 2026-02-16 10:54:19 +05:30
Shreeyash
8a4eb26a8e fix(nimble): delete connection after lookup in ble_gap_conn_broken 2026-02-16 10:53:53 +05:30
Rahul Tank
9e581d7d68 fix(nimble): Bugfixes for various issues 2026-02-16 10:53:34 +05:30
Jiang Jiang Jian
d7a52218e1 Merge branch 'bugfix/lc_not_wakeup' into 'master'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM

Closes BT-4245

See merge request espressif/esp-idf!45717
2026-02-13 12:32:37 +08:00
Island
2d61b4f9af Merge branch 'fix/ble_mesh_nimble_connection_failed' into 'master'
fix(ble_mesh):fixed nimble connection failed

Closes BLERP-2603

See merge request espressif/esp-idf!45741
2026-02-11 19:43:49 +08:00
Island
26bc88a9ba Merge branch 'feat/fix_esp32c2_rom_rewrite_issue_rebase' into 'master'
Feat/fix esp32c2 rom rewrite issue rebase

See merge request espressif/esp-idf!45635
2026-02-11 10:15:44 +08:00
Rahul Tank
0df16a8085 Merge branch 'fix/mbedtls-esp-random' into 'master'
fix(nimble): Replace use of CTR DRBG with mbedtls_esp_random

See merge request espressif/esp-idf!45000
2026-02-10 14:53:46 +05:30
Wang Meng Yang
e84ebe2a13 Merge branch 'bugfix/add_sink_decode_log' into 'master'
fix(bt): Add some debug logs during A2DP sink decoding

See merge request espressif/esp-idf!45255
2026-02-10 14:16:17 +08:00
hebinglin
baeabe48c3 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-02-10 12:08:03 +08:00
Wang Meng Yang
73e1a7f9c5 Merge branch 'bugfix/32k_xtal_to_rtc_slow' into 'master'
fix(bt): Replace 32k_xtal with rtc_slow

See merge request espressif/esp-idf!45309
2026-02-10 12:06:08 +08:00
Island
056eecb952 Merge branch 'feat/support_bleqabr25_1521' into 'master'
feat(ble/bluedroid): Add an API to resolve RPA

Closes BLERP-2231

See merge request espressif/esp-idf!41775
2026-02-10 11:14:08 +08:00
Frantisek Hrbata
66c0a4d658 Merge branch 'fix/cmakev2_linux_target' into 'master'
fix(cmakev2): linux target fixes

Closes IDFGH-17121

See merge request espressif/esp-idf!45315
2026-02-09 14:09:36 +01:00
luoxu
2af193dac4 fix(ble_mesh):fixed nimble connection failed 2026-02-09 18:00:03 +08:00
cjin
2a0df334e3 feat(ble): apply new method for rom code logic change on ESP32-C2 2026-02-09 10:52:15 +08:00
cjin
b90840a570 feat(ble): support for ble module stripping on ESP32-C2 2026-02-09 08:55:41 +08:00
chenjianhua
7c51dbc350 feat(ble/bluedroid): Add an API to resolve RPA 2026-02-09 00:05:10 +08:00
xiongweichao
4ef57f9c81 fix(bt): Replace 32k_xtal with rtc_slow 2026-02-06 08:24:33 +00:00
xiongweichao
5827a5ad4b fix(bt): Add some debug logs during A2DP sink decoding 2026-02-06 08:24:14 +00:00
xiongweichao
91b9e7be7c fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-06 16:23:24 +08:00
Island
e77c03c224 Merge branch 'feat/disable_non_necessary_build_non_BLE_componment' into 'master'
feat: Removed common_components in bluetooth build-test-rules.yml

See merge request espressif/esp-idf!45627
2026-02-06 14:19:57 +08:00
Island
0d60c16312 Merge branch 'feat/esp_idf_modem_state_reconstruct' into 'master'
refactor modem clock driver

Closes PM-636

See merge request espressif/esp-idf!44185
2026-02-06 12:10:58 +08:00