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

# rtwnfw\.4

`rtwnfw` — Realtek 无线驱动程序的固件模块

## 名称

`rtwnfw`

## 概要

若要将此模块编译进内核，请在你的内核配置文件中加入以下行：

> device rtwnfw

`这将在内核中包含所有固件映像。如果你只想选择网络适配器对应的固件映像，请从以下项中选择一项：`

> device rtwn-rtl8188eefw device rtwn-rtl8188eufw device rtwn-rtl8192cfwE\_B device rtwn-rtl8192cfwE device rtwn-rtl8192cfwT device rtwn-rtl8192cfwU device rtwn-rtl8192eufw device rtwn-rtl8812aufw device rtwn-rtl8821aufw

`或者，若要在引导时以模块方式加载所有固件映像，在 loader.conf(5) 中加入以下行：`

```sh
rtwn-rtl8188eefw_load="YES"
rtwn-rtl8188eufw_load="YES"
rtwn-rtl8192cfwE_B_load="YES"
rtwn-rtl8192cfwE_load="YES"
rtwn-rtl8192cfwT_load="YES"
rtwn-rtl8192cfwU_load="YES"
rtwn-rtl8192eufw_load="YES"
rtwn-rtl8812aufw_load="YES"
rtwn-rtl8821aufw_load="YES"
```

## 描述

rtwn-rtl8192cfwE 和 rtl8192cfwE\_B 模块提供对基于 Realtek RTL8188CE 芯片的 PCIe 适配器的固件集访问。rtwn-rtl8188ee 模块提供对基于 Realtek RTL8188EE 芯片的 PCIe 适配器的固件集访问。其他模块提供对基于 Realtek RTL8188CUS、RTL8188CE-VAU、RTL8188EUS、RTL8188RU、RTL8192CU、RTL8192EU、RTL8812AU 和 RTL8821AU 芯片的 USB WiFi 适配器的固件集访问。它们可以静态链接到内核中，或作为模块加载。

要使加载的固件启用，必须在 loader.conf(5) 中加入以下行以同意 **`/usr/share/doc/legal/realtek.LICENSE`** 中的许可证：

```sh
legal.realtek.license_ack=1
```

## 文件

**`/usr/share/doc/legal/realtek.LICENSE`** `rtwnfw` 固件许可证

## 参见

[rtwn(4)](/man/man4/rtwn.4.md), [firmware(9)](https://github.com/FreeBSD-Ask/freebsd-man-sc/blob/main/man9/firmware.9.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://book.bsdcn.org/man/man4/rtwnfw.4.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
