Nachiket Kukade
b7a28abd2c
fix(wifi): Fix EAPOL Key TxDone callback implementation
...
Fix issues arising due to not distinguishing between M2 and M4
TxDone during 4-way handshake. Also fix EAPOL frame rate to lowest
possible rate.
2023-08-17 13:58:08 +08:00
Shyamal Khachane
29777aaa51
fix(esp_wifi): Drop Eapol msg if EAP success is not processed
2023-07-28 15:26:20 +05:30
Shyamal Khachane
585cbec17b
fix(wifi): Fix SAE and SAE related NVS issues
...
1. Discard commit frame received at confirmed state in SAE STA
2. Bugfix NVS get values for sae pwe
3. Bugfix memory leak caused by assoc retry timer and assoc IE
4. Bugfix store nvs authmode security values
2023-07-25 13:53:42 +05:30
Jiang Jiang Jian
bb89a5769b
Merge branch 'bugfix/multiple_btm_rrm_task_v50' into 'release/v5.0'
...
Fix race conditions in btm task deletion(v5.0)
See merge request espressif/esp-idf!24766
2023-07-17 10:30:15 +08:00
Kapil Gupta
d2f2b952bc
Fix(esp_wifi): Fix race conditions in btm task deletion
2023-07-13 10:27:25 +05:30
Kapil Gupta
4ff52a94f9
esp_wifi: Optimize sae crypto operations for esp32
2023-07-13 09:47:22 +05:30
jgujarathi
57b365377f
fix(wpa_supplicant) : Fix occasional crash during btm roam.
...
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 10:37:42 +05:30
Jiang Jiang Jian
2798527b0b
Merge branch 'bugfix/fix_some_wifi_bugs_230612_v5.0' into 'release/v5.0'
...
Fixed some wifi bugs 230612 v5.0 (Backport v5.0)
See merge request espressif/esp-idf!24172
2023-06-14 01:10:29 +08:00
Jiang Jiang Jian
d994b97c92
Merge branch 'bugfix/init_wpsreg_in_APSTA_mode_v5.0' into 'release/v5.0'
...
esp_wifi:Enable wpsreg to initialize in APSTA mode
See merge request espressif/esp-idf!24198
2023-06-13 20:13:47 +08:00
Shreyas Sheth
cb963c5cb5
esp_wifi:Enable wpsreg to initialize in APSTA mode
2023-06-13 12:22:50 +05:30
muhaidong
5caf842f72
esp_supplicant: wpa pmf should be disabled
2023-06-13 11:43:11 +08:00
Sarvesh Bodakhe
b678fa1290
esp_wifi: Combine bugfixes for softAP PMF, beacon tx process and add wpa_sta_connected callback
...
1. Handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2. Add wpa_sta_connected callback
3. Validate softAP interface when sending beacon frame
2023-06-12 15:24:07 +08:00
Shreyas Sheth
70e3d8f511
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message
2023-06-12 15:23:40 +08:00
zhangyanjiao
273f36829a
wpa_supplicant: Fix max sta num error for softAP
2023-06-12 15:23:26 +08:00
jasta
9325029d87
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
...
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true. Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.
This contributes greatly to #10615 , but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works. Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.
Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
Jiang Jiang Jian
e6ad0a4fa2
Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.0' into 'release/v5.0'
...
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v5.0)
See merge request espressif/esp-idf!24154
2023-06-12 11:20:51 +08:00
Kapil Gupta
a66d93a75f
esp_wifi: Fix WPS issue for WPA3+WPA2 mode
2023-06-09 17:58:34 +05:30
jgujarathi
e84542909c
wpa_supplicant : Add MBO ie in probe request.
...
Adds the MBO information element in the probe request frame by resetting
scan_ie after set_config is done.
2023-06-07 10:08:04 +05:30
Jiang Jiang Jian
34f12c429d
Merge branch 'bugfix/wps_phassphrase_v5.0' into 'release/v5.0'
...
wpa_supplicant: Get WPS credential in passphrase format(v5.0)
See merge request espressif/esp-idf!23076
2023-05-11 17:10:29 +08:00
Kapil Gupta
c4941e2e75
wpa_supplicant: Get WPS credential in passphrase format
...
Closes https://github.com/espressif/esp-idf/issues/10339
2023-04-05 16:05:44 +05:30
Kapil Gupta
f44ce0960a
wpa_supplicant: Update WPS API documentation
2023-03-30 20:04:53 +05:30
Jiang Jiang Jian
e3778fa2a9
Merge branch 'bugfix/add_unregister_wpa3_cb_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fix issues encountered in WFA testing (v5.0)
See merge request espressif/esp-idf!22891
2023-03-30 00:56:59 +08:00
muhaidong
b6be20a95d
Remove -Wno-format in esp_phy, esp_wifi and part of wpa_supplicat components
2023-03-27 17:33:32 +08:00
jgujarathi
4a0fbdccc7
wpa_supplicant : Add disable for tls key usage check.
...
Disable the key usage check this leads to false negative results
while using wfa certificates during testing.
2023-03-23 10:53:13 +05:30
jgujarathi
f283b589ed
wpa_supplicant : Add support for unregistering wifi wpa3 callbacks.
...
Unregister wifi callbacks allows for disabling support for wpa3 functions when not required.
2023-03-23 10:53:13 +05:30
Jiang Jiang Jian
e9b2f6ddce
Merge branch 'bugfix/minor_syntax_changes_v5.0' into 'release/v5.0'
...
wpa_supplicant : Fixing a collection of issues encountered during application testing.
See merge request espressif/esp-idf!22178
2023-03-17 19:39:49 +08:00
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
jgujarathi
f6e8a4ea90
wpa_supplicant : Prevent h2e config overwrite
...
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this.
2023-02-01 12:51:12 +05:30
jgujarathi
a36991d7a9
wpa_supplicant : fix invalid de-init of last_scan_res_used
...
During the wifi deinit last_scan_res_used is not set to 0 which will cause it be used directly after reinit.
Added changes which will set it to 0 during init and deinit.
2023-02-01 12:39:23 +05:30
Shreyas Sheth
86aa89c532
esp_wifi: Add check for wps start state
2023-01-12 17:01:58 +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
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
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
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
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
jgujarathi
561cce9446
(wpa_supplicant) : Fixed a memory leak issue created when parsing scan results
2022-11-11 17:17:28 +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
fbaf50f1d9
esp_wifi:adding hash key length validation
2022-10-06 16:40:57 +05:30