Commit Graph

204 Commits

Author SHA1 Message Date
Kapil Gupta
d935da0725 fix(wifi): Fix encryption/decryption issue for mgmt packets (e4f2ba6a)
* 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-16 19:46:09 +05:30
Kapil Gupta
852cfcfa66 esp_wifi: format wifi code using tools/format.sh (a8ac1b8a) 2024-04-16 10:57:39 +05:30
muhaidong
49c8e2d99d fix(wifi): fixed lmacStopTransmit issue(edc80c92) 2024-04-11 11:52:23 +08:00
xuxiao
a5af5288b1 feat(wifi): add esp32c5 beta3 support wifi (c9dba424) 2024-04-10 14:07:01 +08:00
Shreyas Sheth
1c9b6ea78f fix(wifi): Fix print for 2g bitmap in scan path (dd5c08a) 2024-04-05 17:26:45 +05:30
Kapil Gupta
50aec83710 Send unicast probe requests if bssid is known during scan (a2099222) 2024-04-01 23:31:17 +05:30
Kapil Gupta
1b1ab64e64 feat(scan): Add channel bitmaps to the scan config(9e67852f)
- Add the ability to specify the specific channels that need to be scanned.
- Adds a warning that discourages from setting bssid and channel in
sta_config if btm is enabled and supported by the network.
- Includes wifi_types.h changes needed for adding the event when
neighbor reports are recieved from AP.
- Fixes issues with reporting authmodes of FT APs
2024-04-01 17:22:31 +05:30
alanmaxwell
5ae2e01957 bugfix: sync gpio reg base for C6 to fix multi antenna issue(1a3ec3e4) 2024-04-01 14:58:14 +08:00
xiehang
1fbf7cd430 feat: Supports external WiFi connections for ESP32p4 and other espressf chips (b3548b43) 2024-04-01 11:26:30 +08:00
Li Shuai
4eac0d1c3d change(pm): use new sleep retention api to implement wifi mac retention (d0f3298d) 2024-03-28 20:18:53 +08:00
muhaidong
52c5fd6537 fix(wifi): fix multicast address qos frames issue(611555f9) 2024-03-27 10:11:36 +08:00
jgujarathi
3da1bb58c1 fix(rsnxe): Expands maximum size of RSNXE IE to 255(d83d7d6)
- Allows for RSNXE IE to be processed as a variable length upto
255 bytes, changing the earlier max of 20.
2024-03-26 09:51:43 +05:30
liuning
854c76c14a fix(wifi): fix softap coex start issue (ca070890) 2024-03-21 19:34:40 +08:00
Sarvesh Bodakhe
b69a2fe273 feat(WPA3): Update Wi-Fi authentication modes as per WPA Specification v3.3 (75449037)
* Merge 'WIFI_AUTH_WPA3_EXT_PSK' and 'WIFI_AUTH_WPA3_EXT_PSK_MIXED_MODE'
  into 'WIFI_AUTH_WPA3_PSK' as per specification.
2024-03-19 11:32:03 +05:30
Nachiket Kukade
fc1523dfac feat(esp_wifi): Refactor and improve FTM code (02ad6a91)
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-18 10:44:42 +05:30
Sarvesh Bodakhe
4982b16b1e Add support for SAE-PK, WPA3-Enterprise and OWE transition disable indication (96c4fae0) 2024-03-15 13:51:52 +05:30
Shreyas Sheth
47abfa88c7 fix(wifi): Fix crash for wpa3 softap when WPA3 config disabled (c94ad4b) 2024-03-14 15:36:31 +05:30
liuning
6a63417673 feat(coex): support to scan long time on channel, fix coex sync issue, restart schm timer if bt start later (a05a43e02) 2024-03-13 10:53:25 +08:00
muhaidong
7a6ef5e1c0 fix(doc): update some docs(8ff127a9)
1. update api esp_wifi_sta_get_rssi docs
2. fix typo in esp_wifi_types_generic.h
2024-03-12 20:29:27 +08:00
muhaidong
aca8787662 fix(wifi): fix some amsdu issue(fa7e7908)
1. limit the number of sub amsdu
2. fix recycle cache sub amsdu eb issue
2024-03-05 19:04:06 +08:00
liuning
b3f096ab1e feat(coex): improve Wi-Fi connecting compatibility at coexistence (f2b9bda5) 2024-02-23 10:35:41 +08:00
muhaidong
9084a00dd8 fix(wifi): fix some wifi issue(7de95387)
1. fix qos encapsulated eapol issue
2. fix qos eapol eb data length issue
3. eapol arp and dhcp add flag PP_F_PER_PKT_RATE
4. fix lmac_stop_hw_txq issue
2024-02-22 11:55:50 +08:00
aditi_lonkar
952cacbb35 esp_wifi : Add support of Network Introduction Protocol in DPP(d68f22a) 2024-02-20 21:24:48 +05:30
yinqingzhao
62ed01cb79 fix(wifi):fix issues that in mplen clear and esp_wifi_set_mode(88f470f0) 2024-02-20 14:18:58 +08:00
zhangyanjiao
007586da5e update wifi lib (d69fb667):
1. update scan ap number when clear scan ap records
2. fixed the old_snd filed error in WIFI_EVENT_HOME_CHANNEL_CHANGE event
2024-02-19 11:03:06 +08:00
liuning
a105323035 fix(wifi): fix wifi stop cost too much time (389328f0) 2024-02-06 14:24:34 +08:00
zhangyanjiao
16d2c9ce8b fix(wifi/mesh): wait for child disconnect event when mesh deinit (55adff8e) 2024-02-05 10:19:12 +08:00
Sarvesh Bodakhe
51ec8e854e feat(wifi): Add support for wifi_remote component (550bce53)
1. Sync public header files between ESP-IDF and Wi-Fi driver
2. Add md5sum checks for new public header files:
    - esp_wifi_types_generic.h
    - esp_wifi_native.h
2024-01-30 14:21:26 +05:30
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