Commit Graph

125 Commits

Author SHA1 Message Date
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
xuxiao
7759f9bdf0 fix(wifi): fix some esp32c6 wifi bugs (cb43cccc) 2023-09-19 13:26:13 +08:00
liuning
d5352da6c4 pm: fix lightsleep failure at disconnected if enable lightsleep at phy disabled, support wakeup acquire (ca930351) 2023-09-18 13:16:30 +08:00
xueyunfei
b74ee01606 esp_wifi:static buf for management,control,qos null,null data rx packet(4fcdbd61) 2023-09-15 14:14:35 +08:00
jgujarathi
512cbf1c6b fix(esp_wifi): Fix issues with extended caps IE, scan and ht40(1e95ea1c)
-Merges the addition of extended caps IE for assoc req, probe resp
and beacons in a single place. This ensures that there are no
duplicate Extended Caps IE in the frame. Moves the capability
indication for BTM and HT20/40 from supplicant to wifi libs.

-Fix issue with frequent disconections when scanning for only a single
channel.

-Displays error message and returns ESP_ERR_NO_SUPPORT in case of
attempt to set HT40 as bandwidth for esp32c2.
2023-09-14 10:06:04 +05:30
muhaidong
c2b2ae5381 fix(wifi): fix ccmp and gcmp PN became large issue(f36dd7e6) 2023-09-13 11:15:31 +08:00
Shyamal Khachane
74fac32326 fix(esp_wifi): Fix authmode in log and connected event for WPA3 enterprise 192 bit (b05891d6) 2023-09-12 10:42:40 +05:30
Shreyas Sheth
095491fcae fix(wifi): Fix sta connecting with wpa security in enterprise mode (e03c1ca) 2023-09-05 17:09:36 +05:30
xuxiao
5d67eba0ab feat(wifi):move some wifi lib code from flash to ram (9af330bd) 2023-09-01 19:58:46 +08:00
Shyamal Khachane
470a8ed16e fix(esp_wifi): Skip PMK cache usage if configured password is incorrect (341633f7) 2023-08-28 11:50:48 +05:30
Shreyas Sheth
e4c92778b8 docs(wifi): Update wifi documentation for scan_threshold, wifi_connect (a581065) 2023-08-20 21:24:26 +05:30
zhangyanjiao
832650b712 fix(wifi): fix some bugs in LR and bandwidth(882078b)
1. Fix the LR rate set fail for espnow and 80211 tx
2. Check phy bandwidth when setting espnow peer rate
2023-08-17 17:53:46 +08:00