🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.bugs
2 messages
2 total messages Started by bugzilla-noreply Wed, 18 Nov 2026 04:59
[Bug 300862] LinuxKPI/rtw89 skips RX reordering on RTL8852BT, causing CCMP replay drops and low HE80 downlink throughput
#506
Author: bugzilla-noreply
Date: Wed, 18 Nov 2026 04:59
68 lines
4505 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300862

            Bug ID: 300862
           Summary: LinuxKPI/rtw89 skips RX reordering on RTL8852BT,
                    causing CCMP replay drops and low HE80 downlink
                    throughput
           Product: Base System
           Version: 15.2-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: denis@lemire.name

Created attachment 277412
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277412&action=edit
Tested, opt-in LinuxKPI patch that marks eligible RTL8852BT station frames with
M_AMPDU so net80211 reorders them before CCMP replay checks. Applies cleanly to
stable/15 and CURRENT.

This surfaced during LLM-assisted experiments to improve Wi-Fi performance on
an HP laptop with an RTL8852BT (PCI 10ec:b520). The test kernel was a locally
patched 15.2-STABLE build with earlier 802.11ax station changes. Those patches
were present in every run. Only the RX reorder correction was toggled in the
same-kernel comparison.

LinuxKPI established a receive Block Ack session but did not set `M_AMPDU` on
eligible unicast QoS frames. As a result, net80211 skipped
`ieee80211_ampdu_reorder()`, and CCMP rejected valid out-of-order frames. In
two 12-second, 150 Mbps UDP downlinks from a wired peer through a U6 Mesh AP
(HE80, WPA2-CCMP), DTrace saw every datagram at `rtw89_core_rx`. The `wlan0`
Ethernet capture was missing 487 and 532 datagrams respectively, exactly
matching the increases in CCMP replay rejections.

Across fresh associations, single-stream TCP downloads reached 102–105 Mbps
with the correction disabled and 365–385 Mbps with it enabled. With the final
opt-in correction, all 187,643 test datagrams reached the Ethernet capture
exactly once, with zero CCMP replay rejections.

The same missing handoff is present in both `stable/15` and `main` (CURRENT).
The attached diff contains the tested correction with its context adjusted for
upstream, and applies cleanly to `stable/15` at `f65ba7a1a23e` and CURRENT at
`108240e0baf5`. Hardware verification was on the patched 15.2-STABLE kernel
with `compat.linuxkpi.80211.rtw8852bt_rx_reorder="1"`.

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
[Bug 300862] LinuxKPI/rtw89 skips RX reordering on RTL8852BT, causing CCMP replay drops and low HE80 downlink throughput
#508
Author: bugzilla-noreply
Date: Wed, 18 Nov 2026 10:13
22 lines
2799 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300862

Mark Linimon <linimon@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |273621
           Assignee|bugs@FreeBSD.org            |wireless@FreeBSD.org


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273621
[Bug 273621] rtw88, rtw89 meta-bug
-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads