lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250920132614.277719-1-pchelkin@ispras.ru>
Date: Sat, 20 Sep 2025 16:26:05 +0300
From: Fedor Pchelkin <pchelkin@...ras.ru>
To: Ping-Ke Shih <pkshih@...ltek.com>,
	Bitterblue Smith <rtl8821cerfe2@...il.com>
Cc: Fedor Pchelkin <pchelkin@...ras.ru>,
	Zong-Zhe Yang <kevin_yang@...ltek.com>,
	Po-Hao Huang <phhuang@...ltek.com>,
	linux-wireless@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	lvc-project@...uxtesting.org
Subject: [PATCH rtw-next 0/6] wifi: rtw89: improvements for USB part

The first two patches concern memory leak issues found during testing.

The other ones implement TX completion functionality missing for the USB
part of rtw89 driver, suggested by Bitterblue Smith [1].  This will allow
handling TX wait skbs and the ones flagged with IEEE80211_TX_CTL_REQ_TX_STATUS
correctly.

rtw89 has several ways of handling TX status report events.  The first one
is based on RPP feature which is used by PCIe HCI.  The other one depends
on firmware sending a corresponding C2H message, quite similar to what
rtw88 has.  RTL8851BU vendor driver [2] was taken for reference.

[1]: https://lore.kernel.org/linux-wireless/0cb4d19b-94c7-450e-ac56-8b0d4a1d889f@gmail.com/
[2]: https://github.com/fofajardo/rtl8851bu.git

Series has been tested to work with RTL8851BU (USB) and RTL8852BE (PCIe)
devices.

Sorry for the inconvenience with the timing when the series is sent.  It's
not extremely urgent, and I'd gladly appreciate if it'd be reviewed for
any issues I'm not aware of.  Testing with other USB chips would be great,
too.  Thanks!

Fedor Pchelkin (6):
  wifi: rtw89: usb: fix leak in rtw89_usb_rx_handler()
  wifi: rtw89: usb: fix leak in rtw89_usb_write_port()
  wifi: rtw89: implement C2H TX report handler
  wifi: rtw89: handle IEEE80211_TX_CTL_REQ_TX_STATUS frames for USB
  wifi: rtw89: process TX wait skbs for USB via C2H handler
  wifi: rtw89: forcefully clear TX wait list on HCI reset

 drivers/net/wireless/realtek/rtw89/core.c | 23 +++++++--
 drivers/net/wireless/realtek/rtw89/core.h | 44 ++++++++++++++--
 drivers/net/wireless/realtek/rtw89/fw.h   |  5 ++
 drivers/net/wireless/realtek/rtw89/mac.c  | 63 +++++++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/mac.h  |  9 ++++
 drivers/net/wireless/realtek/rtw89/pci.c  |  1 +
 drivers/net/wireless/realtek/rtw89/pci.h  |  4 --
 drivers/net/wireless/realtek/rtw89/txrx.h |  2 +
 drivers/net/wireless/realtek/rtw89/usb.c  | 35 +++++++++++--
 drivers/net/wireless/realtek/rtw89/usb.h  | 15 ++++++
 10 files changed, 186 insertions(+), 15 deletions(-)

-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ