Commit Graph

1418 Commits

Author SHA1 Message Date
muhaidong 5e59e51b26 fix(wifi): fix scan done or disconnected event miss issue 2026-01-16 12:05:59 +08:00
Li Shuai 677451f5d9 fix(esp_wifi): fix regdma contention issue between modem close rf and soc wakeup caused by default rf delay parameter 2026-01-15 19:39:46 +08:00
Shreyas Sheth 65228af9ab fix(wifi): Fix incorrect allocation of eb due to rsn ie len mismatch 2026-01-14 12:42:31 +05:30
Shreyas Sheth 3190535799 fix(esp_wifi): Fix incorrect deauth reason parsing for station 2026-01-13 12:40:12 +05:30
muhaidong 0090fa27cf fix(wifi): fix lmac tx done assert issue 2026-01-13 11:07:11 +08:00
yinqingzhao a46f67ab91 feat(wifi): update wifi lib for esp32c5 eco3 and esp32c61 eco4 support 2026-01-09 16:34:20 +08:00
yinqingzhao c29d741b13 feat(wifi): update esp32c61 ld files 2026-01-09 16:34:20 +08:00
yinqingzhao d5a9a60531 feat(wifi): update esp32c5 eco3 ld files 2026-01-09 14:06:33 +08:00
Jiang Jiang Jian 382dbc04ea Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue' into 'master'
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...

Closes ESPCS-1007 and ESPCS-997

See merge request espressif/esp-idf!42511
2026-01-08 20:32:04 +08:00
zhangyanjiao 1126b3789a fix(wifi/espnow): fixed the espnow set peer rate memory leak 2026-01-04 12:14:24 +08:00
Akshat Agrawal 805a79dd78 bugfix(wifi): Ensure STA parses the FTM responder capability from the beacon correctly
Closes https://github.com/espressif/esp-idf/issues/17962
2025-12-30 17:34:35 +05:30
Mahavir Jain 4b11cb883d Merge branch 'feature/mbedtls_psa_migration_master' into 'master'
feat(mbedtls): PSA Migration for master branch

Closes IDF-12180, IDF-13706, IDF-11772, IDF-14842, and IDF-11452

See merge request espressif/esp-idf!44153
2025-12-30 14:00:30 +05:30
Ashish Sharma d95cc73add feat: migrates esp_wifi to PSA APIs 2025-12-30 09:31:49 +05:30
sibeibei 348ed317c6 fix(pm): fix rx packet failed when modem state is interrupted by other wakeup sources 2025-12-30 11:26:30 +08:00
Shreyas Sheth 94de5f1219 fix(esp_wifi): Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station 2025-12-29 17:56:48 +05:30
liuning fd1c50d0dc fix(wifi): allow to disable wifi modem clocks if wifi is not inited 2025-12-29 17:14:58 +08:00
Junchi Chen c47b4c37cb fix(wifi): btwt setup respect user configured timeout value; esp32c2 disallow 40bw 2025-12-26 11:05:29 +08:00
yinqingzhao a6b2eb6ad0 refactor(wifi): remove enum values WIFI_BW_HT20 and WIFI_BW_HT40 2025-12-24 14:11:52 +08:00
zhangyanjiao 991cd3b4e8 fix(wifi): fixed the crash issue when send espnow data in HE phymode 2025-12-23 16:09:12 +08:00
zhangyanjiao e93e827185 fix(wifi): fixed the vendor ie length issue 2025-12-16 11:22:33 +08:00
Sarvesh Bodakhe e87ea58a71 fix(wifi): fix memory corruption by avoiding unncessary encryption of Mgmt frames
When wpa_supplicant sends an authentication response for an already
connection station (with keys installed after a successful 4-way
handshake), the Mgmt packet was encrypted unconditionaly based on
'bss->pmf_enable'. This lead to memory corruption since extra space for
the encryption header was assumed even when it was not there.

Fix this by verifying that the packet is actually a robust management
frame before enabling the encryption.
2025-12-14 19:25:31 +05:30
Jiang Jiang Jian 143436c31d Merge branch 'bugfix/invalid_memory_access_supplicant' into 'master'
fix(esp_wifi): Fix some invalid memory access

Closes WIFI-7114

See merge request espressif/esp-idf!43390
2025-12-14 16:00:45 +08:00
Akshat Agrawal f20bb8bf87 bugfix(wifi): Resolve the memory corruption issue in FTM 2025-12-12 14:58:22 +05:30
Jiang Jiang Jian 7f4d4d1899 Merge branch 'bugfix/fix_gcmp_fragment_tx_issue' into 'master'
fix(wifi): fix gcmp fragment rx issue

Closes WIFIBUG-1536, WIFI-7094, and FCS-1806

See merge request espressif/esp-idf!42977
2025-12-11 17:57:27 +08:00
Kapil Gupta b88befde6b fix(esp_wifi): Fix invalid memory accesses in supplicant code 2025-12-10 20:19:56 +05:30
Kapil Gupta 4e1b768353 Merge branch 'bugfix/roaming_app_condition_compilation' into 'master'
Bugfix/roaming app condition compilation

Closes IDFGH-16568 and WIFIBUG-1493

See merge request espressif/esp-idf!42434
2025-12-10 17:49:50 +05:30
muhaidong 19c6ae768b fix(wifi): fix some wapi and fragment issues
1. fix gcmp fragment rx issue
2. support wapi fragment tx and rx
3. fix wapi uskid issue
2025-12-09 15:02:46 +08:00
Kapil Gupta 6ad7b92097 fix(esp_wifi): Change some defaults in roaming app 2025-12-04 17:43:31 +08:00
Kapil Gupta 9c804f1158 fix(esp_wifi): Check conditional compilation for roaming app features 2025-12-04 17:43:31 +08:00
zhangyanjiao 334010d150 fix(wifi): fixed the crash issue when vendor ie is NULL 2025-12-04 14:29:15 +08:00
yinqingzhao d268d9fb76 fix(wifi): fix some bugs related to ampdu 2025-11-28 18:40:56 +08:00
Akshat Agrawal fe340b514f bugfix(wifi): Return to home channel as soon as offchan FTM is completed
- Resolve memory corruption by avoiding integer underflow
2025-11-28 00:18:23 +05:30
yinqingzhao 5e27f6623a fix(wifi): fix get incorrect current band after set bandmode 2025-11-21 19:25:26 +08:00
Akshat Agrawal 6f1618f69d bugfix(wifi): Add the termination dialog token in ASAP FTM
1. Increase the dwell time for Off-chan FTM
2. Perform the Off-Chan FTM in 20Mhz
2025-11-17 15:07:16 +05:30
Jiang Jiang Jian a7e81b99dd Merge branch 'bugfix/ftm_recalib_esp32c5' into 'master'
Re-calibrate FTM for ESP32-C5 (ECO2) to resolve status 5 failures

Closes WIFIBUG-1434

See merge request espressif/esp-idf!43254
2025-11-14 11:10:56 +08:00
Jiang Jiang Jian 388ec4cd6d Merge branch 'ci/rename_wifi_two_duts' into 'master'
ci: rename wifi_two_dut to two_duts

See merge request espressif/esp-idf!43269
2025-11-13 16:54:51 +08:00
Akshat Agrawal 342c82fe95 bugfix(wifi): Re-calibrate FTM for ESP32-C5 (ECO2) 2025-11-13 14:24:20 +05:30
Jiang Jiang Jian 5004daabca Merge branch 'feat/avoid_disconnect_when_set_bandmode' into 'master'
feat(wifi): avoid disconnect when set band mode and fix some wifi bugs

Closes WIFIBUG-1532

See merge request espressif/esp-idf!43073
2025-11-13 13:46:34 +08:00
Jiang Jiang Jian a2d9d85a99 Merge branch 'bugfix/fix_wifi_init_issue' into 'master'
fix(wifi): fix wifi init fail issue

Closes IDFGH-12651

See merge request espressif/esp-idf!37876
2025-11-12 17:50:07 +08:00
yinqingzhao bb2f7e08f5 feat(wifi): avoid disconnect when set band mode and fix some wifi bugs 2025-11-12 14:32:59 +08:00
Chen Yudong d591aaf1ae ci: rename wifi_two_dut to two_duts 2025-11-12 10:05:07 +08:00
sibeibei 4e2f33d445 fix(wifi): fix issue that disarm send wake null timer donot take effect 2025-11-11 17:29:38 +08:00
muhaidong 7b79f8c671 fix(wifi): fix wifi init fail issue
Closes https://github.com/espressif/esp-idf/issues/13643
2025-10-30 17:22:56 +08:00
yinqingzhao 4656a3cc7c fix(wifi): fix some wifi bugs related to bandwidth, twt and regdomain 2025-10-30 10:46:58 +08:00
Jiang Jiang Jian d4b4762707 Merge branch 'bugfix/fix_tkip_fragment_issue' into 'master'
fix(wifi): fix fragment issue with wpa tkip encryption

Closes WIFI-7080 and WIFIBUG-1505

See merge request espressif/esp-idf!42817
2025-10-27 21:26:58 +08:00
Jiang Jiang Jian f5f005247e Merge branch 'docs/remove_doxy_groups_in_espnow' into 'master'
fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style

See merge request espressif/esp-idf!42737
2025-10-27 15:38:29 +08:00
muhaidong 369c6e8300 fix(wifi): fix fragment issue with wpa tkip encryption 2025-10-27 10:40:18 +08:00
zhangyanjiao 345fcf2834 fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style 2025-10-24 10:08:02 +08:00
zhangyanjiao 07c74dfd1a fix(wifi/espnow): fix the crash issue when using espnow off channel tx 2025-10-23 14:30:00 +08:00
Sarvesh Bodakhe 4c3d6c1292 fix(wifi): Add refactoring and migration guide for USD, Offchan_tx, ROC
1. fix(wifi): Rename old NAN configuration to NAN-Sync
  - Rename CONFIG_ESP_WIFI_NAN_ENABLE to CONFIG_ESP_WIFI_NAN_SYNC_ENABLE to indicate
    the support for Synchronized NAN (Wi-Fi Aware).
  - Because the original flag really controls the synchronized feature set, rename it
    to CONFIG_ESP_WIFI_NAN_SYNC_ENABLE so the NAN-Sync and NAN-USD paths can be
    selected independently without confusion.
2. Document esp_wifi_start requirement and fix USD examples
3. Rename nan_callbacks to nan_sync_callbacks
4. Remove the discovery_flag, clarify docs for sync vs USD flows, and add USD start/stop APIs
5. Require esp_wifi_start() before USD start
6. docs(nan): add NAN-USD application examples
7. add migration guide and hints for NAN-USD proto field
8. Improve allow_broadcast documentation
9. Add attention to the API esp_wifi_remain_on_channel
10. fix(wifi): align NAN API renames and docs for v6.0
  - keep shared APIs under esp_wifi_nan_* while reserving
    sync/usd names for mode-specific entry points
  - clarify synchronized-cluster scope in headers, docs, and migration notes (EN/zh-CN)
  - update examples for renamed helpers and WIFI_NAN_SYNC_CONFIG_DEFAULT()
  - rename `wifi_nan_config_t` to `wifi_nan_sync_config_t`
11. Mark NAN-USD as esp-idf experimental feature
2025-10-20 12:46:55 +05:30