]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw88: usb: Enable RX aggregation for 8821au/8812au
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Thu, 14 Nov 2024 15:48:09 +0000 (17:48 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Thu, 21 Nov 2024 00:47:13 +0000 (08:47 +0800)
commitce5dea83ee8f945203144fb891fdcb978216e45a
tree6c446f09ae54084f2cad5f68fed0c616b26707da
parent82a35723a67c29f685d7b518962154a73b7163a2
wifi: rtw88: usb: Enable RX aggregation for 8821au/8812au

USB RX aggregation improves the RX speed on certain ARM systems, like
the NanoPi NEO Core2. With RTL8811AU, before: 30 Mbps, after: 224 Mbps.

The out-of-tree driver uses aggregation size of 7 in USB 3 mode, but
that doesn't work here. rtw88 advertises support for receiving AMSDU
in AMPDU, so the AP sends larger frames, up to ~5100 bytes. With a size
of 7 RTL8812AU frequently tries to aggregate more frames than will fit
in 32768 bytes. Use a size of 6 instead.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/63012163-a425-4b15-b830-43f279c06b73@gmail.com
drivers/net/wireless/realtek/rtw88/usb.c