Commit Graph

414 Commits

Author SHA1 Message Date
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
Sarvesh Bodakhe
b678fa1290 esp_wifi: Combine bugfixes for softAP PMF, beacon tx process and add wpa_sta_connected callback
1. Handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2. Add wpa_sta_connected callback
3. Validate softAP interface when sending beacon frame
2023-06-12 15:24:07 +08:00
Shreyas Sheth
70e3d8f511 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-06-12 15:23:40 +08:00
zhangyanjiao
273f36829a wpa_supplicant: Fix max sta num error for softAP 2023-06-12 15:23:26 +08:00
jasta
9325029d87 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
Jiang Jiang Jian
e6ad0a4fa2 Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.0' into 'release/v5.0'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v5.0)

See merge request espressif/esp-idf!24154
2023-06-12 11:20:51 +08:00
Kapil Gupta
a66d93a75f esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 17:58:34 +05:30
jgujarathi
cecd0250fe wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-06-07 10:08:26 +05:30
jgujarathi
e84542909c wpa_supplicant : Add MBO ie in probe request.
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-06-07 10:08:04 +05:30
Jiang Jiang Jian
34f12c429d Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
wpa_supplicant: Get WPS credential in passphrase format(v5.0)

See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
Jiang Jiang Jian
d841134da0 Merge branch 'bugfix/update_wps_api_documentation_v5.0' into 'release/v5.0'
wpa_supplicant: Update WPS API documentation (v5.0)

See merge request espressif/esp-idf!23013
2023-05-11 17:03:12 +08:00