Commit Graph

419 Commits

Author SHA1 Message Date
Shyamal Khachane
da0306da9b fix(esp_wifi): Handle discarded SAE auth frames (e02d2286) 2023-07-17 17:48:55 +05:30
Shreyas Sheth
17154abee3 fix(wifi): Bugfix ignore immediate assoc req received by AP (ed09759) 2023-07-15 13:49:39 +05:30
Li Shuai
e3e15870cb remove waiting RX/TXING during hw mac deinit and fix the mac bug that hardware parse beacon of ie length equal to zero (1d555623) 2023-07-13 21:20:03 +08:00
xuxiao
b9d885520d fix(wifi): itwt support wake duration unit and fix some wifi bugs (9eaa7fef) 2023-07-13 11:13:55 +08:00
muhaidong
82dd9020a4 esp_wifi: support rx only at external coexist(6098daca) 2023-07-12 17:51:50 +08:00
zhangyanjiao
a01f14dee5 fix(wifi): Add bugfixes and improvements (18f82c1)
1. Correct wifi spelling error
2. Add check for memory allocation in tx buffers
3. Fix association refused temporarily comeback time set to zero issue
2023-07-11 16:58:07 +08:00
Nachiket Kukade
3a3abfa142 fix(esp-wifi): Add bugfixes and improvements in FTM (39fb4f0a)
1. Bugfixes in Initiator and Responder mode.
2. Update PHY compensation values for esp32S2, S3, C3 and C2.
3. Fix wrong first value of PHY compensation.
4. Fix bug when number of FTM measurement frames received is more
   than (number_of_brusts * FTMs per brust).
2023-07-07 11:51:26 +05:30
zhangyanjiao
019806ed40 esp_wifi:
1. Add new API to get rssi info after station connected to AP (ade525d)
2. check the second channel info when bandwidth is ht40
3. vnd ie callback can be set to null
2023-07-06 17:26:28 +08:00
Shyamal Khachane
fd77ffcf8e fix(esp_wifi): NAN service discovery bugfixes (72248c79)
1. Update publisher ID incase publisher restarts(service)
2. Ignore service discovery frames with invalid/inactive service ID
2023-07-05 09:50:23 +05:30
muhaidong
6ddb9f9a86 fix(wifi): fix some wifi bugs(ccee9585)
1. esp_wifi: fix association request miss verify ssid issue
2. esp_wifi: fix wpa3 softAP allocate aid issue
2023-07-04 19:28:25 +08:00
jgujarathi
dd46731a47 scan : Add a obss scan timer disarm upon sta disconnect.(0ce7bc7b)
Adds a obss scan timer disarm when a sta disconnects from an AP
2023-07-03 12:43:10 +05:30
Kapil Gupta
8cc455b378 esp_wifi : Fix collection of issues during sta scan and roam(aaa0488f)
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.
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-06-30 15:36:54 +05:30
chenjianxing
eff065af01 not link softap related funcs when softap disabled for c2(a0cc7714) 2023-06-28 13:45:26 +08:00
liuning
344cec994a esp_wifi: support psnone at coexist (d912fcec) 2023-06-26 11:57:10 +08:00
Shreyas Sheth
b5ac70f324 esp_wifi: Bugfix NVS get values for sae_pwe (d23f612d) 2023-06-23 14:10:40 +05:30
Shyamal Khachane
83445a0fe9 esp_wifi: Fix connection failure to hidden AP in APSTA mode for ESP32C6(0b32d14f) 2023-06-16 12:39:01 +05:30
Kapil Gupta
c1a8747dab esp_wifi: Remove direct call of malloc() and free() (6a2a12bb)
Also add fix to return error if set_config for station interface
has failed.
2023-06-14 11:49:20 +05:30
muhaidong
f26ce40650 esp_wifi: fix some txop issues(13c0fa64) 2023-06-09 22:35:48 +08:00
xuxiao
1998c24da5 esp_wifi: itwt add setup timeout timer to track response frame (b2f1f861) 2023-06-02 14:45:01 +08:00
zhangyanjiao
c703fd885d esp_wifi (7eb07b5f):
1. mesh: layer2 node will scan all channels when fixed root leave
2. show warning info when setting max connection num for softAP
2023-05-26 11:29:52 +08:00
Shyamal Khachane
7dadfb9fe6 esp_wifi: Add NAN ifx support for API's (10c86352) 2023-05-19 10:06:03 +05:30
chenjianxing
9b3c7a2e60 fix softap nvs store <ssid,password,pmk> not match issue(215ef6dd) 2023-05-11 17:10:51 +08:00
Sarvesh Bodakhe
4e7c662a1d esp_wifi: Fix tx_callback issue for ESP32C6 (c08166b5) 2023-05-04 11:36:34 +05:30
Sarvesh Bodakhe
4b8a58a5dd add station SAE_PK (Public Key) configuration note (fb34eed9) 2023-04-28 18:19:25 +05:30
muhaidong
6292339dd1 esp_wifi: update pairwise cipher in softAP(a0ee385e) 2023-04-27 11:10:20 +08:00
Shyamal Khachane
f4fee447eb esp_wifi: Reject TKIP cipher incase of OWE connection (9ae2c311) 2023-04-26 11:23:04 +05:30
xuxiao
d720960b3f esp_wifi: bugfix for esp32c6 memory leak casue by timer (067d0276) 2023-04-24 20:39:55 +08:00
xuxiao
522229f2ce esp_wifi: espnow support using 11ax rate to send frame (7c8aa989) 2023-04-18 18:06:05 +08:00
Shreyas Sheth
160111ebac esp_wifi: Bugfix store authmode security in NVS (f920c0ed) 2023-04-17 15:14:12 +05:30
Shreyas Sheth
0569815906 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message(b1d9f59b) 2023-04-12 18:31:02 +05:30
Shyamal Khachane
ce8f0a4e7b esp_wifi: Fix some NAN Discovery related issues (37a78407) 2023-04-11 14:14:37 +05:30
Sarvesh Bodakhe
2887099fd8 esp_wifi: Validate softap interface when sending beacon frame (38759948) 2023-04-07 14:39:54 +05:30
zhangyanjiao
8a5ac6e557 fix the heap corrupt issue in MTXON task (6aa6246e) 2023-04-06 18:03:49 +08:00
Li Shuai
6484d097a3 power save: add txq memory to mac retention link to fix tx m f null failure, allow connectionless ps with mesh, fix failed to sleep after scan (3078359f) 2023-04-04 11:44:44 +08:00
xuxiao
515b89441b esp_wifi: itwt support light sleep (24cbbd94) 2023-04-03 14:35:53 +08:00
Sarvesh Bodakhe
e61fec6b57 softAP PMF: handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled (e3fff028) 2023-03-31 18:18:36 +05:30
Sarvesh Bodakhe
f23b1bd333 esp_wifi: add wpa_sta_connected callback (5085bd3b) 2023-03-31 12:30:55 +05:30
muhaidong
7a43b39b07 esp_wifi: fix logs information messages at warning level issue(59f71f78)
1. fix logs information messages at warning level issue
2. fix set inactive time crash issue
2023-03-31 11:36:24 +08:00
xueyunfei
d767089166 esp_wifi: fix softap qos null issue(9a04d3b3) 2023-03-30 14:47:41 +08:00
zhangyanjiao
fd4ca48553 Update tx rate when phymode change from LR to 11N (cc5f7991) 2023-03-30 10:50:10 +08:00
Shreyas Sheth
56d5c4a85f esp_wifi:WPA3 softAP set PMF required true (58e1dac4)
1) Set NVS PMF required true if not specified by application
   when authmode is WPA3
2) Fixes for cleanup of non associated sta_info
2023-03-29 11:26:21 +05:30
Shyamal Khachane
2394f28812 Modifications in NAN datapath (94bbda9a) 2023-03-23 15:17:01 +05:30
zhangyanjiao
ee0a65c85d update wifi lib (70bc83a):
1. Update discard context condition and process disconnect condition
2. Set idle type should change mesh type to idle
3. Fix the bug that esp_mesh_is_root() return error when set root type
4. Fix the bug that user can't set inactive time on mesh root
2023-03-22 11:36:50 +08:00
Sarvesh Bodakhe
f0118c20ca esp_wifi: improve station SA query procedure handling (caf1e4e3)
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 14:49:25 +05:30
chenjianxing
bdaf43e3da support dynamic carrier sense and fix tx desc for fragment(6c7806d) 2023-03-17 11:11:09 +08:00
Nachiket Kukade
a821d6aef8 esp_wifi: Add support for NAN Discovery & Datapath (3ad6bf4e)
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 modules API's & events to negotiate and terminate NDP
5. NAN Availability related modules to manage FAW and schedules
6. Structures and definitions to manage peers
7. Additions to Tx/Rx paths to handle NAN data packets
2023-03-09 18:38:24 +05:30
Nachiket Kukade
5ec56cf377 esp_wifi: SAE Password Identifier support (bff273f2) 2023-03-06 11:02:05 +05:30
wuzhenghui
302a414d89 power save: fix some issues and add some features for wifi power save (438175be)
1. fix multicast more data always true cause wifi goto sleep fail

Some AP's broadcast/multicast frame's more data is always true (until
the last broadcast/multicast frame), or just send a broadcast/multicast frame
and happen to not receive it, which will cause wifi always wait data until
the next one is received, only when the multicast field of the TIM element
of the beacon frame is false, the wifi is allowed to go to sleep.

2. calculate the sleep count limit of modem state by beacon timeout time

3. fix some issues of wifi sleep

4. reset mac txq memory when rf phy enable to fix tx m f null failure

5. set modem state rx end exit code to 2 (it is match to pmu modem2active_backup_modem_clk_code parameter)

6. fix the issue that WiFi cannot receive partial beacon cause by SOC wakeup

when the SOC wakes up (such as lp_timer, GPIO, UART, etc.), it will not trigger
the WiFi event to enable the WiFi MAC and MAC Rx clock, which will cause the
beacon LEN and beacon CRC to be invalid. when receiving the next beacon, the
beacon filter checks that the beacon LEN or the beacon CRC has changed, and will
force to receive a full-size beacon frame.

7. beacon monitor support for esp32c6

8. optimize TBTT interrupt ahead time (for RF on work time) for esp32c6
2023-03-02 14:06:31 +08:00
Shreyas Sheth
194ce92651 esp_wifi: WPA3 SAE support for softAP(ea7ee476)
1) Add Hunt and Peck and H2E sae pwe derivation methods support to
   softAP
2) Add mixed mode WPA2/WPA3 to softAP
3) Add support for sae softAP to skip sa query if connection link is
       abruptly broken and station tries to Reassociate using fresh
       authentication
2023-02-27 14:50:20 +05:30
liuning
adf9880a99 esp_wifi: separate coex lib from wifi lib (2056f495) 2023-02-24 20:02:43 +08:00