linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] wifi: rtw88: USB fixes
@ 2023-02-10  9:26 Sascha Hauer
  2023-02-10  9:26 ` [PATCH 1/2] wifi: rtw88: usb: Set qsel correctly Sascha Hauer
  2023-02-10  9:26 ` [PATCH 2/2] wifi: rtw88: usb: Fix urbs with size multiple of bulkout_size Sascha Hauer
  0 siblings, 2 replies; 5+ messages in thread
From: Sascha Hauer @ 2023-02-10  9:26 UTC (permalink / raw)
  To: linux-wireless
  Cc: Neo Jou, Hans Ulli Kroll, Ping-Ke Shih, Yan-Hsuan Chuang,
	Kalle Valo, netdev, linux-kernel, Martin Blumenstingl, kernel,
	Alexander Hochbaum, Da Xue, Po-Hao Huang, Andreas Henriksson,
	Viktor Petrenko, Sascha Hauer

This series addresses issues for the recently added RTW88 USB support
reported by Andreas Henriksson and also our customer.

The hardware can't handle urbs that have a size of multiple of the
bulkout_size (usually 512 bytes). The symptom is that the hardware
stalls completely. The issue can be reproduced by sending a suitably
sized ping packet from the device:

ping -s 394 <somehost>

(It's 394 bytes here on a RTL8822CU and RTL8821CU, the actual size may
differ on other chips, it was 402 bytes on a RTL8723DU)

Other than that qsel was not set correctly. The sympton here is that
only one of multiple bulk endpoints was used to send data.

Sascha

Sascha Hauer (2):
  wifi: rtw88: usb: Set qsel correctly
  wifi: rtw88: usb: Fix urbs with size multiple of bulkout_size

 drivers/net/wireless/realtek/rtw88/tx.h  |  2 ++
 drivers/net/wireless/realtek/rtw88/usb.c | 36 +++++++++++++++---------
 2 files changed, 25 insertions(+), 13 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2023-02-10 13:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10  9:26 [PATCH 0/2] wifi: rtw88: USB fixes Sascha Hauer
2023-02-10  9:26 ` [PATCH 1/2] wifi: rtw88: usb: Set qsel correctly Sascha Hauer
2023-02-10  9:26 ` [PATCH 2/2] wifi: rtw88: usb: Fix urbs with size multiple of bulkout_size Sascha Hauer
2023-02-10 10:52   ` Sascha Hauer
2023-02-10 13:21   ` Simon Horman

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).