HomeFreeBSD

rtwn: enable periodic TX reporting support on RTL8188EU NICs.

Description

rtwn: enable periodic TX reporting support on RTL8188EU NICs.

The RTL8188E firmware doesn't have the "full" offload firmware
rate control. Instead, the vendor driver has a bunch of logic
in the driver for rate probing and selection.

Part of this is the periodic TX report - which uploads a summary
of multi-rate retries and drops per MAC. Using it drastically
cuts down on the TX notifications - it's fired from a timer
(defaulting to ~ 1.6 seconds) and is a single receive frame in
the normal bulk RX path.

I've not ported / reimplemented the whole vendor driver rate adaption
code - instead, I'm just using the normal net80211 rate control APIs.
It seems to behave OK - I get 25-30mbit down and 20mbit up using TCP/
speedtest.

Locally tested:

  • RTL8188EU, STA mode

Differential Revision: https://reviews.freebsd.org/D48088
Reviewed by: fuz, bz
Obtained from: https://github.com/lwfinger/rtl8188eu/blob/master/hal/Hal8188ERateAdaptive.c

Details

Provenance
adrianAuthored on Sun, Dec 15, 4:38 AM
Reviewer
fuz
Differential Revision
D48088: rtwn: enable periodic TX reporting support on RTL8188EU NICs.
Parents
rG7ddf19492cd9: rtwn: add support for register IO debugging
Branches
Unknown
Tags
Unknown