Commit Graph
42605 Commits
Author SHA1 Message Date
muhaidong bf225a618c fix(wifi): support weak func for wifi lmac assert 2026-07-06 19:28:49 +08:00
muhaidong 65822e1c82 fix(coex): remove unsupported external coex soc caps 2026-07-06 19:28:27 +08:00
Jiang Jiang Jian 698b47d8fd Merge branch 'fix/ble_mesh_disable_adv_pkt_discard_log_v5.3' into 'release/v5.3'
fix(ble_mesh): Disable warning logging when advertising packets are discarded (5.3)

See merge request espressif/esp-idf!50164
2026-07-06 15:13:29 +08:00
Island 4292cd472c Merge branch 'fix/ble-log-64-bit-io-setup-support_v5.3' into 'release/v5.3'
fix(ble_log): use BIT64 over BIT to support 64-bit IO setup (5.3)

See merge request espressif/esp-idf!50328
2026-07-06 12:23:17 +08:00
Wang Meng Yang 2f00d765d6 Merge branch 'bugfix/bbp_issues_v5.3' into 'release/v5.3'
Bugfix/bbp issues v5.3

See merge request espressif/esp-idf!50192
2026-07-06 11:56:03 +08:00
Wang Meng Yang 91abdc6674 Merge branch 'bugfix/ai_review_btu_common_v5.3' into 'release/v5.3'
fix: Fix the critical issues of btu and bt_common from AI review report (v5.3)

See merge request espressif/esp-idf!50125
2026-07-06 10:48:27 +08:00
Wang Meng Yang d08de8e58a Merge branch 'bugfix/hfp_example_ci_v5.3' into 'release/v5.3'
fix: Fix the HFP example fails to discovery target device (v5.3)

See merge request espressif/esp-idf!50292
2026-07-06 10:41:17 +08:00
morris 7eb9c39f54 Merge branch 'feature/dma2d_ppa_sleep_retention_support_v5.3' into 'release/v5.3'
feat(ppa): add sleep retention support for DMA2D and PPA (v5.3)

See merge request espressif/esp-idf!50358
2026-07-06 10:27:20 +08:00
Song Ruo Jing 9516083cb1 feat(ppa): add sleep retention support for DMA2D and PPA 2026-07-03 20:36:32 +08:00
Rahul Tank 69d6deb7e6 Merge branch 'bugfix/queue_att_cmd_v5.3' into 'release/v5.3'
feat(nimble): Defer all ATT commands until connection event is sent to GAP layer (v5.3)

See merge request espressif/esp-idf!48180
2026-07-03 16:07:05 +05:30
Jiang Jiang Jian 0716e14bc6 Merge branch 'backport/backport_some_wifi_changes_260701_v5.3' into 'release/v5.3'
backport/backport_some_wifi_changes_260701_v5.3(backport v5.3)

See merge request espressif/esp-idf!50250
2026-07-03 14:08:52 +08:00
Rahul Tank 9b92b5a02b fix(nimble): Defer Events / ATT related information from stack
Defer Events/ ATT related GAP events from stack until connection
 event is sent to GAP layer
2026-07-03 11:21:08 +05:30
Zhou Xiao c9de85f36a fix(ble_log): use BIT64 over BIT to support 64-bit IO setup
(cherry picked from commit a2876d304e)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-03 12:04:53 +08:00
morris 4e044c7c5c Merge branch 'fix/jpeg_over_size_v5.3' into 'release/v5.3'
fix(jpeg): Fix the jpeg size might exceed the buffer size (backport v5.3)

See merge request espressif/esp-idf!50031
2026-07-03 11:12:39 +08:00
Island 8bddc5dec6 Merge branch 'change/ble_update_lib_20260610_v5.3' into 'release/v5.3'
change(ble): [AUTO_MR] 20260610 - Update ESP BLE Controller Lib (5.3)

See merge request espressif/esp-idf!50223
2026-07-03 00:56:01 +08:00
yangfeng 0773a8d947 fix: Fix the HFP example fails to discovery target device 2026-07-02 15:08:13 +08:00
yinqingzhao c6663ccecd fix(wifi): comment out functions from ld files 2026-07-01 19:35:40 +08:00
yinqingzhao 6fde86c528 fix(wifi): optimizations of csa procedure and keep alive mechanism 2026-07-01 17:21:37 +08:00
yinqingzhao 4e1cab0a9b fix(itwt): fix flow id 0 cannot suspend in itwt example 2026-07-01 12:28:58 +08:00
yinqingzhao ac7d6034a0 fix(wifi): fix scheduling issue when tasks have the same priority as the Wi-Fi task 2026-07-01 12:28:35 +08:00
yinqingzhao d690d0b2d3 fix(phy): fix still put multiple phy init date bin into flash when CONFIG_ESP_PHY_MULTIPLE_INIT_DATA_BIN_EMBED is enabled 2026-07-01 12:27:11 +08:00
yinqingzhao 434aa1f643 feat(phy): support change multiple phy init bin path 2026-07-01 12:26:41 +08:00
Rahul Tank f0fc0e87bd Merge branch 'contrib/github_pr_18761_v5.3' into 'release/v5.3'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v5.3)

See merge request espressif/esp-idf!50154
2026-07-01 09:26:42 +05:30
Zhou Xiao 8de35b14e7 change(ble): [AUTO_MR] Update lib_esp32c6 to a6519790
(cherry picked from commit 226a0483b1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:26 +08:00
Zhou Xiao 92d34dbeca change(ble): [AUTO_MR] Update lib_esp32h2 to a6519790
(cherry picked from commit 8a744e8e93)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-07-01 10:35:26 +08:00
Wang Meng Yang 97b1c64b67 Merge branch 'bugfix/ai_review_a2dp_v5.3' into 'release/v5.3'
fix(bt): Fix the critical issues related to A2DP from AI review report (v5.3)

See merge request espressif/esp-idf!50131
2026-06-30 19:23:18 +08:00
luoxu 9613093789 fix(ble_mesh): Disable warning logging when advertising packets are discarded 2026-06-30 17:00:57 +08:00
Jin Cheng 3ee2494c06 fix(bt/bluedroid): fixed possible OOB read/write in process_l2cap_cmd 2026-06-30 15:13:50 +08:00
Island c43788173b Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v5.3' into 'release/v5.3'
fix(ble/bluedroid): skip identity conversion for static random direct connect (5.3)

See merge request espressif/esp-idf!50082
2026-06-30 10:25:01 +08:00
Island 90491f8457 Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v5.3' into 'release/v5.3'
Fix connection failure when using RPA with whitelist filtering(ESP32) (5.3)

See merge request espressif/esp-idf!50088
2026-06-30 10:23:56 +08:00
Shuai Wang 5ae25bd6b5 fix(nimble): initialize return value in LED characteristic access callback
When the NimBLE stack called this callback for a GATT Write Request, the
uninitialized stack value was interpreted as a non-zero GATT error code,
causing the stack to send BLE_ATT_ERR_UNLIKELY (0x0E) back to the client.
2026-06-29 17:30:33 +05:30
Jiang Jiang Jian de77e11ec6 Merge branch 'feat/optimize_154_debug_v5.3' into 'release/v5.3'
feat(802.15.4): avoid missing abort reason for multievents in 154 debug (v5.3)

See merge request espressif/esp-idf!50114
2026-06-29 16:50:13 +08:00
Jiang Jiang Jian 2d91264c08 Merge branch 'docs/add_semihosting_chapter_v5.3' into 'release/v5.3'
docs(jtag-debugging): add semihosting chapter (v5.3)

See merge request espressif/esp-idf!49891
2026-06-29 15:27:03 +08:00
Jiang Jiang Jian a750c9ec6a Merge branch 'fix/lp_uart_data_bits_v5.3' into 'release/v5.3'
fix(ulp/lp_core): fix LP UART data_bits validation and add full word-length test coverage (v5.3)

See merge request espressif/esp-idf!48034
2026-06-29 15:22:31 +08:00
Jiang Jiang Jian 195f0487e3 Merge branch 'fix/freertos_delete_with_caps_smp_race_v5.3' into 'release/v5.3'
fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel (v5.3)

See merge request espressif/esp-idf!48603
2026-06-29 15:16:11 +08:00
Jiang Jiang Jian e4b92f9646 Merge branch 'fix/disable_i2c_master_clk_while_hw_hop_processing_v5.3' into 'release/v5.3'
fix(esp_phy): check hw freq hop done before disabling common clock (v5.3)

See merge request espressif/esp-idf!48563
2026-06-29 15:12:34 +08:00
yangfeng a099dd706e fix(bt): Fix the critical issues related to A2DP from AI review report
AVDT:
- Roll back CCB allocation when cmd/rsp queue creation fails
- Free media packet on invalid handle in AVDT_WriteReqOpt
- Zero-init timeout failure message before GETCAP callback
- Initialize lcid_tbl to 0xFF to avoid mapping to tc_tbl[0]
BTA/AVRCP:
- Use size_t for AVRC message copy buffer allocation
- Allocate before register in BTA_AvEnable
- Guard BTA_AvRegister callback when enable never completed
A2DP BTC/API:
- Default g_a2dp_on_deinit to true before profile init
- Add shutdown state check in btc_a2dp_sink_shutdown
- Guard A2DP source timer against freed dynamic local param
2026-06-29 15:12:33 +08:00
yangfeng 7f4a58cf27 fix: Fix the critical issues of btu and bt_common from AI review report
- advance connect queue on synchronous connect_cb failure
- lock bta_alarm_hash_map in all BTA timer APIs
- free controller params after stack disable; cleanup on init fail
- handle BTE_InitStack failure and signal init future
- validate HCI remote name event length before parse
- drop stale L2CAP quick-timer alarm events
2026-06-29 14:49:30 +08:00
Rahul Tank e9604aa3b0 Merge branch 'bugfix/fix_gatt_crash_v5.3' into 'release/v5.3'
fix(nimble): Add npl locks to avoid race condition (v5.3)

See merge request espressif/esp-idf!50069
2026-06-29 10:21:13 +05:30
zhuanghang 56a2d897cb feat(802.15.4): avoid missing abort reason for multievents in 154 debug 2026-06-29 10:54:20 +08:00
zhanghaipeng f582365c84 fix(bt): update ESP32 libbtdm_app.a to 4a0f94d5
- Fix connection failure when using RPA with whitelist filtering
- Fix disconnect with reason 0x08 during full scan
- Fix peer RPA resolution failure when advertising with a local identity address
2026-06-29 10:43:57 +08:00
Jin Cheng dc65ed2a64 fix(bt/controller): fixed several BR/EDR controller bugs found by WVT regression tests on ESP32 2026-06-29 10:43:54 +08:00
Island c8d7a8d883 Merge branch 'feat/support_ble_uart_more_interfaces_v5.3' into 'release/v5.3'
feat(bt/ble_uart): Support ble uart more interfaces (5.3)

See merge request espressif/esp-idf!50044
2026-06-29 10:31:47 +08:00
Island dc5b776305 Merge branch 'feat/add_ble_core_6x_feature_for_bluedroid_v5.3' into 'release/v5.3'
Feat/add ble core 6x feature for bluedroid (5.3)

See merge request espressif/esp-idf!50050
2026-06-29 10:31:45 +08:00
Zhang Hai Peng 1824570f90 fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.


(cherry picked from commit 47dd785a18)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:46 +08:00
Zhang Hai Peng b416e7f61b feat(ble/bluedroid): Optimize Bluedroid memory usage
- Delete unused device records (~356B each)


(cherry picked from commit 7d1c0e9a32)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:24 +08:00
Zhang Hai Peng 1130ad21f8 fix(ble/bluedroid): cap Read By Type response length at ATT maximum
Read By Type Response Length is one octet (max 255). When MTU was
large enough to return a long characteristic value in one pair, the
server wrote (UINT8)(value_len + 2) and overflowed (e.g. 513 -> 1),
so the client rejected the PDU as GATT_INVALID_PDU (0x04).

Cap server value to 253 bytes per pair, clamp the length byte, and
continue long reads via Read Blob when the capped size is returned.


(cherry picked from commit 97905afccc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:24:07 +08:00
Zhang Hai Peng 6ac3fd1a18 fix(ble/bluedroid): Fixed potential double Execute Write Response
(cherry picked from commit 0a93ccd3b3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:23:50 +08:00
Zhang Hai Peng 7400a89196 fix(ble/bluedroid): preserve ATT error on prepare write completion
Skip prepare-write echo validation when the GATT stack reports a
non-success status. ATT Error Response carries no prepare-write echo
body (rsp_len=0), so the check incorrectly overwrote errors such as
GATT_INSUF_AUTHENTICATION (0x05) with GATT_INVALID_PDU (0x04).


(cherry picked from commit d5b9350d0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:23:28 +08:00
Zhang Hai Peng ee46100f53 fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
Release the BLE sync semaphore and record HCI status when a
synchronous command is rejected via Command Status, since no
Command Complete event follows.


(cherry picked from commit 29ae92f4ef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-26 20:16:40 +08:00