Commit Graph

20119 Commits

Author SHA1 Message Date
Shreeyash c05421bd88 feat(nimble): support vendor event mask set and vendor HCI event on nimble host 2025-03-15 16:56:13 +05:30
Rahul Tank 5676daedfb fix(nimble): Fix incorrect event deinit in gatt caching discovery 2025-03-14 19:18:24 +05:30
linruihao af82753edd fix(bt): Fix controller disable cause iwdt timeout on esp32 2025-03-14 17:53:24 +08:00
Island 3d2ad66e4c Merge branch 'feature/move_tinycrypt_to_bt_common_v5.0' into 'release/v5.0'
Feature/move tinycrypt to bt common (v5.0)

See merge request espressif/esp-idf!37578
2025-03-14 15:41:56 +08:00
morris 7a59dfe095 Merge branch 'bugfix/sdmmc_high_prio_timeout_v5.0' into 'release/v5.0'
fix(sdmmc): move DMA descriptor refilling into the ISR (v5.0)

See merge request espressif/esp-idf!37691
2025-03-14 11:48:52 +08:00
Island 651fa8fd41 Merge branch 'bugfix/reduce_controller_bin_size_v5.0' into 'release/v5.0'
fix(ble/controller): reduce controller bin size (backport v5.0)

See merge request espressif/esp-idf!37745
2025-03-14 10:59:56 +08:00
Island 62e181e185 Merge branch 'fix/feed_wdts_during_ble_log_dump_c2_v5.0' into 'release/v5.0'
fix(ble): add feed wdts during ble log dump for ESP32-C2 (v5.0)

See merge request espressif/esp-idf!37716
2025-03-13 19:34:15 +08:00
zhiweijian 997d96157e fix(ble/controller): reduce controller bin size 2025-03-13 17:42:36 +08:00
Shen Weilong 32370b047e feat(bt): support hardware ecc acceleration for bt tinycrypt 2025-03-13 17:35:20 +08:00
Island 95cafb5a32 Merge branch 'bugfix/fix_some_ble_bugs_250220_esp32c3_v5.0' into 'release/v5.0'
Fixed some BLE bugs 250220 on esp32c3(b34b7d6) (v5.0)

See merge request espressif/esp-idf!37697
2025-03-13 17:34:20 +08:00
Island b230faf2e1 Merge branch 'feature/update_controller_lib_20250310_v5.0' into 'release/v5.0'
Feature/update controller lib 20250310 (v5.0)

See merge request espressif/esp-idf!37678
2025-03-13 14:24:28 +08:00
Zhou Xiao 35f1090636 fix(ble): add feed wdts during ble log dump for ESP32-C2
(cherry picked from commit e2e8e7dce1)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2025-03-13 12:53:30 +08:00
Island 1f51604a5d Merge branch 'bugfix/disable_dbg_hci_cmd_on_esp32_v5.0' into 'release/v5.0'
Disable debug vendor hci command on ESP32 (v5.0)

See merge request espressif/esp-idf!37626
2025-03-13 10:55:46 +08:00
Jiang Jiang Jian efd8975a65 Merge branch 'fix/add_sta_authmode_for_sta_connect_v5.0' into 'release/v5.0'
Modify authmode to sta for sta connect event(backport v5.0)

See merge request espressif/esp-idf!37653
2025-03-12 22:17:29 +08:00
Wang Meng Yang 36f41bfc45 Merge branch 'bugfix/spp_free_server_slot_err_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed freeing spp server memory when disconnected(v5.0)

See merge request espressif/esp-idf!37612
2025-03-12 17:26:33 +08:00
Wang Meng Yang 7de84062c9 Merge branch 'feat/update_phy_lib_250304_5.0' into 'release/v5.0'
feat(phy): update libphy to add rx sens set api

See merge request espressif/esp-idf!37665
2025-03-12 16:26:19 +08:00
Chen Jian Hua aaa7cb9920 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b34b7d6)
- Fixed enhanced TX power setting and getting for legacy adv
- Fixed BLE assert lld_con.c 2387
- Fixed compatibility issues during the encryption procedure
- Support BLE vendor hci enable CCA command


(cherry picked from commit d672f909f3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-03-12 15:33:18 +08:00
armando 304fc07c45 fix(sdmmc): move DMA descriptor refilling into the ISR 2025-03-12 11:32:13 +08:00
morris 2cec465293 Merge branch 'fix/pr_15513_psram_bss_noinit_calc_issue_v5.0' into 'release/v5.0'
psram: correct .bss and .noinit vaddr calculation (v5.0)

See merge request espressif/esp-idf!37662
2025-03-12 10:32:08 +08:00
Marius Vikhammer be7ea1c1c2 Merge branch 'bug/xtensa_cpu1_sys_lockup_v5.0' into 'release/v5.0'
fix(panic_handler): Updated panic handler to use RTC WDT (v5.0)

See merge request espressif/esp-idf!37125
2025-03-12 10:01:25 +08:00
Shen Wei Long dfaa34b9c6 feat(ble): tell controller if vhci is enabled for ESP32-C2
(cherry picked from commit 892b3a0b0e)

Co-authored-by: Shen Weilong <shenweilong@espressif.com>
2025-03-11 20:53:37 +08:00
Mahavir Jain 76bd80a56b fix(esp_local_ctrl): update for changes in protocomm security2 scheme 2025-03-11 11:26:07 +05:30
Mahavir Jain 14bc1b4b07 fix(provisioning): fix incorrect AES-GCM IV usage in security2 scheme
Using same IV in AES-GCM across multiple invocation of
encryption/decryption operations can pose a security risk. It can help
to reveal co-relation between different plaintexts.

This commit introduces a change to use part of IV as a monotonic
counter, which must be incremented after every AES-GCM invocation
on both the client and the device side.

Concept of patch version for a security scheme has been introduced here
which can help to differentiate a protocol behavior for the provisioning
entity. The security patch version will be available in the JSON
response for `proto-ver` endpoint request with the field
`sec_patch_ver`.

Please refer to documentation for more details on the changes required
on the provisioning entity side (e.g., PhoneApps).
2025-03-11 10:11:02 +05:30
Mahavir Jain d887709d45 fix(protocomm): memory leak issue for session command0 failure case 2025-03-11 10:09:52 +05:30
zwl 86b721cdd9 feat(phy): update libphy to add rx sens set api 2025-03-11 11:53:45 +08:00
armando 85e9d68324 refactor(psram): rename .bss .noinit segments to sections
Closes https://github.com/espressif/esp-idf/pull/15513
2025-03-11 11:49:04 +08:00
Erki Aring 93bdc2dd2d fix(psram): correct heap vaddr calculation
- fixes https://github.com/espressif/esp-idf/issues/15496

Signed-off-by: armando <douyiwen@espressif.com>
2025-03-11 11:48:58 +08:00
Island cedd9a1db4 Merge branch 'feat/support_read_periodic_adv_size_v5.0' into 'release/v5.0'
feat(ble/bluedroid): Support read periodic advertiser list size command (v5.0)

See merge request espressif/esp-idf!37500
2025-03-11 10:52:41 +08:00
tarun.kumar 09f26ece10 fix(wifi): Modify authmode to sta for sta connect event 2025-03-10 22:52:27 +05:30
Sarvesh Bodakhe 88cce45a89 fix(wifi): Resolved WPS connectivity issue with pre-connected stations
This fixes the issue where station was not able connect using WPS if it was
already in connected state.

wifi_wps_scan_done() issues an esp_wifi_disconnect() before
calling esp_wifi_connect() to associate with the newly discovered AP. This
behavior incorrectly triggered a failure event (WIFI_EVENT_STA_WPS_ER_FAILED)
even though the disconnection was part of the normal WPS flow. This commit
prevents sending the false failure event, ensuring expected WPS behavior.
2025-03-10 15:22:22 +05:30
Aditi 51c0d400d8 fix(wpa_suppplicant): Add fix for issue in wps reconnection 2025-03-10 15:22:17 +05:30
chenjianhua f5b012fe41 fix(bt): Update bt lib for ESP32(e250cf1)
- Disable debug vendor hci command
2025-03-10 15:39:41 +08:00
gongyantao 9e3859f666 fix(bt): fixed some issues in bt controller
- fixed the issue where the NULL pointer was deferenced in lc_free state
- avoid accessing released ACL resources in SCO logic
2025-03-10 15:39:32 +08:00
zhanghaipeng 135a1990af feat(ble/bluedroid): Support read periodic advertiser list size command 2025-03-10 14:37:24 +08:00
xiongweichao 18e13f2868 fix(bt/bluedroid): Fixed freeing spp server memory when disconnected 2025-03-10 11:11:54 +08:00
Shen Weilong 8ab6cc3bf3 change(bt): moved porting/ext/tinycrypt into common 2025-03-10 09:21:58 +08:00
wuzhenghui 6f59a9ea51 fix(esp_system): fix possible cache_error by another core accessing flash in esp_restart 2025-03-07 20:31:32 +08:00
Roland Dobai a1577d26bc Merge branch 'fix/remove-unnecessary-select_v5.0' into 'release/v5.0'
fix(esp_system): Remove unnecessary select from esp_system/Kconfig (v5.0)

See merge request espressif/esp-idf!37525
2025-03-07 02:22:45 +08:00
Rahul Tank 0118cb6f1b fix(nimble): Fix SC only pairing failure 2025-03-05 19:48:48 +05:30
Jan Beran 2fcd18fb5a fix(esp_system): Remove unnecessary select from esp_system/Kconfig 2025-03-05 15:17:26 +01:00
Island 3b60206f3b Merge branch 'bugfix/fix_ble_kconfig_v5.0' into 'release/v5.0'
fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior (v5.0)

See merge request espressif/esp-idf!37418
2025-03-05 15:08:05 +08:00
Rahul Tank f55e6c385b Merge branch 'bugfix/fix_link_estab_compile_failure_v5.0' into 'release/v5.0'
fix(nimble): Handle probable release breaking change (v5.0)

See merge request espressif/esp-idf!37438
2025-03-05 14:56:11 +08:00
morris 4ddfbf7941 Merge branch 'fix/build_when_rom_patch_disable_v5.0' into 'release/v5.0'
fix(spi_flash): Fix build fail when rom_patch config disabled (backport v5.0)

See merge request espressif/esp-idf!37111
2025-03-05 10:11:31 +08:00
Jiang Jiang Jian 638bb70758 Merge branch 'bugfix/fix_some_wifi_bugs_250303_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs 250303(Backport v5.0)

See merge request espressif/esp-idf!37444
2025-03-04 17:59:58 +08:00
Jiang Jiang Jian 0d92239a72 Merge branch 'bugfix/bt_ctrl_issues_v5.0' into 'release/v5.0'
fix(bt/controller): fixed some controller bugs on ESP32. (v5.0)

See merge request espressif/esp-idf!37400
2025-03-04 17:44:16 +08:00
C.S.M 64e169c86e refactor(spi_flash): remove redundent flash suspend check 2025-03-03 19:14:19 +08:00
Rahul Tank 99f0ecf35d fix(nimble): Handle probable release breaking change
link_estab event may be handled by customers in application and the previous would break it.
Revert few changes so as to not break the customer's code
2025-03-03 14:57:35 +05:30
muhaidong a6a4cdf3b2 fix(wifi): fix some wifi bugs 250303
1. fix disable external coexist fail issue
2. fix the issue of failing to connect to a shared wep ap
2025-03-03 16:45:58 +08:00
muhaidong 085153fb82 feat(phy): update libphy for RXDC cal opt, no antenna current opt, add cca api 2025-03-03 15:58:23 +08:00
zhanghaipeng d6f803079b fix(ble/controller): Fix BLE Kconfig on ESP32 to avoid unexpected behavior 2025-03-03 11:19:22 +08:00