Commit Graph

28792 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
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
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
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
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 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
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
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
yinqingzhao b3dc0e6640 fix(wpa_supplicant): fix race where STA is freed before WPA3 SAE finishes 2026-02-13 12:13:07 +08:00
wuzhenghui dbc44bd5ba fix(esp_hw_support): fix esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown bad logic 2026-02-13 12:12:17 +08:00
wuzhenghui 3311a0601c fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep 2026-02-13 12:11:55 +08:00
Jiang Jiang Jian 67a274e516 Merge branch 'bugfix/fix_some_wifi_bugs_260212_v5.3' into 'release/v5.3'
fix(wifi): fix some wifi bugs 260212(Backport v5.3)

See merge request espressif/esp-idf!45846
2026-02-13 11:55:50 +08:00
muhaidong fd376549c6 fix(coex): fix external_coex_function build issue 2026-02-12 20:48:20 +08:00
Chen Jichang 10ba17ef50 fix(i80_lcd): fix dma stuck with high pclk 2026-02-12 17:18:45 +08:00
muhaidong 202ccf83ea fix(wifi): fix some wifi bugs 260212
1. force MAC tx end by set tx frame ACK bit for ESP32
2. fix light sleep being rejected by modem protect after wifi start
3. fix pkt key memory leak issue
4. fix fragment issue with wpa tkip encryption
5. fix gcmp fragment rx issue
6. support wapi fragment tx and rx
7. fix wapi uskid issue
8. fix scan done or disconnected event miss issue
9. fix lmac tx done assert issue
2026-02-12 17:12:25 +08:00
muhaidong 20eada4441 fix(wifi): fix esp32s3 ping failure with ip and wifi fragmented packets 2026-02-12 17:12:25 +08:00