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
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
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
Sarvesh Bodakhe
9d637316a9
fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake
2024-06-28 16:25:18 +05:30
Kapil Gupta
c5e1603e6d
fix(wifi): Fix encryption/decryption issue for mgmt packets
...
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
* Fix send mgmt err when eapol process
* Fix data len not correct in he actions
2024-06-28 16:24:54 +05:30
Shreyas Sheth
a14d4ea8a4
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer
2024-06-26 10:45:28 +08:00
Shyamal Khachane
233a57d4f5
fix(esp_wifi): Fix a memory leak that occurs when the SAE connection is interrupted
...
1. Free temporary data used by SAE before memsetting the same
2. Drop any received auth response that uses a different algorithm than the one currently in use
2024-06-21 14:47:30 +05:30
Jiang Jiang Jian
db65d0b71e
Merge branch 'feature/disable_pmk_caching_v5.1' into 'release/v5.1'
...
feat(esp_wifi): Provide API to disable PMK caching (v5.1)
See merge request espressif/esp-idf!30290
2024-05-13 10:43:22 +08:00
Jiang Jiang Jian
3e151e836f
Merge branch 'bugfix/dpp_auth_deinit_crash_v51' into 'release/v5.1'
...
Fix issues with DPP stop listen and DPP auth data deinit (Backport v5.1)
See merge request espressif/esp-idf!29702
2024-05-13 10:37:09 +08:00
Kapil Gupta
a4cda66e30
feat(esp_wifi): Provide API to disable PMK caching
2024-04-17 09:40:37 +05:30
Shreyas Sheth
2ac6e7345f
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
...
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-11 11:18:58 +05:30
Shreyas Sheth
a64d8b12c8
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
2024-04-03 00:04:14 +05:30
Sarvesh Bodakhe
d2b674622c
fix(esp_wifi): Fix regression caused by 02d6704a
when supplicant logs enabled
2024-03-20 11:03:20 +05:30
jgujarathi
aef69dffb3
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-18 14:37:33 +05:30
jgujarathi
36f3cbf369
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-18 14:37:30 +05:30
Sarvesh Bodakhe
02d6704a30
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-18 12:44:59 +05:30
Sarvesh Bodakhe
1d8b484cce
fix(esp_wifi): Reduce memory footprint for scan when SAE-PK is enabled
...
Use bss information cached in wifi library to get RSNXE capabilities
instead of storing bss information again in supplicant and accessing it.
2024-03-13 10:48:07 +05:30
Jiang Jiang Jian
4febc6ef70
Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue_v5.1' into 'release/v5.1'
...
fix(wifi): fix esp_wifi_scan_start memory leakage issue(Backport v5.1)
See merge request espressif/esp-idf!29476
2024-03-11 15:27:54 +08:00
muhaidong
3a2f9feec3
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-03-11 10:49:18 +08:00
aditi_lonkar
b5c19506d1
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-03-11 10:43:49 +08:00
Kapil Gupta
8a01702d65
fix(wifi): add low memory options for eap enterprise
2024-02-01 10:05:06 +05:30
jgujarathi
f33c32dc05
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.
2024-01-03 13:46:41 +05:30
jgujarathi
078da4b2d2
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.
2024-01-03 13:46:41 +05:30
jgujarathi
a65cb7669c
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2024-01-03 13:46:41 +05:30
jgujarathi
dcc14e8c15
fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
...
- Restructuring DPP init function to ensure cleanup of variables in case of
init failure
2024-01-03 13:46:40 +05:30
jgujarathi
5e20319831
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.
2024-01-03 13:46:40 +05:30
jgujarathi
c3518e0c87
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.
2024-01-03 13:46:40 +05:30
aditi_lonkar
4dd0805a6e
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2024-01-03 13:46:38 +05:30
Sarvesh Bodakhe
d1e31a4194
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-12-11 14:58:16 +05:30
Kapil Gupta
0c3440a5bc
fix(wifi): Disallow DPP and WPS concurrency
2023-11-16 12:35:19 +05:30
Kapil Gupta
5d5dac7754
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-16 12:35:15 +05:30
Jiang Jiang Jian
8df1e1ae66
Merge branch 'bugfix/install_key_issue_v5.1' into 'release/v5.1'
...
WiFI: Fix key install issue in PTK renew (v5.1)
See merge request espressif/esp-idf!26851
2023-11-02 14:18:42 +08:00
Kapil Gupta
095eae5fa3
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 18:02:29 +05:30
Shreyas Sheth
6c5b3c5d4c
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
2023-10-31 15:47:07 +05:30
Kapil Gupta
99e7db4ce5
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-10-26 13:30:01 +05:30
Jiang Jiang Jian
55d3bc2d37
Merge branch 'bugfix/wps_condition_chain_v5.1' into 'release/v5.1'
...
fix(wifi): Fix static analyzer warning for WPS code (v5.1)
See merge request espressif/esp-idf!26494
2023-10-19 13:51:57 +08:00
Kapil Gupta
5457c4c0b8
fix(wifi): Fix static analyzer warning for WPS code
2023-10-18 17:54:40 +05:30
jgujarathi
143079bfd7
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-17 14:27:14 +05:30
aditi_lonkar
cc3b0d9f49
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-17 14:27:14 +05:30
Jiang Jiang Jian
face850973
Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.1' into 'release/v5.1'
...
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.1)
See merge request espressif/esp-idf!26082
2023-09-26 13:30:52 +08:00
Kapil Gupta
52120cde26
change(wifi): Add supplicant's public API header files to doc
2023-09-25 10:54:52 +05:30
jgujarathi
3d056fd748
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-20 19:44:57 +08:00
Kapil Gupta
981086ba30
change(esp_wifi): Rename WiFi enterprise connection APIs
2023-09-20 17:06:59 +05:30