Commit Graph

236 Commits

Author SHA1 Message Date
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
Kapil Gupta
a0a9c8b783 esp_wifi: remove cipher header from tx cb done (18cfbc62) 2023-11-01 13:31:00 +05:30
Shreyas Sheth
fbe999ab68 fix(wifi): wpa3 softap fix deauth when assoc req recv before sae is finished (33e016f) 2023-10-30 11:44:15 +05:30
Sarvesh Bodakhe
ee1f0c4332 fix(connect): Fix issue of esp32 station disconnecting immediately after scanning when RSSI is zero (04455ce4) 2023-10-26 15:41:56 +05:30
alanmaxwell
71efb6cbce feat(wifi): bringup esp32c3 v1.1 wifi(b7668748)
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-10-19 22:30:03 +08:00
Shreyas Sheth
e88f8cebc1 feat(wifi): Add support for sae ext key for station (81bf2a6) 2023-10-18 17:10:29 +05:30
jgujarathi
557c6fa326 fix(esp_wifi): Fixes issues in beacon_timeout, PMKSA and AID assignment(0bd97387)
- Fixes issue wheere beacon timeout would get triggerred multiple times
  leading to a m f probe req.

- Fix missing PMKSA flush scenarios.

- Fix wrong AID assigned to station when multiple stations try to connect
  simultaneously with mixed order of auth-request and assoc-request frames.
2023-10-17 15:29:53 +05:30
liuning
983a779766 fix(pm): fix soc wakeup after wifi disconnected, no respond after m f null, crash when connected to non_trans bssid (4c29c92d9) 2023-10-13 09:03:32 +08:00
alanmaxwell
3e202a0f02 fix(wifi): fix some wifi issue(227794c5)
1. fix multi antenna issue.
2. fix c6 dirty eb issue
3. fix hardware modem state consecutive times when the modem sleep type is modified during runtime
2023-10-12 11:53:39 +08:00
liuning
c8a6ac54c5 fix(pm): fix wifi beacon timeout after connection established(a32015e6) 2023-10-10 09:49:55 +08:00
muhaidong
dee1fbe2ca fix(wifi): remove target_power_backoff(0a1ed4bc) 2023-10-09 19:14:51 +08:00
muhaidong
e1339c7c2f fix(wifi): fix some wifi issues(b41fb174)
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-09-28 10:10:04 +08:00
alanmaxwell
174341fbe1 fix(phy): move phy power track to IDF(dc6ffb60) 2023-09-25 21:57:48 +08:00