xref: /freebsd/share/man/man4/mt7921.4 (revision 5dbb0b7c19cf40ab6562c03396d245cf3a7374fe)
13c4ba5f5SBjoern A. Zeeb.\"-
2*5dbb0b7cSBjoern A. Zeeb.\" Copyright (c) 2023-2024 Bjoern A. Zeeb
33c4ba5f5SBjoern A. Zeeb.\"
43c4ba5f5SBjoern A. Zeeb.\" Redistribution and use in source and binary forms, with or without
53c4ba5f5SBjoern A. Zeeb.\" modification, are permitted provided that the following conditions
63c4ba5f5SBjoern A. Zeeb.\" are met:
73c4ba5f5SBjoern A. Zeeb.\" 1. Redistributions of source code must retain the above copyright
83c4ba5f5SBjoern A. Zeeb.\"    notice, this list of conditions and the following disclaimer.
93c4ba5f5SBjoern A. Zeeb.\" 2. Redistributions in binary form must reproduce the above copyright
103c4ba5f5SBjoern A. Zeeb.\"    notice, this list of conditions and the following disclaimer in the
113c4ba5f5SBjoern A. Zeeb.\"    documentation and/or other materials provided with the distribution.
123c4ba5f5SBjoern A. Zeeb.\"
133c4ba5f5SBjoern A. Zeeb.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
143c4ba5f5SBjoern A. Zeeb.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
153c4ba5f5SBjoern A. Zeeb.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
163c4ba5f5SBjoern A. Zeeb.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
173c4ba5f5SBjoern A. Zeeb.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
183c4ba5f5SBjoern A. Zeeb.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
193c4ba5f5SBjoern A. Zeeb.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
203c4ba5f5SBjoern A. Zeeb.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
213c4ba5f5SBjoern A. Zeeb.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
223c4ba5f5SBjoern A. Zeeb.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
233c4ba5f5SBjoern A. Zeeb.\" SUCH DAMAGE.
243c4ba5f5SBjoern A. Zeeb.\"
25*5dbb0b7cSBjoern A. Zeeb.Dd September 30, 2024
263c4ba5f5SBjoern A. Zeeb.Dt MT7921 4
273c4ba5f5SBjoern A. Zeeb.Os
283c4ba5f5SBjoern A. Zeeb.Sh NAME
293c4ba5f5SBjoern A. Zeeb.Nm mt7921
303c4ba5f5SBjoern A. Zeeb.Nd MediaTek IEEE 802.11ax wireless network driver
313c4ba5f5SBjoern A. Zeeb.Sh SYNOPSIS
323c4ba5f5SBjoern A. ZeebThe driver will auto-load without any user interaction using
333c4ba5f5SBjoern A. Zeeb.Xr devmatch 8
343c4ba5f5SBjoern A. Zeebif enabled in
353c4ba5f5SBjoern A. Zeeb.Xr rc.conf 5 .
363c4ba5f5SBjoern A. Zeeb.Pp
373c4ba5f5SBjoern A. ZeebOnly if auto-loading is explicitly disabled, place the following
383c4ba5f5SBjoern A. Zeeblines in
393c4ba5f5SBjoern A. Zeeb.Xr rc.conf 5
403c4ba5f5SBjoern A. Zeebto manually load the driver as a module at boot time:
413c4ba5f5SBjoern A. Zeeb.Bd -literal -offset indent
423c4ba5f5SBjoern A. Zeebkld_list="${kld_list} if_mt7921"
433c4ba5f5SBjoern A. Zeeb.Ed
443c4ba5f5SBjoern A. Zeeb.Pp
453c4ba5f5SBjoern A. ZeebThe driver should automatically load any
463c4ba5f5SBjoern A. Zeebfirmware needed for the particular chipset.
473c4ba5f5SBjoern A. Zeeb.Pp
483c4ba5f5SBjoern A. ZeebIt is discouraged to load the driver from
493c4ba5f5SBjoern A. Zeeb.Xr loader 8 .
503c4ba5f5SBjoern A. Zeeb.Sh DESCRIPTION
513c4ba5f5SBjoern A. ZeebThe
523c4ba5f5SBjoern A. Zeeb.Nm
53*5dbb0b7cSBjoern A. Zeebdriver is derived from MediaTek's Linux mt76 driver.
543c4ba5f5SBjoern A. Zeeb.Pp
553c4ba5f5SBjoern A. ZeebThis driver requires firmware to be loaded before it will work.
563c4ba5f5SBjoern A. ZeebThe package
573c4ba5f5SBjoern A. Zeeb.Pa wifi-firmware-mt76-kmod
583c4ba5f5SBjoern A. Zeebfrom the
593c4ba5f5SBjoern A. Zeeb.Pa ports/net/wifi-firmware-mt76-kmod
603c4ba5f5SBjoern A. Zeebport needs to be installed before the driver is loaded.
613c4ba5f5SBjoern A. ZeebOtherwise no
623c4ba5f5SBjoern A. Zeeb.Xr wlan 4
633c4ba5f5SBjoern A. Zeebinterface can be created using
643c4ba5f5SBjoern A. Zeeb.Xr ifconfig 8 .
653c4ba5f5SBjoern A. Zeeb.Pp
663c4ba5f5SBjoern A. ZeebThe driver uses the
673c4ba5f5SBjoern A. Zeeb.\" No LinuxKPI man pages so no .Xr here.
683c4ba5f5SBjoern A. Zeeb.Em linuxkpi_wlan
693c4ba5f5SBjoern A. Zeeband
703c4ba5f5SBjoern A. Zeeb.Em linuxkpi
713c4ba5f5SBjoern A. Zeebcompat framework to bridge between the Linux and
723c4ba5f5SBjoern A. Zeebnative
733c4ba5f5SBjoern A. Zeeb.Fx
743c4ba5f5SBjoern A. Zeebdriver code as well as to the native
753c4ba5f5SBjoern A. Zeeb.Xr net80211 4
763c4ba5f5SBjoern A. Zeebwireless stack.
773c4ba5f5SBjoern A. Zeeb.Pp
783c4ba5f5SBjoern A. ZeebWhile
793c4ba5f5SBjoern A. Zeeb.Nm
803c4ba5f5SBjoern A. Zeebsupports all 802.11 a/b/g/n/ac and ax
813c4ba5f5SBjoern A. Zeebthe compatibility code currently only supports 802.11 a/b/g modes.
823c4ba5f5SBjoern A. ZeebSupport for 802.11 n/ac is to come.
83*5dbb0b7cSBjoern A. Zeeb.Sh HARDWARE
84*5dbb0b7cSBjoern A. ZeebThe
85*5dbb0b7cSBjoern A. Zeeb.Nm
86*5dbb0b7cSBjoern A. Zeebdriver supports PCIe devices with the following chipsets:
87*5dbb0b7cSBjoern A. Zeeb.Pp
88*5dbb0b7cSBjoern A. Zeeb.Bl -tag -width Ds -offset indent -compact
89*5dbb0b7cSBjoern A. Zeeb.It MediaTek MT7921E
90*5dbb0b7cSBjoern A. Zeeb.El
913c4ba5f5SBjoern A. Zeeb.Sh BUGS
923c4ba5f5SBjoern A. ZeebCertainly.
933c4ba5f5SBjoern A. Zeeb.Sh SEE ALSO
943c4ba5f5SBjoern A. Zeeb.Xr wlan 4 ,
953c4ba5f5SBjoern A. Zeeb.Xr ifconfig 8 ,
963c4ba5f5SBjoern A. Zeeb.Xr wpa_supplicant 8
973c4ba5f5SBjoern A. Zeeb.Sh HISTORY
983c4ba5f5SBjoern A. ZeebThe
993c4ba5f5SBjoern A. Zeeb.Nm
1003c4ba5f5SBjoern A. Zeebdriver first appeared in
1013c4ba5f5SBjoern A. Zeeb.Fx 14.0 .
102