Commit Graph

301 Commits

Author SHA1 Message Date
muhaidong
2ef0257b0a fix(wifi): fix some wifi bugs 260407 v5.2
1. fix arp and dns affects signaling test issue
2. improve ap chnnel parameter documentation
3. fix set country change ap channel issue
4. fix beacon timeout too long issue
5. only unicast frames count as keep-alive
2026-04-08 10:28:03 +08:00
Sajia
c05d846887 fix(wifi): Update bss max idle timer and add other fixes 2026-04-03 20:20:38 +05:30
Junchi Chen
dc6b20df37 fix(wifi): return specific error in API BPv5.2 2026-03-31 16:41:46 +08:00
zhangyanjiao
b41dae1e43 fix(wifi): fixed the vendor ie length issue 2026-01-27 16:33:32 +08:00
Shreyas Sheth
8f41cb0cfa 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
2026-01-26 16:43:41 +05:30
Akshat Agrawal
bcfe01e826 fix(esp_wifi): NAN improvements and bugfixes
- Add NDP Peer inactivity detection and termination support
- Add NDP Action frames internal retries
- Fix NAN API return status to match with Tx status
- Fix false wait events during NAN datapath setup
- Replace NAN default event handlers with callbacks to
  avoid race conditions between wifi and user tasks
- Fix parsing Availability of third party devices

Closes https://github.com/espressif/esp-idf/issues/17529
2025-10-15 09:55:21 +05:30
Kapil Gupta
ef95431aa6 fix(esp_wifi): Set default nvs value for sae identifier to NULL 2025-09-28 10:52:30 +05:30
Sarvesh Bodakhe
b5f2d82c47 fix(wifi): add GCMP-128 support for SoftAP and some other bugfixes
- GCMP-256 SoftAP support was previously added as part of SAE Extended Key handling.
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED, which was previously taken
  directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-08-28 13:55:22 +05:30
muhaidong
4b82ad6635 fix(wifi): fix open mode rx fragment fail issue 2025-08-06 16:07:04 +08:00
tarun.kumar
fb9c3aeac4 fix(wifi): Sending disconnect event in connect fail and add enterprise check in Suite-B 192-bit certification 2025-08-01 12:48:32 +05:30
tarun.kumar
f5c14ba5a0 fix(softAP): Adjusted authentication mode for wpa-eap version 1 2025-08-01 12:47:11 +05:30
tarun.kumar
f56cd7baa6 feat(wifi): Add SAE-EXT-KEY feature on softAP 2025-07-25 22:04:14 +05:30
Shreyas Sheth
c0657495b6 fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect 2025-07-18 13:50:14 +05:30
sibeibei
0a60a4b167 fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist 2025-07-16 21:03:33 +08:00
wangtao@espressif.com
463c49c7fe fix(wifi): add check for esp_wifi_set_config 2025-07-16 21:01:40 +08:00
akshat
66b7bdffb3 feat(esp_wifi): Add extended SSI support for NAN Services 2025-04-30 15:38:33 +05:30
Linda
5ce608f327 docs: update the API description for esp-wifi_scan_get_ap_records 2025-04-29 14:19:18 +08:00
Shreyas Sheth
241954faa3 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-04-07 12:22:23 +05:30
Sarvesh Bodakhe
27f45e1ab8 fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed 2025-04-06 19:08:55 +05:30
zhangyanjiao
3fda67ee14 docs(wifi): update the description for esp_mesh_send() return value
Closes https://github.com/espressif/esp-idf/issues/14440
2025-03-19 19:13:38 +08:00
tarun.kumar
9bab5268f3 fix(wifi): Modify authmode to sta for sta connect event 2025-03-10 15:07:17 +05:30
Sarvesh Bodakhe
f77aa29905 revert(wifi): Revert support for WPA3 Enterprise authentication modes
This commit reverts the support for 'WIFI_AUTH_WPA3_ENTERPRISE' and
'WIFI_AUTH_WPA2_WPA3_ENTERPRISE'.

This reverts commit d2ba44d9e1.
2025-02-10 16:32:42 +08:00
Sarvesh Bodakhe
806b75938a feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
This event is triggered when external station tries connecting to softAP
with wrong password.

Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2025-01-16 20:13:55 +05:30
Sarvesh Bodakhe
d2ba44d9e1 fix(wifi): Add support to recongize different WPA3 Authentication modes from specs
1. Add support  to recognize APs supporting 'WPA3-Enterprise-Only Mode' and
   'WPA3-Enterprise-Transition Mode' using authmodes WIFI_AUTH_WPA3_ENTERPRISE
   and WIFI_AUTH_WPA2_WPA3_ENTERPRISE, respectively.
2. Add placeholder enums in 'wifi_auth_mode_t' for maintaining
   forward compatibility with minor versions > v5.2
2025-01-09 10:41:28 +05:30
yinqingzhao
53a526e52d feat(wifi): wifi support 80211tx using 11ax rate 2025-01-08 15:19:18 +08:00
wangtao@espressif.com
59e0ed5a6c fix(wifi): fix spiram ignore issue 2025-01-02 16:35:42 +08:00
wangtao@espressif.com
17264b1b74 feat(wifi): fix SPIRAM_IGNORE_NOTFOUND releated config 2025-01-02 16:34:29 +08:00
wangtao@espressif.com
6b8f294eaa change(wifi): change softap default dtim period to 1 2025-01-02 16:09:30 +08:00
wangtao@espressif.com
4014565cd1 feat(wifi): support esp32c2 eco4 wifi bringup sync head 2024-12-03 15:08:00 +08:00
Sarvesh Bodakhe
fca3fab225 fix(wifi): Fix wrong wifi reason codes reported on station and softAP
- Fix wrong reason code reported when softAP issues a disconnect for station
- Fix wrong reason code reported when association timeout happens at station
- Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED
  and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY,
  WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA,
  WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively
- Update wifi documentation related to reason codes
2024-11-26 23:36:54 +05:30
yinqingzhao
8f324ba6ba feat(twt): twt add parameter to enable keep alive 2024-11-20 19:08:56 +08:00
zhangyanjiao
f9ef78528e docs(wifi/espnow): Update the description for ESP-NOW frame 2024-11-14 10:25:56 +08:00
xuxiao
8971a3c724 fix(wifi): fix some wifi bugs and support btwt (v5.2) 2024-08-20 12:16:56 +08:00
aditi
f1d5ffea3d fix(wpa_supplicant):Fix for setting wps status fail when connection fails 2024-07-22 15:26:09 +05:30
Shreyas Sheth
eae5bf962e fix(wifi): Ignore 11R, ENT AP when disabled in sdkconfig 2024-07-18 18:26:23 +05:30
muhaidong
2dbaf58499 fix(wifi): fix configure gcmp failure issue 2024-07-15 21:00:55 +08:00
muhaidong
72d68ad7ce fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-07-15 21:00:47 +08:00
wangtao@espressif.com
cd0ffdac12 feat(wifi): add softap csa&dtim&wait_bcast_data setting and ignore err nodata v5.2 2024-07-05 14:09:33 +08:00
liuning
d506580d65 feat(wifi): support coex pwr 2024-06-28 11:42:05 +08:00
zhangyanjiao
8c958fb8c7 docs(wifi): update the docmentation for mesh API 2024-06-03 11:29:54 +08:00
Sarvesh Bodakhe
f47a4796e5 fix(wifi): Add back WIFI_AUTH_WPA3_EXT_PSK and WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE
Add back above authmodes instead of merging them with WIFI_AUTH_WPA3_PSK in minor releases
during v5.x.

These authmodes will be removed from v6.0
2024-05-30 18:09:42 +05:30
xuxiao
9897fd9c87 fix(wifi): fix some esp32c6 wifi bugs (Backport v5.2) 2024-04-24 14:15:04 +08:00
Li Shuai
f20186fe02 fix: modify some typos to ensure CI pipeline run pass 2024-04-22 12:49:34 +08:00
Li Shuai
4faf042c21 change(wifi): use new retention api to implement wifi mac and bb retention 2024-04-22 12:49:31 +08:00
Sarvesh Bodakhe
8e694cddcc feat(esp_wifi): Add support for WPA3 transition disable and more updates
1. Add support for SAE-PK and WPA3-Enterprise transition disable
2. Add support to handle OWE transition disable indication from AP
2. Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3:
   - Merge 'WIFI_AUTH_WPA3_EXT_PSK' and 'WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE'
     into 'WIFI_AUTH_WPA3_PSK' as per specification.
4. refactor: Backport common changes in scan/connect path from 90cc6158
   - 90cc6158 adds support for Network Introduction Protocl in DPP
2024-03-28 11:38:45 +05:30
Nachiket Kukade
413bcd8fcd feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support
2024-03-26 18:00:10 +05:30
muhaidong
5f32741958 fix(wifi): fix some wifi bugs 230325
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
3. update api esp_wifi_sta_get_rssi docs
2024-03-25 20:36:50 +08:00
Simon H
7e9fdf598e fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes https://github.com/espressif/esp-idf/pull/12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-20 19:43:12 +08:00
Sarvesh Bodakhe
aa2451eb88 fix(esp_wifi): Add support for WPA3 + WPA3_EXT_PSK mixed mode and minor bugfixes
- Add support for WPA3 + WPA3_EXT_PSK mixed mode
- Improvements in scan and connect path as per specifications along with
  minor bugfixes
- When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
  station treats it as WPA2_WPA3_PSK mixed mode.

Closes https://github.com/espressif/esp-idf/issues/12517
2024-01-11 16:51:06 +08:00
Vikram Dattu
504c6a09e1 fix(docs): fixed doxygen warnings in few headers
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
 - Fixed unended `@cond` macro in `esp_err.h`
2023-12-19 13:12:28 +05:30