Commit Graph

916 Commits

Author SHA1 Message Date
Nachiket Kukade
9a91fba9f2 feat(esp_wifi): Update FTM PHY Compensation with calibration 2024-04-30 12:11:29 +08:00
xuxiao
fdbdf6036f fix(wifi): fix some esp32c6 wifi bugs (Backport v5.1) 2024-04-28 16:24:49 +08:00
muhaidong
edbf44b290 fix(wifi): fixed some wifi issue
1. sync multi antenna gpio register from IDF
2. fixed multicast address qos frames issue
3. fixed task watchdog got triggered by esp_wifi_stop issue
2024-04-11 15:33:43 +08:00
Shreyas Sheth
a64d8b12c8 fix(esp_wifi): Fix crash when assoc req comes before confirm is processed 2024-04-03 00:04:14 +05:30
liuning
01548764f6 fix(wifi): fix softap coex start issue, no wifi request if wifi is not used at idle 2024-03-21 19:16:55 +08:00
Nachiket Kukade
16a80db4d0 feat(esp_wifi): Refactor and improve FTM code
Enable FTM Responder mode for ESP32C6. 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-03-18 21:33:02 +05:30
Sarvesh Bodakhe
d9b42232bd 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-03-18 14:15:45 +08:00
Jiang Jiang Jian
8af8f5840c Merge branch 'bugfix/fix_the_spiram_malloc_issue_in_wifi_mesh_v5.1' into 'release/v5.1'
fix(wifi): fixed the spiram malloc issue in wifi mesh (v5.1)

See merge request espressif/esp-idf!29630
2024-03-15 20:11:20 +08:00
zhangyanjiao
7f2dfdb38e fix(wifi): fixed the spiram malloc issue in wifi mesh
Closes https://github.com/espressif/esp-idf/issues/13285
2024-03-15 11:12:44 +08:00
liuning
583c8665f4 feat(coex): support to scan long time on channel, fix coexist sync issue 2024-03-15 10:49:18 +08:00
Sarvesh Bodakhe
344c5d1fce fix(wifi): fix bug in 'esp_wifi_deauthenticate_internal' and other improvements 2024-03-14 11:24:27 +05:30
Sarvesh Bodakhe
1d8b484cce fix(esp_wifi): Reduce memory footprint for scan when SAE-PK is enabled
Use bss information cached in wifi library to get RSNXE capabilities
instead of storing bss information again in supplicant and accessing it.
2024-03-13 10:48:07 +05:30
muhaidong
ec16fa7dd5 fix(wifi): fix some amsdu issue
1. fix qos encapsulated eapol issue
2. fix qos eapol eb data length issue
3. eapol arp and dhcp add flag PP_F_PER_PKT_RATE
4. fix lmac_stop_hw_txq issue
5. limit the number of sub amsdu
6. fix recycle cache sub amsdu eb issue
2024-03-12 19:01:09 +08:00
yinqingzhao
52224d1d32 fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode 2024-03-11 12:18:39 +08:00
zhangyanjiao
594c61add4 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-03-04 10:25:04 +08:00
Marius Vikhammer
73654741c3 Merge branch 'contrib/github_pr_12867_v5.1' into 'release/v5.1'
fix(esp32): Removed rogue semicolon in #define in esp_smartconfig.h (GitHub PR) (v5.1)

See merge request espressif/esp-idf!29112
2024-02-28 15:32:04 +08:00
Simon H
ece4e4ec6d
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-27 18:15:04 +08:00
Kapil Gupta
8a01702d65 fix(wifi): add low memory options for eap enterprise 2024-02-01 10:05:06 +05:30
muhaidong
3fa5a76a00 fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue 2024-01-24 12:03:14 +08:00
zhangyanjiao
1410699d88 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-19 11:11:34 +08:00
liuning
4d509333ef fix(pm): fix no sleep null after data sent (e7243f1f) 2024-01-05 10:38:11 +08:00
alanmaxwell
2cda3fc0c1 feat(wifi): support dump 802.11 ACK frame for CSI
1. fix beacon was unexpectedly freed issue
2. support dump ACK frame for CSI
2024-01-04 15:58:15 +08:00
aditi_lonkar
4dd0805a6e fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times 2024-01-03 13:46:38 +05:30
Shyamal Khachane
6bc256adb7 fix(esp_wifi): Fix crash while stopping NAN
Also fix inconsistent NAN macro values
2024-01-03 10:35:56 +08:00
zhangyanjiao
f4756fc21e fix(wifi): fix the rate check error in fragment 2023-12-28 19:13:00 +08:00
alanmaxwell
36e082d6e2 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-12-27 16:47:00 +08:00
zhangyanjiao
24da38f63c fix(wifi): fix some wifi bugs 20231214
1. add support for espnow to seet dcm rate
2. bugfix: fix csi info is not correct
3. feature: add support for establishing over 4 rx ba sessions
4. sniffer: modified rx error dump in sniffer mode
5. fix(itwt): fix when receiving the twt setup response frame, twt tx cb has not yet been called
6. itwt: fix itwt information frame format is not correct when suspend time is 0
7. update esp_wifi_crypto_types.h
8. sta not pmf capable when ap requires should reject profile
9. fix softap set config issue
10. allow some special igtk keyindex to workaround faulty APs
11. fix psram enabled but initialized fail issue
12. add missing header files for wifi files
13. feat(wifi/vendor): get more wifi information in csi rx callback
2023-12-19 19:15:49 +08:00
zhangyanjiao
796f315f6b doc(Wi-Fi/Vendor): Update comments for wifi_csi_info_t 2023-12-19 19:15:49 +08:00
xueyunfei
23148a3138 Fix(esp_wifi): Add the missing header file to the wifi header files. 2023-12-19 19:15:49 +08:00
muhaidong
482ba2b909 fix(wifi): fix psram enabled but initialized fail issue
Closes https://github.com/espressif/esp-idf/issues/11971
2023-12-19 19:15:49 +08:00
zhangyanjiao
61ae9bd8e2 fix(wifi/mesh): fix the IE crypto disable error and update doc 2023-12-19 19:15:49 +08:00
muhaidong
13094f2216 change(wifi): update esp_coexist_internal.h and esp_modem_wrapper.h 2023-12-19 19:15:49 +08:00
muhaidong
0573c44f32 docs(esp_mesh): update esp_mesh_internal.h 2023-12-19 19:15:49 +08:00
muhaidong
7d5eaa8b79 update(wifi): update esp_wifi_crypto_types.h 2023-12-19 19:15:49 +08:00
muhaidong
7b3cee0dd8 update(esp_coexist): update esp coexist header file 2023-12-19 19:15:49 +08:00
xuxiao
e321e8b640 fix(wifi): fix esp32c6 rxctrl info is not correct 2023-12-19 19:15:49 +08:00
zhangyanjiao
ed2a5f0f0e 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
3. fix wifi mode error when mesh start after station has connected to router
2023-12-13 17:02:13 +08:00
zhangyanjiao
6e218ceefe feat(wifi): add new api to get one scan ap record 2023-12-13 16:49:04 +08:00
Jiang Jiang Jian
1a6a941521 Merge branch 'bugfix/connect_issue_for_zero_rssi_v5.1' into 'release/v5.1'
fix(esp_wifi): Fix issue of station disconnecting immediately after scanning  (Backport v5.1)

See merge request espressif/esp-idf!26743
2023-12-12 14:00:24 +08:00
Jiang Jiang Jian
7e47921f12 Merge branch 'bugfix/connect_after_scan_v5.1' into 'release/v5.1'
fix(conn): Change second connect delay time to 730 (v5.1)

See merge request espressif/esp-idf!27835
2023-12-12 13:43:34 +08:00
Sarvesh Bodakhe
d1e31a4194 fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-12-11 14:58:16 +05:30
ding huan
f4e724a93b fix(conn): Change second connect delay time to 730 2023-12-11 16:57:09 +08:00
alanmaxwell
b7d599984b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-12-08 14:16:47 +08:00
Jiang Jiang Jian
fb511f4ec6 Merge branch 'bugfix/nan_sd_dp_timer_fixes_v5.1' into 'release/v5.1'
Fix NAN service discovery, datapath and timer bugs (Backport v5.1)

See merge request espressif/esp-idf!27522
2023-12-07 21:17:31 +08:00
Shyamal Khachane
9cdf839cf6 fix(esp_wifi): Fix NAN service discovery, datapath and timer bugs
1. Fix crash while cancelling NAN service
2. Avoid possible crash scenarios while forming datapath
3. Modify peer records structure thus fixing issues in datapath establishment
4. Fix timer out of bound issue causing "No timer handle" warning
5. Fix miscellaneous service discovery and datapath issues
2023-12-07 03:54:55 +00:00
liuning
46d4c6cc0a fix(wifi): fix wifi deinit s_wifi_modem_sleep_lock 2023-12-07 03:44:38 +00:00
liuning
3515b1d5c8 fix(wifi): fix wifi init reentrant issue 2023-12-07 03:44:38 +00:00
Kapil Gupta
ed9d5e7db8 fix(wifi): Fix key install issue in PTK renew 2023-11-01 19:49:06 +05:30
Shreyas Sheth
6c5b3c5d4c fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished 2023-10-31 15:47:07 +05:30
jgujarathi
5abd1ae847 fix(esp_wifi): Fixes issues in beacon_timeout, PMKSA and AID assignment
- Fixes issue wheere beacon timeout would get triggerred multiple times
  leading to a m f probe req.

- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-17 17:24:56 +05:30