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
Shyamal Khachane
2fe39f79d1
wpa_supplicant : Fix association response processing in OWE
2023-04-07 11:44:23 +05:30
Kapil Gupta
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
Kapil Gupta
f44ce0960a
wpa_supplicant: Update WPS API documentation
2023-03-30 20:04:53 +05:30
Jiang Jiang Jian
e3778fa2a9
Merge branch 'bugfix/add_unregister_wpa3_cb_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fix issues encountered in WFA testing (v5.0)
See merge request espressif/esp-idf!22891
2023-03-30 00:56:59 +08:00
muhaidong
b6be20a95d
Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components
2023-03-27 17:33:32 +08:00
jgujarathi
4a0fbdccc7
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-23 10:53:13 +05:30
jgujarathi
4e1d466fc5
wpa_supplicant : Add validations for 192-bit Suite B test cases.
...
Add validation for group data cipher, pairwise cipher and AKM Suites to
ensure correct ciphers are supported by AP during 192-bit Enterprise
connections.
2023-03-23 10:53:13 +05:30
jgujarathi
6279e58c42
wpa_supplicant : Add deinitialization of Enterprise config_methods.
...
Add deinitialization of config_methods as it prevents correct reinitialization of sta in eap_peer_config_init() during reassoc.
2023-03-23 10:53:13 +05:30
jgujarathi
f283b589ed
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-23 10:53:13 +05:30
Shreyas Sheth
77c675db25
esp_wifi: bugfix RSNXE related changes
...
1. Set AP rsnxe len generic
2. Set transition_disable value in wifi get config
2023-03-20 21:55:44 +05:30
Jiang Jiang Jian
e9b2f6ddce
Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
gauri patankar
cad044a3b6
wpa_supplicant:Fix potential null pointer dereference
2023-03-10 16:00:55 +05:30
Jiang Jiang Jian
1f73b5e4cd
Merge branch 'bugfix/wps_start_state_issue_v5.0' into 'release/v5.0'
...
esp_wifi: Add check for wps start state (v5.0)
See merge request espressif/esp-idf!22025
2023-02-27 15:10:01 +08:00
Laukik Hase
6384299167
wpa_supplicant: Update deprecated API (mbedtls_pkcs5_pbkdf2_hmac
)
...
- The newer alternative does not require HMAC context for its
operation
2023-02-19 03:53:02 +00:00
Sachin Parekh
f136f16f72
wpa_supplicant: Enable ECC test case
2023-02-08 21:35:49 +05:30
jgujarathi
f6e8a4ea90
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30
jgujarathi
a36991d7a9
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:39:23 +05:30
jgujarathi
0ec506961e
wpa_supplicant : Correct scan results for GCMP RSN
...
Fixed a typo which was causing scan results for GCMP not showing correctly
2023-02-01 12:39:11 +05:30
Shreyas Sheth
86aa89c532
esp_wifi: Add check for wps start state
2023-01-12 17:01:58 +05:30
Shyamal Khachane
18e6fa945e
wpa_supplicant: Set PMK from PMKSA incase of caching
2023-01-11 11:17:02 +05:30
Shyamal Khachane
677c813137
esp_wifi: Fix open auth issue after commit message exchange
2023-01-11 11:16:13 +05:30
Kapil Gupta
1db1a5f17e
Removed sha384 hash for certs > 2k
2023-01-10 13:14:21 +00:00
Shyamal Khachane
823b6c8f56
wpa_supplicant: Clear current pmksa before generating RSN IE
...
Also update wifi libs with below changes -
- Fix reason codes for Invalid PMKID
- Fix handling of Assoc Resp status codes for Station
2022-12-21 11:51:48 +08:00
Jiang Jiang Jian
25eb1f0c6e
Merge branch 'bugfix/some_wifi_fixes_v5.0' into 'release/v5.0'
...
esp_wifi: update wifi lib to latest master for v5.0
See merge request espressif/esp-idf!21680
2022-12-21 10:50:49 +08:00
Shyamal Khachane
6203254900
wpa_supplicant: Fix PMK caching related regression
...
Fixed regression caused by commit e566e0b5
2022-12-19 19:10:11 +05:30
Jiang Jiang Jian
4ace4e6bec
Merge branch 'bugfix/skip_sae_during_wps_v5.0' into 'release/v5.0'
...
esp_wifi: Add changes to skip SAE handshake during WPS connection
See merge request espressif/esp-idf!21677
2022-12-19 19:33:04 +08:00
Kapil Gupta
2accc311a2
WiFi: Add WPS softAP registrar example and events
2022-12-19 14:09:05 +08:00
Jiang Jiang Jian
8281933297
Merge branch 'bugfix/bdsa_security_issues_v5.0' into 'release/v5.0'
...
esp_wifi:BDSA related patch updates
See merge request espressif/esp-idf!21676
2022-12-19 13:52:30 +08:00
Kapil Gupta
51dfbafce2
esp_wifi: Add changes to skip SAE handshake during WPS connection
2022-12-19 09:00:24 +05:30
Shreyas Sheth
e566e0b597
esp_wifi:BDSA related patch updates
2022-12-19 02:14:26 +05:30
Kapil Gupta
39ed5dc39d
esp_wifi: Flush PMK caching if bss akm has changed
2022-12-16 08:33:28 +05:30
Shreyas Sheth
38bb7c2a60
esp_wifi:Mandate stations to have minimum security wpa3
2022-12-06 05:06:18 +00:00
Jiang Jiang Jian
e35e255651
Merge branch 'bugfix/sta_set_extra_ies_for_open_AP_v5.0' into 'release/v5.0'
...
esp_wifi: STA set extra IEs for open AP v5.0
See merge request espressif/esp-idf!21362
2022-12-02 20:38:15 +08:00
Jiang Jiang Jian
a0dda599d3
Merge branch 'remove_deprecated_rc4_v5.0' into 'release/v5.0'
...
Removed some occurences of the RC4 cipher suite(deprecated now)
See merge request espressif/esp-idf!21255
2022-12-02 20:37:06 +08:00
Jiang Jiang Jian
ee57fe20de
Merge branch 'bugfix/wpa_enterprise_reauth_v5.0' into 'release/v5.0'
...
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v5.0)
See merge request espressif/esp-idf!21071
2022-12-02 20:32:27 +08:00
Jiang Jiang Jian
8295bfc031
Merge branch 'bugfix/fixing_memory_leak_wps_scan_v5.0' into 'release/v5.0'
...
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
See merge request espressif/esp-idf!20987
2022-12-02 20:30:23 +08:00
Shreyas Sheth
046e28fa70
esp_wifi: STA set extra IEs for open AP
2022-12-01 12:13:33 +05:30
jgujarathi
2d0ef53e94
Removed some occurences of the RC4 cipher suite(deprecated now)
2022-11-25 10:07:56 +05:30
Shreyas Sheth
ecaa2e8040
esp_wifi: Bugfix WPA Enterprise Reauthentication issue
2022-11-14 11:09:01 +05:30
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +05:30
Kapil Gupta
34bb7af431
wpa_supplicant: Run eloop timer in ppTask context
...
Currently eloop runs in timer context which may cause some
inconsistent behavior.
Add changes to run eloop in ppTask context
2022-10-31 10:38:01 +05:30
Kapil Gupta
2444d99612
wpa_supplicant: Validate eloop struct before deleting it
2022-10-28 09:44:32 +05:30
Jiang Jiang Jian
ab848877a8
Merge branch 'bugfix/eap_hash_key_len_validation_v5.0' into 'release/v5.0'
...
esp_wifi:Adding hash key length validation(backport v5.0)
See merge request espressif/esp-idf!20484
2022-10-14 11:16:03 +08:00