Commit Graph

449 Commits

Author SHA1 Message Date
Jiang Jiang Jian
e6e0b0dc40 Merge branch 'bugfix/neighbour_report_crash' into 'master'
Fix crash in RRM neighbour report requests.

Closes WIFI-5838

See merge request espressif/esp-idf!24993
2023-08-01 15:24:56 +08:00
Jiang Jiang Jian
07dd194fdb Merge branch 'bugfix/minor_enterprise_fixes' into 'master'
Minor enterprise fixes

See merge request espressif/esp-idf!24987
2023-08-01 15:16:23 +08:00
Shyamal Khachane
d64a3d7755 fix(esp_wifi): Drop Eapol msg if EAP success is not processed 2023-07-28 15:00:03 +05:30
Jiang Jiang Jian
8ef5a0f723 Merge branch 'bugfix/ccmp_decrypt_log' into 'master'
esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose

See merge request espressif/esp-idf!24331
2023-07-26 10:37:06 +08:00
jgujarathi
c610594abb fix(rrm) : Fix crash in RRM neighbour report requests.
Fix crash in sending new RRM neighbour report requests by removing
the call to neighbour report request timeout callback in case of
already ongoing neighbour report request timer.
2023-07-25 16:38:59 +05:30
Shreyas Sheth
691eed15cc fix(wifi): Fix memory leak caused by assoc IE and retry timer 2023-07-20 10:13:25 +05:30
Shyamal Khachane
a9e6deb615 fix(esp_wifi): Discard commit frame received at confirmed state in SAE 2023-07-18 08:09:08 +05:30
Shreyas Sheth
88cbcf4696 fix(wifi): Bugfix ignore immediate assoc req received by AP
1) Ignore immediate assoc req received from the station while we are
processing the older one
2) Create station mutex (sta->lock) only for stations connecting with wpa3
security
3) Fix regression caused by 4cb4faa9
2023-07-15 13:53:51 +05:30
Jiang Jiang Jian
5995cab9c1 Merge branch 'bugfix/multiple_btm_rrm_task' into 'master'
Fix esp_supplicant_common_deinit to post delete btm_rrm_t task.

Closes IDFGH-9553

See merge request espressif/esp-idf!22674
2023-07-12 19:55:00 +08:00
Kapil Gupta
01a9b46ea9 Fix(esp_wifi): Fix race conditions in btm task deletion 2023-07-11 14:22:10 +05:30
Jiang Jiang Jian
cc1fe58ba3 Merge branch 'bugfix/sae_crypto_optimization_esp32' into 'master'
esp_wifi: Optimize sae crypto operations for esp32

See merge request espressif/esp-idf!24279
2023-07-11 13:57:29 +08:00
Jiang Jiang Jian
12306efc19 Merge branch 'bugfix/btm_scan_done_crash' into 'master'
wpa_supplicant : Fix race condition in BTM scan

Closes WIFI-5838

See merge request espressif/esp-idf!23775
2023-07-04 16:03:08 +08:00
Jiang Jiang Jian
f5ccae4d93 Merge branch 'bugfix/concurrency_while_eloop_register' into 'master'
esp_wifi: Bugfix concurrency observed while doing eloop register

Closes WIFI-5955

See merge request espressif/esp-idf!24046
2023-07-03 13:41:36 +08:00
jgujarathi
98e33605b4 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-03 04:16:21 +00:00
Kapil Gupta
7dc8de15aa esp_wifi: Optimize sae crypto operations for esp32 2023-06-26 14:25:33 +05:30
Kapil Gupta
09916413a4 esp_wifi: Move ccmp mgmt enc/decrypt logs to verbose 2023-06-20 17:24:40 +05:30
Kapil Gupta
f6b9c4846b Merge branch 'bugfix/wps_deauth_sent_before_eap_failure' into 'master'
esp_wifi: Send deauth before Eap-Failure in WPS registrar

Closes WIFI-5999

See merge request espressif/esp-idf!24164
2023-06-20 18:26:54 +08:00
Jiang Jiang Jian
b77540c285 Merge branch 'bugfix/malloc_free_removal' into 'master'
esp_wifi: Remove direct calls of malloc() and free()

See merge request espressif/esp-idf!23287
2023-06-16 15:21:46 +08:00
Konstantin Kondrashov
c350c3c504 Merge branch 'feature/cleanup_wrong_log_use' into 'master'
all: Removes unnecessary newline character in logs

Closes IDFGH-10197

See merge request espressif/esp-idf!24131
2023-06-15 21:49:49 +08:00
Kapil Gupta
32479c960b esp_wifi: Remove direct call of malloc() and free() 2023-06-14 11:50:58 +05:30
aditi_lonkar
d34a63d1aa Fix for sending deauth before Eap-Failure in WPS 2023-06-12 15:08:42 +05:30
KonstantinKondrashov
e72061695e all: Removes unnecessary newline character in logs
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
Shreyas Sheth
078629d61b esp_wifi: Bugfix concurrency observed while doing eloop register 2023-06-06 12:43:12 +05:30
Kapil Gupta
026f9b31fa esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-05 10:50:53 +05:30
Shreyas Sheth
28e046d200 esp_wifi: Bugfix wpsreg AP not responding to assoc req
Fixed regression caused by 2b8e40e7
2023-06-02 02:07:55 +00:00
Jiang Jiang Jian
cd53393e0b Merge branch 'bugfix/mbo_ie_absent_prob_req' into 'master'
wpa_supplicant : Add MBO IE in probe request and fix issues with parsing GCMP ciphers in scan results.

See merge request espressif/esp-idf!23390
2023-05-19 16:58:12 +08:00
Jiang Jiang Jian
05d1104d28 Merge branch 'bugfix/reduce_logging_for_SAE_master' into 'master'
Modify log level for SAE

See merge request espressif/esp-idf!23548
2023-05-05 17:00:50 +08:00
jgujarathi
e803554654 wpa_supplicant : Fix scan results for GCMP and GCMP-256 cipher.
Add support for recognising GCMP and GCMP-256 ciphers if used by AP.
Update the scan example to show the correct cipher.
2023-05-05 10:13:17 +05:30
jgujarathi
00c0bf683f 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-05-05 10:12:29 +05:30
Shyamal Khachane
032305a74f wpa_supplicant: Reduce logging for SAE 2023-05-04 11:21:57 +05:30
Sarvesh Bodakhe
cd0d42d43b wpa_supplicant: Use 'mbedtls_pk_parse_public_key' to parse compressed EC public key and remove unnecessary code
Support to parse compressed EC public key is added from 'mbedtls-3.4.0'
2023-04-28 18:23:42 +05:30
Jiang Jiang Jian
25222163b9 Merge branch 'bugfix/fix_softap_pairwise_cipher_issue' into 'master'
esp_wifi: update pairwise cipher in softAP

Closes WIFI-5768 and WIFI-5779

See merge request espressif/esp-idf!23270
2023-04-27 21:31:19 +08:00
muhaidong
76ac4add53 esp_supplicant: wpa pmf should be disabled 2023-04-27 10:56:25 +08:00
Sarvesh Bodakhe
0518d2eb65 wpa_supplicant: Fix PMKID SHA-256 related regression
Fixed regression caused by commit 38e9c8b4
2023-04-26 18:00:32 +05:30
Kapil Gupta
f73bd61ebe Merge branch 'bugfix/dpp_retry_start_listening_issue' into 'master'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure

See merge request espressif/esp-idf!23369
2023-04-26 01:07:03 +08:00
jasta
1885379ae3 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-04-23 20:27:20 +05:30
laokaiyao
bf2a7b2df6 esp32h4: removed esp32h4 related codes 2023-04-23 12:03:07 +00:00
Shreyas Sheth
5524aad43f esp_wifi:Enable wpsreg to initialize in APSTA mode 2023-04-20 14:48:14 +05:30
Shreyas Sheth
dce0920329 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-04-12 18:32:24 +05:30
Shyamal Khachane
c046ddd642 wpa_supplicant : Fix association response processing in OWE 2023-04-07 11:45:46 +05:30
Jiang Jiang Jian
262149246d Merge branch 'bugfix/invalid_pmkid_in_eapol_1_of_4' into 'master'
wpa_supplicant: bugfix invalid pmkid in eapol 1 of 4

Closes WIFI-5636

See merge request espressif/esp-idf!23033
2023-04-03 17:24:29 +08:00
Shreyas Sheth
38e9c8b474 wpa_supplicant: Bugfix sending invalid PMKID by softAP in EAPOL message 1 of 4 2023-04-03 12:00:23 +05:30
Sarvesh Bodakhe
b89a851645 esp_wifi: Move wpa_supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED event handlers into callbacks
Executing supplicant WIFI_EVENT_STA_CONNECTED and WIFI_EVENT_STA_DISCONNECTED handlers in event-handler context can lead to concurrency issues.
Moving the functionality into 'wpa_sta_connected_cb' and 'wpa_sta_disconnected_cb' callbacks and execute in ppTask context.
2023-03-31 12:34:03 +05:30
Sarvesh Bodakhe
7fb6f3b9e3 esp_wifi: remove unnecessary code under SAE-PK configuration 2023-03-31 12:34:03 +05:30
Jiang Jiang Jian
74c151df44 Merge branch 'bugfix/fix_softap_wpa3_loop' into 'master'
Fix infinite loop in PMK mismatch case in WPA3 SoftAP

Closes WIFI-5627

See merge request espressif/esp-idf!22954
2023-03-30 14:42:00 +08:00
Shreyas Sheth
888b909e79 esp_wifi: WPA3 softap set PMF required true
1) Set NVS PMF required true if not specified by application when
   authmode is WPA3
2) Fix issue regarding cleanup of non associated sta_info
3) Fix implementation of sta lock to avoid concurrency issues
4) Fix softAP deinit crash when password is configured with max length
2023-03-29 13:07:52 +00:00
Jiang Jiang Jian
8448c72440 Merge branch 'bugfix/wps_phassphrase' into 'master'
wpa_supplicant: Get WPS credential in passphrase format

Closes IDFGH-8922

See merge request espressif/esp-idf!22454
2023-03-29 16:31:46 +08:00
Nachiket Kukade
7ee27bc956 wpa_supplicant: Fix infinite loop in PMK mismatch case in WPA3 SoftAP 2023-03-28 16:52:16 +05:30
muhaidong
61a5785414 Remove -Wno-format in esp_phy, esp_wifi, wpa_supplicant components 2023-03-27 06:42:08 +00:00
Kapil Gupta
5186b018c0 wpa_supplicant: Get WPS credential in passphrase format
Closes https://github.com/espressif/esp-idf/issues/10339
2023-03-24 10:40:04 +05:30