mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH wireless-next v3 0/7] wifi: rt2x00: improve the throughput of rt2800usb
@ 2026-11-12 16:45 Ho Jie Feng
  2026-11-12 16:45 ` [PATCH wireless-next v3 1/7] wifi: rt2x00: start the link tuner when an interface is added Ho Jie Feng
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ho Jie Feng @ 2026-11-12 16:45 UTC (permalink / raw)
  To: Stanislaw Gruszka; +Cc: linux-wireless, linux-kernel, Ho Jie Feng

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


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

end of thread, other threads:[~2026-11-12 16:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12 16:45 [PATCH wireless-next v3 0/7] wifi: rt2x00: improve the throughput of rt2800usb Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 1/7] wifi: rt2x00: start the link tuner when an interface is added Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 2/7] wifi: rt2800: calibrate the crystal of RT3593 with the beacons Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 3/7] wifi: rt2800: make MCS 16 fall back to MCS 8 on devices with 3 TX chains Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 4/7] wifi: rt2800: don't report an A-MPDU length to minstrel_ht Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 5/7] wifi: rt2800usb: enable RX bulk aggregation Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 6/7] wifi: rt2800: support A-MSDU in A-MPDU Ho Jie Feng
2026-11-12 16:45 ` [PATCH wireless-next v3 7/7] wifi: rt2x00usb: use a threaded NAPI with GRO for RX Ho Jie Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®