On Sun, Sep 08, 2024 at 12:49:28PM +0100, Zé Loff wrote:
> FWIW, I have a couple of utrwn0 devices, and never managed to get
> average speeds above 500-600 Kbps out of any of them, even when on
> OFDM54 and signal strengths above -50dBm.
> 
>     urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R

The reason for low speed on 8188CUS devices is a firmware limitation.
The firmware handles Tx speed selection and somehow does it poorly.
There is no way for the driver to override Tx speed selection.
This would need a firmware-side fix.

>     urtwn0: MAC/BB RTL8192EU, RF 6052 2T2R

With this particular chip, the driver had a bug causing the device to
send all frames at 1 Mbit/s. This bug was fixed in March 2022:
https://github.com/openbsd/src/commit/b5162d813ce25a3984cf6cc9f58fcdb16b00f657

tcpbench before:
Conn:   1 Mbps:        0.808 Peak Mbps:        1.108 Avg Mbps:        0.808

tcpbench with fix:
Conn:   1 Mbps:       21.078 Peak Mbps:       21.078 Avg Mbps:       21.078

Reply via email to