MTW(4)

NAME
mtw - MediaTek MT7601U USB IEEE 802.11n wireless network driver

SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:

device ehci
device uhci
device ohci
device usb
device mtw
device wlan
device wlan_amrr

Firmware is also needed, and provided by:

device mtwfw

Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5):

    if_mtw_load="YES"
    mtw7601ufw_load="YES"

DESCRIPTION
This module provides support for MediaTek MT7601U USB wireless network adapters. If the appropriate hardware is detected, the driver will be automatically loaded with devd(8). If driver autoloading is explicitly disabled, enable the module in rc.conf(5) or loader.conf(5). The mtw driver can be configured at runtime with ifconfig(8) or at boot with rc.conf(5).

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

•   Allnet ALL-WA0150N
•   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

SEE ALSO
usb(4), wlan(4), netintro(4), wpa_supplicant(8)

HISTORY
The mtw driver first appeared in OpenBSD 7.1 and FreeBSD 15.0.

AUTHORS
-nosplit The mtw driver was written by James Hastings <hastings@openbsd.org> and ported to FreeBSD by Jesper Schmitz Mouridsen <jsm@FreeBSD.org>.

BUGS
mtw only works in station mode and monitor mode. The firmware does not reinitialize when reloading the module, or when rebooting, without first unplugging the device.