linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH rtw-next 0/6] wifi: rtw89: improvements for USB part
@ 2025-09-20 13:26 Fedor Pchelkin
  2025-09-20 13:26 ` [PATCH rtw-next 1/6] wifi: rtw89: usb: fix leak in rtw89_usb_rx_handler() Fedor Pchelkin
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Fedor Pchelkin @ 2025-09-20 13:26 UTC (permalink / raw)
  To: Ping-Ke Shih, Bitterblue Smith
  Cc: Fedor Pchelkin, Zong-Zhe Yang, Po-Hao Huang, linux-wireless,
	linux-kernel, lvc-project

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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-09-30  2:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-20 13:26 [PATCH rtw-next 0/6] wifi: rtw89: improvements for USB part Fedor Pchelkin
2025-09-20 13:26 ` [PATCH rtw-next 1/6] wifi: rtw89: usb: fix leak in rtw89_usb_rx_handler() Fedor Pchelkin
2025-09-24  8:49   ` Ping-Ke Shih
2025-09-20 13:26 ` [PATCH rtw-next 2/6] wifi: rtw89: usb: fix leak in rtw89_usb_write_port() Fedor Pchelkin
2025-09-24  9:03   ` Ping-Ke Shih
2025-09-29  9:12     ` Fedor Pchelkin
2025-09-30  2:03       ` Ping-Ke Shih
2025-09-20 13:26 ` [PATCH rtw-next 3/6] wifi: rtw89: implement C2H TX report handler Fedor Pchelkin
2025-09-23 22:12   ` Bitterblue Smith
2025-09-24 19:16     ` Bitterblue Smith
2025-09-29  9:46       ` Fedor Pchelkin
2025-09-24  9:18   ` Ping-Ke Shih
2025-09-20 13:26 ` [PATCH rtw-next 4/6] wifi: rtw89: handle IEEE80211_TX_CTL_REQ_TX_STATUS frames for USB Fedor Pchelkin
2025-09-25  2:05   ` Ping-Ke Shih
2025-09-29 14:16     ` Fedor Pchelkin
2025-09-30  1:55       ` Ping-Ke Shih
2025-09-20 13:26 ` [PATCH rtw-next 5/6] wifi: rtw89: process TX wait skbs for USB via C2H handler Fedor Pchelkin
2025-09-25  3:39   ` Ping-Ke Shih
2025-09-20 13:26 ` [PATCH rtw-next 6/6] wifi: rtw89: forcefully clear TX wait list on HCI reset Fedor Pchelkin
2025-09-25  3:50   ` Ping-Ke Shih
2025-09-22  5:45 ` [PATCH rtw-next 0/6] wifi: rtw89: improvements for USB part Ping-Ke Shih

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).