Commit Graph
39362 Commits
Author SHA1 Message Date
sibeibei ac50e8e922 fix(pm): fix chip cant sleep when disconnecting at probe process&fix scan and connect issue 2026-08-10 17:49:55 +08:00
Jiang Jiang Jian 787bf2a22a Merge branch 'fix/fix_addba_dialog_token_zero_v5.2' into 'release/v5.2'
fix(wifi): fix dialog token of addba request may equal to zero(backport v5.2)

See merge request espressif/esp-idf!51633
2026-08-10 16:34:21 +08:00
Jiang Jiang Jian 50e59f90f4 Merge branch 'feat/bt_in_psram_v5.2' into 'release/v5.2'
feat(bluedroid): Add config to place btu and hci task stack in psram (v5.2)

See merge request espressif/esp-idf!51495
2026-08-10 16:22:38 +08:00
yinqingzhao 348d321f02 fix(wifi): fix dialog token of addba request may equal to zero 2026-08-10 15:44:19 +08:00
Jiang Jiang Jian c73a733022 Merge branch 'bugfix/fix_disconnect_failure_issue_v5.2' into 'release/v5.2'
fix(wifi): fix disconnect failure issue(Backport v5.2)

See merge request espressif/esp-idf!51626
2026-08-10 14:49:15 +08:00
Sajia 9a523897cb fix(wifi): Prevent double free in owe failure path 2026-08-10 11:58:43 +05:30
Zhang Wen Xu 03df9a69ca Merge branch 'feat/add_thread_ssed_ci_test_scenario_v5.2' into 'release/v5.2'
feat: add thread ssed ci testcase scenario (v5.2)

See merge request espressif/esp-idf!51501
2026-08-10 04:34:17 +00:00
sibeibei dc262974f5 feat(phy): update PHY libraries and improve PLL temperature tracking
1. Allow customization of temperature deltas for PHY track PLL.

2. Fix abnormal PHY state which may trigger task watchdog timeout.
2026-08-10 12:25:04 +08:00
Jiang Jiang Jian ffc4be72e2 Merge branch 'bugfix/idfci-10775-fatfs-wl-dyn-buffers-ci-timeout_v5.2' into 'release/v5.2'
fix(storage): mark storage pytest apps flaky in CI (v5.2)

See merge request espressif/esp-idf!48813
2026-08-10 10:42:59 +08:00
Rahul Tank ce22ec9d47 Merge branch 'bugfix/add_nimble_cve_v5.2' into 'release/v5.2'
fix(nimble): Fixes for various NimBLE CVEs (v5.2)

See merge request espressif/esp-idf!51206
2026-08-10 07:05:49 +05:30
muhaidong 7e80aedbed fix(wifi): fix disconnect failure issue 2026-08-07 19:39:31 +08:00
yiwenxiu dab8002df2 ci: adjust ssed ping size ranges for stronger coverage 2026-08-07 14:44:00 +08:00
morris 3bf69dbedf Merge branch 'fix/i2s_gdma_intr_alloc_check_v5.2' into 'release/v5.2'
fix(i2s): add check to gdma callback register (v5.2)

See merge request espressif/esp-idf!51582
2026-08-07 10:02:53 +08:00
yangfeng cd93bd63b9 fix(bt): Fix compatibility with A2DP API legacy usage methods
- Modify the timing of API calls in the A2DP example
- Closes https://github.com/espressif/esp-idf/issues/18786
2026-08-07 08:04:07 +08:00
Jiang Jiang Jian 079b08ede2 Merge branch 'bugfix/fix_smartconfig_stop_assert_issue_v5.2' into 'release/v5.2'
fix(wifi): added start check when calling smartconfig stop (v5.2)

See merge request espressif/esp-idf!51576
2026-08-06 17:13:35 +08:00
laokaiyao a8586986a6 fix(i2s): add check to gdma callback register
Closes https://github.com/espressif/esp-idf/issues/18930
2026-08-06 15:00:04 +08:00
hejiaxin 94c8d6e9b6 feat(bluedroid): Add config to place btu and hci task stack in psram
- Also adjust the osi_thread_stop implementation.
2026-08-06 11:54:39 +08:00
Jiang Jiang Jian ce85184996 Merge branch 'opt/hfp_audio_quality_v5.2' into 'release/v5.2'
change(bt/bluedroid): optimized the HFP example workflow to improve audio quality (v5.2)

See merge request espressif/esp-idf!51553
2026-08-06 11:32:03 +08:00
Jiang Jiang Jian 3c5e6c2728 Merge branch 'feat/ot_rx_sensitivity_v5.2' into 'release/v5.2'
feat(openthread): use the actual receive sensitivity for link quality evaluation (v5.2)

See merge request espressif/esp-idf!51487
2026-08-06 11:26:26 +08:00
Jiang Jiang Jian 7427b84306 Merge branch 'feat/support_pawr_connect_evt_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Support PAWR connection event (5.2)

See merge request espressif/esp-idf!51438
2026-08-06 11:24:34 +08:00
Jiang Jiang Jian 5390a22923 Merge branch 'fix/resolve_issues_reported_via_bbp_v5.2' into 'release/v5.2'
fix(openthread): fix null pointer deref, uninitialized struct, and unbounded strcpy in spinel/RCP code (v5.2)

See merge request espressif/esp-idf!51373
2026-08-06 11:23:01 +08:00
Jiang Jiang Jian b6df7cff06 Merge branch 'fix/154_mac_receive_at_v5.2' into 'release/v5.2'
fix(ieee802154): skip receive_at when rx window already expired (v5.2)

See merge request espressif/esp-idf!51366
2026-08-06 11:22:22 +08:00
Jiang Jiang Jian 541237330e Merge branch 'test/idf-additions-coverage_v5.2' into 'release/v5.2'
test(freertos): expand IDF additions test coverage (v5.2)

See merge request espressif/esp-idf!50824
2026-08-06 11:21:46 +08:00
Jiang Jiang Jian 5911e48eba Merge branch 'fix/fatfs_6682_fat32_overflow_v5.2' into 'release/v5.2'
fix(storage/fatfs): fix FAT32 mount integer overflow (CVE-2026-6682) [v5.2 backport]

See merge request espressif/esp-idf!50449
2026-08-06 11:21:23 +08:00
sonika.rathi e2beec18e2 fix(storage): mark storage pytest apps flaky in CI 2026-08-06 11:17:14 +08:00
Jiang Jiang Jian 02406f2553 Merge branch 'fix/s3_xip_opt_os_startup_v5.2' into 'release/v5.2'
fix(mspi): fixed possible boot failure in some builds when psram is enabled (v5.2)

See merge request espressif/esp-idf!48592
2026-08-06 11:16:36 +08:00
zhangyanjiao bd51d081de fix(wifi): added start check when calling smartconfig stop 2026-08-06 10:13:26 +08:00
Jin Cheng 30aa5ca8b0 change(bt/bluedroid): optimized the HFP example workflow to improve audio quality
Disabled inquiry scan and page scan after SCO connection establishment
to reduce over-the-air bandwidth usage and improve audio quality by
prevent scan activities from interrupting SCO traffic.
2026-08-05 18:03:27 +08:00
zwx 35ec6bc5b7 fix(esp_phy): check hw freq hop done before disabling common clock 2026-08-05 17:46:00 +08:00
Euripedes Rocha 863af334c9 Merge branch 'fix/esp_netif-oom-null-checks-v5.5_v5.2' into 'release/v5.2'
fix(esp_netif): harden NULL and OOM handling in netif APIs (SEC-1189, SEC-1190) (v5.2)

See merge request espressif/esp-idf!50786
2026-08-05 10:29:06 +02:00
Island 2d3581bcb1 Merge branch 'fix/ble_mesh_added_gatt_err_rsp_v5.2' into 'release/v5.2'
fix(ble_mesh): align GATTS read/write response handling with ATT (5.2)

See merge request espressif/esp-idf!51459
2026-08-05 16:03:03 +08:00
zwx 9edde96655 fix(ieee802154): skip receive_at when rx window already expired 2026-08-05 06:59:35 +00:00
Wang Meng Yang 5ce46f2764 Merge branch 'change/refactor_hidh_datapath_v5.2' into 'release/v5.2'
Change/refactor hidh datapath[backport v5.2]

See merge request espressif/esp-idf!51283
2026-08-05 14:23:43 +08:00
Jiang Jiang Jian c791648329 Merge branch 'bugfix/nan_vulnerabilities_v5.2' into 'release/v5.2'
fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx (Backport v5.2)

See merge request espressif/esp-idf!51403
2026-08-05 11:52:24 +08:00
Jiang Jiang Jian b88f87a771 Merge branch 'fix/rtc_retain_mem_sb_fast_wakeup_ptr_v5.2' into 'release/v5.2'
fix(bootloader_support): fix RTC retain mem offset for secure boot fast wakeup (v5.2)

See merge request espressif/esp-idf!51271
2026-08-05 10:44:04 +08:00
Island f030f5f862 Merge branch 'fix/ble_log_compression_add_local_header_file_v5.2' into 'release/v5.2'
feat(ble_log): mirror local compression headers (5.2)

See merge request espressif/esp-idf!50948
2026-08-04 19:48:20 +08:00
yiwenxiu f29b4d994b feat: add thread ssed ci testcase scenario 2026-08-04 16:13:34 +08:00
Euripedes Rocha FilhoandCursor 09550486eb fix(esp_netif): harden NULL and OOM handling in netif APIs
Use a temporary pointer for br_glue port-list realloc so a failure does
not clobber the existing array. Reject NULL mac in esp_netif_set_mac and
validate config->base in esp_netif_new_api before use.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 08:57:02 +02:00
Shu Chen 0ed8606ad6 feat(openthread): use the actual receive sensitivity for link quality evaluation 2026-08-04 14:42:19 +08:00
Wang Meng Yang 1377dac554 Merge branch 'fix/aireview_critical_v5.2' into 'release/v5.2'
fix: Fix some critical bugs in classic bt (v5.2)

See merge request espressif/esp-idf!51293
2026-08-04 14:15:22 +08:00
Luo Xu 3d204ee3d5 feat(ble_log): mirror local compression headers
(cherry picked from commit ee732a4591)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-08-04 11:58:57 +08:00
wanckl c107a30b6e fix(hw_support): spi buslock fix unregister dev api issue 2026-08-04 11:35:45 +08:00
Luo Xu ea5e0f245d fix(ble_mesh): align GATTS read/write response handling with ATT
bt_mesh_bta_gatts_cb did not always answer ATT Read/Write Requests:
- READ: on a callback error it only logged a warning and sent nothing; a
  0-byte read (Read Blob at an offset equal to the value length) also sent
  nothing, although it is a successful empty read.
- WRITE: on a callback error it sent nothing, and a partial/zero write was
  treated as success.
- Both: when the handle was not found or the attribute had no read/write
  callback, the request was silently dropped.

An ATT Request must always be answered:

- READ: len >= 0 is success -> Read Response (a 0-byte read yields an empty
  value); len < 0 -> ATT Error Response carrying the callback's error code
  (-len, since BLE_MESH_GATT_ERR(x) == -x). The copy length is clamped to
  the source buffer size as a defensive bound. If the handle is unknown or
  the attribute has no read callback, respond with INVALID_HANDLE /
  READ_NOT_PERMITTED.
- WRITE: when need_rsp is set, always reply. len == write length -> Write
  Response; otherwise (negative ATT error, partial write, or 0) -> ATT
  Error Response (the negative code, or UNLIKELY for partial/0). If the
  handle is unknown or the attribute has no write callback, respond with
  INVALID_HANDLE / WRITE_NOT_PERMITTED. Write Without Response still sends
  no response.

A non-success status passed to BTA_GATTS_SendRsp is turned into an ATT
Error Response by the GATT layer (gatt_sr_process_app_rsp ->
gatt_send_error_rsp).


(cherry picked from commit ed1f4de3a3)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-08-03 21:43:32 +08:00
Rahul Tank d39a411e53 fix(nimble): Fixes for various NimBLE CVEs 2026-08-03 15:42:51 +05:30
Zhi Wei Jian 4cd9273018 fix(ble/bluedroid): Build LE event mask from host feature macros
(cherry picked from commit 68dff5d798)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-08-03 15:25:36 +08:00
Zhi Wei Jian d17b62dbee feat(ble/bluedroid): Support PAWR connection event
(cherry picked from commit 7da7fa42ac)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-08-03 15:25:35 +08:00
Island 4a270847e9 Merge branch 'feat/update_mesh_lib_to_supported_get_lib_ver_v5.2' into 'release/v5.2'
Feat/update mesh lib to supported get lib ver (5.2)

See merge request espressif/esp-idf!51169
2026-08-03 11:30:56 +08:00
Xiao Xufeng ecab1fec19 fix(mspi): fixed possible boot failure in some builds when psram is enabled
A typical scenario is: when XIP on PSRAM enabled, compiler optimization level is Os. Under certain binary layout, boot hangs and backtrace points to `esp_sleep_config_gpio_isolate`.

The root cause is that, during PSRAM initialization, it calls esp_gpio_reserve, which happens to place before the reported function. However, after call, there is no barrier before the clock adjustment in `mspi_timing_enter_low_speed_mode`. The clock gets changed when the cache is still fetching data, resulting in the corrupted data in the end of the cache line.

This commits add spi_flash_disable_cache as a barrier to make sure the cache transactions is finished before the clock switch.
2026-08-02 03:35:44 +08:00
Akshat Agrawal 0ea62f0b58 fix(nan): Fix bug bounty reported and discovered vulnerabilities in NAN Rx 2026-07-31 12:46:46 +05:30
harshal.patil e37d6e40b0 refactor(esp_system): deduplicate ROM fast wake RTC digest reservation
The digest length and the condition that reserves it at the end of RTC RAM were
duplicated in seven places. Hold the reservation in a hidden Kconfig value that
is zero when the feature does not apply, so every consumer subtracts it
unconditionally, and derive ESP_SECURE_BOOT_DIGEST_LEN from it.
2026-07-31 11:28:31 +08:00