296 Commits

Author SHA1 Message Date
yinqingzhao 8051481416 fix(wifi): fix crash issue caused by accessing flash in sleep wake process(4639806d) 2026-01-21 11:37:57 +08:00
yinqingzhao d8cc674234 feat(wifi): add csi lltf bit mode config(c4743b96) 2026-01-20 11:20:27 +08:00
muhaidong 5dd9353d7d fix(wifi): fix scan done or disconnected event miss issue(6699a590) 2026-01-16 12:05:05 +08:00
Li Shuai 39f86a302f fix(pm): fix regdma contenetion issue between modem close rf and soc wakeup (3956eba8) 2026-01-15 19:37:32 +08:00
Shreyas Sheth 84d7508bc4 fix(wifi): Fix incorrect allocation of eb due to rsn ie len mismatch (846f6d2) 2026-01-14 12:42:31 +05:30
Shreyas Sheth 78867d58af fix(esp_wifi): Fix incorrect deauth reason parsing for station (1a4c082) 2026-01-13 12:39:34 +05:30
muhaidong 732ebaaeba fix(wifi): fix lmac tx done assert issue(217ae214) 2026-01-13 11:03:58 +08:00
yinqingzhao 1955b2abcd feat(wifi): update wifi lib for esp32c5 eco3 and esp32c61 eco4 support(1f17fef3) 2026-01-05 16:38:22 +08:00
zhangyanjiao 2c8f48e64d fix(wifi/espnow): fixed the espnow set peer rate memory leak (5a98c5ff) 2026-01-04 12:13:21 +08:00
Akshat Agrawal a1f781901a bugfix(wifi): Ensure STA parses the FTM responder capability from the beacon correctly (ea853d30) 2025-12-30 17:33:46 +05:30
sibeibei f65d55423f fix(pm): fix rx packet failed when modem state is interrupted by other wakeup sources(69bc9021) 2025-12-30 11:25:07 +08:00
Shreyas Sheth 50593fd60d fix(esp_wifi): Set default NVS sae pwe value to SAE_PWE_BOTH for ap and station (fc7b952) 2025-12-29 17:56:48 +05:30
Junchi Chen f8249f9e8b fix(wifi): btwt setup respect user configured timeout value; esp32c2 disallow 40bw(3bd6e109) 2025-12-26 10:59:49 +08:00
yinqingzhao d4479387a6 refactor(wifi): remove enum values WIFI_BW_HT20 and WIFI_BW_HT40(9c5f3561) 2025-12-24 14:11:16 +08:00
zhangyanjiao 13cacb91df fix(wifi/espnow): fixed the crash issue when send espnow data in HE phymode (7add3e63) 2025-12-23 16:07:20 +08:00
zhangyanjiao 20d429a506 fix(wifi): fixed the vendor ie issues (02f368ad) 2025-12-16 11:19:00 +08:00
Sarvesh Bodakhe cfea48c4e8 fix(wifi): Fix memory corruption by avoiding unncessary encryption (7caaffa9)
When wpa_supplicant sends an authentication response for an already
connection station (with keys installed after a successful 4-way
handshake), the Mgmt packet was encrypted unconditionaly based on
'bss->pmf_enable'. This lead to memory corruption since extra space for
the encryption header was assumed even when it was not there.

Fix this by verifying that the packet is actually a robust management
frame before enabling the encryption.
2025-12-14 19:23:18 +05:30
Akshat Agrawal f81d2dc829 bugfix(wifi): Resolve the memory corruption issue in FTM (1e45f4e9) 2025-12-12 14:57:51 +05:30
muhaidong d3ae55180c fix(wifi): fix gcmp and sms4 fragment rx issue(3626b7df)
1. fix gcmp fragment rx issue
2. support wapi fragment tx and rx
3. fix wapi uskid issue
2025-12-09 14:59:43 +08:00
zhangyanjiao dfe47c186d fix(wifi): fixed the crash issue when vendor ie is NULL (5f8439e5) 2025-12-04 14:27:01 +08:00
yinqingzhao ddf3c096fd fix(wifi): fix some bugs related to ampdu(ea018443) 2025-11-28 18:39:58 +08:00
Akshat Agrawal 7dc6e0a7e4 bugfix(wifi): Return to home channel as soon as offchan FTM is completed (2e5c23b2) 2025-11-28 00:17:31 +05:30
yinqingzhao 55e15040f4 fix(wifi): fix get incorrect current band after set bandmode(62ce4c3d) 2025-11-21 19:24:48 +08:00
Akshat Agrawal 40ce9cc0b7 bugfix(wifi): Add the termination dialog token in ASAP FTM (6a8253a4) 2025-11-17 15:06:09 +05:30
Nachiket Kukade d824377ea6 bugfix(wifi): Resolve FTM failure status 5 for esp32c5 (161e5cd4) 2025-11-13 14:21:53 +05:30
yinqingzhao 647a1c731e feat(wifi): avoid disconnect when set band mode and fix some wifi bugs(1e4b53f1) 2025-11-12 14:31:34 +08:00
sibeibei 77e8ca103a fix(wifi/coex): fix some wifi bugs(05da6ed3) 2025-11-11 17:24:34 +08:00
yinqingzhao 618b4591a2 fix(wifi): fix some wifi bugs(2af44799) 2025-10-29 14:06:37 +08:00
muhaidong 694641c062 fix(wifi): fix fragment issue with wpa tkip encryption(80ddab6f) 2025-10-24 19:45:17 +08:00
zhangyanjiao 55dbefb577 fix(wifi/espnow): fix the off channel tx crash when using espnow (35998194) 2025-10-23 14:28:29 +08:00
Sarvesh Bodakhe 21eacc3229 fix(wifi): Add fixes to enable NAN-USD (dfff79f)
1. Make sure that device is able to recieve action management frames
   of size more than 1400 bytes.

2. Add support to receive broadcast frames in ROC (Remain on Channel)

This commit adds the support to receive broadcast frames in ROC Rx
callback. Some use cases may need to receive broadcast packets for
discovery of other peers.

* This can be enabled/disabled through 'no_broadcast' flag in
  'wifi_roc_req_t' structure.
* In default configration, broadcast packets will always be passed to the
  Rx callback. If you want to save CPU computation and avoid receiving
  broadcast packets, set 'no_broadcast=true'.

3. Add support to set BSSID address (A3) in esp_wifi_action_tx_req().
2025-10-20 12:18:14 +05:30
muhaidong 37a69947e1 fix(wifi): fix pkt key memory leak issue(39c1f7d0) 2025-10-17 16:20:20 +08:00
chenjianxing 8b40205c6c fix: force MAC tx end by set tx frame ACK bit for ESP32(d651973b) 2025-10-10 16:25:27 +08:00
tarun.kumar 700b098c7b feat(wifi) : Add FT with SAE feature(62a31eb7) 2025-09-29 12:29:44 +05:30
Nachiket Kukade c0ea1c78c6 fix(nan): Add NDP max inactivity and other improvements (7ed97800)
- Add max inactivity & retry attempts in NAN Datapath
- Add callbacks for NAN Actions and fix mismatching API status
- Fix Availability parsing issue with third party devices
- Partially revert NAN Event API change from 19e5b2e1
2025-09-28 22:09:56 +05:30
liuning a3ae65ccff feat(coex): update coexist head file to sync i154 schm support (062bf848) 2025-09-28 18:03:28 +08:00
Kapil Gupta 0e7080ea59 fix(esp_wifi): Set default nvs value for sae identifier to NULL (4e4278f4) 2025-09-28 10:36:03 +05:30
Kapil Gupta 0b719267d4 feat(wifi): Add support for wpa3 compatible mode for AP and STA (9fe48e75) 2025-09-28 09:09:17 +05:30
muhaidong 5bcb2be0dd fix(wifi): fix pm offchan execute ready cb miss issue(34369176) 2025-09-28 10:08:58 +08:00
Kapil Gupta 04117765f0 fix(esp_wifi): Remove deprecated API's, enums and variables (19e5b2e1) 2025-09-26 21:50:19 +05:30
Akshat Agrawal c34ffa6fcd bugfix(wifi): Set the dialog token of last FTM resp to Zero(6a743362) 2025-09-25 12:25:12 +05:30
zhangyanjiao 045f86a452 feat(wifi/espnow): Added switch channel API and remain on channel API for ESP-NOW (bfadac0f) 2025-09-15 11:05:01 +08:00
Sarvesh Bodakhe dedfbcefb4 fix(wifi): send correct wifi_auth_mode_t in event WIFI_EVENT_STA_CONNECTED and logs (df85326b)
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED for WPA3-Enteprise, which
  was previously taken directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-08-26 08:35:17 +05:30
yinqingzhao 04c5b28645 fix(wifi): fix twt beacon timeout and active scan on DFS channel(a5df435c) 2025-08-25 16:19:27 +08:00
yinqingzhao c1f74dcf91 fix(wifi): fix ht20 state check incorrect(14da9b7b) 2025-08-08 15:57:04 +08:00
liuning 1e370437af fix(pm): support connectionless ps with modem state (f586f1d3) 2025-08-06 19:17:21 +08:00
muhaidong 180762ac13 fix(wifi): fix scan done event miss issue(3c1c95b1) 2025-08-01 19:20:04 +08:00
Jack 09b6a047b0 Get operating class in dual band VNC MR3362 (04870013) 2025-07-31 20:59:28 +08:00
Jack 10dca7affa fix(wifi): add GCMP-128 cipher support for SoftAP mode (ee2fe1ca) 2025-07-31 10:28:51 +08:00
Shreyas Sheth 2300a8f5a9 fix(esp_wifi): Fix incorrect values for negotiated bandwidth for 2040 coex cases (12ca53f) 2025-07-30 15:07:23 +05:30