Re: How to test MediaTek mt7921!

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 19 Oct 2026 10:59:51 UTC
On Mon, 19 Oct 2026, Matthias Apitz wrote:

Hi,

> I'm late on the train, but since last weekend I've updated my laptop
> ASUS-VivoBook-Pro-14 to 16.0-CURRENT #1 main-n290177-6866177454ac.
> Its pci.conf says:
>
> none2@pci0:1:0:0:       class=0x028000 rev=0x00 hdr=0x00 vendor=0x14c3 device=0x7961 subvendor=0x1a3b subdevice=0x4680
>    vendor     = 'MEDIATEK Corp.'
>    device     = 'MT7921 802.11ax PCI Express Wireless Network Adapter'
>    class      = network
>
> Until now I use for WLAN an USB-dongle which does fine, but I could now
> perhaps use the MT7921 Wireless Network Adapter, am I correct?
>
> If so, please point me to some instructions for loader.conf (...) to
> enable it. Thanks in advance

I wish it was that easy but you just gave me an idea.

Here's the old call for testing (and the follow-up email in the thread)
which is still pretty much the current state:

https://lists.freebsd.org/archives/freebsd-wireless/2026-July/004372.html

I think it's also linked from https://wiki.freebsd.org/WiFi/Mt76 where I
try to collect some results.

Please not you have to recompile your kernel and you have to recompile
drm-kmod along with it yourself from the same kernel sources where you
applied the patches to!

I'd suggest a VM, a different BE, or at least a backup just in case, and
in case you may just want to try it out.


In case you get ubt devcies (Mediatek Wireless, which really is Bluetooth)
still please drop me a note with the usbconfig dump_device_desc for that ugen
so we can add them to the blocklist until someone writes a driver.

HTH, otherwise just shoot me email;  it may take a bit until I can reply
depending on life at the moment but I will try to,
/bz

-- 
For there shall arise false Christs, and false prophets, and shall shew
great signs and wonders; insomuch that, if it were possible, they shall
deceive the very elect. Behold, I have told you before. [Mat. 24:24-25]