akshat
d753986556
bugfix(wifi): Fix header file errors and remove esp_supplicant from check_public_headers_exceptions.txt
2025-02-27 13:56:17 +08:00
akshat
8cb861890a
bugfix(wifi): Add missing brackets in the C++ guard
...
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 13:56:17 +08:00
Kapil Gupta
e2a2dcd808
Merge branch 'bugfix/skip_memory_reordering_wpa2_semaphr_v5.0' into 'release/v5.0'
...
fix(esp_wifi): fixed stack corruption in WiFi tasks (v5.0)
See merge request espressif/esp-idf!36940
2025-02-14 19:06:36 +08:00
Kapil Gupta
e7e15d954c
fix(esp_wifi): Fix stack curruption in btm task (v5.2)
2025-02-14 13:03:32 +05:30
Kapil Gupta
cbe890bde6
fix(esp_wifi): fixed Stack corruption in DPP task
2025-02-13 15:57:48 +05:30
Kapil Gupta
968b8a215a
fix(esp_wifi): fixed Stack corruption in WPS processing
2025-02-13 15:57:48 +05:30
Kapil Gupta
90b29be236
fix(esp_wifi): Fixed memory corruption in wifi enterprise
...
Closes https://github.com/espressif/esp-idf/issues/15370
2025-02-13 15:57:41 +05:30
Jiang Jiang Jian
a3136838fa
Merge branch 'bugfix/analyzer_issues_supplicant_v5.0' into 'release/v5.0'
...
fix(esp_wifi): fix some analyzer issues (v5.0)
See merge request espressif/esp-idf!36834
2025-02-12 16:11:16 +08:00
Kapil Gupta
b37f89bbce
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-02-10 20:16:35 +05:30
Kapil Gupta
55c6945957
fix(esp_wifi): Reduce scan frequency in WPS
2025-02-10 15:45:39 +05:30
Kapil Gupta
92f5736c21
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:46:33 +05:30
Shyamal Khachane
7a7b6be32a
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-12-10 22:39:21 +05:30
Sarvesh Bodakhe
8058b97326
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-12-10 22:39:21 +05:30
Sarvesh Bodakhe
eeaf6714a5
fix(wpa_supplicant): Fix debug print in wps_start_msg_timer()
2024-12-10 22:39:21 +05:30
sibeibei
78aba309f3
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-12-06 17:57:25 +08:00
Jiang Jiang Jian
3106c368eb
Merge branch 'feat/support_esp32c2_eco4_wifi_v50' into 'release/v5.0'
...
Feat/support esp32c2 eco4 wifi v50
See merge request espressif/esp-idf!34659
2024-12-04 20:43:06 +08:00
Jiang Jiang Jian
01a851ca9d
Merge branch 'bugfix/wps_ie_reset_v50' into 'release/v5.0'
...
fix(wifi): Remove WPS IEs once WPS succeeds
See merge request espressif/esp-idf!35081
2024-11-25 15:04:09 +08:00
Kapil Gupta
88cb3141bf
fix(wifi): Remove WPS IEs once WPS succeeds
2024-11-21 13:49:04 +05:30
wangtao@espressif.com
55184e83aa
feat(wifi): support esp32c2 eco4 wifi bringup
2024-11-18 15:57:11 +08:00
Jiang Jiang Jian
aacfeee713
Merge branch 'bugfix/wpa2_ent_fixes_v5.0' into 'release/v5.0'
...
Few fixes in wpa_supplicant(v5.0)
See merge request espressif/esp-idf!34447
2024-10-31 14:36:50 +08:00
muhaidong
53584bbdce
fix(wifi): fix miss internal wapi deinit issue
2024-10-29 11:56:41 +08:00
Aditi
0a84eb907f
fix(wpa_supplicant): Add few fixes in dpp task
2024-10-28 17:46:56 +05:30
aditi
3d025d9ecf
fix(wpa_supplicant): Add few fixes in btm_rrm task
2024-10-28 17:46:55 +05:30
aditi
20f1057797
fix(wpa_supplicant): Add few fixes in eloop task
2024-10-28 17:46:55 +05:30
aditi
716b4ddc32
fix(wpa_supplicant): Add few fixes in WPS task
2024-10-28 17:46:55 +05:30
aditi
a4b83d0c4a
fix(wpa_supplicant): Add few fixes in eap client code
2024-10-28 17:46:53 +05:30
Jiang Jiang Jian
795e2bbae1
Merge branch 'bugfix/backport_supplicant_fixes_v5.0' into 'release/v5.0'
...
fix(wifi): Backport some fixes(v5.0)
See merge request espressif/esp-idf!33978
2024-10-24 15:47:37 +08:00
Kapil Gupta
6b3b661774
fix(esp_wifi): Prevent memory overflow in WPS
2024-10-13 18:13:18 +08:00
Kapil Gupta
1b9a66617d
fix(esp_wifi): Mask some error conditions in WPS
...
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-10-13 18:13:18 +08:00
Kapil Gupta
0803307ffe
fix(esp_wifi): Disable WPS timers once WPS succeed
2024-10-13 18:13:18 +08:00
Kapil Gupta
c1f41cdfd0
fix(esp_wifi): Allow connection with WPA mode in WPS
2024-10-13 18:13:18 +08:00
Kapil Gupta
ab99551f8c
fix(esp_wifi): Deinit WPS registrar during hostapd deinit
2024-10-13 18:13:18 +08:00
Kapil Gupta
7f9e2044df
fix(esp_wifi): Added prints in btm roam for error condition
2024-10-13 18:13:18 +08:00
Jouni Malinen
ae56989c7f
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-10-07 12:31:11 +05:30
Jouni Malinen
92cf32a40b
SAE: Check that peer's rejected groups are not enabled
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-10-07 12:31:11 +05:30
Jouni Malinen
8abeae65ed
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-10-07 12:31:11 +05:30
Jouni Malinen
ecea235913
SAE: Check that peer's rejected groups are not enabled in AP
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-10-07 12:30:16 +05:30
Kapil Gupta
0c0d597f3c
fix(esp_wifi): Set PMK after SAE exchange
2024-09-27 09:53:58 +05:30
Nachiket Kukade
1e88c7a2ff
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps
2024-09-04 10:53:22 +08:00
aditi
3769a10ef7
fix(wpa_supplicant):Deinit old dpp authentication data after receiving config.
2024-08-16 10:41:36 +05:30
Jiang Jiang Jian
cb74823a38
Merge branch 'bugfix/sae_gcmp_conn_failure' into 'release/v5.0'
...
Fix SAE connection failure when GCMP cipher is used (v5.0)
See merge request espressif/esp-idf!32601
2024-08-15 21:05:22 +08:00
Jiang Jiang Jian
4019318c60
Merge branch 'bugfix/handle_no_pmkid_case_owe_v5.0' into 'release/v5.0'
...
Recompute keys in OWE incase of PMKID absence or mismatch (Backport v5.0)
See merge request espressif/esp-idf!32336
2024-08-15 16:14:04 +08:00
Shyamal Khachane
cad8a7c41c
fix(esp_wifi): Refactor and update wpa_supplicant with upstream
2024-08-07 12:36:13 +05:30
Shyamal Khachane
9a746e5b4e
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:42:53 +05:30
Kapil Gupta
a3ef4cb054
fix(esp_wifi): backport some dpp fixes
2024-07-22 12:09:27 +05:30
Sarvesh Bodakhe
12d58c893d
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:01:11 +05:30
Sarvesh Bodakhe
c36c3920fc
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 11:58:56 +05:30
aditi
30effe7894
fix(wpa_supplicant):Fix for setting wps status fail when connection fails
2024-07-11 18:17:00 +05:30
Sarvesh Bodakhe
b3fb47908c
feat(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: jgujarathi <jash.gujarathi@espressif.com>
2024-07-03 12:46:58 +05:30
muhaidong
fbc9fe582c
fix(wifi): fix configure gcmp failure issue
2024-07-03 10:57:33 +08:00