Commit Graph
1274 Commits
Author SHA1 Message Date
Jiang Jiang Jian 9f2841dddf Merge branch 'bugfix/sae_h2e_nvs_default_v5.4' into 'release/v5.4'
fix(esp_wifi): Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station

See merge request espressif/esp-idf!44911
2026-01-27 14:36:03 +08:00
Kapil Gupta 73a587d42a fix(esp_wifi): Fix invalid memory accesses in supplicant code 2026-01-26 14:09:44 +05:30
Shreyas Sheth d3c2929f0a 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
2026-01-20 16:08:45 +05:30
Akshat Agrawal 95bfcaafa7 bugfix(wifi): Ensure STA parses the FTM responder capability from the beacon correctly 2026-01-13 10:32:44 +05:30
Jiang Jiang Jian 6f8ea286d4 Merge branch 'bugfix/btwt_dwell_timeout_bp5.4' into 'release/v5.4'
fix(wifi): btwt dwell timeout; esp32c2 disallow 40bw(backport 5.4)

See merge request espressif/esp-idf!44773
2026-01-09 19:37:43 +08:00
Kapil Gupta f58a379b2f fix(esp_wifi): Change some defaults in roaming app 2026-01-08 14:49:41 +05:30
Kapil Gupta 13515bc1e1 fix(esp_wifi): Check conditional compilation for roaming app features 2026-01-08 14:49:19 +05:30
Kapil Gupta 54f5970464 fix(esp_wifi): Cancel roaming_app_periodic_scan_internal_handler correctly 2026-01-08 14:49:04 +05:30
Kapil Gupta 025de31dc9 fix(esp_wifi): Add some fixes in roaming app 2026-01-08 14:49:04 +05:30
tarun.kumar 7e2f07c40b fix(wifi) : Resetting current bssid for every roaming connection intiated 2026-01-08 14:49:04 +05:30
Kapil Gupta 29811c1630 fix(esp_wifi): Address some review comments and issues 2026-01-08 14:49:04 +05:30
Kapil Gupta b1b6e0f1fa 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:49:04 +05:30
Kapil Gupta 19b510c261 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:49:04 +05:30
Kapil Gupta a105dc6064 fix(esp_wifi): Add blacklist logic in roaming app 2026-01-08 14:49:04 +05:30
Junchi Chen d381e69736 fix(wifi): btwt dwell timeout; esp32c2 disallow 40bw backport 5.4 2026-01-04 20:03:15 +08:00
Akshat Agrawal 92912cebb1 bugfix(wifi): Resolve the memory corruption issue in FTM 2025-12-12 15:21:37 +05:30
Akshat Agrawal e095674ae3 bugfix(wifi): Set the dialog token of last FTM resp to zero
- Perform FTM in disconnected state
- Resolve memory corruption by avoiding integer underflow
- Return to home channel as soon as FTM is completed
2025-12-05 15:27:17 +05:30
Jiang Jiang Jian 55ddae98fb Merge branch 'bugfix/add_scan_stop_when_smartconfig_stop_v5.4' into 'release/v5.4'
add scan stop when smartconfig stop (v5.4)

See merge request espressif/esp-idf!43882
2025-12-05 16:01:47 +08:00
Chen Yudong 0b5e53216a ci: rename wifi_two_dut to two_duts 2025-12-03 09:54:23 +08:00
zhangyanjiao 01c26902ca fix(wifi): Added scan stop when user call smartconfig stop 2025-12-01 14:34:19 +08:00
Nachiket Kukadeandakshat 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
Jiang Jiang Jian b1f2c08565 Merge branch 'feat/add_154_status_for_coex_v5.4' into 'release/v5.4'
feat(coex): add 802.15.4 status for coex (v5.4)

See merge request espressif/esp-idf!42835
2025-11-05 14:55:18 +08:00
Jiang Jiang Jian 86fdab2b60 Merge branch 'docs/remove_doxy_groups_in_espnow_v5.4' into 'release/v5.4'
fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style (v5.4)

See merge request espressif/esp-idf!42768
2025-11-03 10:15:15 +08:00
Jiang Jiang Jian e095ab2a40 Merge branch 'ci/fix_wifi_testcase_v5.4' into 'release/v5.4'
fix(unit_test): Fix esp_wifi and wpa_supplicant unit tests (Backport v5.4)

See merge request espressif/esp-idf!42686
2025-10-31 10:52:56 +08:00
Jiang Jiang Jian 2dadea5132 Merge branch 'refactor/wps_eap_cleanup_v5.4' into 'release/v5.4'
refactor(esp_wifi): Remove WPS task code (v5.4)

See merge request espressif/esp-idf!42443
2025-10-27 15:47:44 +08:00
Xu Si Yu 19f2fb1aa1 feat(coex): add 802.15.4 status for coex 2025-10-24 14:45:50 +08:00
Sajia 77fa2c5420 fix(unit_test): Fix esp_wifi and wpa_supplicant unit tests 2025-10-24 12:28:29 +08:00
zhangyanjiao d2983514fe fix(wifi/espnow): Remove doxygen groups as esp-docs is flat docs style 2025-10-21 18:05:48 +08:00
Jiang Jiang Jian cc158ee7ac Merge branch 'bugfix/roam_app_neighbor_crash_v5.4' into 'release/v5.4'
fix(wifi_apps): Fix crash due to neighbor_list lock (v5.4)

See merge request espressif/esp-idf!42503
2025-10-11 11:32:46 +08:00
Shreyas Sheth b274fc9e44 fix(wifi_apps): Fix crash due to neighbor_list lock 2025-10-10 19:59:53 +05:30
muhaidong c0cdb94682 fix(wifi): fix some wifi bugs 20250929
1. fix scan done event miss issue
2. fix cant sleep if connection breaks during sending probe
3. fix some esp-now issues and lightsleep issues
4. feat(coex): support backgorund scan for coex, fix some issues of scan when connected
2025-10-10 15:51:11 +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
Kapil Gupta 2ecb81d745 refactor(esp_wifi): Remove WPS task code 2025-10-09 23:25:09 +05:30
Shreyas Sheth 6e434df326 fix(esp_wifi): Set default nvs value for sae identifier to NULL 2025-09-29 11:55:43 +05:30
Jiang Jiang Jian 2d556f7cdb Merge branch 'fix/add_check_for_wifi_set_config_v54' into 'release/v5.4'
fix(wifi): add check for esp_wifi_set_config v54

See merge request espressif/esp-idf!42251
2025-09-29 10:21:04 +08:00
wangtao@espressif.com 2aa2ed12e9 fix(wifi): add check for esp_wifi_set_config 2025-09-28 15:31:15 +08:00
Kapil Gupta eb93cd9932 fix(esp_wifi): Add depenedency of 192 bit config on wifi enterprise
Closes https://github.com/espressif/esp-idf/issues/17567
2025-09-21 12:31:00 +05:30
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
Kapil Gupta 1502a50bc6 fix (esp_wifi): Set default akm as eap for non AKM APs 2025-08-28 11:02:26 +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
yinqingzhao 5d3016aaed fix(wifi): fix some wifi bugs 2025-08-26 10:49:23 +08:00
Shreyas Sheth 57dd53cf45 fix(esp_wifi): Fix incorrect values for negotiated bandwidth for 2040 coex cases 2025-08-25 11:38:34 +05:30
Shreyas Sheth d47ec84145 fix(wifi): Fix issues discovered by customer for offchannel 2025-08-22 15:25:19 +05:30
Jiang Jiang Jian 2b2a722add Merge branch 'bugfix/fix_open_mode_rx_fragment_fail_issue_v5.4' into 'release/v5.4'
fix(wifi): fix open mode rx fragment fail issue(Backport v5.4)

See merge request espressif/esp-idf!41068
2025-08-21 12:04:28 +08:00
akshat 42caf87f66 bugfix(wifi): Reset scan_ongoing flag in scan done event to allow scan trigger post roam 2025-08-11 10:30:52 +08:00
muhaidong c497c89984 fix(wifi): fix open mode rx fragment fail issue 2025-08-11 10:27:48 +08:00
akshat efde9587d6 bugfix(wifi): Enable IPv6 support via LWIP_IPV6 when WiFi Aware(NAN) is enabled 2025-08-04 14:00:00 +08:00