mtw.4: Make style consistent with other manuals

Fixes:			c14b016242 (importing if_mtw from OpenBSD)
Reviewed by:		adrian, carlavilla (mentor), jsm, mhorne(mentor)
Differential Revision:	https://reviews.freebsd.org/D48905
This commit is contained in:
Alexander Ziaee 2025-04-15 19:25:34 -04:00
parent 701072154a
commit 7757c54895
No known key found for this signature in database
GPG key ID: 0A8F850BCDEF4511

View file

@ -24,23 +24,41 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.Dd Feb 03, 2025
.Dd May 3, 2025
.Dt MTW 4
.Os
.Sh NAME
.Nm if_mtw
.Nd "Mediatek MT7601U"
.Ed
.Nm mtw
.Nd MediaTek MT7601U USB IEEE 802.11n wireless network driver
.Sh SYNOPSIS
.Cd device usb
.Cd device mtw
.Cd device wlan
.Pp
In
.Xr rc.conf 5 :
.Cd kld_list="if_mtw"
.Sh DESCRIPTION
This module provides support for Mediatek MT7601U with the firmware from net/wifi-firmware-mtw-kmod
This module provides support for
MediaTek MT7601U USB wireless network adapters.
If the appropriate hardware is detected,
the driver will be automatically loaded with
.Xr devmatch 8 .
If driver autoloading is explicitly disabled, enable the module in
.Xr rc.conf 5 .
The
.Nm
driver can be configured at runtime with
.Xr ifconfig 8
or at boot with
.Xr rc.conf 5 .
.Sh HARDWARE
The
.Nm
driver supports Mediatek MT7601U
based USB wireless network adapters including (but not all of them tested):
driver supports MediaTek MT7601U based USB wireless network adapters
including (but not all of them tested):
.Pp
.Bl -column -compact
.Bl -bullet -compact
.It
ASUS USB-N10 v2
.It
@ -58,17 +76,43 @@ TP-LINK TL-WN727N v4 (tested working)
.It
Yealink WF40
.El
.Sh SEE ALSO
.Xr usb 4
.Sh BUGS
.Sh FILES
The
.Nm
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.
.Sh History
The mtw driver first appeared in OpenBSD 7.1. The mtw driver was ported to FreeBSD in FreeBSD 15.0.
driver requires firmware from
.Pa ports/net/wifi-firmware-mt7601u-kmod .
This firmware package will be installed automatically with
.Xr fwget 8
if the appropriate hardware is detected at installation or runtime.
.Sh SEE ALSO
.Xr usb 4 ,
.Xr wlan 4 ,
.Xr networking 7 ,
.Xr fwget 8 ,
.Xr wpa_supplicant 8
.Sh HISTORY
The
.Nm
driver first appeared in
.Ox 7.1
and
.Fx 15.0 .
.Sh AUTHORS
.An -nosplit
The mtw driver was written by
The
.Nm
driver was written by
.An James Hastings Aq Mt hastings@openbsd.org
ported to FreeBSD by
.An Jesper Schmitz Mouridsen Aq Mt jsm@FreeBSD.org
and ported to
.Fx
by
.An Jesper Schmitz Mouridsen Aq Mt jsm@FreeBSD.org .
.Sh BUGS
.Nm
only works in
.Cm station
mode and
.Cm monitor
mode.
The firmware does not always reinitialize when reloading the module,
or when rebooting, without first unplugging the device.