Commit Graph

247 Commits

Author SHA1 Message Date
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
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
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
6e218ceefe feat(wifi): add new api to get one scan ap record 2023-12-13 16:49:04 +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
Niklas Kaaf
7de4e28fdd fix: "erro code" -> "error code" typos 2023-10-13 18:17:34 +08:00
CC
9c479e6589 esp_wifi.h typo
typo in esp_wifi_scan_get_ap_num comment
APIs -> APs
2023-10-13 09:29:11 +08:00
xuxiao
7f9b241f7e fix(wifi): fix some esp32c6 wifi bugs 2023-09-20 19:50:44 +08:00
liuning
55fcae23c9 esp_wifi: support connectionless manually pwr mgmt 2023-09-20 19:50:05 +08:00
liuning
b439f7568c sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-20 19:49:54 +08:00
xueyunfei
ae3f3f7a10 feat(esp_wifi):static buf for management,control,qos null,null data rx packet 2023-09-20 19:48:46 +08:00
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
Shreyas Sheth
05915fee6e docs(wifi): Update wifi and wifi security documentation
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
2023-09-14 10:14:13 +08:00
David Cermak
67327ed47a 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-14 09:16:29 +02:00
Shyamal Khachane
dbe7c4a78d fix(esp_wifi): Backport some wifi fixes
1. Fix memory leak caused by assoc IE and retry timer
2. Discard commit frame received at confirmed state in SAE
3. Ignore immediate assoc req received from the station while we are
processing the older one. Fix regression caused by 4cb4faa9
2023-07-21 15:06:09 +05:30
xuxiao
395ad3edc0 feat(wifi): itwt support itwt wake duration unit 2023-07-14 10:51:26 +08:00
david zuhn
1f0982c0fc spelling correction in documentation
Signed-off-by: zhangyanjiao <zhangyanjiao@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/9721
2023-07-13 10:37:53 +08:00
zhangyanjiao
a2d8225c9d 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-13 10:37:53 +08:00
jgujarathi
18ffa02b72 esp_wifi : Fix collection of issues during sta scan and roam.
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.
2023-07-07 18:11:38 +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
Shyamal Khachane
5d05aa9942 fix(esp_wifi): NAN Service discovery and datapath bugfixes
1. Increase timeout value for NDP Accepted/Rejected events
2. Update publisher ID incase publisher restarts(service)
3. Ignore service discovery frames with invalid/inactive service ID
4. Update NAN documentation
2023-07-05 14:33:56 +05:30
xuxiao
5a21bea309 esp_wifi: itwt add setup timeout timer to track response frame 2023-06-02 19:46:15 +08:00
Shyamal Khachane
2220a07ec1 1. Support NAN ifx for API's esp_wifi_internal_set_fix_rate and esp_wifi_set_protocol
2. Remove user configurable flag fsd_reqd from NAN publish config
3. Fix issue wherein NDL of previously cancelled service is obtained in peer record of new service with no NDL
2023-05-19 12:46:39 +08:00
Sarvesh Bodakhe
edf9f9eff7 esp-wifi: add station SAE-PK (Public Key) configuration note 2023-05-19 12:18:49 +08:00
muhaidong
193f581cec esp_wifi: update pairwise cipher in softAP 2023-04-27 20:07:48 +08:00
muhaidong
f03e3c164e 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-04-27 20:07:39 +08:00
xuxiao
39caffc592 esp_wifi: espnow support using 11ax rate to send frame 2023-04-24 12:32:27 +08:00
muhaidong
a33b9f9101 esp_wifi: fix logs information messages at warning level issue
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:41:18 +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
zhangyanjiao
c7e0fa5f6a wifi_mesh: update mesh doc 2023-03-22 16:32:43 +08:00
Sarvesh Bodakhe
56dd04c7f6 esp_wifi: improve station SA query procedure handling
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-20 19:35:42 +05:30
chenjianxing
b09a4e29c9 esp_wifi: add dynamic carrier sense threshold to improve tx throughput in high interference env.
esp_wifi: fix potential issue when tx fragment pkt

Closes WIFI-5106

Closes WIFI-5529
2023-03-17 11:23:59 +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
gauri patankar
6f7cf98ffe esp_wifi: SAE Password Identifier support 2023-03-06 11:04:20 +05:30
Li Shuai
7ee1b09433 power save: wifi beacon monitor support for esp32c6
power save: fix multicast more data always true cause wifi goto sleep fail
2023-03-04 00:17:40 +08:00
wuzhenghui
8a69bc4f9e power save: fix some auto beacon issues and add some ps features for esp32c6 2023-03-04 00:17:40 +08:00
Li Shuai
1a10eabe41 Power Management: refactor the configuration of each module in sleep mode 2023-03-04 00:17:40 +08:00
Li Shuai
200f69e6eb auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
modem retention: Support esp32c6 wifi MAC and baseband sleep retention

sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request

sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep

add i2c_ana master header file to project

auto beacon: release PMU's lock on root clock source (it is locked in the PLL)

wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.

When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).

auto beacon: fix the failure to receive broadcast/multicast frames in modem state

When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.

auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state

update Digital Peripheral (M2A switch) REGDMA restore time parameter

auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
David Čermák
956e62c461 Merge branch 'feature/lwip_ipv6_only' into 'master'
lwip: Support IPv6 only mode

Closes IDF-6023

See merge request espressif/esp-idf!20468
2023-03-01 21:38:10 +08:00
Shreyas Sheth
2b8e40e760 esp_wifi: WPA3-SAE support for softAP 2023-02-28 12:25:05 +08:00
David Cermak
5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00