Commit Graph

41734 Commits

Author SHA1 Message Date
Zhou Xiao 034342fd5e feat(ble_log): encode HCI direction in ble_log pipeline
Add ble_log_write_hci macro that encodes upstream/downstream direction
in MSB of HCI type byte. Update all 4 callsites (NimBLE + Bluedroid)
to use the new macro. Parser reads MSB to determine direction;
backward compatible (old firmware MSB=0 defaults to "sent").


(cherry picked from commit 8fd5dbb730)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-03-10 14:59:48 +08:00
Jiang Jiang Jian 7a93173401 Merge branch 'bugfix/bredr_cfg_relative_path_v5.3' into 'release/v5.3'
fix: Fix the relative path of esp_bredr_cfg.h (v5.3)

See merge request espressif/esp-idf!46160
2026-03-10 11:32:06 +08:00
Jiang Jiang Jian 0f980ffa7c Merge branch 'fix/fix_an_ot_config_error_v5.3' into 'release/v5.3'
fix(openthread): fix a macro error (v5.3)

See merge request espressif/esp-idf!46081
2026-03-10 11:31:46 +08:00
Jiang Jiang Jian d815219e6a Merge branch 'bugfix/fix_wps_disconnect_during_4way_handshake_v5.3' into 'release/v5.3'
fix(wps): Do not disconnect on WPS success in esp_wifi_wps_disable (v5.3)

See merge request espressif/esp-idf!46368
2026-03-09 11:33:01 +08:00
Sarvesh Bodakhe 016643417f fix(wps): Do not disconnect on WPS success in esp_wifi_wps_disable
When WPS succeeds, wps_finish() already handles disconnect, reconfigure,
and reconnect with the obtained credentials. The subsequent 4-way
handshake starts immediately. However, esp_wifi_wps_disable() (called
from the user's WPS success event handler) was also disconnecting when
status was WPS_STATUS_SUCCESS, killing the in-progress 4-way handshake.

Only disconnect in esp_wifi_wps_disable() when status is WPS_STATUS_PENDING
(i.e., WPS exchange was cancelled mid-way), matching the behavior on master.
2026-03-08 12:50:19 +05:30
Jiang Jiang Jian 12445bd359 Merge branch 'bugfix/fix_blufi_nimble_gatt_pkt_v5.3' into 'release/v5.3'
fix(blufi): Handle flattened ATT write payloads correctly in NimBLE BLUFI host (v5.3)

See merge request espressif/esp-idf!46263
2026-03-06 23:31:36 +08:00
Jiang Jiang Jian dc96f8f573 Merge branch 'bugfix/fix_nimble_opt_include_v5.3' into 'release/v5.3'
fix(nimble): Add header file to expose macros in code. (v5.3)

See merge request espressif/esp-idf!46235
2026-03-05 14:31:13 +08:00
Island e9713b41f6 Merge branch 'bugfix/fix_ble_scan_start_assertion_when_coex_with_wifi' into 'release/v5.3'
Fixed BLE start scan assertion when coex with WiFi v5.3

See merge request espressif/esp-idf!46218
2026-03-05 12:16:22 +08:00
Rahul Tank d24838f13d fix(blufi): Handle flattened ATT write payloads correctly in NimBLE BLUFI host 2026-03-04 11:47:25 +05:30
Rahul Tank affa3b285d fix(nimble): Add header file to expose macros 2026-03-03 16:55:30 +05:30
cjin aae8121e94 fix(ble): fix ble scan assertion when coex with wifi on ESP32-C2 2026-03-03 14:11:09 +08:00
yangfeng 0e518934d2 fix: Fix the relative path of esp_bredr_cfg.h 2026-03-02 09:45:49 +08:00
Xu Si Yu 885b450eb5 fix(openthread): fix a macro error 2026-02-26 18:17:09 +08:00
Rahul Tank c59aab9a07 Merge branch 'bugfix/improve_nimble_examples_v5.3' into 'release/v5.3'
fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples (v5.3)

See merge request espressif/esp-idf!45976
2026-02-25 17:29:45 +05:30
Wang Meng Yang 5b2718496d Merge branch 'bugfix/32k_xtal_to_rtc_slow_v5.3' into 'release/v5.3'
fix(bt): Add some debug logs during A2DP sink decoding(v5.3)

See merge request espressif/esp-idf!45785
2026-02-25 19:10:41 +08:00
Wang Meng Yang 14f020f49b Merge branch 'bugfix/lc_not_wakeup_v5.3' into 'release/v5.3'
fix(ble): Fix restore write-back error caused by memory allocated in PSRAM(v5.3)

See merge request espressif/esp-idf!46003
2026-02-25 19:08:56 +08:00
Martin Vychodil 2e0aefdbaa Merge branch 'feat/nvs_iteration_statistics_examples_v5.3' into 'release/v5.3'
feat(examples/storage): add nvs statistics and iteration examples (v5.3)

See merge request espressif/esp-idf!43677
2026-02-25 17:03:16 +08:00
morris ef099fac8f Merge branch 'bugfix/fix_legacy_touch_driver_stuck_after_dsleep_v5.3' into 'release/v5.3'
fix(legacy_touch): fixed the read stuck issue after deep sleep (v5.3)

See merge request espressif/esp-idf!46012
2026-02-25 16:58:50 +08:00
Rahul Tank 24962cc3fe fix(nimble): Improve safety, fix bugs, and update docs across NimBLE examples
- Remove unused headers from examples
- Improve periodic adv/sync example functionality and readability
- Use ble_hs_id_infer_auto() instead of hardcoded BLE_OWN_ADDR_PUBLIC/RANDOM
- Add ble_hs_util_ensure_addr() calls in on_sync for proper address setup
- Use correct ext adv instance (0 instead of 1) in phy_prph, l2cap_coc, multi_conn
- Fix struct name: ble_gap_periodic_adv_enable_params -> ble_gap_periodic_adv_start_params
- Add CONFIG_BT_NIMBLE_GAP_SERVICE guards around ble_svc_gap_device_name_set
- Fix unsafe AD data parsing with bounds checks in central examples
- Fix UUID matching bugs (off-by-one loop condition and byte order) in
  phy_cent, htp_cent, and proximity_sensor_cent
- Fix ble_multi_conn_cent address type to use dynamic inference
- Remove contradictory sm_sc=0 after sm_sc=1 in ble_multi_adv
- Add CONFIG_BT_NIMBLE_EXT_ADV=y to ble_multi_adv sdkconfig defaults
- Check return values for ble_gap_set_host_feat, nimble_port_init
- Update tutorials and READMEs to match code changes
2026-02-25 13:04:23 +05:30
Rahul Tank 773cb7c129 Merge branch 'bugfix/fix_host_nimble_fixes_v5.3' into 'release/v5.3'
fix(nimble): Fix various issues for security/vulnerability in host (v5.3)

See merge request espressif/esp-idf!45994
2026-02-25 12:48:19 +05:30
xiongweichao 13f32812e6 fix(bt): Add some debug logs during A2DP sink decoding 2026-02-25 10:05:00 +08:00
xiongweichao 91126a706c fix(bt): Replace 32k_xtal with rtc_slow 2026-02-25 10:05:00 +08:00
Martin Vychodil 7a20c6535b Merge branch 'fix/vfs_missing_va_end_v5.3' into 'release/v5.3'
fix(storage/vfs): Remove va_end leak in ioctl caused by early return in macro (v5.3)

See merge request espressif/esp-idf!45524
2026-02-25 03:38:55 +08:00
laokaiyao 5b9b118a2a fix(legacy_touch): fixed the read stuck issue after deep sleep 2026-02-24 13:21:21 +08:00
xiongweichao 7fab4726cc fix(ble): Fix restore write-back error caused by memory allocated in PSRAM 2026-02-24 10:31:56 +08:00
Rahul Tank 77e3d0a120 fix(nimble): Fix various issues for security/vulnerability in host 2026-02-23 14:11:23 +05:30
Jiang Jiang Jian 590ad2fe23 Merge branch 'bugfix/eloop_mem_leak_v5.3' into 'release/v5.3'
fix(esp_wifi): Fix memory leak caused due to eloop (v5.3)

See merge request espressif/esp-idf!45905
2026-02-19 00:38:09 +08:00
Jiang Jiang Jian c9058a645c Merge branch 'feat/support_allocate_memory_from_psram_for_ot_v5.3' into 'release/v5.3'
feat(openthread): support openthread heap allocation from PSRAM (v5.3)

See merge request espressif/esp-idf!45599
2026-02-19 00:10:35 +08:00
Jiang Jiang Jian b199976487 Merge branch 'bugfix/fix_some_wifi_bugs_260213_v5.3' into 'release/v5.3'
fix(wifi): fix some wifi bugs 260213(Backport v5.3)

See merge request espressif/esp-idf!45875
2026-02-19 00:07:23 +08:00
Rahul Tank 32cd5e88d8 Merge branch 'bugfix/fix_nimble_issues_11022026_v5.3' into 'release/v5.3'
fix(nimble): Bugfix/fix nimble issues 11022026 (v5.3)

See merge request espressif/esp-idf!45910
2026-02-18 09:24:23 +05:30
Astha Verma 8a35097d6b fix(nimble): Fix memory leak when enabling gatt caching 2026-02-16 11:24:24 +05:30
Rahul Tank 62de306a94 fix(nimble): Fix tinycrypt compilation issues when enabled 2026-02-16 11:24:13 +05:30
Rahul Tank da0a201dc1 fix(nimble): Fix to not send legacy command incorrectly 2026-02-16 11:23:59 +05:30
Rahul Tank 24dc9725e6 fix(nimble): Handle scenario of simultaneous connect 2026-02-16 11:23:32 +05:30
Rahul Tank 2dc743302e fix(nimble): Add support to allow multiple ext adv 2026-02-16 11:23:20 +05:30
Shreeyash 10befbb888 fix(nimble): delete connection after lookup in ble_gap_conn_broken 2026-02-16 11:23:09 +05:30
Rahul Tank 32cd231a95 fix(nimble): Bugfixes for various issues 2026-02-16 11:22:53 +05:30
Shreyas Sheth 4f0559c87b fix(esp_wifi): Fix memory leak caused due to eloop
- Fix memory leak when eloop timer is in eloop queue and esp_wifi_deinit is
called
- Return error on long timeout
- Fix memory leak when register timeout returns error
2026-02-16 10:51:50 +05:30
wuzhenghui 5f2cd42bd8 fix(soc): link rtc_io_num_map to DRAM 2026-02-14 11:19:22 +08:00
Jiang Jiang Jian e5930c154c Merge branch 'fix/fix_io_wakeup_issues_v5.3' into 'release/v5.3'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep (v5.3)

See merge request espressif/esp-idf!45868
2026-02-13 21:06:08 +08:00
Jiang Jiang Jian a473a32e6c Merge branch 'bugfix/free_sae_commit_queue_v5.3' into 'release/v5.3'
fix(esp_wifi): Fix memory leak for sae commit queue (v5.3)

See merge request espressif/esp-idf!45669
2026-02-13 19:53:44 +08:00
Jiang Jiang Jian 74e0a5d283 Merge branch 'bugfix/wps_disable_at_timeout_v5.3' into 'release/v5.3'
fix(wifi): Disable wps in eloop context during wps abort (v5.3)

See merge request espressif/esp-idf!45843
2026-02-13 19:37:02 +08:00
yinqingzhao d881be5ce0 fix(pm): fix crash issue of esp32 caused by accessing flash in sleep wake process 2026-02-13 15:01:05 +08:00
muhaidong 4e81d5849b fix(wifi): fix some wifi bugs 260213
1. fix some wifi bugs related to csi, twt and bss max idle
2. fix cannot sleep after change ps mode
3. fix memory corruption by avoiding unncessary encryption of Mgmt frames
4. fix regdma contention issue
2026-02-13 14:58:58 +08:00
Sajia 7e55570564 fix(wifi): Disable wps in eloop context during wps timeout 2026-02-13 14:07:17 +08:00
Shreyas Sheth e03330a81c fix(esp_wifi): Fix memory leak for sae commit queue 2026-02-13 14:06:51 +08:00
Jiang Jiang Jian e2d5871bd9 Merge branch 'fix/fix_i2c_modem_clock_ref_count_mismatch_v5.3' into 'release/v5.3'
fix: add reference count control for modem clock devices (v5.3)

See merge request espressif/esp-idf!45536
2026-02-13 14:04:26 +08:00
Jiang Jiang Jian 99f9493009 Merge branch 'fix/fix_cnnt_top_dependency_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix TOP domain to CNNT domain dependency (v5.3)

See merge request espressif/esp-idf!45011
2026-02-13 14:03:28 +08:00
Jiang Jiang Jian adc5128305 Merge branch 'fix/sdmmc_deinit_only_inited_slots_v5.3' into 'release/v5.3'
fix(sdmmc): Deinitialize only initialized slots (sdmmc_host_deinit function) (v5.3)

See merge request espressif/esp-idf!43918
2026-02-13 14:02:56 +08:00
wuzhenghui 9e61f2949e feat(example): add cache safe check for wifi powersave example CI 2026-02-13 12:22:58 +08:00