MTW(4)

πŸ“¦ version 15.1, in freebsd 15.1

✨ NAME ✨

okay bestie, welcome to the MTW(4) page from the Kernel Interfaces Manual πŸ’… β€” this is all about mtw, the MediaTek MT7601U USB IEEE 802.11n wireless network driver. yes, that whole name, no cap. πŸ¦‹

🌸 SYNOPSIS 🌸

kernel config vibes, literally:

device usb
device mtw
device wlan

and in rc.conf(5) you want:

kld_list="if_mtw"

πŸ’– DESCRIPTION πŸ’–

so this module provides support for MediaTek MT7601U USB wireless network adapters. If the appropriate hardware is detected, the driver will be automatically loaded with devmatch(8) β€” iconic. If driver autoloading is explicitly disabled, enable the module in rc.conf(5). The mtw driver can be configured at runtime with ifconfig(8) or at boot with rc.conf(5). periodt. ✨

πŸŽ€ HARDWARE πŸŽ€

the mtw driver supports MediaTek MT7601U based USB wireless network adapters, including (but not all of them tested):

  • ASUS USB-N10 v2
  • D-Link DWA-127 rev B1
  • Edimax EW-7711UAn v2
  • Foxconn WFU03
  • Tenda U2
  • Tenda W311MI v2
  • TP-LINK TL-WN727N v4 (tested working)
  • Yealink WF40

πŸ¦‹ FILES πŸ¦‹

the mtw driver requires firmware from ports/net/wifi-firmware-mt7601u-kmod. This firmware package will be installed automatically with fwget(8) if the appropriate hardware is detected at installation or runtime. that’s the firmware tea, bestie 🫢

🌈 SEE ALSO 🌈

go read these too, fr fr:

⭐ HISTORY ⭐

the mtw driver first appeared in OpenBSD 7.1 and FreeBSD 15.0. history ate, ngl. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

the mtw driver was written by James Hastings <hastings@openbsd.org> and ported to FreeBSD by Jesper Schmitz Mouridsen <jsm@FreeBSD.org>. iconic collaborators. πŸ’œ

πŸ’€ BUGS πŸ’€

⚠️ real talk: mtw only works in station mode and monitor mode. The firmware does not always reinitialize when reloading the module, or when rebooting, without first unplugging the device.

mwah πŸ’‹ that’s the tea β€” source/version: Debian, date: May 3, 2025. stay slay, bestie. πŸŽ€βœ¨

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ“œ the page's license: BSD-2-Clause
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms