Commit Graph
31867 Commits
Author SHA1 Message Date
morris 97f74a7fdf Merge branch 'fix/usb_bbpll_light_sleep_backport_v5.4' into 'release/v5.4'
fix(usb_phy): Fixed USB PHY clock during low-power modes (backport to v5.4)

See merge request espressif/esp-idf!52784
2026-09-17 09:59:10 +08:00
morris 7b01a45b2e Merge branch 'feat/usb_fsls_only_backport_v5.4' into 'release/v5.4'
feat(esp_hal_usb): Add option to run FS/LS only host on HS target (backport to v5.4)

See merge request espressif/esp-idf!52791
2026-09-17 09:43:34 +08:00
Island ccad8a5f01 Merge branch 'feat/feat_support_phy_enable_using_regdma_v5.4' into 'release/v5.4'
Feat/feat support phy enable using regdma (5.4)

See merge request espressif/esp-idf!51163
2026-09-16 19:15:44 +08:00
Jiang Jiang Jian db9f2c9795 Merge branch 'fix/roaming_compilation_v5.4' into 'release/v5.4'
Remove duplicate report_len in roaming neighbor handler(v5.4)

See merge request espressif/esp-idf!52118
2026-09-16 14:24:55 +08:00
Jiang Jiang Jian 7af9fcb7ac Merge branch 'fix/fix_ble_retention_dependency_order_v5.4' into 'release/v5.4'
fix(ble): fix ble retention dependency order (5.4)

See merge request espressif/esp-idf!52463
2026-09-15 20:40:25 +08:00
Jiang Jiang Jian 55bf931e69 Merge branch 'fix/sae_pwe_ecc_fail_v5.4' into 'release/v5.4'
fix(wpa_supplicant): Assign correct return value for SAE y-construction failure (v5.4)

See merge request espressif/esp-idf!52360
2026-09-15 20:24:24 +08:00
Tomas Rezucha b3f98785e7 fix(usb_phy): Fixed USB PHY clock during low-power modes
On ESP32-S3, USB PHY is clocked from BBPLL,
however if the BBPLL is not used as CPU clock source,
the power management unit can turn it off.
This commit registers USB as BBPLL consumer so it is not turned off.

Closes https://github.com/espressif/esp-idf/issues/15451
2026-09-15 13:59:58 +02:00
Jiang Jiang Jian 80a7a73469 Merge branch 'bugfix/fix_example_power_save_build_fail_issue_v5.4' into 'release/v5.4'
fix(esp_timer): preserve timer_process_alarm symbol for ldgen(Backport v5.4)

See merge request espressif/esp-idf!52742
2026-09-15 19:17:30 +08:00
Jiang Jiang Jian 1d18c68842 Merge branch 'bugfix/fix_chip_cant_sleep_after_connect_failed_v5.4' into 'release/v5.4'
fix(wifi): fix chip cant sleep when disconnecting at probe process

See merge request espressif/esp-idf!52540
2026-09-15 19:16:34 +08:00
Jiang Jiang Jian 974cc3bd2f Merge branch 'bugfix/wpa_supplicant_upstream_security_issues_v5.4' into 'release/v5.4'
esp_wifi: Port security issues from upstream supplicant (v5.4)

See merge request espressif/esp-idf!52677
2026-09-15 17:03:30 +08:00
tarun.kumar 6faa0fdda7 fix(esp_wifi): remove duplicate report_len in roaming neighbor handler 2026-09-15 16:53:53 +08:00
Jiang Jiang Jian b02075f64e Merge branch 'bugfix/idfci-13866_v5.4' into 'release/v5.4'
backport v5.4: config wakeup gpio pin internal pullup to avoid input floating

See merge request espressif/esp-idf!52776
2026-09-15 16:52:04 +08:00
cjin 9f4e56dabc fix(pau): added always inline attribute to pau_ll.h 2026-09-15 14:29:16 +08:00
Island b65487a0c3 Merge branch 'feat/ble_smp_repairing_hardening_v5.4' into 'release/v5.4'
feat(ble/bluedroid): add Kconfig options for BLE re-pairing hardening (5.4)

See merge request espressif/esp-idf!52419
2026-09-15 14:12:10 +08:00
Jiang Jiang Jian 44d3b497b8 Merge branch 'fix-ieee802154-teardown-order_v5.4' into 'release/v5.4'
ieee802154: Fix teardown order (v5.4)

See merge request espressif/esp-idf!52663
2026-09-15 14:01:11 +08:00
Jin Chen 5820004598 fix(btbb): allow FE retention when wifi enhanced light sleep enabled
(cherry picked from commit 33bfea1b69)

Co-authored-by: cjin <jinchen@espressif.com>
2026-09-15 11:36:18 +08:00
cjin 74b9e617d5 fix(phy): add fe dependency when enable rf with regdma 2026-09-15 11:36:18 +08:00
cjin e90bd169d4 fix(sleep): fix reject trigger when wifi is enabled 2026-09-15 11:36:18 +08:00
zhuanghang 6976c44774 feat(802.15.4): enable switch rf with regdma for 15.4 2026-09-15 11:36:18 +08:00
cjin f57a9f7bb4 fix(phy): added fe set freq reset to rf retention list 2026-09-15 11:36:18 +08:00
cjin d328e25800 feat(phy): support retention module for phy FE retgisters 2026-09-15 11:36:18 +08:00
cjin ff113a01f9 feat(modem): add phy retention related api 2026-09-15 11:36:15 +08:00
Jiang Jiang Jian a41015cc31 Merge branch 'fix/brownout_restore_after_deepsleep_reject_v5.4' into 'release/v5.4'
fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2 (v5.4)

See merge request espressif/esp-idf!52645
2026-09-14 20:25:17 +08:00
cjin 520f9ec6a5 feat(phy): add skip list to sleep phy link context and fix deinit crash 2026-09-14 19:37:59 +08:00
cjin 7d9240e67d feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 2026-09-14 19:37:59 +08:00
cjin 85fece0652 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-09-14 19:37:57 +08:00
cjin fd844bd2d3 feat(modem): rename the sleep modem functions 2026-09-14 19:18:40 +08:00
cjin 740bb89567 feat(phy): added skip method for phy retention list 2026-09-14 19:18:40 +08:00
cjin 5f74a4da51 feat(phy): rename sleep modem state to sleep phy 2026-09-14 19:18:39 +08:00
Tomas Rezucha baddad8fea feat(esp_hal_usb): Add option to run FS/LS only host on HS target
Add function usb_dwc_hal_init_with_config() that takes a bitmap
of configuration flags.
Currently only FS/LS only flag is implemented, but the design
allows extension in the future.
2026-09-14 10:38:18 +02:00
Li Shuai d5d35ec90b fix(unit-test): config wakeup gpio pin internal pullup to avoid input floating 2026-09-14 15:34:42 +08:00
morris ce54ec41f2 Merge branch 'fix/mcpwm_cap_prescale_v5.4' into 'release/v5.4'
fix(mcpwm): correct the wrong capture prescale (v5.4)

See merge request espressif/esp-idf!52507
2026-09-14 15:16:32 +08:00
wuzhenghuiandCursor eece49afa0 fix(esp_hw_support): restore brownout after deep sleep rejection on ESP32-S2
ESP32-S2 disables the brownout detector before deep sleep; if sleep is
rejected, re-init it so BOD is not left disabled (PM-519).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-14 11:38:32 +08:00
Island 1f2a7fffec Merge branch 'change/ble_update_lib_20260904_v5.4' into 'release/v5.4'
change(ble): [AUTO_MR] 20260904 - Update ESP BLE Controller Lib (5.4)

See merge request espressif/esp-idf!52437
2026-09-14 10:36:15 +08:00
Shreeyash Bhakare b0df8ce4fd fix(nimble): Send Prepare Write Request before Execute Write with zero-length data 2026-09-11 15:00:35 +05:30
Rahul Tank 70b2846100 Merge branch 'bugfix/nimble_issues_08092026_v5.4' into 'release/v5.4'
fix few nimble issues 08092026(v5.4)

See merge request espressif/esp-idf!52604
2026-09-11 14:21:06 +05:30
zhaoweiliang 437e433b2a change(ble): [AUTO_MR] Update lib_esp32h2 to acd9a26e 2026-09-11 16:34:36 +08:00
zhaoweiliang 9a0ed2d666 change(ble): [AUTO_MR] Update lib_esp32c6 to acd9a26e 2026-09-11 16:34:24 +08:00
muhaidong c528f45a85 fix(esp_timer): preserve timer_process_alarm symbol for ldgen 2026-09-11 16:10:12 +08:00
Island 861d6a8272 Merge branch 'fix/fxied_wrong_h2_ble_lib_issue_v5.4' into 'release/v5.4'
fix(ble): Check if there are illegal library files in controller lib path (5.4)

See merge request espressif/esp-idf!52189
2026-09-11 14:37:23 +08:00
Astha Verma 218f4c7b74 fix(nimble): Fix nimble HID service discovery 2026-09-11 11:15:56 +05:30
Shu Chen b5b1a7a182 Merge branch 'fix/openthread-udp-host-interface_v5.4' into 'release/v5.4'
fix(openthread): preserve host interface on UDP receive (v5.4)

See merge request espressif/esp-idf!52692
2026-09-11 03:41:48 +00:00
Island cff7bf2381 Merge branch 'feat/opt_prefer_bond_device_when_evicting_overflow_bonds_v5.4' into 'release/v5.4'
fix(bt/bluedroid): prefer disconnected peers when evicting overflow bonds (5.4)

See merge request espressif/esp-idf!52608
2026-09-10 20:51:08 +08:00
Island 1a4553cc4e Merge branch 'fix/esp32-ble-dtm-txbuf-leak_v5.4' into 'release/v5.4'
Fix DTM TX buffer leak in the BLE controller that could cause memory exhaustion and Interrupt WDT timeout during or after DTM TX tests. (5.4)

See merge request espressif/esp-idf!52613
2026-09-10 20:50:46 +08:00
Island 0e295ff16b Merge branch 'bugfix/fix_bluedroid_find_info_format_mismatch_v5.4' into 'release/v5.4'
fix(ble/bluedroid): restore find info PDU stop on UUID format mismatch (5.4)

See merge request espressif/esp-idf!52078
2026-09-10 20:50:28 +08:00
Rahul Tank 3051cb01fa Merge branch 'bugfix/hardware_error_assert_v5.4' into 'release/v5.4'
fix(nimble): Add hardware error event handling as normal event (v5.4)

See merge request espressif/esp-idf!52555
2026-09-10 17:08:48 +05:30
zwx f32bc866b8 fix(openthread): preserve host interface on UDP receive 2026-09-10 16:44:53 +08:00
Richard Allen 4f6b7dc818 TLS: Avoid discarded-qualifiers
Just a build issue fix depending on GCC5+ configuration, fixes:

assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
return discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]

Signed-off-by: Richard Allen <richard@bryghtlabs.com>
2026-09-10 11:33:26 +05:30
Jimi Chen 5d73153f81 SAE: Fix crash due to NULL pointer dereference in H2E parsing
In H2E (Hash-to-Element) mode, sae_parse_commit() parses the optional
Anti-Clogging Token Container by calling sae_parse_token_container().

However, callers of sae_parse_commit() that do not require retrieving
the anti-clogging token (such as PASN initiator/responder and SME auth)
pass NULL for the token and token_len output arguments.

If the peer sends a Commit frame containing a valid Anti-Clogging
Token Container element, sae_parse_token_container() unconditionally
sets *token and *token_len, resulting in a NULL pointer dereference
(SIGSEGV) and crashing wpa_supplicant.

Fix this by adding NULL checks before writing to token and token_len.
Update the debug log to print the token directly using 'pos'.

Fixes: 5e32fb0170f4 ("SAE: Use Anti-Clogging Token Container element with H2E")
Signed-off-by: Amarnath Hullur Subramanyam <amarnathhs@google.com>
2026-09-10 11:33:26 +05:30
Jouni Malinen 35ba8e5032 Require network_ctx and AKMP match for accepting PMKSA entry
When wpa_supplicant was processing EAPOL-Key msg 1/4 with a PMKID
indicated by the AP/Authenticator, a PMKSA for the same AA was accepted
without enforcing matching network_ctx (i.e., same network configuration
block) and AKMP. This could allow misbehaving APs to make wpa_supplicant
use an unacceptable PMKSA entry that was generated for a different
network for AKMP under certain conditions. This could result in showing
a connection to an incorrect network when an attacker has credentials to
one network in wpa_supplicant configuration, but not to another network.

Fix this by accepting the PMKID to set the PMKSA for an association only
if the PMKSA with the same PMKID is for the same network and was
generated using the same AKMP.

Signed-off-by: Jouni Malinen <jouni.malinen@oss.qualcomm.com>
2026-09-10 11:33:26 +05:30