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
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
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
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
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
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
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
Shreyas Sheth
86aa89c532
esp_wifi: Add check for wps start state
2023-01-12 17:01:58 +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
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
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
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
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
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +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
Kapil Gupta
f11cc8ca9d
Remove unnecessary code from disconnect handler
2022-10-13 12:14:09 +05:30
Kapil Gupta
e2b8ebe804
wpa_supplicant: Prevent pmk flush for unspecified reasoncode
2022-10-13 12:14:09 +05:30
gauri patankar
71a0d61eae
wpa_supplicant: Update security patches from upstream
...
1. Adding security patch for SAE side channel attacks
2. Adding confirm message validation in error cases
3. Adding y coordinate for PWE in SAE
2022-10-12 15:01:17 +05:30
gauri patankar
fbaf50f1d9
esp_wifi:adding hash key length validation
2022-10-06 16:40:57 +05:30
Shreyas Sheth
eb7d52e18a
esp_wifi: bugfix wps connect to open AP
...
Set Mac address in correct field
2022-09-20 13:01:45 +05:30
Kapil Gupta
1d15a41e4a
wpa_supplicant: remove RC4 and 3DES ciphers for TLS
...
MbedTLS-3.x has dropped support for 3DES and RC4 TLS cipher
suites. Removing them from supplicant as well
Closes https://github.com/espressif/esp-idf/issues/9607
2022-08-29 14:57:09 +00:00
Mahavir Jain
be19c10f53
wpa_supplicant: fix issue with WPA2 enterprise TLS session
...
Usage of `mbedtls_ssl_conf_sig_algs()` was incorrect, it must include signature
algorithm with hash. This change is as per requirement defined in mbedTLS-3.2.1
release.
2022-08-26 11:46:55 +05:30
Laukik Hase
51cbbe486c
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs
2022-08-26 11:46:54 +05:30
Kapil Gupta
b32151f43a
wpa_supplicant: Fix WPS connection issue after WPS done
...
esp_wifi_disconnect is needed to clear the wifi state and enable
station to connect to new SSID. Add changes to call it after
WPS is done.
2022-08-23 13:09:22 +05:30
Shreyas Sheth
341a92aaa5
esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe
2022-07-22 12:23:13 +05:30
Kapil Gupta
951928960b
esp_wifi: WPA2 enterprise related changes
...
1. Removed DHE ciphers when mbedTLS is disabled since they take
too much processing power.
2. Removed support of SHA384 and SHA512 when mbedTLS is disabled
due to too much processing needed.
3. Fixed bugs in crypto_hash_init API which was causing
EAP connections to fail when mbedTLS was enabled.
4. Cleaned some code of crypto_hash_***
2022-07-21 13:33:18 +05:30
Kapil Gupta
9d98cd8f8d
WiFi: Do not disconnect in WPS disable incase WPS is done/scanning
...
Closes https://github.com/espressif/esp-idf/issues/9341
2022-07-18 14:57:01 +05:30
Shyamal Khachane
88db86672d
fix for OWE memory leak
2022-07-15 14:29:32 +05:30
Kapil Gupta
ff00a1c7a2
esp_wifi: Clear old keys before going for new connection
2022-07-12 16:37:55 +05:30
Shreyas Sheth
591c7a496c
esp_wifi: WPA3 SAE H2E support for station
2022-06-20 18:51:11 +05:30
Kapil Gupta
7fae6ce4f2
Correct SSID copy length during WPS scan
2022-06-18 13:26:48 +00:00
Shyamal Khachane
6d55761f60
OWE support for station
2022-06-15 17:20:24 +05:30
Kapil Gupta
bb23d783c0
Merge branch 'bugfix/sta_rejoin_softap_mode_issue' into 'master'
...
wpa_supplicant: Add changes to deinit sta_info correctly
Closes WIFI-4441
See merge request espressif/esp-idf!18395
2022-06-07 21:47:14 +08:00