818 Commits

Author SHA1 Message Date
Sarvesh Bodakhe
b3fb47908c feat(wifi): Add support for WPA3 transition disable and more updates
1. Add support for SAE-PK and WPA3-Enterprise transition disable
2. Add support to handle OWE transition disable indication from AP
3. refactor: Backport common changes in scan/connect path from 90cc6158
   - 90cc6158 adds support for Network Introduction Protocol in DPP
4. 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-03 12:46:58 +05:30
muhaidong
fbc9fe582c fix(wifi): fix configure gcmp failure issue 2024-07-03 10:57:33 +08:00
muhaidong
d121b69262 fix(wifi): fixed disable gcmp choose pairwise cipher wrong issue 2024-07-02 21:40:48 +08:00
aditi_lonkar
440b786834 fix(esp_wifi): Fix for issue in changing opmode when wps is enabled 2024-07-02 12:29:44 +05:30
Sarvesh Bodakhe
af72ce1f75 fix(esp_wifi): Fix some wifi bugs
1. Fix issues related to mgmt packets encryption in GCMP
2. Fix issue of wrong decryption of mgmt packets when PMF is enabled
3. Fix frame subtype in send_mgmt_frame
4. Fix issue of wrong Rx control information of espnow packets for esp32 and esp32s2
5. Fix send mgmt err when eapol process
2024-07-01 11:06:13 +05:30
liuning
dd4b56defc fix(wifi): fix esp32 unrecoverable m f issue 2024-06-28 15:24:24 +08:00
jgujarathi
5b74fd5c43 fix(esp_wifi): Fix scanning and connecting to FT APs
- Ensure that scanning and connecting to FT capable APs in FT mode works
  as expected.
2024-06-27 16:06:54 +05:30
Sarvesh Bodakhe
3e70b760d2 fix(wifi): Fix station PMF issue
Fix issue of station PMF not getting reset when disconnecing from PMF connection
2024-06-25 14:24:19 +05:30
Shyamal Khachane
ff6db87429 fix(esp_wifi): Fix a memory leak that occurs when SAE connection is interrupted
1. Free temporary data used by SAE before memsetting the same
2. Drop any received auth response that uses a different algorithm than the one currently in use
2024-06-21 16:38:27 +05:30
zhangyanjiao
2f53cfd166 fix(wifi): do not send null data when scan start/done for mesh
Closes https://github.com/espressif/esp-idf/issues/13786
2024-06-12 10:06:18 +08:00
jgujarathi
0db25e4f99 fix(esp_wifi): Send unicast probe requests if bssid is known during scan 2024-06-04 17:08:47 +05:30
zhangyanjiao
4b19d69596 docs(wifi): update the docmentation for mesh API 2024-05-31 14:17:14 +08:00
zhangyanjiao
2e216f6e2e fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-05-31 14:13:50 +08:00
Nachiket Kukade
2208e0dfc2 fix(esp_wifi): Fix issue in selecting FTM compensation with external AP
Additionally update FTM Compensation values with calibration
2024-05-29 16:09:45 +05:30
Sarvesh Bodakhe
184555d70b fix(esp_wifi): Improvements in scan and connect path
* Improvements in scan and connect path as per specifications along with
  minor bugfixes
* When AP advertises all PSK modes (WPA, WPA2 and WPA3), make sure that
  station treats it as WPA2_WPA3_PSK mixed mode.
2024-05-28 15:57:46 +08:00
Sarvesh Bodakhe
9efdcd52cc fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements 2024-05-20 14:44:36 +05:30
muhaidong
4ae21b7f82 fix(wifi): fixed some wifi bugs 240517
1. fix esp_wifi_set_mode() return error issue
2. fix qos encapsulated eapol issue
3. eapol arp and dhcp add flag PP_F_PER_PKT_RATE
4. fix lmac_stop_hw_txq issue
5. fix typo
6. limite number of amsdu  block in eb
7. fix recycle cache sub amsdu eb issue
8. update ba session store and restore rx ba num
9. fix multicast address qos frame by reset rx ba
10. fix lmacStopTransmit issue
11. sync multi antenna gpio register from IDF
12. clear eb to fix tx single AMPDU to some AP not reply BA when ampdu_entry single bit was set
13. fix internal set log level check fail issue
14. update esp_wifi_connect doc
15. update api esp_wifi_sta_get_rssi docs
16. add interupt lock during hardware reload of Rx link
2024-05-20 10:26:25 +08:00
muhaidong
bc6d79c84a fix(doc): update api esp_wifi_sta_get_rssic docs
Closes https://github.com/espressif/esp-idf/issues/12685
2024-05-20 10:11:48 +08:00
zhangyanjiao
43dce54bb4 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 17:16:50 +08:00
jgujarathi
598e99fd4d fix(rsnxe): Expands maximum size of RSNXE IE to 255
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-04-05 11:36:34 +05:30
Nachiket Kukade
252c6d5ca7 feat(esp_wifi): Refactor and improve FTM code
Update wifi libs with below -

1. Break FTM State Machine code into separate functions
2. Use dynamic allocation for FTM session to save memory
3. Add API to get FTM report instead of event based mechanism
4. Add FTM Request retry and comeback support
2024-04-03 11:25:49 +05:30
liuning
3a0cf2c03a feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-28 21:09:28 +08:00
Simon H
515f085f70
fix(esp_wifi): Remove semicolon from SMARTCONFIG_START_CONFIG_DEFAULT
Removed rogue semicolon from SMARTCONFIG_START_CONFIG_DEFAULT() macro. This
fixes build issues when this macro is used via C++ brace initialization.

Closes https://github.com/espressif/esp-idf/pull/12867

[Darian Leung: Updated commit message]
Signed-off-by: Darian Leung <darian@espressif.com>
2024-02-29 17:59:51 +08:00
Jiang Jiang Jian
702853c00e Merge branch 'bugfix/esp32c2_eap_auth_v5.0' into 'release/v5.0'
fix(wifi): Added low heap usage Kconfig option for eap enterprise (v5.0)

See merge request espressif/esp-idf!28826
2024-02-29 11:24:50 +08:00
zhangyanjiao
ce93d231e9 fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-02-28 10:59:21 +08:00
Kapil Gupta
c62022b312 fix(wifi): add low memory options for eap enterprise 2024-02-28 10:37:40 +08:00
linruihao
bc5addf826 fix(esp_coex): fix circular dependency issue on esp32
Closes https://github.com/espressif/esp-idf/issues/13113
2024-02-22 16:52:37 +08:00
muhaidong
48b9fde3e3 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-24 16:38:43 +08:00
linruihao
698c736c06 fix(esp_coex): Fixed potential BLE scan request ifs timer error bug 2024-01-19 19:42:32 +08:00
zhangyanjiao
8e8c240f84 fix(wifi): fix the crash and malloc fail issue
1. fix(wifi/mesh): fix the crash issue when mesh deinit
2. fix(wifi):fix when ap recv auth in sa query porcess will memset psq issue
2024-01-18 11:27:22 +08:00
muhaidong
ef3830b4d8 fix(wifi): fix wpa3 connect fail issue 2024-01-12 16:35:13 +08:00
muhaidong
be1be3c64a fix(wifi): fix some wifi bugs
1. support dump ACK frame for CSI
2. fix psram enabled but initialized fail issue
2024-01-11 17:51:00 +08:00
alanmaxwell
93d1c3125e feat(wifi): support dump 802.11 ACK frame for CSI 2024-01-11 16:41:55 +08:00
liuning
11f4f925bd fix(coex): Fix esp32 ble scan not restart when wifi start stop, fix(wifi): Fix no sleep null after data sent 2024-01-11 11:42:12 +08:00
liuning
7a8230ef35 esp_wifi: support connectionless manually pwr mgmt 2024-01-11 11:42:12 +08:00
aditi_lonkar
5fbe36db0f fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2024-01-08 15:57:49 +05:30
xueyunfei
e0cdfe3590 Fix(esp_wifi): Add the missing header file to the wifi header files 2024-01-03 10:38:31 +08:00
Shyamal Khachane
bc866f36df fix(esp_wifi): Fix timer index out of bound issue causing execution of timer function to fail 2024-01-02 11:26:13 +08:00
zhangyanjiao
82f409107c feat(wifi): add new api to get one scan ap record 2023-12-11 18:09:13 +08:00
zhangyanjiao
192f9025fb fix(wifi): fix issues in scan and wifi mesh
1. fix(wifi): fix the crash issue when clear scan ap list
2. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router
2023-12-11 18:05:55 +08:00
liuning
606360d33d fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-11-28 20:52:42 +08:00
zhangyanjiao
0b740b3b80 fix(wifi): fix endless wake null at ps none mode 2023-11-23 14:43:40 +08:00
Jiang Jiang Jian
cba997763d Merge branch 'bugfix/fix_some_wifi_bugs_231121_v5.0' into 'release/v5.0'
fix(wifi): fix some wifi bugs(Backport v5.0)

See merge request espressif/esp-idf!27306
2023-11-23 14:41:40 +08:00
Jiang Jiang Jian
2166b5986e Merge branch 'bugfix/fix_wifi_init_reentrant_issue_v5.0' into 'release/v5.0'
fix(wifi): fix wifi init reentrant issue (v5.0)

See merge request espressif/esp-idf!27175
2023-11-23 10:57:40 +08:00
muhaidong
2e5937286c fix(wifi): fix some wifi bugs
1 sta not pmf capable when ap requires should reject profile
2 fix softap set config issue
3 allow some special igtk keyindx to workaround faulty APs
2023-11-22 19:04:43 +08:00
liuning
ac5ce8d02d fix(wifi): fix wifi init reentrant issue 2023-11-22 16:58:55 +08:00
Jiang Jiang Jian
35f09a6ce6 Merge branch 'bugfix/connect_before_connected_v5.0' into 'release/v5.0'
fix(connect): Change second connect time to 730

See merge request espressif/esp-idf!26974
2023-11-22 10:48:38 +08:00
ding huan
856daf8a35 disable scan time set by esp_wifi_scan_start 2023-11-14 13:52:55 +08:00
ding huan
2542b74edd fix(connect): Change second connect delay time to 730 and not depends on default value 2023-11-14 11:00:32 +08:00
alanmaxwell
5460d41b43 esp_wifi: backport some wifi fix
1. optimize BB filter timer to pass corner case
2. fix parse beacon rsnx ie missed break
2023-11-09 21:52:06 +08:00