Commit Graph

344 Commits

Author SHA1 Message Date
Nachiket Kukade 774cd19a60 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

Co-authored-by: akshat <akshat.agrawal@espressif.com>
2025-11-05 16:20:16 +05:30
zhangyanjiao d2983514fe fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style 2025-10-21 18:05:48 +08:00
sibeibei cd32a512fb feat(coex): support backgorund scan for coex, fix some issues of scan when connected 2025-10-10 15:29:39 +08:00
Shreyas Sheth 6e434df326 fix(esp_wifi): Set default nvs value for sae identifier to NULL 2025-09-29 11:55:43 +05:30
wangtao@espressif.com 2aa2ed12e9 fix(wifi): add check for esp_wifi_set_config 2025-09-28 15:31:15 +08:00
tarun.kumar 767273f264 fix(esp_wifi): Making action tx and roc API's public and modifying os_time_t datatype for platform and compiler independence 2025-09-19 15:14:30 +05:30
jgujarathi ad3355e915 fix(esp_wifi): Formatting calls to ROC API to match new prototype
- Making necessary changes to DPP module and offchannel tests
  to reflect the changes made to ROC API.
2025-09-19 14:55:30 +05:30
jgujarathi 9996978c92 fix(esp_wifi): Fix issues with offchannel action tx and ROC operations
- Fix issues with sending NULL data on the target channel instead of home
  channel when connected sta attempts action tx or ROC.
- Fix issues with sending action tx on the home channel instead of target
  channel when connected sta attempts action tx.
- Add new status codes to event data of WIFI_EVENT_ROC_DONE
- Adds new request structure esp_wifi_remain_on_channel operation
- Fixes issues with cancelling off channel operations such as ROC or
  action frames TX.
2025-09-19 14:55:26 +05:30
Sarvesh Bodakhe 1dc6256a8b 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-29 23:06:31 +05:30
tarun.kumar 4ad66853df fix(wifi): Sending disconnect event in connect fail and add enterprise check in Suite-B 192-bit certification 2025-08-28 10:58:19 +05:30
muhaidong c497c89984 fix(wifi): fix open mode rx fragment fail issue 2025-08-11 10:27:48 +08:00
tarun.kumar b8d7a33366 feat(wifi): Add SAE-EXT-KEY feature on softAP 2025-07-25 16:46:17 +05:30
tarun.kumar 68d8b1e7ca fix(softAP): Adjusted authentication mode for wpa-eap version 1 2025-07-14 12:28:08 +05:30
Shreyas Sheth 5fb9c3a849 fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect 2025-05-29 12:53:42 +05:30
sibeibei 444dddd87d fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist 2025-05-07 11:57:55 +08:00
zhangyanjiao 41fed6aec5 fix(wifi): fix the noise floor error on ESP32C5
Closes https://github.com/espressif/esp-idf/issues/15594
2025-04-22 11:06:58 +08:00
zhangyanjiao 8bee78e5ea docs(wifi): update the description for esp_mesh_send() return value
Closes https://github.com/espressif/esp-idf/issues/14440
2025-04-22 11:06:58 +08:00
zhangyanjiao c9cc85b68c fix(wifi): fix the ESPNOW data length issue and connection issue
1. Changed the max data length to 1470 bytes for ESP-NOW v2.0
2. Added timer to send wake null after STA received assoc response
2025-04-22 11:06:58 +08:00
akshat 90c008fe8c feat(esp_wifi): Add extended SSI support for NAN Services 2025-04-14 10:57:23 +05:30
Sarvesh Bodakhe f8b1c0976a fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed 2025-04-06 15:21:56 +05:30
yinqingzhao e72c3b4ee4 fix(sniffer): fix channel in rx_ctrl is zero when using sniffer 2025-03-10 11:39:33 +08:00
tarun.kumar a7ee422cff fix(wifi): Modify authmode to sta for sta connect event 2025-02-20 11:38:49 +08:00
Linda afab2130fd docs: update the API description for esp-wifi_scan_get_ap_records 2025-02-19 10:48:43 +08:00
Aditi 3f3c3d9a14 fix(wpa_supplicant): Add some minor fixes in roaming
1) Add a fix in roaming example for 11kvr
    2) Removed length constraint for neighbor report received.
2025-01-20 14:17:27 +08:00
Shreyas Sheth 81070bce92 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-01-15 19:42:11 +05:30
Sarvesh Bodakhe 716c5731ec 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-15 19:42:11 +05:30
yinqingzhao 3fca3a1223 fix(wifi): expend bit width of channel in rxctrl 2025-01-15 19:42:11 +05:30
yinqingzhao f890bbe616 feat(wifi): wifi support 80211tx using 11ax and 11ac rate 2025-01-15 19:42:11 +05:30
wangtao@espressif.com 8886dba9d1 change(wifi): change softap default dtim period to 1 2024-11-29 23:36:51 +08:00
yinqingzhao a34f1eb6f9 feat(wifi): avoid compiling components related to wifi when wifi is not supported 2024-11-21 14:18:41 +08:00
yinqingzhao 30acf8b5d1 feat(twt): twt add parameter to enable keep alive 2024-11-08 12:08:59 +08:00
yinqingzhao 504a248ba1 fix(wifi): modify bandwidth in wifi_ap_record_t 2024-11-08 12:08:59 +08:00
wangtao@espressif.com ea05f7f647 fix(wifi): fix spiram ignore issue 2024-11-08 12:08:59 +08:00
wangtao@espressif.com e65acc9510 feat(wifi): fix SPIRAM_IGNORE_NOTFOUND releated config 2024-10-24 19:49:57 +08:00
Linda a68cf1418b docs: add esp_wifi_types_generic.h to esp_wifi.rst 2024-10-24 09:49:15 +08:00
zhangyanjiao 64c2c99a8a docs(wifi/mesh): make it clear that the root node does not automatically forward IP packets to the external address 2024-10-24 09:49:15 +08:00
zhangyanjiao f2a5280031 fix(wifi): update comments in esp_wifi_types_generic.h 2024-10-23 19:35:37 +08:00
zhangyanjiao 3c72dce383 docs(wifi/espnow): update the documentation for EPS-NOW ERSU and phy rate
Closes https://github.com/espressif/esp-idf/issues/12216
2024-10-23 17:10:00 +08:00
Sarvesh Bodakhe 6797c86135 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-10-21 11:31:17 +08:00
Sarvesh Bodakhe 61a13d7e3b fix(wifi): Add support to recongize different WPA3 Authentication modes from specs
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.
2024-10-17 11:12:29 +05:30
xuxiao 02a88eed4e fix(wifi): add bss color support for softap 2024-10-12 10:34:25 +08:00
zhangyanjiao b4d102796f docs(wifi/espnow): Update the description for ESP-NOW frame 2024-09-29 09:40:57 +08:00
yinqingzhao a8ede32979 fix(wifi): modify some SOC_WIFI_SUPPORT_5G to CONFIG_SOC_WIFI_SUPPORT_5G 2024-09-24 13:14:51 +08:00
jgujarathi 52bcdb9400 refactor(esp_wifi): Cleanup of wifi crypto funcs within wifi libs
- Remove unnecessary funcs from wpa_crypto_funcs_t and consolidate some
  of their usages in wifi libs
2024-09-23 14:24:08 +05:30
yinqingzhao 97e42349aa feat(wifi):wifi add channel bit definition 2024-09-18 20:19:39 +08:00
xuxiao ffb227ebd2 feat(wifi): add support for ap choose 2024-09-13 11:34:18 +08:00
jgujarathi 6547315dde fix(esp_wifi): Stops roaming app upon application initiated disconnect
Stops roaming app when the application initiates a disconnect.
Roaming app if enabled will be restarted when the station reconnects again.
2024-09-11 11:39:43 +08:00
wangtao@espressif.com 82a951447a feat(wifi): update esp32c2 eco4 wifi lib 2024-09-04 10:31:33 +08:00
xuxiao 7c9109d9e1 fix(wifi): fix code comments 2024-08-30 21:02:02 +08:00
xuxiao 8780375859 feat(wifi): add wifi support for esp32c61 2024-08-30 20:43:06 +08:00