Commit Graph

424 Commits

Author SHA1 Message Date
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
cc12adf71b ci(esp_wifi): unit test for fast PBKDF2 validation 2023-11-01 21:57:23 +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
Jiang Jiang Jian
e9ee047908 Merge branch 'feat/support_esp32c3_eco7_wifi_v5.0' into 'release/v5.0'
Backport/support esp32c3 v1.1 WiFi/BT/BLE(v5.0)

See merge request espressif/esp-idf!26756
2023-11-01 20:35:05 +08:00
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
Kapil Gupta
f2da30262a fix(wpa_supplicant): Fix compilation issue in EAP disabled 2023-10-27 18:09:37 +05:30
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
5004647fb1 fix(wifi): Fix crash occuring when station SAE group is not set to SECP256R1 2023-10-17 14:11:19 +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
Jiang Jiang Jian
1f870c8102 Merge branch 'feature/rename_wpa2_ent_to_eap_client_v5.0' into 'release/v5.0'
WiFi: Rename WPA2 enterprise APIs to EAP Client. (v5.0)

See merge request espressif/esp-idf!26098
2023-10-07 14:33:17 +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
9562935813 change(wifi): Add dependency of group 19 for MbedTLS crypto 2023-09-25 10:57:57 +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
Kapil Gupta
c853492e1c change(wifi): Reduce BSS logging in wpa_supplicant 2023-09-21 02:55:35 +00:00
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
Jiang Jiang Jian
0b4adebda5 Merge branch 'feature/configurable_wpa2_ent_v5.0' into 'release/v5.0'
Make enterprise support configurable to save binary size.(v5.0)

See merge request espressif/esp-idf!25557
2023-09-21 10:37:20 +08: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
Nachiket Kukade
304d6164ae fix(supplicant): Fix abstraction violation in wpa_supplicant 2023-08-25 12:33:29 +05:30
aditi_lonkar
ff523686b5 esp_wifi: Make enterprise support configurable to save binary size. 2023-08-25 11:14:49 +05:30
Jiang Jiang Jian
186b5b4d55 Merge branch 'bugfix/ignore_eapol_nonkey_v5.0' into 'release/v5.0'
Ignore EAPOL non-key frames in EAPOL txdone callback (Backport v5.0)

See merge request espressif/esp-idf!25455
2023-08-23 10:37:44 +08:00
Nachiket Kukade
9489c588bc fix(supplicant): Ignore EAPOL non-key frames in EAPOL txdone callback 2023-08-21 19:01:45 +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
jgujarathi
673a3b9b80 fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-08-18 12:53:07 +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
Jiang Jiang Jian
0508821a68 Merge branch 'bugfix/minor_enterprise_fixes_v5.0' into 'release/v5.0'
Drop Eapol msg if EAP success is not processed (Backport v5.0)

See merge request espressif/esp-idf!25067
2023-08-15 13:59:30 +08:00
Kapil Gupta
4b29d8340b esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-08-03 10:58:53 +05:30
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
Jiang Jiang Jian
3d015a44d2 Merge branch 'bugfix/sae_crypto_optimization_esp32_v5.0' into 'release/v5.0'
esp_wifi: Optimize sae crypto operations for esp32 (v5.0)

See merge request espressif/esp-idf!24761
2023-07-17 10:29:49 +08:00
Jiang Jiang Jian
87f2e7e415 Merge branch 'bugfix/concurrency_while_eloop_register_v5.0' into 'release/v5.0'
esp_wifi: Bugfix concurrency observed while doing eloop register (v5.0)

See merge request espressif/esp-idf!24571
2023-07-17 10:28:36 +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
Jiang Jiang Jian
1a0dc04ae1 Merge branch 'bugfix/wps_deauth_sent_before_eap_failure_v5.0' into 'release/v5.0'
Fix for sending deauth before Eap-Failure in WPS (v5.0)

See merge request espressif/esp-idf!24367
2023-07-13 07:54:24 +08:00
aditi_lonkar
16d7ce0843 Fix for sending deauth before Eap-Failure in WPS 2023-07-12 05:34:46 +00:00
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
Shreyas Sheth
5714d6d324 esp_wifi: Bugfix concurrency observed while doing eloop register 2023-07-04 09:42:39 +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
muhaidong
5caf842f72 esp_supplicant: wpa pmf should be disabled 2023-06-13 11:43:11 +08:00