364 Commits

Author SHA1 Message Date
zhangyanjiao
f12f1d98b0 fix(wifi): fix the delete queue error in espnow exapmle
Closes https://github.com/espressif/esp-idf/issues/15383
2025-02-17 14:58:09 +08:00
Sarvesh Bodakhe
dbae199c42 revert(wifi): Revert support to recongize different WPA3 Authentication modes"
This reverts commit 13055cbcec779915b335dfbe4056273afccfdb30.
2025-02-03 16:19:13 +05:30
Sarvesh Bodakhe
13055cbcec fix(wifi): Add support to recongize different WPA3 Authentication modes from specs
Add support  to recognize APs supporting 'WPA3-Enterprise-Only Mode' and
'WPA3-Enterprise-Transition Mode' using authmodes WIFI_AUTH_WPA3_ENTERPRISE
and WIFI_AUTH_WPA2_WPA3_ENTERPRISE, respectively.
2025-01-07 10:23:36 +08:00
Sarvesh Bodakhe
9584729322 fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-12-11 15:40:04 +05:30
Chen Yudong
09fe746322 ci: increase test_wifi_power_save got ip timeout 2024-11-28 16:44:20 +08:00
yinqingzhao
2a715e4203 feat(twt): twt add parameter to enable keep alive 2024-11-25 15:10:56 +08:00
wangtao@espressif.com
5dd89e7613 fix(wifi): fix esp32c2 tx shake issue 2024-10-29 20:00:39 +08:00
Kapil Gupta
a6006f5a56 fix(esp_wifi): Added prints in btm roam for error condition 2024-10-07 10:42:32 +05:30
Nachiket Kukade
a93ae1141d fix(esp_wifi): Fix FTM issues in AP-STA mode
Add AP-STA mode support in FTM example
Update wifi libs with below changes -
- Use ex-AP's bandwidth in FTM request when connected
- Allow Bandwidth downgrade in FTM negotiation
- Use separate calibration when Initiator performs 20MHz FTM
  while in-AP is in 40MHz
2024-09-12 10:47:22 +05:30
Jiang Jiang Jian
309ec787b9 Merge branch 'doc/update_espnow_example_v5.1' into 'release/v5.1'
docs(wifi): change the magic varible from int to uint32_t on the receiving side (v5.1)

See merge request espressif/esp-idf!30308
2024-05-13 10:44:42 +08:00
muhaidong
26a2f687e7 fix(wifi): fixed scan get ap number issue 2024-04-30 10:53:28 +08:00
zhangyanjiao
6f2f5e8bb7 docs(wifi): change the magic varible from int to uint32_t on the receiving side
Closes https://github.com/espressif/esp-idf/issues/10912
2024-04-17 16:18:08 +08:00
sparker
c218c35439 fix(wifi/example): Fix dpp example init error
Set wifi mode before calling esp_supp_dpp_init.

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

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>
2024-03-27 11:21:20 +05:30
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
muhaidong
b7e382e0a5 fix(wifi): fix smart config bssid set issue 2024-03-12 19:01:09 +08:00
Jiang Jiang Jian
e524ab1ede Merge branch 'bugfix/fix_task_wdt_in_mplen_clear_v5.1' into 'release/v5.1'
fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode(Backport v5.1)

See merge request espressif/esp-idf!29530
2024-03-12 10:56:54 +08:00
xuxiao
02d5b43f4c feat(example): modify iperf sdkconfig to imporve iperf performance 2024-03-11 12:16:58 +08:00
muhaidong
3a2f9feec3 fix(wifi): fix esp_wifi_scan_start memory leakage issue
Closes https://github.com/espressif/esp-idf/issues/10693
2024-03-11 10:49:18 +08:00
wuzhenghui
c97f5d79d9
ci: enable hardware crypto module for powersave tests 2024-02-23 18:30:22 +08:00
alanmaxwell
58de97b193 fix(wifi): change default flash freq from 40M to 80M for esp32 in iperf 2023-12-27 16:47:00 +08:00
muhaidong
baeed9fb6a fix(wifi): update scan example for scan get ap records 2023-12-19 19:15:49 +08:00
zhangyanjiao
3a436b0eb2 doc(WiFi/Vendor): Update the ESPNOW example for the recv callback function 2023-10-26 14:14:00 +08:00
Kapil Gupta
6c9692ecef change(example): Update eap-fast example 2023-09-20 17:07:00 +05:30
Kapil Gupta
d490e99f74 change(example): Update wifi enterprise example 2023-09-20 17:06:59 +05:30
Shyamal Khachane
ae6fdffcd7 fix(esp_wifi): WPA3 enterprise 192 bit fix and config modification
1. Added SOC caps dependency for enabling 192 bit security in wifi enterprise example
2. Fixed authmode in log and connected event for WPA3 enterprise 192 bit security
2023-09-14 10:14:13 +08:00
xuxiao
b74c293505 feat(wifi): optimize esp32c6 iperf performance 2023-09-14 10:14:13 +08:00
muhaidong
01ebf0775e esp_wifi: update multi antenna switch docs 2023-09-07 11:06:28 +08:00
muhaidong
e0e3bbd042 esp_wifi: the antenna parameter of example is not correct 2023-09-07 11:06:18 +08:00
Jiang Jiang Jian
88e436f85a Merge branch 'feature/add_ci_for_esp_wifi_powersave_example_v5.1' into 'release/v5.1'
ci(wifi): add pytest case for wifi powersave example (backport v5.1)

See merge request espressif/esp-idf!25499
2023-08-28 10:28:44 +08:00
Steven Macías
5b3ed2f794 docs(iperf): Update documentation with console interface details
Closes https://github.com/espressif/esp-idf/pull/12039
2023-08-23 19:54:54 +08:00
wuzhenghui
1d0b4ceeef ci(wifi): add wifi powersave pytest case 2023-08-23 18:02:03 +08:00
wuzhenghui
b9186e7b22 feat(esp_wifi): support get AP info from stdin in wifi powersave example 2023-08-23 18:00:48 +08:00
xuxiao
395ad3edc0 feat(wifi): itwt support itwt wake duration unit 2023-07-14 10:51:26 +08:00
Jiang Jiang Jian
d7604b580a Merge branch 'bugfix/fix_some_wifi_bugs_230713_v5.1' into 'release/v5.1'
Wifi: Backport some wifi bugs 230713 to v5.1(Backport v5.1)

See merge request espressif/esp-idf!24753
2023-07-14 03:33:03 +08:00
muhaidong
7c4cd75fe7 feat(external coex): add set tx line flag api 2023-07-13 10:37:53 +08:00
muhaidong
2f56bd8aac external coex: rename coex gpio struct field names 2023-07-13 10:37:53 +08:00
muhaidong
2c70cda9b6 external_coex: add extern coex wire 4 2023-07-13 10:37:53 +08:00
liuning
ef805e64a2 iperf: apply txline 2023-07-13 10:37:53 +08:00
Nachiket Kukade
dc46fe5343 fix(esp_wifi): Enable FTM for ESP32C2, fix other FTM issues
Enable FTM for ESP32C2 and update wifi libs with below fixes -

1. Bugfixes in Initiator and Responder mode
2. Fix wrong RTT value in first FTM procedure without connection
3. Update FTM calibration values for ESP32S2, S3, C3 and C2
4. Update distance estimation logic
5. Add some useful command parameters in FTM example
6. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).

Co-authored-by: Sarvesh Bodakhe <sarvesh.bodakhe@espressif.com>
2023-07-13 10:37:53 +08:00
Derek Duncan
168c47f896 Update itwt.c
Change name from `connect_handler` to `start_handler`
2023-07-12 10:50:55 +08:00
Liu Ning
43604dffbe esp_wifi: fix ret when setting channel at wifi not started, fix timer callback 2023-07-07 18:09:29 +08:00
xuxiao
5a21bea309 esp_wifi: itwt add setup timeout timer to track response frame 2023-06-02 19:46:15 +08:00
jgujarathi
9aedb4bd83 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-19 16:58:51 +08:00
Guillaume Souchere
c5003e6220 console: Fix building issue when serial JTAG is set
Closes https://github.com/espressif/esp-idf/issues/10707
2023-05-16 04:37:09 +00:00
Xu Xiao
2f20406202 esp_wifi: itwt support light sleep 2023-04-06 10:46:32 +08:00
Shyamal Khachane
2f6517b44b Modify API esp_wifi_nan_datapath_req() to return ndp_id after datapath is accepted/rejected 2023-03-24 12:52:02 +05:30
muhaidong
610cc41847 esp_wifi: fix pre commit issue 2023-03-14 16:06:41 +08:00
xiehanxin
3f544d76ff add enum type for antenna number 2023-03-14 15:54:50 +08:00
xiehanxin
752d70bf92 add multiple antenna test example 2023-03-14 15:54:50 +08:00
Nachiket Kukade
4c76af3f68 esp_wifi: Add support for NAN Discovery and Datapath
Update wifi lib with below -
1. Create NAN Discovery SM for beaconing & cluster formation
2. Create NAN interface for Tx/Rx of beacons & action frames
3. Add commands & events for NAN Services Publish/Subscribe/Followup
4. Add NAN Datapath definitions, Events, Peer structures
5. Support for forming and parsing of Datapath related attributes
6. Modules for NDP Req, Resp, Confirm, Term, Peer management
7. NAN Interface related additions in Datapath, Data Tx Q's

In addition include below changes -
1. Add netif and driver support for NAN Interface
2. Add simple examples for Publisher-Subscriber usecases
3. Add an advanced console example that supports commands
   for NAN Discovery, Services & Datapath
4. Add wifi_apps for providing better NAN API's and Peer management

Co-authored-by: Shyamal Khachane <shyamal.khachane@espressif.com>
2023-03-10 11:18:23 +05:30