sibeibei
64067f4cf0
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
2024-11-15 16:35:50 +08:00
Kapil Gupta
9f27f51dbe
fix(esp_wifi): Remove duplicate declaration of function
2024-10-25 23:32:14 +05:30
jgujarathi
74bb92cc5f
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-10-25 23:32:14 +05:30
jgujarathi
33214e4d68
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-10-25 23:32:14 +05:30
Jiang Jiang Jian
9c2e021bed
Merge branch 'feature/add_dpp_crypto_layer_v53' into 'release/v5.3'
...
feat(esp_wifi): Restructure dpp crypto Layer APIs
See merge request espressif/esp-idf!34319
2024-10-25 19:38:08 +08:00
Jiang Jiang Jian
3eef7a1d92
Merge branch 'bugfix/wpa2_ent_fixes_v53' into 'release/v5.3'
...
Few fixes in wpa_supplicant(v5.3)
See merge request espressif/esp-idf!34275
2024-10-24 13:03:03 +08:00
wangtao@espressif.com
71bb752d98
feat(wifi): support esp32c2 eco4 wifi bringup
2024-10-22 17:05:13 +08:00
muhaidong
9c55f57fa4
fix(wifi): fix miss internal wapi deinit issue
2024-10-18 14:24:52 +08:00
aditi
c807ce97d9
feat(esp_wifi): Add esp-idf specific changes
...
Added esp-idf implementation specific changes on top of the upstream updates.
2024-10-18 11:36:16 +05:30
aditi
7490867a4d
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-10-18 11:36:01 +05:30
aditi_lonkar
d45588ff51
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-10-18 11:34:37 +05:30
Aditi
8057de95d7
fix(wpa_supplicant): Add few fixes in dpp task
2024-10-18 11:26:16 +05:30
aditi
e148c20c07
fix(wpa_supplicant): Add few fixes in btm_rrm task
2024-10-18 11:26:08 +05:30
aditi
78f5d3b11d
fix(wpa_supplicant): Add few fixes in WPS task
2024-10-18 11:25:52 +05:30
aditi
e142c11dd0
fix(wpa_supplicant): Add few fixes in eap client code
2024-10-18 11:25:21 +05:30
Sajia
3ff63b3bfc
fix(wifi): Add a check on hostapd instance while handling an Auth frame
2024-10-11 15:16:16 +05:30
Jiang Jiang Jian
21858b4144
Merge branch 'bugfix/sae_h2e_vulnerability_fix_v5.3' into 'release/v5.3'
...
fix(wifi): Sae check for invalid rejected group (v5.3)
See merge request espressif/esp-idf!33979
2024-10-08 19:37:33 +08:00
Jouni Malinen
b18849638e
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-10-07 12:25:45 +05:30
Jouni Malinen
c6fee11bfc
SAE: Check that peer's rejected groups are not enabled
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2024-10-07 12:25:45 +05:30
Kapil Gupta
bff34554df
fix(wifi): Add channel bit definition
2024-10-07 09:54:17 +05:30
Kapil Gupta
640f9750a4
fix(esp_wifi): Prevent memory overflow in WPS
2024-10-06 16:52:25 +05:30
Kapil Gupta
f430a553de
fix(esp_wifi): Mask some error conditions in WPS
...
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-10-06 16:52:25 +05:30
Kapil Gupta
9f17d6fff8
fix(esp_wifi): Disable WPS timers once WPS succeed
2024-10-06 16:52:25 +05:30
Kapil Gupta
11c1627de9
fix(esp_wifi): Add support for 5ghz channel list for easy connect
2024-10-06 16:52:25 +05:30
Kapil Gupta
32d3b0b02c
fix(esp_wifi): Allow connection with WPA mode in WPS
2024-10-06 16:52:25 +05:30
Kapil Gupta
a7065d7020
fix(esp_wifi): Deinit WPS registrar during hostapd deinit
2024-10-06 16:52:25 +05:30
aditi
dbd96d6499
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-10-06 16:52:25 +05:30
Nachiket Kukade
607a689b39
fix(wifi): Fix wrong typecasting of sta_info while getting SPP Caps
2024-09-04 14:44:06 +08:00
aditi
da2fb9de49
fix(wpa_supplicant):Deinit old dpp authentication data after receiving config.
2024-07-30 13:57:42 +05:30
Jiang Jiang Jian
50288969c2
Merge branch 'fix/backport_wifi_fixes_v5.3' into 'release/v5.3'
...
fix(wifi): backport some wifi fixes to v5.3
See merge request espressif/esp-idf!32291
2024-07-26 11:08:23 +08:00
Jiang Jiang Jian
758567a7b7
Merge branch 'bugfix/wps_reg_state_handling_v5.3' into 'release/v5.3'
...
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station (Backport v5.3)
See merge request espressif/esp-idf!32082
2024-07-25 22:02:21 +08:00
aditi_lonkar
2130416e2e
fix(wifi):Fix for setting wps status fail when connection fails
2024-07-23 16:39:43 +08:00
Sarvesh Bodakhe
821f4a181f
fix(wpa_supplicant): Handle case when WPS registrar misses WSC_DONE sent by station
...
When registrar somehow misses the WSC_DONE sent by station and station
goes for next connection after sending deauth, make sure that softAP
disables the registrar.
2024-07-12 12:07:44 +05:30
Sarvesh Bodakhe
5deaedfab1
fix(wifi): Fix issue of supplicant using wrong parameters to configure bss
...
- Ensure that wpa_supplicant's state machine registers the requirement for rsnxe
before deciding to add rsnxe to a assoc request.
Co-authored-by: jgujarathi <jash.gujarathi@espressif.com>
2024-07-12 10:16:15 +05:30
Shreyas Sheth
33e6eaaabf
fix(wpa_supplicant): Fix wpa3 AP crash because of dangling pointer
2024-06-24 13:54:30 +08:00
Shyamal Khachane
9e95b9b29c
fix(esp_wifi): Backport some fixes to v5.3
...
1. Fix issue of station PMF not getting reset when disconnecing from PMF connection
2. Fix a memory leak that occurs when the SAE connection is interrupted
3. Drop any received auth responses that use a different algorithm than the one currently in use
2024-06-20 15:29:05 +05:30
Kapil Gupta
79cea90dc1
fix(esp_wifi): Correct action frame type in send_mgmt_frame API
2024-04-22 16:08:18 +05:30
Sarvesh Bodakhe
d97c8ed1b1
fix(wifi): Add bugfix to avoid RSNXE and KDE mismatch during 4-way-handshake
2024-04-16 19:49:28 +05:30
Kapil Gupta
95b522a1be
fix(wifi): Fix encryption/decryption issue for mgmt packets
...
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
2024-04-16 19:49:09 +05:30
Kapil Gupta
58ee771f3c
fix(wifi): Run tools/format.sh on WiFi component
2024-04-16 10:58:37 +05:30
Shreyas Sheth
e3338a3103
fix(wpa_supplicant): Compile error when CONFIG_SAE is disabled
...
Closes https://github.com/espressif/esp-idf/issues/13553
2024-04-08 17:29:48 +05:30
Jiang Jiang Jian
ce6363095e
Merge branch 'bugfix/wpa3_ap_ci_crash' into 'master'
...
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
Closes IDFCI-2090
See merge request espressif/esp-idf!29805
2024-04-02 20:05:06 +08:00
Shreyas Sheth
73ec4a74fd
fix(esp_wifi): Fix crash when assoc req comes before confirm is processed
2024-04-02 14:28:59 +05:30
Kapil Gupta
00ab1ef500
feat(esp_wifi): Provide API to disable PMK caching
2024-04-02 10:21:26 +05:30
jgujarathi
9a88dab748
feat(esp_wifi): Add support for advanced roaming as a wifi app
...
- Adds support for advanced roaming as a wifi app.
2024-04-01 23:00:01 +08:00
jgujarathi
71e6c10f7c
fix(wpa_supplicant): Update supplicant last scan time when application scanning
...
- Any scanning currently updates the bss table held by supplicant anyway,
but the time record used to maintain the recency of the last scan is
only updated by supplicant issued scans. Updating the last scan time
for application trigerred scanning will prevent the needless scanning
by supplicant if there has been an application trigerred scan in
the time diff threshold(currently 10s).
2024-04-01 23:00:01 +08:00
jgujarathi
b23e29d5ae
fix(wpa_supplicant): Add current bss channel as hint to scanning
...
- Add current bss channel as hint to scanning during supplicant connect
making the process faster.
2024-04-01 23:00:01 +08:00
jgujarathi
560c951e33
fix(wpa_supplicant): Add default durations to supplicant issued scans
...
- Add default durations to supplicant issued scans based on results from
initial experiments where probe response times were recorded in a
significantly noisy environment. It was noticed that within 70ms
we receive over 80% of the responses 90% of the time
2024-04-01 23:00:01 +08:00
jgujarathi
84d7ab5c0c
fix(wpa_supplicant): Clear bssid flag and channel in supplicant disconnect handler
...
- Clear the bssid set flag and channel in supplicant disconnect handler as this
can cause the station to recursively connect to the wrong AP in case
roaming through BTM mechanisms fails.
- Fix issue with incorrect blocking time calculation when blocking scan
issued for a single channel.
2024-04-01 23:00:01 +08:00
jgujarathi
c6134a23dd
fix(wpa_supplicant): Replace Neighbor Report callback with an event
...
- Deprecate the existing esp_rrm_send_neighbor_rep_request() API
- Adds a new API to send neighbor report requests esp_rrm_send_neighbor_report_request().
This replaces the older API's callback procedure with a new Wi-Fi
event that is posted when the neighbor report is received.
This moves the execution of the callback from supplicant
context to freertos context.
2024-04-01 23:00:01 +08:00