Commit Graph

344 Commits

Author SHA1 Message Date
Kapil Gupta
e8e7e3f946 esp_wifi: Flush PMK caching if bss akm has changed 2022-11-21 18:34:13 +05:30
Kapil Gupta
93dd1b2175 Merge branch 'bugfix/fixing_memory_leak_in_wps_scan_master' into 'master'
Adds improvements to esp_wps code to cover up potential memory leaks.

See merge request espressif/esp-idf!20741
2022-11-10 12:39:26 +08:00
Kevin (Lao Kaiyao)
5bed8fab49 Merge branch 'refactor/rename_h2_to_h4' into 'master'
esp32h2: renaming esp32h2 to esp32h4

Closes IDF-6098

See merge request espressif/esp-idf!20676
2022-11-09 19:19:43 +08:00
Shreyas Sheth
7de54eabf4 esp_wifi: Bugfix WPA Enterprise Reauthentication issue 2022-11-08 18:10:28 +05:30
laokaiyao
8677216576 esp32h2: renaming esp32h2 to esp32h4 2022-11-08 17:05:33 +08:00
Jiang Jiang Jian
9d7facf284 Merge branch 'remove_deprecated_rc4' into 'master'
Removed some occurences of the RC4 cipher suite

Closes IDF-4983

See merge request espressif/esp-idf!19856
2022-11-07 13:57:51 +08:00
jgujarathi
2272350820 (esp_wifi) : Adds improvements to esp_wps.c to cover up potential memory leaks. 2022-11-07 10:53:44 +05:30
Jiang Jiang Jian
6fb6bdf6dd Merge branch 'bugfix/wpa_sm_cleanup' into 'master'
esp_wifi: Remove unnecessary function pointers from wpa_sm_init

See merge request espressif/esp-idf!19833
2022-11-04 16:45:42 +08:00
Kapil Gupta
7278cf3e16 Merge branch 'feature/move_eloop_to_pptask' into 'master'
wpa_supplicant: Run eloop timer in ppTask context

Closes WIFI-4981

See merge request espressif/esp-idf!20481
2022-10-31 12:48:43 +08:00
Kapil Gupta
79b6e32ea7 wpa_supplicant: Validate eloop struct before deleting it 2022-10-27 09:16:18 +05:30
Kapil Gupta
404aa30290 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-26 18:09:25 +05:30
jgujarathi
915fb4dfe2 Removed some occurences of the RC4 cipher suite(deprecated now) 2022-10-26 03:02:16 +00:00
Mahavir Jain
dd76328927 Merge branch 'feature/wpa_supp_mbedtls_private_cleanup' into 'master'
wpa_supplicant: `MBEDTLS_PRIVATE` & `MBEDTLS_ALLOW_PRIVATE_ACCESS`-related cleanup

Closes IDF-5861

See merge request espressif/esp-idf!20171
2022-10-19 12:13:14 +08:00
Jiang Jiang Jian
72a70f08b9 Merge branch 'bugfix/reason_code_pmk_flush' into 'master'
Prevent pmk flush for unspecified reasoncode

Closes WIFI-4796

See merge request espressif/esp-idf!20459
2022-10-13 11:51:48 +08:00
gauri patankar
84252e4eb8 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-11 11:33:33 +05:30
gauri patankar
c286b0192b wpa_supplicant: Move SAE modules into dragonfly files 2022-10-11 11:26:39 +05:30
Laukik Hase
82c5bdcb76
wpa_supplicant: MBEDTLS_PRIVATE & MBEDTLS_ALLOW_PRIVATE_ACCESS-related cleanup 2022-10-10 11:48:16 +05:30
Kapil Gupta
198a4335f2 Remove unnecessary code from disconnect handler 2022-10-04 21:38:59 +05:30
gauri patankar
c89686647d esp_wifi:added hash key length validation 2022-09-30 10:40:27 +05:30
Kapil Gupta
cc6196ff6a esp_wifi: Remove unnecessary function pointer from wpa_sm_init 2022-09-29 12:46:53 +00:00
wuzhenghui
6b6bb3a321 esp32c6: add wpa_supplicant support 2022-09-26 20:32:13 +08:00
Kapil Gupta
6729f870b9 wpa_supplicant: Prevent pmk flush for unspecified reasoncode 2022-09-26 15:09:48 +05:30
Kapil Gupta
2bbd5ea69c Merge branch 'bugfix/wps_connect_to_open_ap' into 'master'
esp_wifi: bugfix wps connect to open AP

See merge request espressif/esp-idf!20247
2022-09-20 23:59:47 +08:00
Kapil Gupta
1cfd20c476 Merge branch 'bugfix/wps_connection_optimization' into 'master'
wpa_supplicant: Use channel from WPS scan for WPS connect

See merge request espressif/esp-idf!20184
2022-09-20 20:09:31 +08:00
Shreyas Sheth
d12351f7a6 esp_wifi: bugfix wps connect to open AP
Set Mac address in correct field
2022-09-20 11:43:53 +05:30
Kapil Gupta
3c5c108fa8 wpa_supplicat: Use same channel as found in WPS scan for WPS connect 2022-09-16 10:58:03 +05:30
muhaidong
0960aa8d87 wpa_supplicant: try install gtk before send 2 of 2 2022-09-05 21:28:19 +08:00
Kapil Gupta
06db6c2098 Merge branch 'bugfix/wps_ssid_len_validation' into 'master'
wpa_supplicant: Add WPS ssid length validation

See merge request espressif/esp-idf!19486
2022-08-29 13:55:17 +08:00
Mahavir Jain
fbd1972318
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-24 11:59:35 +05:30
Laukik Hase
6319970ab7
esp_tls/wpa_supplicant: Updated deprecated mbedtls APIs 2022-08-24 11:59:34 +05:30
Jiang Jiang Jian
08ed16f48c Merge branch 'bugfix/remove_rc4_3des_tls_cipher_wpa' into 'master'
wpa_supplicant: remove RC4 and 3DES ciphers for TLS

Closes IDFGH-8107

See merge request espressif/esp-idf!19718
2022-08-24 14:07:05 +08:00
Kapil Gupta
964f0ad5ad 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-23 13:02:05 +05:30
Kapil Gupta
4df06ed2f0 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-22 20:32:34 +05:30
Kapil Gupta
51f785fabe wpa_supplicant: Add WPS ssid length validation 2022-08-10 12:08:40 +05:30
muhaidong
36feb95a9e esp_wifi: done beacon monitor timer and eloop timer when deinit 2022-08-09 17:22:39 +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
Kapil Gupta
ff00a1c7a2 esp_wifi: Clear old keys before going for new connection 2022-07-12 16:37:55 +05:30
Jiang Jiang Jian
5f9bbf71fe Merge branch 'feature/sae_sta_h2e' into 'master'
SAE H2E support for STA

See merge request espressif/esp-idf!17860
2022-06-20 23:52:08 +08:00
Shreyas Sheth
591c7a496c esp_wifi: WPA3 SAE H2E support for station 2022-06-20 18:51:11 +05:30
muhaidong
6ca2804107 esp_wifi: esp32c2 does not support wapi. 2022-06-20 11:42:12 +08:00
Kapil Gupta
7fae6ce4f2 Correct SSID copy length during WPS scan 2022-06-18 13:26:48 +00:00