Monday, September 25, 2023

Re: TP-Link WN821N USB wireless NIC on OpenBSD/amd64 7.3

On Tue, Sep 26, 2023 at 11:04:21AM +0800, Anders Jensen-Waud wrote:
> Hello,
>
> I have installed OpenBSD/amd64 7.3 on an old MacBook Air (2013).
> The onboard wifi doesn't work anymore, so I bought a TP-Link USB wifi
> dongle off Amazon (TP-Link WN821N, 300Mbps).
>
> OpenBSD seems to reecognize it (see attached dmesg, ifconfig), but it runs
> slow. I have a 1Gbps Internet connection and if I put my laptop right
> next to my access point, I get a max download speed of 0.9-1.0 Mbps
> when attempting to saturate the Internet connection.
>
> Other devices do not have the same problem.
>
> Is there a way I can get the NIC to speed up?

Yes, the way is to implement 802.11n support in the driver.
Help is welcome.

Unfortunately, none of the USB wifi devices supported by OpenBSD
support 802.11n with Tx aggregation yet. Except for bwfm(4) USB
devices, which are not easy to find.

FreeBSD already has code for 802.11n/HT support in their fork of
the rtwn driver, which has significantly diverged over years.

No comments:

Post a Comment