Sarvesh Bodakhe
fe35466cdd
fix(wpa_supplicant): Improve execution flow for WPS registrar public APIs
...
Make sure that WPS registrar public APIs do not modify supplicant
data in application task context. Execute API functionlity in eloop
context to prevent protential race conditions.
2024-03-18 12:43:39 +05:30
Sarvesh Bodakhe
aad6f44c25
fix(wifi): Avoid dereferencing a dangling function pointer in WPS supplicant
...
Avoid dereferencing a dangling function pointer in 'eap_server_sm_deinit()'.
This issue arises when hostap unregisteres EAP methods before it removes
the server state machine for station.
2024-03-18 12:43:38 +05:30
Jiang Jiang Jian
b05b19abc7
Merge branch 'feature/sae_pk_transition_disable' into 'master'
...
Add support for SAE-PK, WPA3-Enterprise and OWE transition disable indication
Closes WIFIBUG-287
See merge request espressif/esp-idf!27783
2024-03-18 11:38:50 +08:00
Kapil Gupta
59a62f2af6
fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements
...
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.
Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.
Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
* 0 = do not require Phase 2 authentication
* 1 = require Phase 2 authentication when client certificate
(private_key/client_cert) is no used and TLS session resumption was
not used (default)
* 2 = require Phase 2 authentication in all cases
2024-03-15 16:57:26 +08:00
Shyamal Khachane
fd556dc785
feat(wifi): Add support to handle OWE transition disable indication from AP
2024-03-15 13:56:00 +05:30
Sarvesh Bodakhe
34725cdbfd
feat(wifi): Add support SAE-PK and WPA3-Enterprise transition disable
2024-03-15 13:55:31 +05:30
Shreyas Sheth
9127a8fb25
fix(wifi): Fix wpa3 crash for station added without sta lock
2024-03-14 15:36:32 +05:30
Nachiket Kukade
ed704a22a8
fix(wpa_supplicant): Suppress RSN IE print to Verbose level
2024-03-13 20:10:20 +08:00
aditi_lonkar
90cc61588e
feat(esp_wifi): Add support of Network Introduction Protocol in DPP
2024-02-21 12:47:32 +05:30
Kapil Gupta
3a2e0dcbfb
Merge branch 'bugfix/mbo_api_flag' into 'master'
...
fix(wpa_supplicant):Add CONFIG_MBO flag for mbo apis.
Closes WIFIBUG-390
See merge request espressif/esp-idf!28560
2024-02-21 10:54:46 +08:00
Jiang Jiang Jian
b4fe434d2e
Merge branch 'bugfix/fix_esp_wifi_scan_start_memory_leakage_issue' into 'master'
...
fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes IDFGH-9313
See merge request espressif/esp-idf!28869
2024-02-05 19:23:33 +08:00
muhaidong
d278ffc501
fix(wifi): fix esp_wifi_scan_start memory leakage issue
...
Closes https://github.com/espressif/esp-idf/issues/10693
2024-02-03 16:32:09 +08:00
David Cermak
344cb342b8
fix(esp_wifi): Support for esp_wifi_remote
2024-02-01 12:17:43 +01:00
David Cermak
9088655030
fix(esp_wifi): Separate public and native wifi interface types
2024-02-01 12:17:37 +01:00
Kapil Gupta
d033c3ebff
fix(wifi): add low memory options for eap enterprise
2024-01-30 22:54:22 +08:00
aditi_lonkar
6006568c77
fix(wpa_supplicant):Add MBO config flag for mbo apis
2024-01-18 15:11:30 +05:30
Kapil Gupta
685fcf4278
Merge branch 'feature/supplicant_bss_extmem' into 'master'
...
WiFi: Add support to move supplicant BSS to external memory
See merge request espressif/esp-idf!27891
2024-01-11 15:55:14 +08:00
laokaiyao
11e19f40b9
feat(esp32c5): support to build hello world on esp32c5 beta3
2024-01-09 13:11:11 +08:00
Kapil Gupta
36c38943c8
fix(wifi): Add support to move supplicant BSS to external memory
2023-12-13 16:07:13 +00:00
igor.udot
6e258a879d
fix: add count for wpa test
2023-12-06 15:58:05 +08:00
igor.udot
e0a40feb5c
refactor: changed logic of unity_tester, replaced threads by generators
2023-12-06 15:58:05 +08:00
Jiang Jiang Jian
9f2578a0bd
Merge branch 'bugfix/wps_disable_crash' into 'master'
...
Fix a crash in esp_wifi_wps_disable
Closes WIFIBUG-252 and WIFIBUG-266
See merge request espressif/esp-idf!27233
2023-12-05 11:21:09 +08:00
jgujarathi
322aa53d9d
fix(wpa_supplicant): Add support for a dpp authentication timeout
...
- Adds support for a 1 second dpp authentication timeout.
2023-12-01 15:08:32 +05:30
jgujarathi
8508363ce5
fix(wpa_supplicant): Restructuring DPP init method to ensure cleanup
...
- Restructuring DPP init function to ensure cleanup of variables in case of
init failure
2023-12-01 12:23:03 +05:30
jgujarathi
76da067bce
fix(wpa_supplicant): Fix location of clearing up dpp global variables
...
- Fix location of cleaing up dpp global variables to ensure that there are
no concurrency issues.
2023-12-01 12:23:03 +05:30
jgujarathi
30c510020f
fix(wpa_supplicant): Fix a memory leak in dpp deinit path
...
- Ensures that the auth information of dpp gets freed when there is
dpp gets deinited.
2023-12-01 12:23:00 +05:30
Jiang Jiang Jian
e6a490c2ae
Merge branch 'bugfix/dpp_listen_bugs' into 'master'
...
fix(wpa_supplicant): Fix few bugs in dpp
See merge request espressif/esp-idf!26792
2023-12-01 11:07:18 +08:00
aditi_lonkar
bdeec024e8
fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times
2023-11-30 15:37:17 +05:30
Ivan Grokhotkov
88fa79fcc7
feat(unity): upgrade to 2.6.0-RC1
2023-11-28 20:22:02 +01:00
jgujarathi
f73432f651
fix(wpa_supplicant): Move concurrent wps and dpp check to before creating task
...
- Move the check for checking concurrent wps and dpp check to before creating
task rather than after.
2023-11-28 15:18:39 +05:30
jgujarathi
bb4b9d0687
fix(wpa_supplicant): Fix a crash in esp_wifi_wps_disable
...
- Fixes a crash observed in esp_wifi_wps_disable when wps process
is ongoing, caused due to concurrency issues in cancelling timers.
2023-11-28 11:55:35 +05:30
muhaidong
147463a0ac
fix(wifi): allow some special igtk keyindx to workaround faulty APs
2023-11-16 20:20:08 +08:00
Jiang Jiang Jian
b7c2e63bb4
Merge branch 'bugfix/supplicant_disconnect_process' into 'master'
...
esp_wifi: Fix bug in esp_wifi_deauthenticate_internal() & wpa_supplicant: Add parameter to configure reason code of deauth frame
Closes WIFIBUG-13
See merge request espressif/esp-idf!23776
2023-11-15 23:52:32 +08:00
Sarvesh Bodakhe
b42e14c9b7
fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements
2023-11-15 08:27:50 +05:30
Jiang Jiang Jian
65b8830d07
Merge branch 'bugfix/disallow_dpp_wps' into 'master'
...
fix(wifi): Disallow DPP and WPS concurrency
Closes WIFIBUG-205
See merge request espressif/esp-idf!26850
2023-11-15 10:41:59 +08:00
Sarvesh Bodakhe
2d83e3e7f4
fix(wpa_supplicant): Add some bugfixes in wpa_supplicant
...
1) Add parameter to configure reason code of deauth frame
2) Add logs to indicate MIC failure 4-Way-Handshake
3) Process RSNXE capabilities only if AP advertises them
2023-11-15 08:06:37 +05:30
Sudeep Mohanty
d507a86285
feat(freertos): Exposed Kconfig option for configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES
...
This commit exposes the FreeRTOS List integrity check option
configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES via menuconfig.
2023-11-09 14:54:13 +01:00
Kapil Gupta
c815fe67fa
fix(wpa_supplicant): memzero wifi config before sending config event
2023-11-03 15:44:08 +05:30
Jiang Jiang Jian
b10580fb04
Merge branch 'bugfix/supplicant_tls_fix' into 'master'
...
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
Closes WIFIBUG-212
See merge request espressif/esp-idf!26837
2023-11-02 13:59:05 +08:00
Kapil Gupta
69704efd5d
fix(wifi): Disallow DPP and WPS concurrency
2023-11-01 19:09:58 +05:30
Kapil Gupta
442f802102
fix(wpa_supplicant): Correct iv lenght passed in mbedtls_cipher_set_iv()
2023-11-01 17:31:02 +05:30
Jiang Jiang Jian
15f62f87ed
Merge branch 'bugfix/wpa3_softap_assoc_reject' into 'master'
...
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
Closes WIFIBUG-95
See merge request espressif/esp-idf!25545
2023-11-01 10:37:12 +08:00
Jiang Jiang Jian
f89a879e80
Merge branch 'bugfix/fix_compilation_issue' into 'master'
...
fix(wpa_supplicant): Fix compilation issue in EAP disabled
Closes IDFGH-11304
See merge request espressif/esp-idf!26659
2023-10-31 14:29:15 +08:00
Jiang Jiang Jian
5f518dbdde
Merge branch 'bugfix/disable_fastpbkdf2_hardwaredisable' into 'master'
...
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
Closes WIFIBUG-208
See merge request espressif/esp-idf!26682
2023-10-31 14:18:15 +08:00
Shreyas Sheth
8b8d4a0ffc
fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished
2023-10-31 06:13:49 +00:00
Sarvesh Bodakhe
0a95914839
fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero
2023-10-27 09:35:20 +05:30
Kapil Gupta
04d874d6a3
fix(wpa_supplicant): implement sha1_finish for fastpbkdf2
2023-10-26 13:27:39 +05:30
Kapil Gupta
53939de34e
fix(wpa_supplicant): Fix compilation issue in EAP disabled
2023-10-25 09:55:12 +05:30
Jiang Jiang Jian
6db16c6e81
Merge branch 'feature/sta_sae_ext_key' into 'master'
...
feat(wifi): Add support for sae ext key for station
Closes WIFI-6170
See merge request espressif/esp-idf!24833
2023-10-19 18:49:15 +08:00
Zim Kalinowski
fa1a3ce0b5
Merge branch 'refactor/components_linux_compatible' into 'master'
...
Exclude all currently incompatible components from Linux build
Closes IDF-8318 and IDF-5996
See merge request espressif/esp-idf!25598
2023-10-18 20:17:49 +08:00