Commit Graph

49267 Commits

Author SHA1 Message Date
wuzhenghui
cef1e68aa9 change(esp_hw_support): optimize pmu_sleep RAM cost
(cherry picked from commit 3c2a0cb4f6)
2026-09-15 10:57:00 +08:00
wuzhenghui
39a7850155 change(esp_hw_support): optimize sleep_phy retention static RAM cost
(cherry picked from commit 14e25a8abc)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 10:57:00 +08:00
wuzhenghui
53e8b5440b change(esp_hw_support): optimize retention driver RAM cost
(cherry picked from commit 11c590c053)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 10:55:04 +08:00
Jiang Jiang Jian
b034439eb3 Merge branch 'refactor/owe_scan_v5.5' into 'release/v5.5'
refactor(wifi): Improve owe scan time and refactor code (v5.5)

See merge request espressif/esp-idf!52730
2026-09-15 10:29:52 +08:00
Jiang Jiang Jian
e48ca65781 Merge branch 'feat/feat_support_phy_enable_using_regdma_v5.5' into 'release/v5.5'
Feat/feat support phy enable using regdma (5.5)

See merge request espressif/esp-idf!51164
2026-09-14 20:39:41 +08:00
Jiang Jiang Jian
ceb251cd3a Merge branch 'bugfix/fix_pbac_pm_config_v5.5' into 'release/v5.5'
fix(bt/bluedroid): enable sniff power management for PBAP client (v5.5)

See merge request espressif/esp-idf!52763
2026-09-14 20:27:00 +08:00
Jiang Jiang Jian
b56a9090fc Merge branch 'bugfix/idfci-13866_v5.5' into 'release/v5.5'
backport v5.5: config wakeup gpio pin internal pullup to avoid input floating

See merge request espressif/esp-idf!52773
2026-09-14 20:23:58 +08:00
Wang Meng Yang
c5f9831279 Merge branch 'bugfix/msbc_oob_read_v5.5' into 'release/v5.5'
fix(bt/bluedroid): fixed OOB read dring mSBC sync word check (v5.5)

See merge request espressif/esp-idf!52768
2026-09-14 17:24:43 +08:00
Li Shuai
1e3dd97fbf fix(unit-test): config wakeup gpio pin internal pullup to avoid input floating 2026-09-14 14:51:46 +08:00
Sajia
18728b7551 refactor(wifi): Improve owe scan time and refactor code 2026-09-14 09:43:11 +05:30
Jin Cheng
5d58539407 fix(bt/bluedroid): fixed OOB read dring mSBC sync word check 2026-09-14 12:04:18 +08:00
Jiang Jiang Jian
23d23f3f41 Merge branch 'bugfix/fix_example_power_save_build_fail_issue_v5.5' into 'release/v5.5'
fix(esp_timer): preserve timer_process_alarm symbol for ldgen(Backport v5.5)

See merge request espressif/esp-idf!52741
2026-09-14 11:08:48 +08:00
Jiang Jiang Jian
1e7ba70413 Merge branch 'bugfix/wpa_supplicant_upstream_security_issues_v5.5' into 'release/v5.5'
esp_wifi: Port security issues from upstream supplicant (v5.5)

See merge request espressif/esp-idf!52676
2026-09-14 11:07:50 +08:00
Jiang Jiang Jian
be1c214237 Merge branch 'change/ble_update_lib_20260904_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20260904 - Update ESP BLE Controller Lib (5.5)

See merge request espressif/esp-idf!52438
2026-09-14 10:32:00 +08:00
linruihao
47472bb9e2 fix(bt/bluedroid): enable sniff power management for PBAP client 2026-09-14 10:19:23 +08:00
Marius Vikhammer
7a2d687f53 Merge branch 'fix/esp_task_stack_is_sane_cache_disabled_spm_check_v5.5' into 'release/v5.5'
fix(spi_flash): recognize SPM-resident stacks as cache-disable-safe (v5.5)

See merge request espressif/esp-idf!52739
2026-09-14 09:57:09 +08:00
Jiang Jiang Jian
b4711bcff7 Merge branch 'feat/support-phy-grant-protect_v5.5' into 'release/v5.5'
feat(coex): support phy grant protect (v5.5)

See merge request espressif/esp-idf!52559
2026-09-14 09:46:53 +08:00
Jin Chen
6a0c023b32 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-14 09:04:48 +08:00
cjin
d54aecb301 fix(phy): add fe dependency when enable rf with regdma 2026-09-14 09:04:48 +08:00
cjin
83efcce120 fix(sleep): fix reject trigger when wifi is enabled 2026-09-14 09:04:48 +08:00
zhuanghang
d0693bb07a feat(802.15.4): enable switch rf with regdma for 15.4 2026-09-14 09:04:48 +08:00
cjin
0b4a672549 fix(phy): added fe set freq reset to rf retention list 2026-09-14 09:04:48 +08:00
cjin
f686c2ef91 feat(phy): support retention module for phy FE retgisters 2026-09-14 09:04:44 +08:00
Wang Meng Yang
72ea868c67 Merge branch 'fix/bt_hfp_v5.5' into 'release/v5.5'
fix(bt_hfp): Fix some bugs in hfp (v5.5)

See merge request espressif/esp-idf!52751
2026-09-14 08:04:06 +08:00
Rahul Tank
042e88e6bf Merge branch 'bugfix/nimble_gattc_write_long_zero_len_v5.5' into 'release/v5.5'
fix(nimble): Send Prepare Write Request before Execute Write in write long with zero-length data (v5.5)

See merge request espressif/esp-idf!49768
2026-09-13 11:44:54 +05:30
Jiang Jiang Jian
02c6ca331f Merge branch 'fix/supplicant_checks_v5.5' into 'release/v5.5'
Fixed OOB read on short FT auth and RRM action frames(v5.5)

See merge request espressif/esp-idf!52710
2026-09-11 20:21:47 +08:00
morris
ba899c9781 Merge branch 'fix/adc-sample-freq-kconfig-v5.5' into 'release/v5.5'
fix(soc): correct ESP32 ADC sample frequency thresholds

See merge request espressif/esp-idf!51786
2026-09-11 17:58:18 +08:00
cjin
31694d577a feat(modem): add phy retention related api 2026-09-11 17:55:11 +08:00
cjin
9408bb542b feat(phy): add skip list to sleep phy link context and fix deinit crash 2026-09-11 17:48:24 +08:00
cjin
83e1163fe6 feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 2026-09-11 17:48:24 +08:00
cjin
fb9d3d9ee6 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-09-11 17:48:24 +08:00
cjin
68cb0ad414 feat(modem): rename the sleep modem functions 2026-09-11 17:48:24 +08:00
cjin
7ec5931322 feat(phy): added skip method for phy retention list 2026-09-11 17:48:24 +08:00
cjin
cc9bbf1d2a feat(phy): rename sleep modem state to sleep phy 2026-09-11 17:48:24 +08:00
Shreeyash Bhakare
c07b5cb9d4 fix(nimble): Send Prepare Write Request before Execute Write with zero-length data 2026-09-11 14:58:59 +05:30
hejiaxin
189b9bbd2d fix(bt_hfp): Fix some bugs in hfp
- Fix hfp callback data length
- Fix the solution of unknown AT command
2026-09-11 17:25:56 +08:00
Rahul Tank
a7121aef2c Merge branch 'bugfix/nimble_issues_08092026_v5.5' into 'release/v5.5'
fix few nimble issues 08092026(v5.5)

See merge request espressif/esp-idf!52603
2026-09-11 14:38:57 +05:30
zhaoweiliang
f37458da02 change(ble): [AUTO_MR] Update lib_esp32c5 to acd9a26e 2026-09-11 16:26:04 +08:00
zhaoweiliang
2f25a9fb5d change(ble): [AUTO_MR] Update lib_esp32h2 to acd9a26e 2026-09-11 16:25:44 +08:00
zhaoweiliang
068dadca31 change(ble): [AUTO_MR] Update lib_esp32c6 to acd9a26e 2026-09-11 16:24:54 +08:00
muhaidong
8fc16bc28f fix(esp_timer): preserve timer_process_alarm symbol for ldgen 2026-09-11 16:05:30 +08:00
Guillaume Souchere
d400947773 fix(spi_flash): Check for SPM memory in esp_task_stack_is_sane_cache_disabled 2026-09-11 09:49:28 +02:00
Xu Si Yu
f14deb95a0 feat(coex): support phy grant protect 2026-09-11 14:41:01 +08:00
Richard Allen
08064bc03b 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-11 14:24:58 +08:00
Jimi Chen
9de31f008c 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-11 14:24:58 +08:00
Jouni Malinen
9c825298fc 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-11 14:24:58 +08:00
Aditi
03b3e0217c feat(wpa_supplicant): Match SPA when searching PMKSA cache
Store the supplicant address (SPA) in PMKSA cache entries and match
it when looking up the PMKSA cache.

(partially picked from commit 18cbdbf2b1)
2026-09-11 14:24:58 +08:00
tarun.kumar
f9aee5422d fix(wifi) : Fixed OOB read on short FT auth and RRM action frames 2026-09-11 14:23:40 +08:00
Jiang Jiang Jian
d8b677db7e Merge branch 'bugfix/fix_softap_return_home_channel_failed_v5.5' into 'release/v5.5'
fix(scan): prioritize if1_conn check for home channel return logic and fix(wifi): fix wifi scan and wps connect issue v5.5

See merge request espressif/esp-idf!52674
2026-09-11 14:04:53 +08:00
Jiang Jiang Jian
538027f317 Merge branch 'riscv_panic_bp_fix_v5.5' into 'release/v5.5'
fix(esp_system/panic): ensure breakpoint set from panic handler gets hit afterwards (v5.5)

See merge request espressif/esp-idf!51829
2026-09-11 13:59:52 +08:00