Zhi Wei Jian
9501b978b2
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
(cherry picked from commit e0ccc644a8 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
9025560b11
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
(cherry picked from commit 6242e0244c )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
90f5b74002
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
(cherry picked from commit 1fea299dc9 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
5c85f0b237
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()
(cherry picked from commit c7931bedf5 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
91436f5d3e
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
(cherry picked from commit d4f3517da4 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
a7c296254a
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
(cherry picked from commit 562cd2eae5 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
Zhi Wei Jian
033eba6d6d
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
(cherry picked from commit d439a3fcce )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-30 16:45:02 +08:00
morris
bc1cfe018c
Merge branch 'ci/ease_restrictions_of_legacy_adc_test_v5.2' into 'release/v5.2'
...
ci(legacy_adc_dac): ease ADC read restriction (v5.2)
See merge request espressif/esp-idf!47118
2026-03-30 10:39:39 +08:00
morris
333e0baf22
Merge branch 'fix/usb_security_backport_v5.2' into 'release/v5.2'
...
fix(usb): USB security fixes from esp-usb (backport v5.2)
See merge request espressif/esp-idf!47101
2026-03-30 10:30:51 +08:00
laokaiyao
858f3602bd
ci(legacy_adc_dac): ease ADC read restriction
2026-03-30 10:18:50 +08:00
Tomas Rezucha
b698de8890
fix(usb): USB security fixes from esp-usb
...
Combination of the following commits:
- c546816048
- 749af3b938
- 234ed4e9d4
- 8f7fe7308d
2026-03-27 13:56:27 +01:00
Jiang Jiang Jian
0f83b52a00
Merge branch 'ci/update_github_permission_v5.2' into 'release/v5.2'
...
ci(github): update workflow permission (v5.2)
See merge request espressif/esp-idf!46932
2026-03-26 17:54:38 +08:00
Jiang Jiang Jian
4eb56dd65f
Merge branch 'bugfix/fix_ble_controller_emi_assert_v5.2' into 'release/v5.2'
...
fix(ble): Fixed BLE assert in "emi.c" when low memory (5.2)
See merge request espressif/esp-idf!46911
2026-03-26 17:54:19 +08:00
Jiang Jiang Jian
b4f69efd64
Merge branch 'fix/use_apb_max_state_for_ble_events_v5.2' into 'release/v5.2'
...
fix(ble): use apb max state for bt and enable should skip (v5.2)
See merge request espressif/esp-idf!46330
2026-03-26 17:53:56 +08:00
Jiang Jiang Jian
cb66025dbb
Merge branch 'fix/set_config_modification_v5.2' into 'release/v5.2'
...
Add some changes in get_config api(v5.2)
See merge request espressif/esp-idf!46737
2026-03-26 11:41:40 +08:00
Rahul Tank
8f3b533370
Merge branch 'bugfix/send_conn_cancel_simul_v5.2' into 'release/v5.2'
...
fix(nimble): Issue connect cancel in case of outstanding master connection (v5.2)
See merge request espressif/esp-idf!46694
2026-03-25 13:06:28 +05:30
Shu Chen
d579e442e8
Merge branch 'feat/use_ot_cmakelists_v5.2' into 'release/v5.2'
...
feat(openthread): use upstream CMakeLists.txt for radio build (v5.2)
See merge request espressif/esp-idf!46596
2026-03-25 04:16:59 +00:00
Island
bb34f1d258
Merge branch 'feat/add_bluedroid_cancel_open_api_v5.2' into 'release/v5.2'
...
feat(ble/bluedroid): Added cancel open function for bluedroid (5.2)
See merge request espressif/esp-idf!46898
2026-03-25 10:33:04 +08:00
Island
2e04956868
Merge branch 'fix/fix_bluedroid_gattc_gatts_coex_example_params_error_v5.2' into 'release/v5.2'
...
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex (5.2)
See merge request espressif/esp-idf!46903
2026-03-25 10:32:39 +08:00
Roland Dobai
389ee4fcfd
Merge branch 'ci/test_unlocked_espdocs' into 'release/v5.2'
...
fix(docs): Updated documentation to unlock esp-docs package constraint
See merge request espressif/esp-idf!46661
2026-03-24 13:57:19 +01:00
Wang Meng Yang
a38108906b
Merge branch 'bugfix/idfci-8990_v5.2' into 'release/v5.2'
...
fix(bt): Fix crash due to functions not placed in IRAM(v5.2)
See merge request espressif/esp-idf!46943
2026-03-24 19:24:22 +08:00
Rahul Tank
02f36a49a1
fix(nimble): Issue connect cancel in case of outstanding master connection
2026-03-24 12:47:03 +05:30
Jiang Jiang Jian
54462beaad
Merge branch 'bugfix/fix_call_spp_start_discovert_twice_crash_v5.2' into 'release/v5.2'
...
fix(bt): fix crash when calling esp_spp_start_discovery twice in succession(v5.2)
See merge request espressif/esp-idf!46670
2026-03-24 14:41:35 +08:00
xiongweichao
94ba5b656c
fix(bt): Fix crash due to functions not placed in IRAM
2026-03-24 12:03:34 +08:00
Xiao Xufeng
f7291a1c9f
ci(github): update workflow permission
2026-03-24 11:34:27 +08:00
Zhang Hai Peng
b30b74353f
fix(ble): Fixed BLE assert in "emi.c" when low memory
...
(cherry picked from commit e3aac6f703 )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-03-23 17:53:13 +08:00
Zhi Wei Jian
64b2e02c8f
fix(bluedroid): printf EXAMPLE_CI_ID, PIPELINE_ID and CHIP_ID
...
(cherry picked from commit 7bb1018948 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-23 17:23:37 +08:00
Zhi Wei Jian
9968fe22b8
fix(ble/bluedroid): Fixed Incorrect use of event parameters in gattc_gatts_coex
...
(cherry picked from commit b218e02b49 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-23 17:23:37 +08:00
Zhi Wei Jian
8cf5e7e627
feat(ble/bluedroid): Added cancel open function for bluedroid
...
(cherry picked from commit a3c09afd85 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-03-23 17:23:21 +08:00
Jiang Jiang Jian
4e4b0c1d5b
Merge branch 'bugfix/oob_in_avrc_v5.2' into 'release/v5.2'
...
backport for fix of bug bounty. (v5.2)
See merge request espressif/esp-idf!46840
2026-03-23 14:30:17 +08:00
Jin Cheng
5cb29df971
fix(bt/bluedroid): fixed possible use of uninitialized stack variables in bt_hf_client_at.c
2026-03-20 20:04:01 +08:00
Jin Cheng
c53d05ae52
fix(bt/bluedroid): fixed possible OOB read in avrc_pars_vendor_cmd
2026-03-20 20:03:58 +08:00
Jakub Kocka
b38f271bde
fix(docs): Added fatfsgen to the toctree
2026-03-19 10:14:08 +01:00
xiongweichao
8996c79204
fix(bt): fix crash when calling esp_spp_start_discovery twice in succession
2026-03-19 04:10:25 +00:00
tarun.kumar
75d0918da3
fix(wifi) : Add some changes in get_config api
2026-03-18 16:05:18 +05:30
Shu Chen
661f1251b3
Merge branch 'feat/ensure_txpower_index_changes_linearly_v5.2' into 'release/v5.2'
...
feat(802.15.4): ensure 154 txpower index changes linearly (v5.2)
See merge request espressif/esp-idf!46144
2026-03-18 09:53:09 +00:00
Jiang Jiang Jian
4346b856db
Merge branch 'bugfix/sae_pwe_method_log_v5.2' into 'release/v5.2'
...
fix(esp_wifi): Add a log to print sae_pwe method used by station for wpa3 connection
See merge request espressif/esp-idf!46698
2026-03-18 16:24:09 +08:00
Wang Meng Yang
49d424d536
Merge branch 'feat/bt_distance_test_v5.2' into 'release/v5.2'
...
feat(bt): Add APIs to read ACL real RSSI and read/write tx power of inq/iscan/page/pscan/ACL (v5.2)
See merge request espressif/esp-idf!46650
2026-03-18 12:21:42 +08:00
Shreyas Sheth
4bdba26000
fix(esp_wifi): Add a log to print sae_pwe method used by station for wpa3 connection
...
- Fix crash due to debug log for rssi while scanning
2026-03-17 12:13:07 +05:30
Jiang Jiang Jian
4e05ccee81
Merge branch 'ci/improve-tests_v5.2' into 'release/v5.2'
...
tests: change wifi tests expect timeout to 60 (v5.2)
See merge request espressif/esp-idf!46587
2026-03-17 10:26:28 +08:00
Jiang Jiang Jian
9e006f5231
Merge branch 'feat/support_wifi_infinite_retry_v5.2' into 'release/v5.2'
...
feat(protocol_examples_common): support infinite retries for example_handler_on_wifi_disconnect (v5.2)
See merge request espressif/esp-idf!46673
2026-03-17 10:26:03 +08:00
Jiang Jiang Jian
be7186e3c7
Merge branch 'bugfix/pm-673_v5.2' into 'release/v5.2'
...
backport v5.2: fix analog i2c master race cause by phy retention link
See merge request espressif/esp-idf!46452
2026-03-17 10:25:35 +08:00
Alexey Gerenkov
271c794769
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260304_v5.2' into 'release/v5.2'
...
feat(tools): update openocd version to v0.12.0-esp32-20260304 (v5.2)
See merge request espressif/esp-idf!46367
2026-03-16 20:28:13 +08:00
Tan Yan Quan
2aa79dd067
feat(protocol_examples_common): support infinite retries for example_handler_on_wifi_disconnect
2026-03-16 19:49:59 +08:00
Tan Yan Quan
7dc149defc
feat(openthread): use heap_caps_calloc_prefer for messagepool
2026-03-16 16:40:22 +08:00
Tan Yan Quan
f6fae3900d
feat(openthread): use explicit source list for RCP build
2026-03-16 16:40:19 +08:00
yangfeng
d7fc14f15d
feat(bt): Add APIs to control transmit power level
...
- API to read ACL real RSSI
- APIs to read/write tx power of inq/iscan/page/pscan/ACL
2026-03-16 16:00:25 +08:00
Jiang Jiang Jian
b5bd797e7b
Merge branch 'bugfix/fix_some_wifi_bugs_260313_v5.2' into 'release/v5.2'
...
fix(wifi): fix some wifi bugs 260313 v5.2(Backport v5.2)
See merge request espressif/esp-idf!46617
2026-03-16 15:00:02 +08:00
Jiang Jiang Jian
588798ecb1
Merge branch 'bugfix/report_hid_close_evt_v5.2' into 'release/v5.2'
...
fix(hid): Fixed HID repeatedly reporting the close event (v5.2)
See merge request espressif/esp-idf!46614
2026-03-16 11:40:48 +08:00
Jiang Jiang Jian
180724fc43
Merge branch 'ci/fix_mqtt_sll_test_v5.x_v5.2' into 'release/v5.2'
...
ci(mqtt): use QoS=1 for control messages in SSL test (v5.2)
See merge request espressif/esp-idf!46512
2026-03-16 11:38:32 +08:00