From: Mehmet Fide <mehmet.fide@gmail.com>
To: Ping-Ke Shih <pkshih@realtek.com>
Cc: "Jes Sorensen" <Jes.Sorensen@gmail.com>,
"Martin Kaistra" <martin.kaistra@linutronix.de>,
"Kalle Valo" <kvalo@kernel.org>,
"Taehee Yoo" <ap420073@gmail.com>,
"Andrea Merello" <andrea.merello@gmail.com>,
"Bitterblue Smith" <rtl8821cerfe2@gmail.com>,
"Georg Müller" <georgmueller@gmx.net>,
"Shreyansh Khajanchi" <hi@shreyan.sh>,
linux-wireless@vger.kernel.org, mehmet.fide@screeningeagle.com
Subject: [PATCH rtw-next v2 0/2] wifi: rtl8xxxu: A-MPDU sessions per station, FCS
Date: Wed, 2 Dec 2026 11:57:58 +0100 [thread overview]
Message-ID: <20261202105800.2584278-1-mehmet.fide@gmail.com> (raw)
From: Mehmet Fide <mehmet.fide@screeningeagle.com>
Two patches found while testing the RTL8188EU as an access point. The
AP mode series for the 8188e will follow on top of them.
1 keeps the TX block ack sessions per station. They were per device,
so in AP mode only the first station got a block ack session, and the
other stations got aggregated frames without one.
2 lets every chip append the FCS to received frames. Without it the
8188e reports some MPDUs of an A-MPDU 4 bytes short, and with CCMP
they lose 4 bytes of payload. This happens in station mode too.
Tested with an RTL8188EU, rtl8xxxu from rtw-next: as a WPA2 station of
an MT7921AU and of an RTL8822BU AP, as an AP for nine stations with
the AP mode series on top, and as a monitor. I have no other rtl8xxxu
chip, so both patches ran on the RTL8188EU only.
With RTS for an A-MPDU only, the station got the same TCP throughput
as with v1, 11/4.9 against 10.7/4.6 Mbit/s up/down (medians of eight
runs), and the nine stations of the AP 6.9 to 9.1 against 6.8 to 7.6
Mbit/s in total (three runs each).
Patch 2 applies to 6.12.y and later. 6.6.y still has the old file
names and needs a separate backport.
v2:
- 1/2: no Fixes tag, AP mode is a new feature (Ping-Ke)
- 1/2: ampdu_enable is set only for a frame marked with
IEEE80211_TX_CTL_AMPDU, so RTS is on for an A-MPDU only, as in the
vendor drivers; the commented out check is gone (Ping-Ke)
- 1/2: the throughput numbers are gone; they came from single runs that
three runs each on the current rtw-next did not repeat
- 2/2: every chip appends the FCS, and RX_INCLUDES_FCS lets mac80211
remove it, so a monitor interface gets it too (Bitterblue)
- 2/2: the v1 message said that the vendor driver appends the FCS; it
does so only in monitor mode
- 2/2: Closes tag for the report of 2023
- rebased on rtw-next
Mehmet Fide (2):
wifi: rtl8xxxu: keep the A-MPDU session state per station
wifi: rtl8xxxu: append the FCS to received frames
drivers/net/wireless/realtek/rtl8xxxu/core.c | 31 +++++++++----------
.../net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 3 +-
2 files changed, 15 insertions(+), 19 deletions(-)
base-commit: f496c65cc2870f2342ff37736dd31d0748588c72
--
2.56.0
next reply other threads:[~2026-12-02 10:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 10:57 Mehmet Fide [this message]
2026-12-02 10:57 ` [PATCH rtw-next v2 1/2] wifi: rtl8xxxu: keep the A-MPDU session state per station Mehmet Fide
2026-12-02 10:58 ` [PATCH rtw-next v2 2/2] wifi: rtl8xxxu: append the FCS to received frames Mehmet Fide
2026-12-04 3:14 ` Ping-Ke Shih
2026-12-04 6:27 ` Mehmet Fide
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=20261202105800.2584278-1-mehmet.fide@gmail.com \
--to=mehmet.fide@gmail.com \
--cc=Jes.Sorensen@gmail.com \
--cc=andrea.merello@gmail.com \
--cc=ap420073@gmail.com \
--cc=georgmueller@gmx.net \
--cc=hi@shreyan.sh \
--cc=kvalo@kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=martin.kaistra@linutronix.de \
--cc=mehmet.fide@screeningeagle.com \
--cc=pkshih@realtek.com \
--cc=rtl8821cerfe2@gmail.com \
/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