Commit Graph
38907 Commits
Author SHA1 Message Date
Xu Si Yu f6018e4d71 fix(openthread): always reserve null-terminator space when appending escaped args 2026-04-30 11:04:14 +08:00
Xu Si Yu dfa9676416 feat(openthread): align spinel radio caps with RCP CSMA backoff and TX retry support 2026-04-29 20:09:21 +08:00
Xu Si Yu 90e1cca347 fix(openthread): escape CLI arguments and enforce command buffer bounds 2026-04-29 20:09:21 +08:00
zwx ed3756f953 fix(openthread): fix SPI host-RCP communication loss
- 1. H2 SPI slave DMA transaction length insufficient for CMD_RESET
  frame
- 2. H2 SPI slave BUSY race at boot causing permanent deadlock
- 3. H2 INT pin spurious NEGEDGE on chip reset
- 4. H2 SPI slave trans_len exceeding buffer size
- 5. S3 host RST flag handling preventing Spinel-layer reset detection
- 6. S3 stale eventfd events after HardwareReset causing WaitResponse
  timeout
- 7. ot_br missing coprocessor reset failure callback
2026-04-29 19:37:14 +08:00
zwx a8169cd869 fix(openthread): make the code more robust 2026-04-29 19:33:57 +08:00
Zhang Hai Peng 9da2cda499 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(2f683593)
- Fixed read remote feature timeout when using coded phy
- Fixed disconnection issue(0x08) when using 125k coded phy
- Fixed disconnection issue(0x08) when updating connection param
- Fixed disconnection issue(0x08) when using multi connection
- Avoid error when adding duplicate device to whitelist
- Support disable channel assessment by vendor hci
- Support smaller connection interval (3.75 ms)
- Support duplicate exception list in EVT ADV

(cherry picked from commit 658ff8730b)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-04-29 15:15:21 +08:00
gaoxu 180597a1d6 fix(adc): fix ESP32-H2/C5/C61 clock divide error 2026-04-29 12:04:03 +08:00
gaoxu d429607ea0 ci(adc): add adc continuous sample frequency test 2026-04-29 12:03:54 +08:00
ding huan f2d8d9c28f ci: add wifi static tx buffer case 2026-04-28 15:52:04 +08:00
Ashish Sharma dcc46710f7 feat(esp_http_server): adds check for crlf in response creation 2026-04-28 15:14:04 +08:00
Ashish Sharma 9394c12db2 feat(esp_local_ctrl): adds basic unit test app 2026-04-28 15:12:25 +08:00
Ashish Sharma 2d582c3f80 fix(esp_local_ctrl): fixes a potential double free 2026-04-28 15:11:30 +08:00
Ashish Sharma 450ccdcb9a fix(wifi_provisioning): fixes memory leak on OOM 2026-04-28 15:06:12 +08:00
Ashish Sharma bfc62578de fix(wifi_provisioning): fixes potential null dereference on malformed packet 2026-04-28 15:06:12 +08:00
Ashish Sharma 56c3e38561 fix(protocomm): fixes potential issues that can lead to crash during device provisioning 2026-04-28 15:05:14 +08:00
Ashish Sharma 83790f32b6 fix: fixes memory leak with subprotocols 2026-04-28 15:03:31 +08:00
Ashish Sharma dc46dc5135 fix: fixes websocket server possible null dereference 2026-04-28 15:03:28 +08:00
Zhou Xiao 8faeca070d feat(ble): add BLE UART daemon notify API 2026-04-28 13:31:23 +08:00
Zhou Xiao 7f714384f3 docs(ble): document BLE UART bridge usage 2026-04-28 13:31:23 +08:00
Zhou Xiao 7e8bbf2e00 feat(ble): wire BLE UART bridge CLI 2026-04-28 13:31:23 +08:00
Zhou Xiao 3103b1c442 feat(ble): add BLE UART daemon RPC API 2026-04-28 13:31:22 +08:00
Zhou Xiao 75f5de65b2 feat(ble): add BLE UART bridge console 2026-04-28 13:31:22 +08:00
Zhou Xiao 4556970ebb feat(ble): add BLE UART bridge core 2026-04-28 13:31:22 +08:00
Zhi Wei Jian 47dba07536 feat(ble): Support nimble uart service
(cherry picked from commit 9de3eea3de)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-04-28 11:27:52 +08:00
Shen Wei LongandZhou Xiao 276c6f6e18 change(ble_log): update ble log version to 5 for esp ble controller log encoding indication
(cherry picked from commit 836f87cc4a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-04-27 11:43:06 +00:00
Shen Wei Long 00b2ff1fc6 change(ble): [AUTO_MR] Update lib_esp32c6 to 6c6de5d6
(cherry picked from commit 70acbd85f2)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:43:01 +00:00
Shen Wei Long 48c08dddf4 change(ble): [AUTO_MR] Update lib_esp32h2 to 6c6de5d6
(cherry picked from commit f3b2bf78aa)

Co-authored-by: ShenWeilong <shenweilong@espressif.com>
2026-04-27 11:42:55 +00:00
Jiang Jiang Jian 6c4c48231c Merge branch 'docs/update_ble_documentation_v5.2' into 'release/v5.2'
docs(ble): Added BLE 6.0 features support status

See merge request espressif/esp-idf!47503
2026-04-27 17:28:30 +08:00
Mahavir Jain 5b72b65d61 Merge branch 'change/exclude_cve-2025-66442_5.5_v5.2' into 'release/v5.2'
change(mbedtls): adds CVE-2025-66442 to exclude list. (v5.2)

See merge request espressif/esp-idf!47971
2026-04-27 12:35:07 +05:30
Mahavir Jain 6628a2a221 Merge branch 'fix/fix_esp_srp_sec2_auth_bypass_a_mod_n_v5.2' into 'release/v5.2'
fix(esp_srp): reject SRP client public key when A mod N is zero (v5.2)

See merge request espressif/esp-idf!47707
2026-04-27 12:08:13 +05:30
Ashish Sharma 06b3c019b6 change(mbedtls): adds CVE-2025-66442 to exclude list.
The CVE is applicable with Clang using LLVM's select-optimize feature. ESP-IDF uses GCC as default compiler and sets -Os as the default optimisation flag
2026-04-27 14:11:56 +08:00
Ashish Sharma 39b56cbdba fix(esp_srp): reject SRP client public key when A mod N is zero 2026-04-27 13:06:54 +08:00
Mahavir Jain 1edd95fa44 Merge branch 'ci/github-dangerjs-fix-permissions_v5.2' into 'release/v5.2'
ci(github): fix permissions for GitHub-dangerjs (to content read) (v5.2)

See merge request espressif/esp-idf!47924
2026-04-27 10:27:24 +05:30
Kapil Gupta 48ec5b0158 fix(esp_wifi): clean up fragment rx flow 2026-04-25 16:50:44 +05:30
Kapil Gupta f30d0feba0 fix(esp_wifi): Address review comments on MR 2026-04-25 16:50:44 +05:30
Kapil Gupta 217a859342 fix(esp_wifi): Disconnect before sending WPS success event 2026-04-25 16:50:44 +05:30
Kapil Gupta 923587d31e fix(esp_wifi): Address some issues in esp_supplicant WPS states
* Use atomic operations for s_wps_enabled flag access across tasks
  * Add bounds checking on WPS IE length and SSID before copying
  * Validate EAP-Expanded vendor/type and EAP-Request truncation
  * Use new EAP-WSC fragment helpers and length constants for clarity
  * Treat unexpected WSC opcodes/states as recoverable (no FAIL)
  * Use os_zalloc + proper cleanup in wifi_station_wps_init error path
  * Use wpa_hexdump_ascii_key for credential keys to avoid leaking PSK
  * Restore previous wps_type / s_wps_enabled if disable post fails
2026-04-25 16:50:44 +05:30
Kapil Gupta 458f356be0 fix(wps): harden enrollee WSC fragment handling 2026-04-25 16:49:50 +05:30
Kapil Gupta 3a482a6878 ci(esp_wifi): skip timing test if hw not available 2026-04-25 15:19:59 +05:30
Kapil Gupta 8946599135 fix(wpa_supplicant): Add optimizations in fastpsk 2026-04-25 15:19:52 +05:30
Jiang Jiang Jian 969645ebd4 Merge branch 'fix/scan_ft_psk_disconnect_reason_incompatible_security_v5.2' into 'release/v5.2'
fix(wifi): use reason code 210 when AP found but security incompatible (v5.2)

See merge request espressif/esp-idf!47647
2026-04-25 14:29:54 +08:00
Sarvesh Bodakhe fc987e3b1a fix(wifi): use reason 210 when AP found but security incompatible
When an AP is found during a connecting scan but filtered out due to security
mismatch (FT-PSK only with FT disabled, WPA3 without PMF-required,
OWE without MFPR), set authmode_incompatible flag so the disconnect
reason is WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY (210) instead
of WIFI_REASON_NO_AP_FOUND (201).
2026-04-24 19:26:37 +05:30
Jiang Jiang Jian 5c5a4740fa Merge branch 'bugfix/fix_c6_fragment_tx_enable_dhcp_request_fail_issue_v5.2' into 'release/v5.2'
fix(wifi): fix DHCP failure due to fragment TX being enabled on C6 v5.2

See merge request espressif/esp-idf!47804
2026-04-24 20:23:22 +08:00
Jiang Jiang Jian dba77f55c6 Merge branch 'bugfix/validate_ptk_generation_v5.2' into 'release/v5.2'
fix(esp_wifi): fail if ptk derivation fails (v5.2)

See merge request espressif/esp-idf!47855
2026-04-24 20:18:20 +08:00
igor.masar 6141df83e0 feat(soc): add SOC_USB_FSLS_PHY_NUM for USB-OTG targets
Introduce SOC_USB_FSLS_PHY_NUM on ESP32-S2 and ESP32-S3 to expose the
number of FSLS USB_WRAP PHYs available on each target. This separates
FSLS USB_WRAP support from OTG/UTMI support so that downstream code can
gate FSLS PHY handling independently.
2026-04-24 13:39:08 +02:00
Luo Xu 77c06409d1 fix(ble_mesh): fix Friend queue losing segmented messages for LPN
(cherry picked from commit 1f4c6ee31b)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-04-24 17:45:46 +08:00
Tomas Sebestik a749288ebf ci(github): fix permissions for GitHub-dangerjs (to content read) 2026-04-24 09:58:22 +02:00
Zhibin (Ryan) Wen 7c4bae2183 feat(openthread): add test support for esp_netif glue disabled scenario
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-23 21:12:26 +08:00
Zhibin (Ryan) Wen 144de20960 feat(openthread): make esp_netif glue optional
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-23 21:12:26 +08:00
luoxu 7e0e06cf0c feat(ble_mesh): disable BLE 5.0 features for fast_prov_server sdkconfig 2026-04-23 17:02:38 +08:00