Commit Graph

261 Commits

Author SHA1 Message Date
akshat
9220e45a65 bugfix(wpa_supplicant): Fix build errors when Supplicant logs are enabled 2025-04-30 15:25:46 +05:30
Kapil Gupta
6e9fedb346 fix(esp_wifi): Increase WPS timeout 2025-04-30 15:25:46 +05:30
Kapil Gupta
0fa9e81a55 fix(esp_wifi): Flush PMK when EAP config is changed 2025-04-15 14:05:07 +08:00
Kapil Gupta
3748cc9da0 fix(esp_wifi): Code cleanup for PR#15550 PR#15551
Closes https://github.com/espressif/esp-idf/pull/15550
Closes https://github.com/espressif/esp-idf/pull/15551
2025-04-15 14:05:07 +08:00
Michael Stoll
ab5d1819d9 fix: Force validate when using the default crt bundle 2025-04-15 14:05:07 +08:00
Michael Stoll
e257f68a1d feat(esp_wifi): Implement esp_eap_client_set_domain_match 2025-04-15 14:05:07 +08:00
Jiang Jiang Jian
87319fa9bd Merge branch 'feature/github_pull_15073_v5.1' into 'release/v5.1'
feat(wpa_supplicant): Add optimized PSK implementation (v5.1)

See merge request espressif/esp-idf!38107
2025-04-14 14:28:46 +08:00
Kapil Gupta
9e2c32a4cc fix(wifi): Fixed compilation error when 11R is enabled without 11KV
Closes https://github.com/espressif/esp-idf/issues/15539
2025-04-07 16:05:26 +05:30
Kapil Gupta
5422bedb14 fix(esp_wifi): Prevent flushing of FT data mistakenly 2025-04-07 16:05:26 +05:30
Kapil Gupta
2c43db17db fix(esp_wifi): Correctly break 11kv config into wnm and rrm configs 2025-04-07 16:05:26 +05:30
Kapil Gupta
0d4d2b85dd fix(esp_wifi): Address some review comments 2025-04-07 16:05:01 +05:30
Aditi
b0f88142ee fix(wpa_supplicant): Remove the btm_rrm task from supplicant
This commit removes btm_rrm_t task and CONFIG_SUPPLICANT_TASK from
wpa_supplicant and make the functions work in wifi task's context.
2025-04-07 16:04:55 +05:30
Aditi
98147c30c2 fix(wpa_supplicant): Fix for sending alternate ft-auth in roaming 2025-04-07 16:03:47 +05:30
Aditi
c806d3e765 fix(wpa_supplicant): Add two separate flags for RRM and WNM
Added two separate flags CONFIG_RRM(80211k) and CONFIG_WNM(80211v)
    flags under IEEE80211KV support flag.
2025-04-07 16:03:47 +05:30
Aditi
95503693f3 fix(esp_wifi): Add fix for error handling for FT-Auth 2025-04-07 16:03:47 +05:30
Nachiket Kukade
7c21e36a42 fix(wpa_supplicant): Fix some coverity issues in wpa_supplicant
1. Fix leak in SoftAP while sending SAE Confirm
2. Move NULL check before pointer is getting used
3. Remove some dead code
2025-04-07 16:03:47 +05:30
wangtao@espressif.com
3b565f017b fix(wifi): fix build issue when disable wpa3 sae 2025-04-07 16:03:41 +05:30
Shreyas Sheth
0cd6a2a8ee fix(wifi): Resolve comments for softap fixes 2025-04-07 16:03:41 +05:30
Shreyas Sheth
f826a0cdc6 fix(wifi): Make sure auth is sent after sae process 2025-04-07 16:03:41 +05:30
Shreyas Sheth
979cd25e60 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-04-07 16:03:41 +05:30
Sarvesh Bodakhe
0fd60e373e fix(wifi): Fix wrong PMKSA cache entry being used when wifi password is changed 2025-04-04 00:13:46 +05:30
Kapil Gupta
156b69b06e fix(esp_wifi): Add some comments in github PR 15073
Closes https://github.com/espressif/esp-idf/pull/15073
2025-03-28 12:44:14 +05:30
Chien Wong
c76a62cba9 feat(wpa_supplicant): Add optimized PSK impl
Signed-off-by: Chien Wong <m@xv97.com>
2025-03-28 12:44:08 +05:30
Sarvesh Bodakhe
9676438d7c fix(wifi): Resolved WPS connectivity issue with pre-connected stations
This fixes the issue where station was not able connect using WPS if it was
already in connected state.

wifi_wps_scan_done() issues an esp_wifi_disconnect() before
calling esp_wifi_connect() to associate with the newly discovered AP. This
behavior incorrectly triggered a failure event (WIFI_EVENT_STA_WPS_ER_FAILED)
even though the disconnection was part of the normal WPS flow. This commit
prevents sending the false failure event, ensuring expected WPS behavior.
2025-03-10 15:20:17 +05:30
Aditi
3493132f08 fix(wpa_suppplicant): Add fix for issue in wps reconnection 2025-03-10 15:20:12 +05:30
Kapil Gupta
f5a114a42f fix(esp_wifi): Add review comments and some cleanup 2025-03-02 17:06:12 +08:00
Kapil Gupta
8652a5c552 fix(esp_wifi): fix some analyzer issues
Closes https://github.com/espressif/esp-idf/issues/15097
Closes https://github.com/espressif/esp-idf/issues/15098
Closes https://github.com/espressif/esp-idf/issues/15099
2025-03-02 17:06:12 +08:00
akshat
9186cf432a bugfix(wifi): Fix header file errors and remove esp_supplicant from check_public_headers_exceptions.txt 2025-02-27 15:52:10 +08:00
akshat
e4ed53d412 bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 15:52:10 +08:00
Jiang Jiang Jian
388d63bc02 Merge branch 'bugfix/wps_scan_freq_v5.1' into 'release/v5.1'
fix(esp_wifi): Reduce scan frequency in WPS (v5.1)

See merge request espressif/esp-idf!36823
2025-02-20 11:03:40 +08:00
Kapil Gupta
dd740aa903 fix(esp_wifi): Fix stack curruption in btm task (v5.2) 2025-02-14 13:01:38 +05:30
Kapil Gupta
29e8dc697f fix(esp_wifi): Fix stack corruption in wpa3 task 2025-02-13 15:52:13 +05:30
Kapil Gupta
248e6316fe fix(esp_wifi): fixed Stack corruption in DPP task 2025-02-13 15:52:13 +05:30
Kapil Gupta
041fd30845 fix(esp_wifi): fixed Stack corruption in WPS processing 2025-02-13 15:52:13 +05:30
Kapil Gupta
0b619478ae fix(esp_wifi): Fixed memory corruption in wifi enterprise
Closes https://github.com/espressif/esp-idf/issues/15370
2025-02-13 15:52:00 +05:30
Kapil Gupta
0a1fe3a536 fix(esp_wifi): Reduce scan frequency in WPS 2025-02-10 15:45:26 +05:30
Kapil Gupta
13cf93c5c4 fix(esp_wifi): Enable EAP workarounds by default
Enabling this will make sure our behavior is same as upstream
wpa_supplicant.
2025-01-03 17:43:46 +05:30
Kapil Gupta
03c6f210fb fix(wifi): Remove WPS IEs once WPS succeeds 2024-12-09 18:45:35 +08:00
Jiang Jiang Jian
648ff3c825 Merge branch 'bugfix/load_access_fault_upon_auth_v5.1' into 'release/v5.1'
fix(wifi): Add a check on hostapd instance while handling an Auth frame (Backport v5.1)

See merge request espressif/esp-idf!34120
2024-12-06 14:36:01 +08:00
Sajia
c7cfa6379d fix(wifi): Add a check on hostapd instance while handling an Auth frame 2024-12-04 11:12:53 +08:00
Jouni Malinen
4e9f740a0e SAE: Check for invalid Rejected Groups element length explicitly on STA
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.

Fixes: 444d76f74f65 ("SAE: Check that peer's rejected groups are not enabled")
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
7d943fb032 SAE: Check that peer's rejected groups are not enabled
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-12-03 14:05:21 +08:00
sibeibei
ee099bda6c fix(wifi): fix some wifi issues 241031
1. fix cant sleep if reconnect to connected ap
    2. clear pmk in internal reconnection
    3. update connect status for init-->auth
2024-11-28 16:44:20 +08:00
Shyamal Khachane
2eaee75296 fix(esp_wifi): Populate appropriate reason codes when softAP sends deauthentication
Populate appropriate reason for sending deauthentication when softAP receives
invalid RSN IE from association request
2024-11-27 00:34:50 +05:30
Sarvesh Bodakhe
e35035aa9a 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-27 00:34:47 +05:30
Sarvesh Bodakhe
9475109311 fix(wpa_supplicant): Fix debug print in wps_start_msg_timer() 2024-11-27 00:30:24 +05:30
Jiang Jiang Jian
b3e6d62c70 Merge branch 'bugfix/wpa2_ent_fixes_v5.1' into 'release/v5.1'
Few fixes in wpa_supplicant(v5.1)

See merge request espressif/esp-idf!34446
2024-11-01 11:39:25 +08:00
muhaidong
0fff36592e fix(wifi): fix miss internal wapi deinit issue 2024-10-29 12:00:11 +08:00
Aditi
396df5d50f fix(wpa_supplicant): Add few fixes in dpp task 2024-10-25 14:49:42 +05:30
aditi
bc26245787 fix(wpa_supplicant): Add few fixes in btm_rrm task 2024-10-25 14:49:33 +05:30