]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw88: usb: Support RX aggregation
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Wed, 7 Aug 2024 22:21:36 +0000 (01:21 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 9 Aug 2024 01:12:44 +0000 (09:12 +0800)
commitdf3d8f463b1dfc7cb8f4fb52b1b81d290b850d03
tree40e6597480f753671bf93d1bcc1781df3f726dae
parent38ea04a79ad0f8cc30bb5e9ad98d665e4ae5060c
wifi: rtw88: usb: Support RX aggregation

The chips can be configured to aggregate several frames into a single
USB transfer. Modify rtw_usb_rx_handler() to support this case.

RX aggregation improves the RX speed of RTL8811CU on certain ARM
systems, like the NanoPi NEO Core2. It also improves the RX speed of
RTL8822CU on some x86_64 systems.

Currently none of the chips are configured to aggregate frames.

Tested with RTL8822CU, RTL8811CU, and RTL8723DU.

Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/f845826d-de71-492d-9a22-e48c07989a1f@gmail.com
drivers/net/wireless/realtek/rtw88/usb.c