Commit Graph

1368 Commits

Author SHA1 Message Date
zhangyanjiao 2c3f1b72a4 feat(wifi): update wifi lib for vendor ie cb and home channel 2026-04-07 10:21:26 +08:00
zhangyanjiao 0e1d7a5c32 feat(wifi): add new api to return home channel info 2026-04-07 10:10:31 +08:00
zhangyanjiao 1b8f8c5ab8 feat(wifi): Added new API to return value for vendor ie cb 2026-04-07 10:10:23 +08:00
Junchi Chen b8c752c06d fix(wifi): return specific error in API BPv5.5 2026-03-31 17:14:05 +08:00
muhaidong d3a68a86b2 fix(wifi): fix unit test ci memory check fail issue 2026-03-30 16:26:57 +08:00
yinqingzhao c045eb3600 feat(wifi): support skip whole band when scanning 2026-03-25 19:53:38 +08:00
Shreyas Sheth 9d2d4f3077 fix(esp_wifi): Add a log to print sae_pwe method used by station for wpa3 connection
- Fix crash due to debug log for rssi while scanning
2026-03-13 11:57:17 +05:30
Jiang Jiang Jian bea074e64a Merge branch 'bugfix/roc_cancel_error_v5.5' into 'release/v5.5'
fix(esp_wifi): Keep channel validation only for WIFI_ROC_REQ and WIFI_OFFCHAN_TX_REQ

See merge request espressif/esp-idf!45917
2026-03-07 10:16:47 +08:00
Shreyas Sheth b9a357fab7 fix(esp_wifi): Keep channel validation only for WIFI_ROC_REQ and WIFI_OFFCHAN_TX_REQ
- Refactor ROC operation such that WIFI_ROC_CANCEL and WIFI_OFFCHAN_TX_CANCEL
  can be performed without channel validation
2026-03-06 19:46:28 +08:00
tarun.kumar e6963b03c7 fix(roam) : Set and unset roam scan ongoing flag properly 2026-03-04 16:08:25 +05:30
Jiang Jiang Jian b3a14b56d0 Merge branch 'backport/backport_csi_lltf_bit_mode_and_sleep_issue_v5.5' into 'release/v5.5'
Backport/backport csi lltf bit mode and sleep issue v5.5

See merge request espressif/esp-idf!45752
2026-02-10 00:23:06 +08:00
yinqingzhao 94ed32eb32 feat(wifi): add csi lltf bit mode config 2026-02-09 15:26:01 +08:00
sibeibei d7f25f51e5 fix: clear modem RF flag before PMU sleep to prevent open rf failed on next wake-up 2026-02-03 12:08:20 +08:00
Jiang Jiang Jian c1e3d07c4b Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue_v5.5' into 'release/v5.5'
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...

See merge request espressif/esp-idf!45256
2026-01-21 17:03:43 +08:00
Junchi Chen f261c32624 fix(wifi): btwt dwell timeout; esp32c2 disallow 40bw(backport 5.5) 2026-01-19 22:18:03 +08:00
liuning 31769c930d fix(wifi): allow to disable wifi modem clocks if wifi is not inited 2026-01-19 20:07:19 +08:00
muhaidong 1db35d7b8f 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
4. fix lmac tx done assert issue
5. fix scan done or disconnected event miss issue
6. fix offchan action tx memory leak issue
2026-01-19 09:48:45 +08:00
Shreyas Sheth caf4cad3b4 fix(esp_wifi): Backport some wifi fixes
- Fix incorrect allocation of eb due to rsn ie len mismatch
- Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station
- Fix incorrect deauth reason parsing for station
- 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.
2026-01-17 15:51:45 +05:30
zhangyanjiao 3447a47ce3 fix(wifi): fixed the vendor ie length issue 2026-01-16 16:08:07 +08:00
yinqingzhao dd08e83c6f feat(wifi): update wifi lib for esp32c5 v1.2 and esp32c61 v1.1 support 2026-01-16 11:46:55 +08:00
yinqingzhao d09c9f2cfb feat(wifi): update esp32c61 ld files 2026-01-16 11:40:31 +08:00
yinqingzhao f810d59304 feat(wifi): update esp32c5 eco3 ld files 2026-01-16 11:40:31 +08:00
Akshat Agrawal 55bfa88360 bugfix(wifi): Ensure STA parses the FTM responder capability from the beacon correctly 2026-01-13 10:27:28 +05:30
Jiang Jiang Jian b5cd44e993 Merge branch 'bugfix/fix_espnow_set_peer_rate_memory_leak_v5.5' into 'release/v5.5'
fix(wifi/espnow): fixed the espnow set peer rate memory leak (v5.5)

See merge request espressif/esp-idf!44763
2026-01-09 19:44:41 +08:00
Kapil Gupta c9b5b40bc1 fix(esp_wifi): Change some defaults in roaming app
- Closes https://github.com/espressif/esp-idf/issues/17687
2026-01-08 14:41:26 +05:30
Kapil Gupta 9835845d98 fix(esp_wifi): Check conditional compilation for roaming app features 2026-01-08 14:40:36 +05:30
Kapil Gupta 4347dc6ff2 fix(esp_wifi): Cancel roaming_app_periodic_scan_internal_handler correctly 2026-01-08 14:40:36 +05:30
Kapil Gupta cf2c1738c0 fix(esp_wifi): Add some fixes in roaming app 2026-01-08 14:40:36 +05:30
tarun.kumar ddbc41abf2 fix(wifi) : Resetting current bssid for every roaming connection intiated
- Bssid reset after btm or legacy roam
     - Making few changes in CMake for wpa_supplicant and esp_wifi
2026-01-08 14:40:35 +05:30
Kapil Gupta 0ef0d068db fix(esp_wifi): Address some review comments and issues 2026-01-08 14:40:35 +05:30
Kapil Gupta 38302784c7 feat(roaming): ignore WPA2-only APs on transition disable
This commit introduces a new feature to the roaming logic. If the
currently connected AP has the 'transition disable' bit set in its
RSN IE, the roaming logic will now ignore any scanned APs that only
support WPA2-PSK. This prevents a security downgrade when roaming in a
mixed WPA2/WPA3 environment.

A new Kconfig option, CONFIG_ESP_WIFI_IGNORE_WPA2_ONLY_ON_TRANSITION_DISABLE,
has been added to control this feature. It is disabled by default.
2026-01-08 14:40:35 +05:30
Kapil Gupta be1515baf3 fix(roaming_app): resolve issues in blacklisting logic
This commit addresses several issues in the BSSID blacklisting
feature of the roaming application:

- Merged duplicate  functions into a single,
  unified function, resolving a compilation error.
- Corrected  and
  to properly access the  member of the
  struct, fixing invalid memory access.
- Introduced  in Kconfig to enable
  the manual blacklisting feature and made auto-blacklisting
  dependent on it.
- Updated  to use the
  correct BSSID from .
- Optimized the removal of expired blacklist entries by using
   for better efficiency.
2026-01-08 14:40:35 +05:30
Kapil Gupta 91ba3b2d49 fix(esp_wifi): Add blacklist logic in roaming app 2026-01-08 14:40:35 +05:30
zhangyanjiao 801c1cab77 fix(wifi/espnow): fixed the espnow set peer rate memory leak 2026-01-04 14:17:17 +08:00
Jiang Jiang Jian d9a77c8044 Merge branch 'bugfix/invalid_memory_access_supplicant_v5.5' into 'release/v5.5'
fix(esp_wifi): Fix some invalid memory access (v5.5)

See merge request espressif/esp-idf!44274
2025-12-31 16:53:41 +08:00
Chen Yudong dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
Kapil Gupta b209fae993 fix(esp_wifi): Fix invalid memory accesses in supplicant code 2025-12-30 10:24:12 +08:00
zhangyanjiao 0f1ab3136a fix(wifi): fixed the crash issue when send espnow data in HE phymode 2025-12-24 10:51:44 +08:00
Akshat Agrawal b81023c19e bugfix(wifi): Resolve the memory corruption issue in FTM 2025-12-12 15:05:06 +05:30
yinqingzhao 428d1cfbb2 fix(wifi): fix some bugs related to ampdu 2025-12-02 14:46:14 +08:00
Akshat Agrawal 1b3b5a4700 bugfix(wifi): Return to home channel as soon as FTM is completed
- Resolve memory corruption by avoiding integes underflow
2025-11-28 15:41:21 +05:30
yinqingzhao 7edbfa84a3 fix(wifi): fix get incorrect current band after set bandmode 2025-11-21 19:35:12 +08:00
Akshat Agrawal 588c7a2248 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:26:05 +05:30
Akshat Agrawal 54c9981c1a bugfix(wifi): Re-calibrate FTM for ESP32-C5 (ECO2) 2025-11-14 12:36:20 +05:30
yinqingzhao f488b9c1d1 feat(wifi): avoid disconnect when set band mode and fix some wifi bugs 2025-11-14 10:31:50 +08:00
sibeibei f1fb7b3e5e fix(wifi): fix issue that disarm send wake null timer donot take effect 2025-11-12 16:40:51 +08:00
yinqingzhao ebf25673c0 fix(wifi): fix some wifi bugs related bandwidth, twt and regdomain 2025-10-30 19:11:33 +08:00
Jiang Jiang Jian bf7a78682e Merge branch 'bugfix/fix_some_wifi_bugs_1027_v5.5' into 'release/v5.5'
fix(wifi): fix some wifi bugs 1027(Backport v5.5)

See merge request espressif/esp-idf!42927
2025-10-28 13:52:35 +08:00
zhangyanjiao 7b421d2a10 fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style 2025-10-27 21:26:16 +08:00
muhaidong e09463f7e3 fix(wifi): fix some wifi bugs 1027
1. force MAC tx end by set tx frame ACK bit for ESP32
2. fix fragment issue with wpa tkip encryption
2025-10-27 17:16:42 +08:00