Commit Graph

684 Commits

Author SHA1 Message Date
Kapil Gupta
5a9b16d754 fix(esp_wifi): Address some review comments 2025-02-28 11:35:22 +08:00
Aditi
30264132b5 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-02-28 11:35:22 +08:00
Aditi
041bc41ccf fix(wpa_supplicant): Fix for sending alternate ft-auth in roaming 2025-02-28 11:35:22 +08:00
Aditi
4724d7c5e7 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-02-28 11:35:22 +08:00
Aditi
b2abac0a4e 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-02-28 11:35:22 +08:00
Aditi
9e168a1480 fix(esp_wifi): Add fix for error handling for FT-Auth 2025-02-28 11:35:22 +08:00
Nachiket Kukade
76235525a6 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-02-28 11:35:22 +08:00
wangtao@espressif.com
f1f420ad05 fix(wifi): fix build issue when disable wpa3 sae 2025-02-28 11:35:22 +08:00
Shreyas Sheth
e71a1290d6 fix(wifi): Resolve comments for softap fixes 2025-02-28 11:35:22 +08:00
Shreyas Sheth
fedcf1a524 fix(wifi): Resolve comments on feature/softap_fixes_for_ceritification 2025-02-28 11:35:22 +08:00
Shreyas Sheth
bdd9c2a0f1 fix(wifi): Make sure auth is sent after sae process 2025-02-28 11:35:22 +08:00
Shreyas Sheth
d402b239d6 feat(wifi): Add support for transition_disable for softAP
Bugfix rsnxe len for assoc req
2025-02-28 11:35:22 +08:00
akshat
f8c552b560 bugfix(wifi): Fix header file errors and remove esp_supplicant from check_public_headers_exceptions.txt 2025-02-27 11:09:30 +08:00
akshat
1c231b4401 bugfix(wifi): Add missing brackets in the C++ guard
Closes https://github.com/espressif/esp-idf/issues/14991
2025-02-27 11:09:30 +08:00
Kapil Gupta
746abfa199 fix(esp_wifi): Fix stack curruption in btm task (v5.3) 2025-02-14 12:53:59 +05:30
Jiang Jiang Jian
2ff653bc56 Merge branch 'bugfix/skip_memory_reordering_wpa2_semaphr_v5.3' into 'release/v5.3'
fix(esp_wifi): fixed stack corruption in WiFi tasks (v5.3)

See merge request espressif/esp-idf!36937
2025-02-14 14:31:29 +08:00
Kapil Gupta
135a320b3c fix(esp_wifi): Fix stack corruption in wpa3 task 2025-02-13 14:23:35 +05:30
Kapil Gupta
70ad8d04ed fix(esp_wifi): fixed Stack corruption in DPP task 2025-02-13 14:23:35 +05:30
Kapil Gupta
d6dec98447 fix(esp_wifi): fixed Stack corruption in WPS processing 2025-02-13 14:23:35 +05:30
Kapil Gupta
565b8914ae fix(esp_wifi): Fixed memory corruption in wifi enterprise
Closes https://github.com/espressif/esp-idf/issues/15370
2025-02-13 14:23:35 +05:30
Shreyas Sheth
467524f067 fix(wifi): Fixed memory leak occurring in SAE PK connection 2025-02-13 12:03:16 +05:30
Jiang Jiang Jian
a46ac40ca8 Merge branch 'bugfix/wps_scan_freq_v5.3' into 'release/v5.3'
fix(esp_wifi): Reduce scan frequency in WPS (v5.3)

See merge request espressif/esp-idf!36820
2025-02-12 16:15:57 +08:00
Jiang Jiang Jian
a7ce0206bd Merge branch 'bugfix/analyzer_issues_supplicant_v5.3' into 'release/v5.3'
fix(esp_wifi): fix some analyzer issues (v5.3)

See merge request espressif/esp-idf!36826
2025-02-12 13:57:44 +08:00
Sarvesh Bodakhe
dac80a87a4 fix(wifi): Add some wifi bugfixes and features
1. Fix issue of increased stack usage when failure_retry_cnt is set
   and wifi driver internally retries connection attempts

2. Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP.
   This event is triggered when external station tries connecting to softAP
   with wrong password.

   Current supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2025-02-11 12:14:10 +05:30
Kapil Gupta
4442fe7787 fix(esp_wifi): Add review comments and some cleanup 2025-02-10 15:46:50 +05:30
Kapil Gupta
0b4bfb451f 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 15:46:50 +05:30
Kapil Gupta
074235e261 fix(esp_wifi): Reduce scan frequency in WPS 2025-02-10 15:31:46 +05:30
Kapil Gupta
b6a87e7e6d fix(esp_wifi): Enable EAP workarounds by default
Enabling this will make sure our behavior is same as upstream
wpa_supplicant.
2025-01-17 13:53:18 +08:00
yinqingzhao
93582b8221 feat(wifi): avoid compiling components related to wifi when wifi is not supported 2025-01-08 16:47:34 +08:00
Shyamal Khachane
c61e3f4dd3 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 20:08:02 +05:30
Sarvesh Bodakhe
e2d73046b3 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 20:08:00 +05:30
Sarvesh Bodakhe
55a93548da fix(wpa_supplicant): Fix debug print in wps_start_msg_timer() 2024-12-10 20:07:39 +05:30
Harshit Malpani
83413257af fix(wpa_supplicant): Fix build errors for exclusive TLSv1.3 mbedtls config
Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2024-12-10 13:07:44 +08:00
Jiang Jiang Jian
369befb8fc Merge branch 'fix/add_sbom_exception_v5.3' into 'release/v5.3'
Add an exception in wpa_supplicant sbom.yml (Backport v5.3)

See merge request espressif/esp-idf!35063
2024-12-09 17:22:18 +08:00
Kapil Gupta
3a8cf533bc fix(wifi): Remove WPS IEs once WPS succeeds 2024-12-06 18:54:35 +08:00
Nachiket Kukade
78b5ff0750 fix(wpa_supplicant): Add an exception in wpa_supplicant sbom.yml 2024-11-21 11:52:05 +05:30
sibeibei
64067f4cf0 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-15 16:35:50 +08:00
Kapil Gupta
9f27f51dbe fix(esp_wifi): Remove duplicate declaration of function 2024-10-25 23:32:14 +05:30
jgujarathi
74bb92cc5f 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-10-25 23:32:14 +05:30
jgujarathi
33214e4d68 fix(esp_supplicant): Fix compilation issues with btm and rrm status funcs
- Ensure that the btm and rrm status funcs can be used even if 80211.kv
  are not enabled in menuconfig. They will return false in such cases.
2024-10-25 23:32:14 +05:30
Jiang Jiang Jian
9c2e021bed Merge branch 'feature/add_dpp_crypto_layer_v53' into 'release/v5.3'
feat(esp_wifi): Restructure dpp crypto Layer APIs

See merge request espressif/esp-idf!34319
2024-10-25 19:38:08 +08:00
Jiang Jiang Jian
3eef7a1d92 Merge branch 'bugfix/wpa2_ent_fixes_v53' into 'release/v5.3'
Few fixes in wpa_supplicant(v5.3)

See merge request espressif/esp-idf!34275
2024-10-24 13:03:03 +08:00
Jiang Jiang Jian
915c011ca5 Merge branch 'feat/add_sbom_wpa_supplicant_v5.3' into 'release/v5.3'
feat(wpa_supplicant): Add sbom manifest file for wpa_supplicant (Backport v5.3)

See merge request espressif/esp-idf!34272
2024-10-24 11:18:29 +08:00
wangtao@espressif.com
71bb752d98 feat(wifi): support esp32c2 eco4 wifi bringup 2024-10-22 17:05:13 +08:00
muhaidong
9c55f57fa4 fix(wifi): fix miss internal wapi deinit issue 2024-10-18 14:24:52 +08:00
aditi
c807ce97d9 feat(esp_wifi): Add esp-idf specific changes
Added esp-idf implementation specific changes on top of the upstream updates.
2024-10-18 11:36:16 +05:30
aditi
7490867a4d feat(esp_wifi): Replace crypto_key with crypto_ec_key
Replaced all occurances of crypto_key with crypto_ec_key struct
    to make the code more consistent with upstream.
2024-10-18 11:36:01 +05:30
aditi_lonkar
d45588ff51 feat(esp_wifi): Restructure dpp crypto Layer APIs
1) Update dpp implementation as per upstram hostapd tag hostap_2_10.
2) Move dpp crypto routines into a separate source code file.
2024-10-18 11:34:37 +05:30
Aditi
8057de95d7 fix(wpa_supplicant): Add few fixes in dpp task 2024-10-18 11:26:16 +05:30
aditi
e148c20c07 fix(wpa_supplicant): Add few fixes in btm_rrm task 2024-10-18 11:26:08 +05:30