Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH rtw-next v2 0/2] wifi: rtl8xxxu: A-MPDU sessions per station, FCS
@ 2026-12-02 10:57 Mehmet Fide
  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
  0 siblings, 2 replies; 5+ messages in thread
From: Mehmet Fide @ 2026-12-02 10:57 UTC (permalink / raw)
  To: Ping-Ke Shih
  Cc: Jes Sorensen, Martin Kaistra, Kalle Valo, Taehee Yoo,
	Andrea Merello, Bitterblue Smith, Georg Müller,
	Shreyansh Khajanchi, linux-wireless, mehmet.fide

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


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

end of thread, other threads:[~2026-12-04  6:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 10:57 [PATCH rtw-next v2 0/2] wifi: rtl8xxxu: A-MPDU sessions per station, FCS Mehmet Fide
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

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