> For the complete documentation index, see [llms.txt](https://man.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://man.bsdcn.org/man4/mt7915.4.md).

# mt7915(4)

`mt7915` — MediaTek IEEE 802.11ax 无线网络驱动

## 名称

`mt7915`

## 概要

`如果已在 rc.conf(5) 中启用 devmatch(8)，则驱动将在无任何用户干预的情况下自动加载。`

`仅在显式禁用自动加载时，才在 rc.conf(5) 中加入以下行以在引导时手动以模块形式加载此驱动：`

```sh
kld_list="${kld_list} if_mt7915"
```

`此驱动应自动加载特定芯片组所需的任何固件。`

`不建议从 loader(8) 加载此驱动。`

## 描述

`mt7915` 驱动为 MediaTek MT7915E 无线网络设备提供支持。`mt7915` 派生自 MediaTek 的 Linux mt76 驱动。

此驱动需要先加载固件才能工作。在加载驱动之前，需要安装来自 `ports/net/wifi-firmware-mt76-kmod` port 的 `wifi-firmware-mt76-kmod` 软件包。否则将无法使用 [ifconfig(8)](/man8/ifconfig.8.md) 创建 [wlan(4)](/man4/wlan.4.md) 接口。可使用 fwget(8) 安装正确的固件包。

此驱动使用 **linuxkpi\_wlan** 和 **linuxkpi** 兼容框架在 Linux 与原生 FreeBSD 驱动代码之间以及与原生 [net80211(4)](/man4/net80211.4.md) 无线协议栈之间进行桥接。

## 硬件

`mt7915` 驱动支持具有以下芯片组的 PCIe 设备：

* MediaTek MT7915E

## 参见

[wlan(4)](/man4/wlan.4.md), [networking(7)](/man7/networking.7.md), [fwget(8)](https://github.com/FreeBSD-Ask/freebsd-man-sc/tree/main/man8/fwget.8.md), [ifconfig(8)](/man8/ifconfig.8.md), [wpa\_supplicant(8)](https://github.com/FreeBSD-Ask/freebsd-man-sc/tree/main/man8/wpa_supplicant.8.md)

## 历史

`mt7915` 驱动首次出现于 FreeBSD 14.0。

## 缺陷

诚然。

虽然 `mt7915` 支持 802.11a/b/g/n/ac/ax 模式，但兼容代码目前仅支持 802.11a/b/g 模式。对 802.11n/ac/ax 的支持尚待推出。
