Index | Thread | Search

From:
Mikhail Pchelin <misha@freebsd.org>
Subject:
rtw88 porting effort update
To:
tech@openbsd.org
Date:
Sun, 6 Sep 2026 20:00:51 +0300

Download raw body.

Thread
  • Mikhail Pchelin:

    rtw88 porting effort update

[I'm not subscribed, please keep cc'ed]

About 1.5 years ago I wrote[1] to tech@ an email about WIP for rtw88
port effort (TP-Link T3U nano 802.11ac chip), back then the driver
wasn't functioning, it was able to send probes, but there was a bug in
the RX path.  Motivation for the driver is described in the previous
email (comfortable sysupgrades for machines that can't run iwx, for
example, because of BIOS blacklisting).

I decided to come back to this, and the current version can ping
google.com over WPA2 at 1 Mbit/s, if you hold it at the right angle to
the sun and get really close to the AP.

With such a pace, we can get somewhere in 3-4 years.

Current version: https://people.freebsd.org/~misha/urtwm_20260906.patch

No testing requests for now, just an update - but any comments are
welcome, for example on how to handle FreeBSD's Linux glue layer
(currently it's right in the driver file).

[1] - https://marc.info/?l=openbsd-tech&m=174569172807564&w=2

dell:~$ doas ifconfig urtwm0 up
dell:~$ doas ifconfig urtwm0 nwid <REDACTED> wpakey <REDACTED>
dell:~$ doas ifconfig urtwm0 inet autoconf
dell:~$ route -n show
Routing tables

Internet:
Destination        Gateway            Flags   Refs      Use   Mtu  Prio Iface
default            192.168.1.1        UGS        4       21     -    12 urtwm0
224/4              127.0.0.1          URS        0        0 32768     8 lo0
127/8              127.0.0.1          UGRS       0        0 32768     8 lo0
127.0.0.1          127.0.0.1          UHhl       4       12 32768     1 lo0
192.168.1/24       192.168.1.10       UCn        1        0     -     8 urtwm0
192.168.1.1        <REDACTED>  UHLch      1       40     -     7 urtwm0
192.168.1.10       <REDACTED>  UHLl       1        5     -     1 urtwm0
192.168.1.255      192.168.1.10       UHb        0        0     -     1 urtwm0
<...>

dell:~$ ping google.com
ping: Warning: google.com has multiple addresses; using 74.125.131.139
PING google.com (74.125.131.139): 56 data bytes
64 bytes from 74.125.131.139: icmp_seq=1 ttl=106 time=25.001 ms
64 bytes from 74.125.131.139: icmp_seq=2 ttl=106 time=22.757 ms
64 bytes from 74.125.131.139: icmp_seq=4 ttl=106 time=23.570 ms
64 bytes from 74.125.131.139: icmp_seq=5 ttl=106 time=33.930 ms
64 bytes from 74.125.131.139: icmp_seq=6 ttl=106 time=62.890 ms
64 bytes from 74.125.131.139: icmp_seq=7 ttl=106 time=35.387 ms
^C
--- google.com ping statistics ---
9 packets transmitted, 6 packets received, 33.3% packet loss
round-trip min/avg/max/std-dev = 22.757/33.922/62.890/13.861 ms