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
Sarvesh Bodakhe
2665028530
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-02-03 16:19:16 +05:30
Alexey Lapshin
7e7bd3f5a5
fix(wpa_supplicant): fix warnings found by GNU static analyzer
2025-01-24 11:32:19 +08:00
yinqingzhao
26e77f9a38
feat(wifi): avoid compiling components related to wifi when wifi is not supported
2025-01-08 10:27:36 +08:00
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
Jouni Malinen
84dc7782b7
SAE: Reject invalid Rejected Groups element in the parser
...
There is no need to depend on all uses (i.e., both hostapd and
wpa_supplicant) to verify that the length of the Rejected Groups field
in the Rejected Groups element is valid (i.e., a multiple of two octets)
since the common parser can reject the message when detecting this.
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
2e25cef6b3
SAE: Check for invalid Rejected Groups element length explicitly
...
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.
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-12-03 14:05:21 +08:00
Jouni Malinen
3448ff697b
SAE: Check that peer's rejected groups are not enabled in AP
...
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
aditi
ae2569e008
fix(wpa_supplicant): Add few fixes in eloop task
2024-10-25 14:48:45 +05:30
aditi
9e6da54e4d
fix(wpa_supplicant): Add few fixes in WPS task
2024-10-25 14:48:38 +05:30
aditi
4e81e6e6f4
fix(wpa_supplicant): Add few fixes in eap client code
2024-10-25 14:48:24 +05:30
Kapil Gupta
6938abf90c
fix(esp_wifi): Prevent memory overflow in WPS
2024-10-09 16:07:56 +05:30
Kapil Gupta
60552ecfa1
fix(esp_wifi): Mask some error conditions in WPS
...
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-10-09 16:07:56 +05:30
Kapil Gupta
7810b9f4ff
fix(esp_wifi): Disable WPS timers once WPS succeed
2024-10-09 16:07:56 +05:30
Kapil Gupta
beb46af390
fix(esp_wifi): Allow connection with WPA mode in WPS
2024-10-09 16:07:44 +05:30
Kapil Gupta
8baaec05be
fix(esp_wifi): Deinit WPS registrar during hostapd deinit
2024-10-07 10:42:39 +05:30
Kapil Gupta
a6006f5a56
fix(esp_wifi): Added prints in btm roam for error condition
2024-10-07 10:42:32 +05:30
Kapil Gupta
4acdc6c830
fix(esp_wifi): Set PMK after SAE exchange
2024-09-27 12:27:32 +08:00
wangtao@espressif.com
4758622331
feat(wifi): support esp32c2 eco4 wifi bringup
2024-09-20 20:32:42 +08:00
Sajia
0dbd2aa24c
fix(esp_wifi): Refactor and update wpa_supplicant with upstream
2024-09-02 16:12:32 +05:30
Nachiket Kukade
75f4e2c8bb
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps
2024-08-27 16:25:01 +05:30
aditi
ae9be2f03d
fix(wpa_supplicant):Deinit old dpp authentication data after receiving config.
2024-08-23 10:36:36 +08:00
Shyamal Khachane
39d284ba33
fix(esp_wifi): Handle PMKID mismatch or absence in OWE
...
Compute keys incase PMKID does not match or PMKID is absent in association response
2024-07-25 08:33:42 +05:30
Kapil Gupta
3d84716864
fix(esp_wifi): backport some dpp fixes
2024-07-22 12:02:43 +05:30
aditi
03f7fad2fa
fix(wpa_supplicant):Fix for setting wps status fail when connection fails
2024-07-17 11:17:34 +05:30
muhaidong
1f74339756
fix(wifi): fix configure gcmp failure issue
2024-07-15 20:04:09 +08:00
Sarvesh Bodakhe
67de87c6ba
fix(wpa_supplicant): Avoid delaying removal of wps enrollee by 10ms
...
This is no longer needed as eloop timers are now executed in wifi task context.
2024-07-12 12:03:30 +05:30
Sarvesh Bodakhe
23470b660e
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station
...
When registrar somehow misses the WSC_DONE sent by station and station
goes for next connection after sending deauth, make sure that softAP
disables the registrar.
2024-07-12 12:03:06 +05:30
Sarvesh Bodakhe
de4010b95a
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
3. refactor: Backport common changes in scan/connect path from 90cc6158
- 90cc6158 adds support for Network Introduction Protocol in DPP
4. Fix issue of supplicant using wrong parameters to configure bss
- Ensure that wpa_supplicant's state machine registers the requirement for rsnxe
before deciding to add rsnxe to a assoc request.
Co-authored-by: default avatarjgujarathi <jash.gujarathi@espressif.com>
2024-07-03 13:07:47 +05:30
Jiang Jiang Jian
2653904d33
Merge branch 'bugfix/mgmt_gcmp_issue_v5.1' into 'release/v5.1'
...
fix(wifi): Fix GCMP encryption for mgmt packets and other bugfixes (Backport v5.1)
See merge request espressif/esp-idf!30481
2024-07-01 11:06:05 +08:00
Kapil Gupta
967eda03d0
fix(esp_wifi): Correct action frame type in send_mgmt_frame API
2024-06-28 16:25:18 +05:30