> 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/wlan_xauth.4.md).

# wlan\_xauth.4

`wlan_xauth` — 802.11 设备的外部认证器支持

## 名称

`wlan_xauth`

## 概要

`device wlan_xauth`

## 描述

`wlan_xauth` 模块是一个 [wlan(4)](/man/man4/wlan.4.md) 认证器插件，用于与用户态认证实现（如 `hostapd`）配合使用。它挂钩到 802.11 层但不做任何事。因此，关联的 802.11 站点在由外部代理授权之前无权收发帧；通常使用 WPA、802.1x 或 802.11i 等协议。

此模块由通常启动 hostapd(8) 的 rc 脚本自动加载。

## 参见

[wlan(4)](/man/man4/wlan.4.md)

## 标准

更多信息可在 IEEE 802.11、WPA 和 802.11i 标准中找到。

## 历史

`hostapd` 驱动最早出现在 FreeBSD 6.0 中。


---

# 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/wlan_xauth.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.
