Commit Graph

349 Commits

Author SHA1 Message Date
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
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
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
muhaidong
103a53c80a wpa_supplicant: try install gtk before send 2 of 2 2022-09-17 19:08:13 +08:00
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
muhaidong
26a897039e esp_wifi: done beacon monitor timer and eloop timer when deinit 2022-08-19 14:10:25 +08:00
Ivan Grokhotkov
401c10ecfb build system: re-add -Wno-format as private flag for some components 2022-08-03 16:42:47 +04:00
Kapil Gupta
465996fba5 wpa_supplicant: fix invalid pointer free 2022-07-28 12:47:31 +00:00
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
Jiang Jiang Jian
371a935e76 Merge branch 'bugfix/wpa2_enterprise_issues' into 'master'
esp_wifi: WPA2 enterprise related changes

Closes WIFI-4579

See merge request espressif/esp-idf!19162
2022-07-22 13:56:41 +08:00
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
David Cermak
5c383d7b73 esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
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
Jiang Jiang Jian
633a9f744a Merge branch 'bugfix/OWE_memory_leak' into 'master'
esp_wifi : fixed OWE memory leak

See merge request espressif/esp-idf!19061
2022-07-18 17:20:36 +08:00
Kapil Gupta
882ad4e5e7 Merge branch 'feature/eloop_debug_framework' into 'master'
wpa_supplicant: Add debug info for eloop functions

See merge request espressif/esp-idf!18451
2022-07-18 14:17:25 +08:00
Shyamal Khachane
88db86672d fix for OWE memory leak 2022-07-15 14:29:32 +05:30