Sascha Hauer s.hauer@pengutronix.de wrote:
The RTW88 chipsets have four different priority queues in hardware. For the USB type chipsets the packets destined for a specific priority queue must be sent through the endpoint corresponding to the queue. This was not fully understood when porting from the RTW88 USB out of tree driver and thus violated.
This patch implements the qsel to endpoint mapping as in get_usb_bulkout_id_88xx() in the downstream driver.
Without this the driver often issues "timed out to flush queue 3" warnings and often TX stalls completely.
Signed-off-by: Sascha Hauer s.hauer@pengutronix.de Tested-by: ValdikSS iam@valdikss.org.ru Tested-by: Alexandru gagniuc mr.nuke.me@gmail.com Tested-by: Larry Finger Larry.Finger@lwfinger.net Cc: stable@vger.kernel.org Reviewed-by: Ping-Ke Shih pkshih@realtek.com
4 patches applied to wireless-next.git, thanks.
a6f187f92bcc wifi: rtw88: usb: fix priority queue to endpoint mapping 14705f969d98 wifi: rtw88: rtw8821c: Fix rfe_option field width 97c75e1adeda wifi: rtw88: set pkg_type correctly for specific rtw8821c variants 172591baa2cc wifi: rtw88: call rtw8821c_switch_rf_set() according to chip variant