Commit Graph

434 Commits

Author SHA1 Message Date
zhangyanjiao
9ddbd6cb0a fix(wifi/mesh): do not send NULL data when scan start/done for mesh (803d274) 2024-06-06 17:51:09 +08:00
zhangyanjiao
2ebef7a81b update wifi lib (5b91115):
1. Fixed sniffer dump fcs error fail
2. Fixed the ESP-NOW priv parameter get error
2024-06-03 11:26:55 +08:00
Sarvesh Bodakhe
d9a4b032ef fix(wifi): Add back WIFI_AUTH_WPA3_EXT_PSK and WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE (3e0076f1)
Add back above authmodes instead of merging them with WIFI_AUTH_WPA3_PSK in minor releases
during v5.x.

These authmodes will be removed from v6.0
2024-05-30 18:08:26 +05:30
wangtao@espressif.com
d5839dc6b7 fix(wifi): fix(wifi): fix send mgmt err when eapol process backport for v5.2 (42df1878) 2024-05-27 20:06:52 +08:00
Nachiket Kukade
8594ab916d fix(wifi): Fix selecting FTM compensation with external AP (afab2293) 2024-05-13 17:59:31 +05:30
zhangyanjiao
bfb71b0513 fix the tx issue when mesh lifetime equal zero (7c4ce92) 2024-05-13 10:40:57 +08:00
Sarvesh Bodakhe
e2744b5b59 Fix issue of wrong Rx control information of espnow packets for esp32 and esp32s2 (2dfe8ba5)
Fixes regression caused by 6a55cb409b
2024-05-09 16:24:28 +05:30
xuxiao
3da9988627 fix(wifi): fix trc_ampdu_stop_rateidx value errors when DUT under softap + sta mode (144bf4dd) 2024-05-09 11:04:23 +08:00
Nachiket Kukade
da48b2df73 fix(wifi): Update FTM PHY compensation (21e875d9) 2024-05-08 18:03:39 +05:30
Sarvesh Bodakhe
d6a145b6f1 Fix authmode scanning issue when AP advertises both WPA and WPA2 with SAE PK (1b06bd11) 2024-05-08 16:13:50 +05:30
xuxiao
4fba9c81ba fix(wifi): fix some esp32c6 wifi bugs (92471a3f) 2024-04-24 14:13:54 +08:00
Sarvesh Bodakhe
6a55cb409b fix(wifi): Fix encryption/decryption issue for mgmt packets (89a49a4d)
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
2024-04-24 01:45:41 +05:30
jgujarathi
a6c1a26f5a fix(esp_wifi): Send unicast probe requests if bssid is known during scan(fb857e9a) 2024-04-23 11:17:21 +05:30
Li Shuai
ebfe9899fd change(pm): use new sleep retention api to implement wifi mac retention (fd16602b) 2024-04-22 12:48:45 +08:00
muhaidong
2c2bb53cc9 fix(wifi): fixed some wifi bugs(3872fa03)
1. sync multi antenna gpio register from IDF
2. fix multicast address qos frame by reset rx ba
3. fix lmacStopTransmit issue
2024-04-17 19:13:19 +08:00
jgujarathi
39926ae1f5 fix(rsnxe): Expands maximum size of RSNXE IE to 255(dab16764)
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-03-29 18:20:38 +05:30
Sarvesh Bodakhe
00ffcf8882 feat(wifi): Update Wi-Fi libraries (869b456c)
1. Add support for SAE-PK, WPA3-Enterprise and OWE transition disable
   indication
2. Update Wi-Fi WPA3 authmodes as per WPA Specification v3.3
2024-03-28 11:37:36 +05:30
Nachiket Kukade
bb386048d3 feat(esp_wifi): Refactor and improve FTM code (e3fa8f6c)
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 re-try and comeback support
5. Fix issues with duplicate FTM response, stale sessions and
   frequent failures to respond from SoftAP side
6. Update PHY FTM Compensation for all 40MHz cases
2024-03-26 17:32:52 +05:30
muhaidong
25e4696bc3 fix(wifi): fix some wifi bugs 230325(a0511a38)
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
3. update api esp_wifi_sta_get_rssi docs
2024-03-25 20:29:03 +08:00
liuning
0e0ccbb3ed feat(wifi): improve coex connect compatibility and fix coexist issue (f1dcfae4) 2024-03-25 11:52:04 +08:00
Shreyas Sheth
ca06494db9 fix(wifi): Fix crash for wpa3 softap when WPA3 config disabled (5352d4c) 2024-03-18 12:48:11 +05:30
muhaidong
1334b6d874 fix(wifi): fixed some wifi issues(a9f5b590)
1. fix(wifi/mesh): wait for child disconnect when mesh deinit
2. fix(wifi): fix wifi stop cost too much time
3. fix(wifi): fixed scan and home channel change issues
4. fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode
5. fix(wifi): fix qos encapsulated eapol issue
6. fix(wifi): fixed dhcp offer and dhcp ack data rates
7. fix(wifi): fix lmac_stop_hw_txq issue
2024-02-22 15:33:04 +08:00
muhaidong
4457ec627e fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue(3865d688)
1. fix(wifi): fix pmk invalid lead same ssid wpa and wpa2 connect fail issue
2. fix the issue of sending RTS for every package
2024-01-19 11:53:03 +08:00
zhangyanjiao
2dddee30b7 update wifi lib (cc1dd812):
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-16 20:39:27 +08:00
Sarvesh Bodakhe
b4991a9d22 fix(esp_wifi): Add support for WPA3 + WPA3_EXT_PSK mixed mode and minor bugfixes (3e13c95f)
- Add support for WPA3 + WPA3_EXT_PSK mixed mode
- 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-01-10 15:19:06 +05:30
liuning
6f6e34ba09 fix(pm): fix no sleep null after data sent (33290e79) 2024-01-05 14:12:08 +08:00
jgujarathi
f0f992e622 fix(esp_wifi): Report authmode incompatible WPA AP scanned and we require PMF(1200a48d)
- Report the authmode incompatible if the scanned AP is in WPA mode and we require PMF
  according to sta config
2024-01-01 07:35:29 +05:30
muhaidong
aa0de74487 fix(wifi): fix beacon was unexpectedly freed issue(3c9c99ce) 2023-12-28 22:50:57 +08:00
jgujarathi
32221dab50 fix(esp_wifi): Cover additional situations for reporting new reason codes(2b2c983b)
- WIFI_REASON_NO_AP_FOUND_W_COMPATIBLE_SECURITY will be reported for the following
  reasons
  -- AP has PMF required but station is not configured for pmf capable/required.
  -- Station has PMF required but AP is not configured for pmf capable/required.
  -- The AP is using unsupported group management/pairwise ciphers
  -- OWE not enabled by station for found OWE AP
  -- AP RSNXE parsing failed in supplicant code
  -- AP is in Independent BSS mode
2023-12-28 15:22:57 +05:30
Shyamal Khachane
0547195b3c fix(esp_wifi): Fix crash while stopping NAN (6910f671) 2023-12-26 13:00:58 +05:30
jgujarathi
0105d2a2df fix(docs): Correct docs for esp_wifi_crypto_types.h(1160f503)
- Correct the docs for some esp_wifi_crypto_types.h APIs.
2023-12-15 12:08:23 +05:30
zhangyanjiao
eb14a403c8 update wifi lib (c8c09fe2):
1. add wifi channel change event
2. return channel error when espnow send in wrong channel
2023-12-11 19:04:47 +08:00
alanmaxwell
ac919987da support dump 802.11 ACK frame for CSI(8e5c2b16) 2023-12-07 11:47:38 +08:00
liuning
b8965b78b1 fix(pm): fix disconnected abnormal sleep (a75e5eae) 2023-12-06 11:31:15 +08:00
muhaidong
8b452411f4 fix(wifi): fix psram enabled but initialized fail issue(bb41ecda) 2023-12-04 16:08:07 +08:00
zhangyanjiao
07bb480841 fix bugs in mesh (44c86e35):
1. fix the bug that station can't found AP when the authmode is WPA
2. fix wifi mode error when mesh start after station has connected to router
2023-12-01 12:01:36 +08:00
aditi_lonkar
05058c38e7 fix(esp_wifi):Fix WDT when esp_supp_dpp_start_listen called multiple times(e7e5270) 2023-11-30 15:36:52 +05:30
zhangyanjiao
67d28b38df update wifi lib (0ffb5e6e):
1. feat(wifi): Add new API to get one scan ap record
2. fix(wifi): Fix the crash issue when clear scan ap list
2023-11-29 19:21:24 +08:00
Shyamal Khachane
754fab0611 fix (esp_wifi): Fix issues with NAN datapath (b0f53625) 2023-11-26 20:44:46 +05:30
Shyamal Khachane
24c2de2dd7 fix(esp_wifi): Fix crash while cancelling NAN service (4e1d70a1) 2023-11-23 14:51:15 +05:30
jgujarathi
9b1a2b1ef4 fix(esp_wifi): Expand situations for REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY(3e7ed2bb)
- Fixes issue with connecting and discovering WEP APs
- Expsnds the reasons for trigerring a disconnect using
REASON_NO_AP_FOUND_WITH_COMPATIBLE_SECURITY
-- SAE-PK configured as compulsory in sta config but disabled for the AP
-- SAE-H2e configured as compulsory in sta config but disabled for an AP
that has authmode as WPA3-PSK or WPA3-WPA2-PSK.
-- Open AP found but we have set password or enabled enterprise mode.
2023-11-22 11:07:31 +05:30
muhaidong
9117caad66 fix(wifi): allow some special igtk keyindx to workaround faulty APs(1dd52ff2) 2023-11-16 20:09:47 +08:00
Sarvesh Bodakhe
6d324abd92 fix(wifi): Add bugfix in 'esp_wifi_deauthenticate_internal' and other improvements (639ccf20) 2023-11-15 08:27:04 +05:30
xueyunfei
5b70cdbe16 fix(wifi): fix some wifi bugs(3ded75ca)
1. Get wifi packet info in CSI rx callback
2. Update the comments for CSI info
3. Add missing header files for wifi files
2023-11-13 15:14:45 +08:00
jgujarathi
2b823173bb fix(esp_wifi) : Add more wifi disconnect reason codes(129dc8e9)
1. Adds 3 more disconnect reasons in case of No AP found.
   a. REASON_NO_AP_FOUND_IN_RSSI_THRESHOLD : AP rejected because it did
      not meet rssi threshold.
   b. REASON_NO_AP_FOUND_IN_AUTHMODE THRESHOLD : AP rejected because it
      did not meet security threshold.
   c. REASON_NO_AP_FOUND_WITH_COMPATIBLE_ SECURITY : AP rejected because
      of incompatible security configuration. These situations include
      -- bss offerring WEP, but our password is not WEP compliant,
      -- Encrypted AP bss but we have set authmode but no password config set.
      -- AP is open AUTH but enterprise config setup.
      -- AP is Enterprise but we have setup enterprise config.
2. Resets scan duration configuration to default after scan is done or is
   canceled.
3. Disarms beacon timeout timer before attempting to scan and rearms it after
   scan is done or scan is cancelled.
4. Resolves observed issue with duplicate reporting of beacons/probe responses
   to supplicant for the same beacon/probe response during scan.
2023-11-10 09:00:17 +05:30
muhaidong
c5f428854a fix(wifi): fix some wifi bugs(476c17bc)
1. sta not pmf capable when ap requires should reject profile
2. fix softap set config issue
2023-11-08 19:07:15 +08:00
muhaidong
c9cff30ae4 change(wifi): update esp_wifi_crypto_types.h(a1947387) 2023-11-07 09:59:52 +08:00
zhangyanjiao
a65d997669 fix(wifi): fix the rate check error in fragment (b43e2ce) 2023-11-06 11:07:56 +08:00
xuxiao
090d16dd1f fix(wifi): fix esp32c6 rxctrl info is not correct (63836717) 2023-11-03 13:54:55 +08:00
alanmaxwell
6c2a80c3ab fix(wifi): fix some wifi issue(510fabf2)
1. optimize bin size when softap & ftm not enabled
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.
6. Drop fragmented AMPDUs
2023-11-02 14:01:59 +08:00