1.\" 2.\" SPDX-License-Identifier: BSD-2-Clause 3.\" 4.\" Copyright (c) 2024 Jesper Schmitz Mouridsen <jsm@freebsd.org> 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25.\" SUCH DAMAGE. 26.\" 27.Dd May 3, 2025 28.Dt MTW 4 29.Os 30.Sh NAME 31.Nm mtw 32.Nd MediaTek MT7601U USB IEEE 802.11n wireless network driver 33.Sh SYNOPSIS 34.Cd device usb 35.Cd device mtw 36.Cd device wlan 37.Pp 38In 39.Xr rc.conf 5 : 40.Cd kld_list="if_mtw" 41.Sh DESCRIPTION 42This module provides support for 43MediaTek MT7601U USB wireless network adapters. 44If the appropriate hardware is detected, 45the driver will be automatically loaded with 46.Xr devmatch 8 . 47If driver autoloading is explicitly disabled, enable the module in 48.Xr rc.conf 5 . 49The 50.Nm 51driver can be configured at runtime with 52.Xr ifconfig 8 53or at boot with 54.Xr rc.conf 5 . 55.Sh HARDWARE 56The 57.Nm 58driver supports MediaTek MT7601U based USB wireless network adapters 59including (but not all of them tested): 60.Pp 61.Bl -bullet -compact 62.It 63ASUS USB-N10 v2 64.It 65D-Link DWA-127 rev B1 66.It 67Edimax EW-7711UAn v2 68.It 69Foxconn WFU03 70.It 71Tenda U2 72.It 73Tenda W311MI v2 74.It 75TP-LINK TL-WN727N v4 (tested working) 76.It 77Yealink WF40 78.El 79.Sh FILES 80The 81.Nm 82driver requires firmware from 83.Pa ports/net/wifi-firmware-mt7601u-kmod . 84This firmware package will be installed automatically with 85.Xr fwget 8 86if the appropriate hardware is detected at installation or runtime. 87.Sh SEE ALSO 88.Xr usb 4 , 89.Xr wlan 4 , 90.Xr networking 7 , 91.Xr fwget 8 , 92.Xr wpa_supplicant 8 93.Sh HISTORY 94The 95.Nm 96driver first appeared in 97.Ox 7.1 98and 99.Fx 15.0 . 100.Sh AUTHORS 101.An -nosplit 102The 103.Nm 104driver was written by 105.An James Hastings Aq Mt hastings@openbsd.org 106and ported to 107.Fx 108by 109.An Jesper Schmitz Mouridsen Aq Mt jsm@FreeBSD.org . 110.Sh BUGS 111.Nm 112only works in 113.Cm station 114mode and 115.Cm monitor 116mode. 117The firmware does not always reinitialize when reloading the module, 118or when rebooting, without first unplugging the device. 119