From: Bin Luo via B4 Relay <devnull+luob87709.gmail.com@kernel.org>
To: Stanislaw Gruszka <stf_xl@wp.pl>
Cc: Johannes Berg <johannes@sipsolutions.net>,
linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH wireless v3 0/2] wifi: rt2x00: fix TX queue flush and TX_STA_FIFO teardown
Date: Fri, 04 Dec 2026 14:06:47 +0800 [thread overview]
Message-ID: <20261204060647.476-1-luob87709@gmail.com> (raw)
This v3 resends the v2 series cleanly via b4 web relay (v2 was
line-wrapped by Gmail and failed to apply on Patchwork); there are no
code changes from v2.
Per Stanislaw Gruszka's review on v1:
1. Patch 1/2 sets DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues()
so pending TX entries time out within 50 ms and drain cleanly during
disable_radio() before work/timer cancellation.
2. Patch 2/2 guards TX_STA_FIFO URB resubmission on non-zero status and
teardown in rt2800usb and kills anchored URBs after stopping work and
timers in rt2x00usb_uninitialize().
The QEMU dummy_hcd + raw_gadget RT2872 test harness is available at:
https://gist.github.com/1121984919/2193f0ccb5af3539e96d55e5d43728fb
Bin Luo (University of Electronic Science and Technology of China) (2):
wifi: rt2x00: set DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues()
wifi: rt2x00: prevent TX_STA_FIFO URB resubmission on error and teardown
drivers/net/wireless/ralink/rt2x00/rt2800usb.c | 24 ++++++++++++++----------
drivers/net/wireless/ralink/rt2x00/rt2x00queue.c | 4 ++++
drivers/net/wireless/ralink/rt2x00/rt2x00usb.c | 2 +-
3 files changed, 19 insertions(+), 11 deletions(-)
--
2.43.0
next reply other threads:[~2026-12-04 6:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 6:06 Bin Luo via B4 Relay [this message]
2026-12-04 6:06 ` [PATCH wireless v3 1/2] wifi: rt2x00: set DEVICE_STATE_FLUSHING in rt2x00queue_flush_queues() Bin Luo via B4 Relay
2026-12-04 6:06 ` [PATCH wireless v3 2/2] wifi: rt2x00: prevent TX_STA_FIFO URB resubmission on error and teardown Bin Luo via B4 Relay
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=20261204060647.476-1-luob87709@gmail.com \
--to=devnull+luob87709.gmail.com@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=luob87709@gmail.com \
--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