Sarvesh Bodakhe
af72ce1f75
fix(esp_wifi): Fix some wifi bugs
...
1. Fix issues related to mgmt packets encryption in GCMP
2. Fix issue of wrong decryption of mgmt packets when PMF is enabled
3. Fix frame subtype in send_mgmt_frame
4. Fix issue of wrong Rx control information of espnow packets for esp32 and esp32s2
5. Fix send mgmt err when eapol process
2024-07-01 11:06:13 +05:30
Sarvesh Bodakhe
7fd73ede7f
fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake
2024-07-01 11:05:25 +05:30
Shyamal Khachane
ff6db87429
fix(esp_wifi): Fix a memory leak that occurs when 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 16:38:27 +05:30
Jiang Jiang Jian
397c1d9903
Merge branch 'bugfix/wps_crash_issue_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Avoid dereferencing a dangling function pointer in WPS (Backport v5.0)
See merge request espressif/esp-idf!29736
2024-04-07 10:11:34 +08:00
Sarvesh Bodakhe
3847822531
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-04-03 11:33:54 +08:00
jgujarathi
969605c7c2
fix(wpa_supplicant): Cancel offchannel listen operations before sending dpp fail
...
- Ensure that offchannel listening operations are cancelled before sending dpp
fail events
2024-04-03 10:20:54 +08:00
jgujarathi
0f1c0d27c8
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-04-03 10:20:54 +08:00
muhaidong
0f3286aa92
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-03-07 17:43:57 +08:00
Jiang Jiang Jian
702853c00e
Merge branch 'bugfix/esp32c2_eap_auth_v5.0' into 'release/v5.0'
...
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.0)
See merge request espressif/esp-idf!28826
2024-02-29 11:24:50 +08:00
aditi_lonkar
7c65911c18
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-02-28 10:37:57 +08:00
Kapil Gupta
c62022b312
fix(wifi): add low memory options for eap enterprise
2024-02-28 10:37:40 +08:00
jgujarathi
6cb42e4304
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2024-01-08 15:57:50 +05:30
jgujarathi
d982e66c21
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-08 15:57:50 +05:30
jgujarathi
339efe8cae
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-08 15:57:50 +05:30
jgujarathi
ed4582c9e0
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-08 15:57:50 +05:30
jgujarathi
8009cdae1d
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-08 15:57:50 +05:30
jgujarathi
290b30e56e
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-08 15:57:50 +05:30
aditi_lonkar
5fbe36db0f
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2024-01-08 15:57:49 +05:30
Kapil Gupta
a155523263
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-22 02:58:06 +00:00
Kapil Gupta
6383609e99
fix(wifi): Disallow DPP and WPS concurrency
2023-11-22 02:58:06 +00:00
Jiang Jiang Jian
3f207efa4b
Merge branch 'bugfix/supplicant_tls_fix_v5.0' into 'release/v5.0'
...
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv() (v5.0)
See merge request espressif/esp-idf!26847
2023-11-02 15:13:20 +08:00
Jiang Jiang Jian
03732b50fd
Merge branch 'feature/pbkdf2_fast_implementation_v5.0' into 'release/v5.0'
...
change(esp_wifi): Copy fastpbkdf2 implementation
See merge request espressif/esp-idf!26852
2023-11-02 15:12:20 +08:00
Kapil Gupta
46f81cebe4
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-11-01 21:58:00 +05:30
Kapil Gupta
973aca32be
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-11-01 21:56:56 +05:30
Kapil Gupta
5d26770886
change(esp_wifi): Copy fastpbkdf2 implementation
...
Copy pbkdf2 implementation from https://github.com/ctz/fastpbkdf2(3c56895)
2023-11-01 21:56:48 +05:30
Kapil Gupta
4ae0dc38cc
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 18:02:42 +05:30
Sarvesh Bodakhe
c90353291c
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-10-31 20:38:17 +08:00
Jiang Jiang Jian
4bd203b6da
Merge branch 'bugfix/wps_condition_chain_v5.0' into 'release/v5.0'
...
fix(wifi): Fix static analyzer warning for WPS code (v5.0)
See merge request espressif/esp-idf!26495
2023-10-27 19:46:03 +08:00
aditi_lonkar
8edd26b4f3
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
3) Ensures that the mode is set to station before dpp init
4) Ensures that dpp follows the path of init->bootstrap->listen
2023-10-26 12:09:44 +05:30
Kapil Gupta
28ba29a95d
fix(wifi): Fix static analyzer warning for WPS code
2023-10-18 17:55:38 +05:30
Shreyas Sheth
79e55b6e92
docs(wifi): Update wifi and wifi security documentation and bugfixes
...
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
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
Jiang Jiang Jian
0f3eb4f5a6
Merge branch 'bugfix/pbc_overlap_in_wps_pin_method_v5.0' into 'release/v5.0'
...
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method(v5.0)
See merge request espressif/esp-idf!25738
2023-10-08 14:09:22 +08:00
Kapil Gupta
32c6d13001
change(wifi): Rename ESP_WIFI_MBEDTLS_CRYPTO to WPA_MBEDTLS_CRYPTO
2023-09-25 10:58:06 +05:30
Kapil Gupta
3f0800ef66
change(wifi): Add supplicant's public API header files to doc
2023-09-25 10:57:11 +05:30
Kapil Gupta
5cc7d3741d
change(esp_wifi): Rename WiFi enterprise connection APIs
2023-09-21 11:54:32 +05:30
Jiang Jiang Jian
c4d7be43ed
Merge branch 'bugfix/wps_wpa3_passphrase_v5.0' into 'release/v5.0'
...
WiFi: get passphrase in WPS if AP support SAE (v5.0)
See merge request espressif/esp-idf!25886
2023-09-21 10:54:06 +08:00
aditi_lonkar
9f0d0e27ef
wpa_supplicant: Fix for issue of wps-pbc overlap in wps-pin method
2023-09-21 02:52:49 +00:00
Kapil Gupta
a869c484d0
fix(wifi): Get passphrase in WPS if AP support SAE
...
Also add changes to send NACK if WPS message received twice.
2023-09-15 10:28:48 +00:00
aditi_lonkar
ff523686b5
esp_wifi: Make enterprise support configurable to save binary size.
2023-08-25 11:14:49 +05:30
Sarvesh Bodakhe
8c22b81949
fix(wpa_supplicant): Add support to detect PBC overlap in wps registrar mode
2023-08-21 12:34:17 +05:30
Nachiket Kukade
b7a28abd2c
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-17 13:58:08 +08:00
Shyamal Khachane
29777aaa51
fix(esp_wifi): Drop Eapol msg if EAP success is not processed
2023-07-28 15:26:20 +05:30
Shyamal Khachane
585cbec17b
fix(wifi): Fix SAE and SAE related NVS issues
...
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
Jiang Jiang Jian
bb89a5769b
Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
...
Fix race conditions in btm task deletion(v5.0)
See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Kapil Gupta
d2f2b952bc
Fix(esp_wifi): Fix race conditions in btm task deletion
2023-07-13 10:27:25 +05:30
Kapil Gupta
4ff52a94f9
esp_wifi: Optimize sae crypto operations for esp32
2023-07-13 09:47:22 +05:30
jgujarathi
57b365377f
fix(wpa_supplicant) : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:37:42 +05:30
Jiang Jiang Jian
2798527b0b
Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
...
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)
See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
Jiang Jiang Jian
d994b97c92
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode_v5.0' into 'release/v5.0'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
See merge request espressif/esp-idf!24198
2023-06-13 20:13:47 +08:00
Shreyas Sheth
cb963c5cb5
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-06-13 12:22:50 +05:30