Commit Graph

366 Commits

Author SHA1 Message Date
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
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
bc992d7975 wpa_supplicant: Move SAE modules into dragonfly files 2022-10-12 14:52:08 +05:30
gauri patankar
fbaf50f1d9 esp_wifi:adding hash key length validation 2022-10-06 16:40:57 +05:30