Commit Graph

208 Commits

Author SHA1 Message Date
alanmaxwell
93d1c3125e feat(wifi): support dump 802.11 ACK frame for CSI 2024-01-11 16:41:55 +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
zhangyanjiao
82f409107c feat(wifi): add new api to get one scan ap record 2023-12-11 18:09:13 +08:00
Sarvesh Bodakhe
c90353291c fix(esp_wifi): Fix issue of station disconnecting immediately when AP RSSI is zero 2023-10-31 20:38:17 +08:00
liuning
728cd2489a feat(esp_wifi): support ps-none mode at coexist 2023-10-31 20:38:17 +08:00
xueyunfei
1f5e7e33df feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-10-26 17:55:37 +08:00
alanmaxwell
555891bb54 fix(wifi): fix multi antenna issue 2023-10-26 17:54:35 +08:00
Shreyas Sheth
79e55b6e92 docs(wifi): Update wifi and wifi security documentation and bugfixes
1. Update documentation for WPA3 Enterprise and WPA3 Enterprise 192-bit
mode
2. Update documentation for WPA3 OWE and OWE transition mode
3. Update documentation related to SAE PK, SAE PWE and Transition Disable
4. Update documnetation for wifi connect API
5. Fix config paramter information for wifi scan start
6. Fix documentation related to scan threshold config setting
7. Replace ESP_ERR_WIFI_ARG error code as ESP_ERR_INVALID_ARG
8. Update documentation for 802.11R Fast transition
9. Fix sta connecting with wpa security in enterprise mode
2023-10-17 14:01:18 +05:30
Shyamal Khachane
437fbbc518 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-10-09 16:34:14 +05:30
David Cermak
fdbb885964 fix(wifi): Fix default wifi-netif creation to assert if no event loop
- Added ESP_ERROR_CHECK() checks to `esp_wifi_set_default_wifi_..._handlers()` calls
- Added ESP_ERROR_CHECH() to `esp_netif_attach_wifi_...()` calls
- Updated documentation to reflect the changes

Closes https://github.com/espressif/esp-idf/issues/11580
2023-08-15 11:06:38 +02:00
liuning
57335c9051 fix(esp_wifi): fix ret when setting channel at wifi not started 2023-07-27 19:09:07 +08:00
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
david zuhn
b2134caf0d spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-20 11:22:09 +08:00
zhangyanjiao
7dddb468f4 feat(wifi): Add API to get RSSI info after station connects to AP
- Add esp_wifi_sta_get_rssi() function to retrieve RSSI info after station connects to AP
2023-07-20 11:21:38 +08:00
jgujarathi
181666c4a7 fix(esp_wifi) : Fix collection of issues in sta roam and scan.
1) Fix issue during split scan to allow for data tx.
2) Fix issue when parsing wpa_ie to set correct authmode when AP
   supports both WPA_EAP and WPA_EAP_SHA256 authmode.
   Closes https://github.com/espressif/esp-idf/issues/11202
3) Fix an occasional crash during sta roam.
4) Add home_channel_dwell_time to wifi_scan_config_t. This allows
   configuration of the time spent between scanning consecutive
   channels for tx.
5) Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-04 11:59:26 +05:30
muhaidong
0f09901e30 esp_wifi: fix some wifi bugs
1. mesh: layer2 node will scan all channels when root leave in fixed root network
2. show warning infomation when setting softAP's max connection number
3. update pairwise cipher in softAP
4. overwrite pairwise cipher when softAP auth mode is WPA2 WPA2_WPA3 WAP3
5. fix sta receive csa issue
2023-06-13 16:47:07 +08:00
muhaidong
153f34cf74 esp_supplicant: When the softAP authentication mode is set to WPA2_PSK, WPA2_WPA3_PSK, or WPA3_PSK, the pairwise cipher will be overwritten with WIFI_CIPHER_TYPE_CCMP 2023-06-13 11:54:26 +08:00
muhaidong
25b40c9d5e esp_wifi: fix some wifi bugs
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:40:19 +08:00
aditi_lonkar
ded3169aa5 esp_wifi: Add APIs to get Assoc id and negotiated phymode. 2023-06-12 15:23:55 +08:00
Sarvesh Bodakhe
fd19fc9343 esp_wifi: Improve station SA query procedure handling and other bugfixes
1. Disable SA query timers when station disconnect and other SA query related improvements
2. Send appropriate reason code in 4 way handshake failure
2023-03-29 11:15:50 +05:30
zhangyanjiao
9801647fa5 wifi_mesh: update mesh doc 2023-03-23 17:18:23 +08:00
gauri patankar
002e21bda4 esp_wifi:Update wifi libs
1. Avoid ftm initiator mode on softap
2. Fix home channel issue in ftm for apsta mode
3. Fix int overflow for T1-T4 counter variable
2022-12-22 16:10:28 +05:30
zhangyanjiao
270940dda0 esp_wifi: change max connection num on ESP32C3 and ESP32S3
Closes WIFI-5114
2022-12-19 14:20:05 +08:00
Sarvesh Bodakhe
869d8c4fd8 esp_wifi: Update wifi libs
Update wifi libs with below changes -
1. reject AP when assoc comeback time given is greater than 5 seconds
2. handle when assoc req is received before SA query procedure is finished

Closes https://github.com/espressif/esp-idf/issues/9428
2022-12-19 14:19:14 +08:00
Jessy Chen
6818b3012d esp_wifi: upload more wifi pkt info in rx callback for espnow & csi 2022-12-19 14:16:48 +08:00
Kapil Gupta
2accc311a2 WiFi: Add WPS softAP registrar example and events 2022-12-19 14:09:05 +08:00
Shreyas Sheth
38bb7c2a60 esp_wifi:Mandate stations to have minimum security wpa3 2022-12-06 05:06:18 +00:00
zhangyanjiao
175f0dec6c Modify maximum softap conn num and espnow encryption peer num 2022-12-06 05:06:18 +00:00
liuning
5cd324413a esp_wifi: fix some connectionless related issue and add connectionless power save guide 2022-12-05 11:35:23 +08:00
zhangyanjiao
645e5657c6 update doc for set channel 2022-12-05 11:31:40 +08:00
zhangyanjiao
acf7f03f67 update wifi reason code 2022-12-05 11:31:27 +08:00
alex.li
9bbe6e7fa3 Support external coexist formal code for C2 & S3,
and optimize RX category in external coex.
2022-11-08 19:10:38 +05:30
muhaidong
4307be2906 esp_wifi: replace deprecated CONFIGS with their new versions 2022-11-08 19:08:30 +05:30
zhangyanjiao
1362b58b58 esp_wifi: report rssi info in wifi event 2022-11-08 18:33:59 +05:30
Kapil Gupta
f8e2c30b32 esp_wifi: Add config option for AP retry count 2022-11-08 18:20:54 +05:30
muhaidong
5311999ae9 1. esp_wifi: fix pairwise cipher tkip pmf compability issue.
2. esp_wifi: fix repeated scans causing bss overwrite in connect process.
3. esp_wifi: fix set country code before wifi start issue.
2022-09-14 17:07:12 +08:00
xueyunfei
8696dc15f1 esp_wifi:add clear ap list interface 2022-08-19 14:10:51 +08:00
liuning
bc09a70071 esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2 2022-08-15 21:16:53 +08:00
Li Shuai
b9a667b9f8 1. Wi-Fi: update tsf tick interval when lpclk is modified
2. Move register_lpclk_callback to coexistence
2022-08-15 21:16:11 +08:00
muhaidong
5fd42affdb esp_wifi: fix disconnect after set country issue 2022-08-03 11:53:37 +08:00
muhaidong
ab8be80c3c esp_wifi: fix deinit return wrong value
1. Deinit does not return ESP_ERR_WIFI_NOT_INIT if the wifi driver is no longer initialized.
2. Fix get wrong channel value use esp_wifi_get_config.
3. Fix bug of missing unlock when wifi stop.
4. Fix annotation error of api esp_wifi_connect.
2022-08-02 11:45:21 +08:00
Kapil Gupta
e9c18ad02f esp_wifi: set default authmode as wpa2 2022-07-30 10:43:39 +05:30
liuning
bc2f2a3100 esp_wifi: select slowclk as coex hardware timer source on esp32c2 2022-07-22 21:44:11 +08:00
Shreyas Sheth
341a92aaa5 esp_wifi: WPA3 SAE keep default value as h2e and hunting and pecking for sae pwe 2022-07-22 12:23:13 +05:30
David Cermak
5c383d7b73 esp_netif/lwip: Fix deps cycles to "lwip -> esp_netif -> phy-drivers"
Fix dependency tree so that lwip doesn't depend on any specific network
interface component.
Network interface drivers shall depend on esp_netif.
esp_netif shall depend on lwip (but not on any specific interface
driver) -- it optionally depends on vfs and esp_eth (need ethernet
header for L2/bridge mode)
2022-07-20 14:59:07 +02:00
Shreyas Sheth
591c7a496c esp_wifi: WPA3 SAE H2E support for station 2022-06-20 18:51:11 +05:30
Shyamal Khachane
6d55761f60 OWE support for station 2022-06-15 17:20:24 +05:30
Li Shuai
7efa8b855a sleep: beacon loss and noise check timer optimize for wifi power save 2022-06-09 15:52:05 +08:00