Sarvesh Bodakhe
6fd082f8ac
feat(wpa_supplicant): Add WIFI_EVENT_AP_WRONG_PASSWORD in SoftAP
...
This event is triggered when external station tries connecting to softAP
with wrong password.
Currently supported softAP AUTH modes: WPA-PSK, WPA2-PSK and WPA3-PSK (SAE-auth)
2024-12-14 18:17:53 +05:30
Alexey Lapshin
22a38779fb
fix(wpa_supplicant): remove duplicated code (endian.h) that exists in newlib component
2024-12-02 20:26:26 +07:00
Nachiket Kukade
1810e7bbe3
fix(wpa_supplicant): Add an exception in wpa_supplicant sbom.yml
2024-11-21 12:12:17 +08:00
yinqingzhao
f40c2cbc72
feat(wifi): avoid compiling components related to wifi when wifi is not supported
2024-11-19 11:02:09 +08:00
Kapil Gupta
197128b162
fix(wifi): Remove WPS IEs once WPS succeeds
2024-11-08 15:59:58 +05:30
sibeibei
7e5741953d
fix(wifi): fix some wifi issues 241031
...
1. fix cant sleep if reconnect to connected ap
2. clear pmk in internal reconnection
3. update connect status for init-->auth
4. add protection for probe request when wifi band is 5g
2024-10-31 19:03:01 +08:00
Shyamal Khachane
624878b6e2
fix(esp_wifi): Populate appropriate reason codes when softAP sends deauthentication
...
Populate appropriate reason for sending deauthentication when softAP receives
invalid RSN IE from association request
2024-10-21 11:31:17 +08:00
Sarvesh Bodakhe
6797c86135
fix(wifi): Fix wrong wifi reason codes reported on station and softAP
...
- Fix wrong reason code reported when softAP issues a disconnect for station
- Fix wrong reason code reported when association timeout happens at station
- Deprecate enums WIFI_REASON_ASSOC_EXPIRE, WIFI_REASON_NOT_AUTHED, WIFI_REASON_NOT_ASSOCED
and use WIFI_REASON_DISASSOC_DUE_TO_INACTIVITY,
WIFI_REASON_CLASS2_FRAME_FROM_NONAUTH_STA,
WIFI_REASON_CLASS3_FRAME_FROM_NONASSOC_STA respectively
- Update wifi documentation related to reason codes
2024-10-21 11:31:17 +08:00
Nachiket Kukade
82e6c06193
feat(wpa_supplicant): Add sbom manifest file for wpa_supplicant
2024-10-15 12:27:54 +05:30
Sajia
ff4620fd70
fix(wifi): Add a check on hostapd instance while handling an Auth frame
2024-10-11 10:26:09 +08:00
Sarvesh Bodakhe
9ebfd93c5d
fix(wpa_supplicant): Fix debug print in wps_start_msg_timer()
2024-10-07 16:31:43 +05:30
muhaidong
d918aa3ebd
fix(wifi): fix miss internal wapi deinit issue
2024-09-30 10:02:29 +08:00
aditi
beda284524
feat(esp_wifi): Add esp-idf specific changes
...
Added esp-idf implementation specific changes on top of the upstream updates.
2024-09-29 19:13:20 +08:00
aditi
fbde07c953
feat(esp_wifi): Replace crypto_key with crypto_ec_key
...
Replaced all occurances of crypto_key with crypto_ec_key struct
to make the code more consistent with upstream.
2024-09-29 19:13:20 +08:00
aditi_lonkar
cab4dc15f4
feat(esp_wifi): Restructure dpp crypto Layer APIs
...
1) Update dpp implementation as per upstram hostapd tag hostap_2_10.
2) Move dpp crypto routines into a separate source code file.
2024-09-29 19:13:20 +08:00
Aditi
7444127041
fix(wpa_supplicant): Add few fixes in dpp task
2024-09-27 14:00:24 +08:00
aditi
7fa1e5cf9a
fix(wpa_supplicant): Add few fixes in btm_rrm task
2024-09-27 14:00:24 +08:00
aditi
c5892a4c96
fix(wpa_supplicant): Add few fixes in eloop task
2024-09-27 14:00:24 +08:00
aditi
35e96b977b
fix(wpa_supplicant): Add few fixes in WPS task
2024-09-27 14:00:24 +08:00
aditi
9ceb0cffcc
fix(wpa_supplicant): Add few fixes in eap client code
2024-09-27 14:00:24 +08:00
Jiang Jiang Jian
216e653de4
Merge branch 'bugfix/increase_leak_threshold_for_wpa_supplicant_dpp_test' into 'master'
...
fix(wpa_supplicant): add crypto init calls to address memory leak issue in tests
Closes IDFCI-2409
See merge request espressif/esp-idf!33731
2024-09-25 16:04:39 +08:00
Mahavir Jain
c89c316922
fix(wpa_supplicant): add crypto init calls to address memory leak issue in tests
...
- C61 does not feature MPI hardware and hence the other tests were
getting executed first
- Memory leak threshold should be independent of target crypto
peripherals and hence added to crypto init to test `setUp` call
2024-09-24 15:12:07 +05:30
yinqingzhao
a8ede32979
fix(wifi): modify some SOC_WIFI_SUPPORT_5G to CONFIG_SOC_WIFI_SUPPORT_5G
2024-09-24 13:14:51 +08:00
Jiang Jiang Jian
d076f0ad80
Merge branch 'feat/wifi_crypto_funcs_cleanup' into 'master'
...
Cleanup of wifi crypto funcs within wifi libs
See merge request espressif/esp-idf!30698
2024-09-23 21:08:50 +08:00
Jiang Jiang Jian
4530b0e395
Merge branch 'bugfix/sae_h2e_vulnerability_fix' into 'master'
...
fix(wifi): Sae check for invalid rejected group
See merge request espressif/esp-idf!33416
2024-09-23 20:32:00 +08:00
jgujarathi
52bcdb9400
refactor(esp_wifi): Cleanup of wifi crypto funcs within wifi libs
...
- Remove unnecessary funcs from wpa_crypto_funcs_t and consolidate some
of their usages in wifi libs
2024-09-23 14:24:08 +05:30
Jouni Malinen
f9aa42b137
SAE: Check for invalid Rejected Groups element length explicitly on STA
...
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.
Fixes: 444d76f74f65 ("SAE: Check that peer's rejected groups are not enabled")
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
7fc4d894a9
SAE: Check that peer's rejected groups are not enabled
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-09-23 12:05:02 +08:00
Jouni Malinen
05874b938e
SAE: Reject invalid Rejected Groups element in the parser
...
There is no need to depend on all uses (i.e., both hostapd and
wpa_supplicant) to verify that the length of the Rejected Groups field
in the Rejected Groups element is valid (i.e., a multiple of two octets)
since the common parser can reject the message when detecting this.
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
ba76df4f69
SAE: Check for invalid Rejected Groups element length explicitly
...
Instead of practically ignoring an odd octet at the end of the element,
check for such invalid case explicitly. This is needed to avoid a
potential group downgrade attack.
Signed-off-by: Jouni Malinen <j@w1.fi>
2024-09-23 12:05:02 +08:00
Jouni Malinen
b6f91e403a
SAE: Check that peer's rejected groups are not enabled in AP
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-09-23 12:05:02 +08:00
Kapil Gupta
d2e0eb7a52
fix(esp_wifi): Prevent memory overflow in WPS
2024-09-21 14:38:09 +05:30
Kapil Gupta
5d792910be
Merge branch 'bugfix/wps_timer_causing_disconnect' into 'master'
...
fix(esp_wifi): Disable WPS timers once WPS succeed
Closes WIFIBUG-393
See merge request espressif/esp-idf!33240
2024-09-21 15:03:19 +08:00
Kapil Gupta
0c9d7c9dd0
Merge branch 'bugfix/2g_5g_wnm_scan' into 'master'
...
fix(esp_wifi): Add changes to enable 5ghz scan
Closes WIFIBUG-773
See merge request espressif/esp-idf!33657
2024-09-20 22:20:26 +08:00
Kapil Gupta
3629909b11
fix(esp_wifi): Mask some error conditions in WPS
...
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-09-20 22:08:01 +08:00
Kapil Gupta
3a35b26de1
fix(esp_wifi): Disable WPS timers once WPS succeed
2024-09-20 22:08:01 +08:00
Kapil Gupta
b0712b6a2b
Merge branch 'bugfix/deinitialize_wps_registrar' into 'master'
...
fix(esp_wifi): Deinit WPS registrar during hostapd deinit
Closes WIFIBUG-786 and WIFIBUG-695
See merge request espressif/esp-idf!33658
2024-09-20 17:40:57 +08:00
Kapil Gupta
1d7241acc1
fix(esp_wifi): Add changes to enable 5ghz scan
2024-09-20 12:58:14 +05:30
Kapil Gupta
903c11ff1a
Merge branch 'bugfix/dpp_5ghz_chan_support' into 'master'
...
fix(esp_wifi): Add support for 5ghz channel list for easy connect
Closes WIFI-6420
See merge request espressif/esp-idf!32146
2024-09-20 14:46:05 +08:00
Kapil Gupta
e24005c8db
fix(esp_wifi): Add support for 5ghz channel list for easy connect
2024-09-20 14:46:05 +08:00
Kapil Gupta
52002bf92d
fix(esp_wifi): Allow connection with WPA mode in WPS
2024-09-20 14:16:01 +08:00
Kapil Gupta
28f12bfb47
fix(esp_wifi): Deinit WPS registrar during hostapd deinit
2024-09-19 23:10:08 +05:30
Kapil Gupta
27cf5267a1
fix(esp_wifi): Added prints in btm roam for error condition
2024-09-18 14:44:24 +08:00
Kapil Gupta
09b421674b
fix(esp_wifi): Remove duplicate declaration of function
2024-09-11 10:03:38 +05:30
jgujarathi
6547315dde
fix(esp_wifi): Stops roaming app upon application initiated disconnect
...
Stops roaming app when the application initiates a disconnect.
Roaming app if enabled will be restarted when the station reconnects again.
2024-09-11 11:39:43 +08:00
jgujarathi
e2ba2cfbe2
fix(esp_supplicant): Fix compilation issues with btm and rrm status funcs
...
- Ensure that the btm and rrm status funcs can be used even if 80211.kv
are not enabled in menuconfig. They will return false in such cases.
2024-09-11 11:39:43 +08:00
Jiang Jiang Jian
e963bff523
Merge branch 'bugfix/wps_pbc_overlap' into 'master'
...
fix(wpa_supplicant): Fix for WPS-PBC overlap detection in dual band
Closes WIFIBUG-680
See merge request espressif/esp-idf!32690
2024-09-04 17:42:45 +08:00
wangtao@espressif.com
fef76de1ce
feat(wifi): support esp32c2 eco4 wifi bringup
2024-09-03 17:50:39 +08:00
aditi
e145e04fca
fix(wpa_supplicant): Fix for WPS-PBC overlap detection in dual band
...
When WPS is running on dual band(e.g. a separate 2.4 GHz and 5 GHz band
radios in an AP device), detect pbc overlap only if UUID differs.
2024-09-03 13:07:36 +05:30
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00