[PATCH wireless-next v3 0/7] wifi: rt2x00: improve the throughput of rt2800usb

From: Ho Jie Feng

Date: Thu Nov 12 2026 - 11:49:48 EST


This series improves the throughput of rt2800usb.

Implements
- Frequency offset calibration
- Better fallback rates
- Aggregation
- GRO

Tested on WNDA4100 RT3593, 5 GHz with iperf3

patch before after
TX RX TX RX
2 crystal calibration 27.7 31.6 28.5 69.7
3 MCS16 to MCS8 TX status 27.0 70.0 29.4 70.0
5 RX bulk aggregation 30.5 67.8 30.5 80.9
7 threaded NAPI with GRO 30.5 80.9 30.5 161.7

RT3070 did not have any visible change for both TX and RX.

Patch 5 added WARN_ON_ONCE to get_rx_seg_len, but it will always
trigger due to a bug due to USB data toggle. The fix will be sent
in another patch.

Changes in v3:
- Crystal calibration: save the frequency offset of the beacons in
rt2x00lib_rxdone_skb() instead of fill_rxdone, through rxdesc
- RX aggregation: enable it for usb_maxpacket >= 512
- GRO: Add locking and reference mt76 on how it is done

Changes since v2:
- Correct the link tuner start and stop conditions
- Extend fallback and MCS retry calculation to all devices with 3 TX chains
- Remove TX AMSDU and fast-xmit

Ho Jie Feng (7):
wifi: rt2x00: start the link tuner when an interface is added
wifi: rt2800: calibrate the crystal of RT3593 with the beacons
wifi: rt2800: make MCS 16 fall back to MCS 8 on devices with 3 TX
chains
wifi: rt2800: don't report an A-MPDU length to minstrel_ht
wifi: rt2800usb: enable RX bulk aggregation
wifi: rt2800: support A-MSDU in A-MPDU
wifi: rt2x00usb: use a threaded NAPI with GRO for RX

drivers/net/wireless/ralink/rt2x00/rt2800.h | 1 +
.../net/wireless/ralink/rt2x00/rt2800lib.c | 89 +++++++++-
.../net/wireless/ralink/rt2x00/rt2800lib.h | 1 +
.../net/wireless/ralink/rt2x00/rt2800usb.c | 33 +++-
.../net/wireless/ralink/rt2x00/rt2800usb.h | 6 +
drivers/net/wireless/ralink/rt2x00/rt2x00.h | 37 ++++-
.../net/wireless/ralink/rt2x00/rt2x00dev.c | 152 ++++++++++++++----
.../net/wireless/ralink/rt2x00/rt2x00lib.h | 2 +
.../net/wireless/ralink/rt2x00/rt2x00link.c | 10 ++
.../net/wireless/ralink/rt2x00/rt2x00mac.c | 13 ++
.../net/wireless/ralink/rt2x00/rt2x00mmio.c | 2 +-
.../net/wireless/ralink/rt2x00/rt2x00queue.h | 5 +
.../net/wireless/ralink/rt2x00/rt2x00usb.c | 62 +++++--
13 files changed, 365 insertions(+), 48 deletions(-)


base-commit: 3c311bf321442d4c4f452a1a08bc9efce242a1f9
--
2.53.0