Commit Graph

766 Commits

Author SHA1 Message Date
Kapil Gupta
e8c27ff92a fix(esp_wifi): skip call to esp_fast_psk() when hardware SHA is not supported 2025-12-05 15:04:56 +08:00
Chen Yudong
0b5e53216a ci: rename wifi_two_dut to two_duts 2025-12-03 09:54:23 +08:00
Kapil Gupta
4495803370 Merge branch 'bugfix/cleanup_ctr_drbg_v5.4' into 'release/v5.4'
wpa_supplicant: Replace use of mbedtls_ctr_drbg with esp_mbedtls_random() (v5.4)

See merge request espressif/esp-idf!42376
2025-11-15 19:58:23 +05:30
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
Sajia
77fa2c5420 fix(unit_test): Fix esp_wifi and wpa_supplicant unit tests 2025-10-24 12:28:29 +08:00
Kapil Gupta
2ecb81d745 refactor(esp_wifi): Remove WPS task code 2025-10-09 23:25:09 +05:30
Kapil Gupta
3cf1f74776 fix(mbedtls): Addressed comments on PR15679 2025-10-06 11:27:16 +05:30
Deomid rojer Ryabkov
314a3144ff change(wpa_supplicant): Replace use of mbedtls_ctr_drbg with esp_mbedtls_random()
This way wpa_supplicant does not require ctr_drbg that saves some space
2025-10-06 11:27:15 +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
5e91cd87a8 fix(wpa_supplicant): Delay sending of EAP_START for EAP auth 2025-08-28 11:00:10 +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
Sarvesh Bodakhe
ddf7ea9de9 fix(wifi): prevent crash in WPS-registrar due to nested 'eap_wsc_reset()' calls
When a WPS handshake is already in progress and the enrollee sends another EAPOL-Start
(e.g., due to missed packets or timeout), the registrar resets its state by calling
'eap_wsc_reset()'. This function frees 'sm->eap_method_priv' and then calls
'esp_wifi_ap_wps_disable()', which internally triggers another call to 'eap_wsc_reset()'.

This results in a double reset where the second invocation accesses the already freed
'sm->eap_method_priv', leading to a crash.

This fix sets 'sm->eap_method_priv' to NULL immediately after freeing it to ensure
any subsequent calls to eap_wsc_reset() do not access an invalid pointer.
2025-08-01 08:46:41 +05:30
Kapil Gupta
297c9de26a fix(esp_wifi): Address review comments 2025-07-28 12:35:55 +05:30
Kapil Gupta
9c8ac5c3fb feat(esp_wifi): Add support to limit EAP methods
Added support to limit EAP method supported by device based on
user configuration.
2025-07-28 12:33:44 +05:30
Jiang Jiang Jian
ca0f20941f Merge branch 'bugfix/fix_pmksa_cache_expired_after_sntp_issue_v5.4' into 'release/v5.4'
fix(wifi): fix pmksa cache expiration caused by sntp time synchronization issue(Backport v5.4)

See merge request espressif/esp-idf!40832
2025-07-28 13:57:25 +08:00
muhaidong
f9fb14a3f3 fix(wifi): fix pmksa cache expiration caused by sntp time synchronization issue 2025-07-25 19:59:38 +08:00
Kapil Gupta
0a19eac18f fix(esp_wifi): Set default ap mgmt cipher 2025-07-25 16:53:25 +05:30
tarun.kumar
7d56951775 fix(wifi): Made changes in api for sending bcast deauth frames 2025-07-25 16:49:39 +05:30
tarun.kumar
7a4c91b2ab fix(wifi): Resolve out-of-bounds memory access in ieee80211w_kde_add 2025-07-25 16:47:25 +05:30
tarun.kumar
b8d7a33366 feat(wifi): Add SAE-EXT-KEY feature on softAP 2025-07-25 16:46:17 +05:30
Sarvesh Bodakhe
b33aa5384a fix(wifi): Disconnect station in wps_start instead of wps_enable
Modifies changes from 4cc09f2436
2025-07-17 13:38:47 +05:30
tarun.kumar
68d8b1e7ca fix(softAP): Adjusted authentication mode for wpa-eap version 1 2025-07-14 12:28:08 +05:30
wanckl
ea03622621 ci(esp32c61): remove c61 support from readme on 5.4 2025-06-17 15:09:40 +08:00
Jiang Jiang Jian
f906de4eb6 Merge branch 'bugfix/incorrect_sae_pk_flag_v5.4' into 'release/v5.4'
Disable SAE-PK indication in Assoc Request when not configured (Backport v5.4)

See merge request espressif/esp-idf!39075
2025-05-28 17:56:27 +08:00
Jiang Jiang Jian
7cc3e9c957 Merge branch 'bugfix/supplicant_analyzer_fixes_v5.4' into 'release/v5.4'
Bugfix/supplicant analyzer fixes (v5.4)

See merge request espressif/esp-idf!39455
2025-05-28 14:29:59 +08:00
akshat
bcd91ec882 bugfix(wifi): Fix incorrect SAE-PK advertisement in assoc request 2025-05-28 14:23:56 +08:00
Kapil Gupta
2348bc3ff9 ci(esp_wifi): Extend eloop test to verify wifi deinit properly 2025-05-27 13:43:03 +05:30
Kapil Gupta
6d97c71d91 fix(esp_wifi): Fixed some concurrency issues in eloop deinit 2025-05-27 13:42:55 +05:30
Kapil Gupta
3e810f5936 fix(esp_wifi): Add eloop blocking call API for public APIs 2025-05-27 13:42:41 +05:30
Kapil Gupta
221f641eb8 fix(esp_wifi): Fixed static analyzer issues 2025-05-27 13:39:08 +05:30
akshat
4cc09f2436 fix(wpa_supplicant): Disconnect from previous AP while initiating WPS 2025-05-26 19:27:46 +08:00
akshat
4d8b266c08 fix(wpa_supplicant): Detect PBC overlap even when UUID is null 2025-05-26 19:27:46 +08:00
akshat
255c34ba9f fix(wpa_supplicant): Ensure pbc_overlap event is posted correctly
Preserves the pbc_overlap flag to allow proper event posting.
This ensures that pbc overlap detection functions as expected.
2025-05-26 19:27:46 +08:00
akshat
71fde740e1 fix(wpa_supplicant): Fix build errors when Supplicant logs are enabled 2025-05-06 12:47:33 +05:30
Kapil Gupta
0de5180d8a fix(esp_wifi): Increase WPS timeout 2025-05-06 12:46:42 +05:30
Kapil Gupta
ad4f3277db fix(esp_wifi): Use supplicant's internal SHA1 if not available from IDF 2025-04-29 11:10:56 +05:30
harshal.patil
1f0aa66f4e fix(wpa_supplicant): Disable fastpbkdf2 when s/w and h/w SHA1 is disabled 2025-04-29 10:53:06 +05:30
harshal.patil
37dba24869 fix(esp-tls): Fix build failure when CONFIG_MBEDTLS_SHA1_C is disabled 2025-04-29 10:53:06 +05:30
tarun.kumar
96e06bd2ca fix(esp_wifi): Modifying os_time_t datatype for platform and compiler independence 2025-04-25 11:21:31 +05:30
Shreyas Sheth
8b979114e0 fix(esp_wifi): Fix send_confirm according to specification provided by IEEE 802.11 2025-04-16 11:56:20 +05:30
Kapil Gupta
5574205935 fix(esp_wifi): Removed unnecessary handlers to cleanup 2025-04-11 15:49:06 +05:30
Kapil Gupta
e5915c3ce3 fix(esp_wifi): Some more cleanup for roaming app 2025-04-11 15:47:17 +05:30
Kapil Gupta
516551adc4 fix(wifi): Fix some issues observed in roaming app 2025-04-11 15:46:25 +05:30
Jiang Jiang Jian
24a92a3b23 Merge branch 'feat/eap_domain_check_v5.4' into 'release/v5.4'
esp_wifi: Add EAP domain validation support (v5.4)

See merge request espressif/esp-idf!38278
2025-04-10 14:59:41 +08:00
Kapil Gupta
582c2d8d4c fix(esp_wifi): Flush PMK when EAP config is changed 2025-04-08 17:58:24 +05:30
Kapil Gupta
c2fad24731 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-08 17:57:27 +05:30
Michael Stoll
4470cf7b49 fix: Force validate when using the default crt bundle 2025-04-07 14:43:15 +05:30