Shreyas Sheth
c3f819289d
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
2024-04-02 23:03:29 +05:30
Sarvesh Bodakhe
8e694cddcc
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
2. Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3:
- Merge 'WIFI_AUTH_WPA3_EXT_PSK' and 'WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE'
into 'WIFI_AUTH_WPA3_PSK' as per specification.
4. refactor: Backport common changes in scan/connect path from 90cc6158
- 90cc6158
adds support for Network Introduction Protocl in DPP
2024-03-28 11:38:45 +05:30
jgujarathi
6115e2500a
fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
...
- Ensure that offchannel listening operations are cancelled before sending dpp
fail events
2024-03-26 10:04:13 +05:30
jgujarathi
1830bc4d29
fix(wpa_supplicant): Ensure dpp auth structure is deinited in dpp task context
...
- Ensure that the dpp auth data gets deinited only in DPP task context to ensure
that there are no concurrency issues in usage of DPP auth data.
2024-03-26 10:04:06 +05:30
Jiang Jiang Jian
93f7ae7f7f
Merge branch 'bugfix/wps_crash_issue_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.2)
See merge request espressif/esp-idf!29735
2024-03-26 10:51:58 +08:00
Sarvesh Bodakhe
691997af91
fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
...
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-03-20 11:07:43 +05:30
Shreyas Sheth
dd1265845f
fix(wifi): Fix wpa3 crash for station added without sta lock
2024-03-19 14:37:32 +08:00
muhaidong
d0afffe8c9
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-21 16:32:31 +08:00
Jiang Jiang Jian
4a3f224fe1
Merge branch 'bugfix/esp32c2_eap_auth_v5.2' into 'release/v5.2'
...
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.2)
See merge request espressif/esp-idf!28824
2024-02-21 14:31:32 +08:00
aditi_lonkar
a3ba6b299d
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-02-20 13:54:20 +08:00
Kapil Gupta
3d8fd79a10
fix(wifi): add low memory options for eap enterprise
2024-02-19 14:33:55 +08:00
jgujarathi
72176eee5d
fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
...
- Move the check for checking concurrent wps and dpp check to before creating
task rather than after.
2023-12-05 18:57:33 +05:30
jgujarathi
3da789bae6
fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
...
- Fixes a crash observed in esp_wifi_wps_disable when wps process
is ongoing, caused due to concurrency issues in cancelling timers.
2023-12-05 18:57:25 +05:30
jgujarathi
34795220d2
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2023-12-05 18:57:17 +05:30
jgujarathi
357e0e144b
fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
...
- Restructuring DPP init function to ensure cleanup of variables in case of
init failure
2023-12-05 18:57:09 +05:30
jgujarathi
58f1bde9ef
fix(wpa_supplicant): Fix location of clearing up dpp global variables
...
- Fix location of cleaing up dpp global variables to ensure that there are
no concurrency issues.
2023-12-05 18:57:02 +05:30
jgujarathi
f9c8db8f94
fix(wpa_supplicant): Fix a memory leak in dpp deinit path
...
- Ensures that the auth information of dpp gets freed when there is
dpp gets deinited.
2023-12-05 18:56:52 +05:30
aditi_lonkar
6a92a3582e
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2023-12-05 18:56:30 +05:30
Kapil Gupta
476f83c602
fix(wifi): Disallow DPP and WPS concurrency
2023-11-16 12:34:23 +05:30
Kapil Gupta
ab93a6bd5b
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-16 12:34:10 +05:30
Jiang Jiang Jian
ff4c82a32d
Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable_v5.2' into 'release/v5.2'
...
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2 (v5.2)
See merge request espressif/esp-idf!26877
2023-11-06 11:32:23 +08:00
Jiang Jiang Jian
5bf1070143
Merge branch 'bugfix/backport_wifi_fixes_v5.2' into 'release/v5.2'
...
fix(wifi): optimize wifi bin size and fix some issue
See merge request espressif/esp-idf!26894
2023-11-03 21:08:39 +08:00
Kapil Gupta
e3c2ee1ba9
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-11-03 06:04:50 +00:00
Shreyas Sheth
e8d43b03a1
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
2023-11-03 10:15:55 +08:00
Sarvesh Bodakhe
8f8f7ddb45
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-11-03 10:14:47 +08:00
Kapil Gupta
ba274216b9
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 18:02:18 +05:30
Shreyas Sheth
ee9ce51133
feat(wifi): Add SAE EXT key support for esp station
2023-10-18 17:10:31 +05:30
Jouni Malinen
7dbfd8c6da
feat(wifi): Pull in wpa_supplicant upstream code for SAE EXT key
...
SAE: Use wpa_key_mgmt_sae() helper
Use the existing helper function instead of maintaining multiple copies
of lists of SAE key management suites.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2023-10-18 16:50:24 +05:30
Shreyas Sheth
e746fc0deb
feat(wifi): Refactor and update wpa_supplicant with upstream
2023-10-18 16:50:24 +05:30
Kapil Gupta
4dedd3e69d
fix(wifi): Fix static analyzer warning for WPS code
2023-10-17 10:03:39 +05:30
aditi_lonkar
236fa500c7
fix(wpa_supplicant): Fix few dpp bugs
...
1) Fix crash in dpp Listen without bootstrap
2) Fix crash on receiving dpp auth_req from hostapd with dpp akm
2023-10-12 13:51:27 +00:00
jgujarathi
a08e4afd07
fix(wpa_supplicant/dpp): Ensure dpp follows init->bootstrap->listen path
...
- esp_supp_dpp_init : Ensures that the mode is set to station before
the API call.
- Ensures that dpp follows the path of init(esp_supp_dpp_init) ->
bootstrap(esp_supp_dpp_bootstrap_gen) -> listen(esp_supp_dpp_start_listen)
by returning errors if any of them is invoked out of order.
2023-10-03 14:21:33 +05:30
Kapil Gupta
3b748a6cb7
Merge branch 'feature/rename_wpa2_ent_to_eap_client' into 'master'
...
WiFi: Rename WPA2 enterprise APIs to EAP Client.
See merge request espressif/esp-idf!25233
2023-09-18 16:16:54 +08:00
Kapil Gupta
8037cf5517
change(wifi): Add supplicant's public API header files to doc
2023-09-14 13:11:00 +05:30
Kapil Gupta
9deb5ffccf
change(esp_wifi): Rename WiFi enterprise connection APIs
2023-09-14 13:10:52 +05:30
jgujarathi
906685898d
fix(esp_wifi): Fix issues with extended caps IE, scan and HT40 mode
...
-Merges the addition of extended caps IE for assoc req, probe resp
and beacons in a single place. This ensures that there are no
duplicate Extended Caps IE in the frame. Moves the capability
indication for BTM and HT20/40 from supplicant to wifi libs.
-Fix issue with frequent disconections when scanning for only a single
channel.
-Prints error message and returns ESP_ERR_NOT_SUPPORTED in case
esp32c2 tries to set bandwidth to HT40.
2023-09-14 10:19:27 +05:30
Jiang Jiang Jian
5933779f2d
Merge branch 'feature/configurable_wpa2_ent' into 'master'
...
esp_wifi: Make enterprise support configurable to save binary size.
Closes WIFI-3597
See merge request espressif/esp-idf!24345
2023-09-13 10:17:44 +08:00
Kapil Gupta
c82a792bc3
change(esp_wifi): Port fast_pbkdf2 implementation for mbedlts
...
Add changes to use fast_pbkdf2 as default for PMK calculations.
fast_pbkdf2 is significantly faster than current implementations
for esp chips.
Also removes unnecessary code for pbkdf-sha256 and pbkdf-sha512.
2023-09-11 19:33:17 +05:30
Kapil Gupta
fd04e98d28
change(esp_wifi): Copy fastpbkdf2 implementation
...
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-09-11 06:08:16 +00:00
Kapil Gupta
a0b5fb4aeb
Merge branch 'bugfix/wps_wpa3_passphrase' into 'master'
...
WiFi: get passphrase in WPS if AP support SAE
Closes WIFIBUG-54 and WIFI-6252
See merge request espressif/esp-idf!25850
2023-09-11 10:16:53 +08:00
Kapil Gupta
ad62f428d2
fix(wifi): Get passphrase in WPS if AP support SAE
...
Also add changes to send NACK if WPS message received twice.
2023-09-08 10:48:55 +05:30
aditi_lonkar
c241c9fbd6
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method
2023-09-07 14:12:13 +05:30
aditi_lonkar
c88e7106ec
esp_wifi: Make enterprise support configurable to save binary size.
2023-08-25 11:00:54 +05:30
Shreyas Sheth
043b8b55a1
docs(wifi): Update wifi and wifi security documentation
...
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
2023-08-21 12:29:11 +00:00
Jiang Jiang Jian
b642bb9b53
Merge branch 'fix/wifi_wps_pbc_overlap' into 'master'
...
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode
Closes WIFIBUG-56
See merge request espressif/esp-idf!25331
2023-08-21 14:49:24 +08:00
Nachiket Kukade
29e6603ba7
fix(wifi): Fix EAPOL Key TxDone callback implementation
...
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-14 16:50:42 +05:30
Sarvesh Bodakhe
2c3394ff01
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode
2023-08-11 16:06:23 +05:30
Shyamal Khachane
d64a3d7755
fix(esp_wifi): Drop Eapol msg if EAP success is not processed
2023-07-28 15:00:03 +05:30
Shreyas Sheth
691eed15cc
fix(wifi): Fix memory leak caused by assoc IE and retry timer
2023-07-20 10:13:25 +05:30
Shyamal Khachane
a9e6deb615
fix(esp_wifi): Discard commit frame received at confirmed state in SAE
2023-07-18 08:09:08 +05:30