From: Ho Jie Feng <hjf3108@gmail.com>
To: Stanislaw Gruszka <stf_xl@wp.pl>
Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org,
Ho Jie Feng <hjf3108@gmail.com>
Subject: [PATCH wireless-next v3 0/7] wifi: rt2x00: improve the throughput of rt2800usb
Date: Fri, 13 Nov 2026 00:45:34 +0800 [thread overview]
Message-ID: <20261112164544.3176458-1-hjf3108@gmail.com> (raw)
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
next reply other threads:[~2026-11-12 16:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 16:45 Ho Jie Feng [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261112164544.3176458-1-hjf3108@gmail.com \
--to=hjf3108@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=stf_xl@wp.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®