# 802.11 的速率自适应

802.11 的速率自适应，是指 Wi-Fi 发射机逐帧或在短间隔内选择最适合当前信道条件的调制与编码速率的过程，在原始速率与投递成功率之间进行权衡。[IEEE 802.11](https://www.edgepedia.org/zh/ieee-802-11) 标准定义了多种物理速率，但并未强制规定或推荐任何具体的速率自适应策略，因此该算法交由设备厂商和驱动开发者自行决定。<sup>[1](https://etd.auburn.edu/bitstream/handle/10415/1164/Wu_Shaoen_34.pdf?isAllowed=y&sequence=1)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/2512.02455)</sup>

| 关键事实 | 详情 |
|---|---|
| 标准化状态 | 802.11 标准未规定自动速率自适应算法；设计与实现不受管制。<sup>[1](https://etd.auburn.edu/bitstream/handle/10415/1164/Wu_Shaoen_34.pdf?isAllowed=y&sequence=1)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/2512.02455)</sup> |
| 首个发表的算法 | 自动速率回退（ARF），Kamerman 与 Monteban，1997 年，发表于 WaveLAN-II 系统论文。<sup>[3](https://onlinelibrary.wiley.com/doi/abs/10.1002/bltj.2069)</sup><sup> • </sup><sup>[4](https://users.ionio.gr/~karydis/my_papers/Multimedia_-_A_Multidisciplinary_Approach_to_Complex_Issues.pdf)</sup> |
| Linux 默认 | Minstrel，位于 mac80211 子系统，是 Linux 内核的默认速率控制选择。<sup>[2](https://arxiv.org/abs/2512.02455)</sup> |
| Minstrel 更新周期 | 每秒重新评估统计信息 10 次；每个 100 毫秒区间重新填充一个四项重传链。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup> |
| 探测开销 | 10% 的帧是以随机选择的非最优速率发送的“环顾”探测帧。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup> |
| 重传链上限 | 重传链的空口时间上限为 26 毫秒，这一改动在测试中带来了显著的吞吐量提升。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup> |
| 已知弱点 | 基于历史的算法无法区分冲突丢包与信道丢包，因此竞争会导致不必要的速率下降。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup> |

## 问题

802.11 无线电提供一组离散的数据速率：较高速率每秒承载更多比特，但只有在信号质量、干扰和多径条件允许时才能成功。始终使用最高速率的发射机在覆盖边缘会丢帧；始终使用低速鲁棒速率的发射机在链路良好时浪费空口时间。速率自适应评估信道条件并据此调整速率，其挑战在于信道条件剧烈波动。<sup>[7](https://www.cs.wpi.edu/~rek/Adv_Nets/Papers/RateAdaptSurvey.pdf)</sup>

该任务分两步：评估无线链路条件，然后根据该质量信息选择最合适的速率。现有算法按链路评估方式进行分类：基于历史的算法利用先前传输的信息推断未来条件，基于信号强度的算法依赖信噪比等信号质量测量，混合算法则结合两者。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup> 基于信号的方案面临一个结构性困难：它们所需的信息在接收端测量，而非发射端。<sup>[8](https://www.usenix.org/legacy/events/nsdi05/tech/full_papers/judd/judd_html/index.html)</sup>

## ARF 及其后继者

**自动速率回退。** ARF 由朗讯 WaveLAN-II 团队的 Ad Kamerman 和 Leo Monteban 于 1997 年发表，是首个发表的速率控制算法，并迅速被商业产品采用。<sup>[3](https://onlinelibrary.wiley.com/doi/abs/10.1002/bltj.2069)</sup><sup> • </sup><sup>[4](https://users.ionio.gr/~karydis/my_papers/Multimedia_-_A_Multidisciplinary_Approach_to_Complex_Issues.pdf)</sup> 它是一种纯基于历史的方案：在连续固定次数的成功传输（原始设计中为 10 次）或定时器到期后，发射机探测下一个更高速率；在传输失败后则回退。<sup>[4](https://users.ionio.gr/~karydis/my_papers/Multimedia_-_A_Multidisciplinary_Approach_to_Complex_Issues.pdf)</sup><sup> • </sup><sup>[8](https://www.usenix.org/legacy/events/nsdi05/tech/full_papers/judd/judd_html/index.html)</sup> ARF 假设传输失败表明速率过高，成功则表明更高速率可能有效。它存在不稳定性，因为即使在最优速率下它仍不断尝试提升速率；在竞争条件下，冲突被误读为信道退化，导致速率不必要地下降。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup>

**AARF 与 AMRR。** 自适应 ARF（AARF）增加了二进制指数退避机制，动态调整提升和降低阈值以减少不必要的速率变化；当探测失败时，下次提升的阈值翻倍（上限为 50）。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup><sup> • </sup><sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC10534900/)</sup> 同一批作者为 Atheros 芯片组等高延迟系统提出了自适应多速率重传（AMRR）。AMRR 将 AARF 的速率选择原则与多速率重传（MRR）链相结合，每帧包含四组速率与次数对：硬件先以速率 r0 重传 c0 次，然后依次尝试 r1、r2，最后是最低速 r3，所有次数耗尽后丢弃该帧。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup>

**冲突感知设计。** 由于 ARF、AARF 和 AMRR 无法识别帧丢失的原因，冲突密集的环境会使它们性能退化。冲突感知速率自适应（CARA）算法利用 RTS/CTS 握手识别冲突并防止不必要的速率下降，代价是控制帧开销以及交替使用 RTS/CTS 可能带来的不稳定性。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup>

## Minstrel

Minstrel 是一种基于历史、面向吞吐量的算法，最初由 Derek Smithies 为 MadWifi 驱动编写，于 2005 年 1 月发布；Felix Fietkau 将其移植到 Linux mac80211 子系统，Minstrel 在该子系统中成为默认算法。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/2512.02455)</sup> 其名称反映了它的行为：如同游吟诗人，它尝试所有速率，保留有效的，忽略无效的，并定期重新访问每个速率。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup>

**度量。** Minstrel 以期望吞吐量为每个速率打分，定义为成功传输概率乘以传输的兆比特数，再除以一次传输尝试的空口时间。这就是为什么通常具有高成功概率的 1 Mbps 速率并不比 11 Mbps 更受青睐：较慢的速率在单位空口时间内传输的比特更少。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup>

**统计与平滑。** 定时器每秒触发 10 次，对每个速率，指数加权移动平均（EWMA）将刚完成的 100 毫秒区间的成功概率与先前的估计混合。默认平滑因子将历史测量的权重设为 75%，因此新结果具有中等影响，而持续趋势最终占主导；环境变化后的旧结果会逐渐淡出。如果某速率在某个区间内未发送任何数据包，则不对其进行更新。100 毫秒区间在收集有意义的成功/失败计数、限制 CPU 开销以及在无线环境突变时快速恢复之间取得平衡。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup><sup> • </sup><sup>[10](https://www.rit.edu/academicaffairs/facultyscholarship/submit/download_file.php?id=15166)</sup>

**重传链。** 与 AMRR 一样，Minstrel 使用四项多速率重传链，每 100 毫秒填充一次，依次为最佳吞吐速率、次佳吞吐速率、最高概率速率和最低基础速率。对于 90% 以正常速率发送的数据包，重传链从最佳吞吐速率开始；对于 10% 的环顾探测帧，则从随机选择的速率开始。重传次数经过调整，使重传链的空口传输时间不超过 26 毫秒；开发者观察到较长的链会与 [TCP 拥塞控制](https://www.edgepedia.org/zh/tcp-congestion-control)产生不良交互，导致后续数据包延迟，而限制链长带来了显著的吞吐量提升。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup><sup> • </sup><sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup>

**采样纪律。** 早期测试表明 Minstrel 对慢速速率的采样过于激进：在两个相邻节点的情况下，吞吐量比固定速率设置低数兆比特每秒。改进后的设计仅在随机选择的环顾速率快于当前最佳吞吐速率时，才将其置于链中第二位；如果随机速率较慢，则仅在最佳吞吐尝试失败后才尝试。因此在理想链路上，数据包完全以最高速率发送。成功概率极低的速率每个区间最多采样两次而非十次，最低基础速率从不用于环顾探测，因为管理帧已经会使用它。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup>

**可见性。** Minstrel 通过 debugfs 在 `/sys/kernel/debug/ieee80211/` 下暴露每个站点的状态，包括一个 `rc_stats` 文件，列出每个速率的吞吐量、EWMA 概率和成功/尝试计数；标记为 T、t 和 P 的速率是重传链中使用的速率。<sup>[5](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)</sup>

## Linux mac80211 中的速率控制

mac80211 框架是 [Linux 内核](https://www.edgepedia.org/zh/linux-kernel)中的 SoftMAC 无线子系统，提供通用 MAC 层功能，并通过 `rate_control_ops` 接口承载可插拔的速率控制算法；驱动可以使用框架自带的算法或提供自己的算法。<sup>[10](https://www.rit.edu/academicaffairs/facultyscholarship/submit/download_file.php?id=15166)</sup> 已支持两种机制：Minstrel，选择估计可达吞吐量最大的速率；以及 PID，选择旨在将帧丢失率保持在预定义阈值以下的速率。<sup>[10](https://www.rit.edu/academicaffairs/facultyscholarship/submit/download_file.php?id=15166)</sup> 对于高吞吐 PHY，Minstrel-HT 将该方法扩展到 802.11n 及以后更大的调制与编码方案集，对非 HT 速率回退到传统 Minstrel 行为。<sup>[11](https://fossies.org/linux/ns-allinone/ns-3.47/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h)</sup>

## 性能与局限

比较评估在经典算法中普遍倾向于 Minstrel。在 MadWifi 和 ath5k 驱动中对 SampleRate、Onoe、AMRR 和 PID 的受控比较中，Minstrel 被认定为更优，在某些实验中吞吐量达到 SampleRate 的四倍以上。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup> 2018 年的一项综述指出，Minstrel 已被数亿台计算机采用，但直到不久前，其性能仍少有研究。<sup>[12](https://arxiv.org/abs/1807.02827)</sup>

其弱点在特定条件下显现。在低信噪比场景中，Minstrel 在 36、48 和 54 Mbps 速率之间不断切换，仅在 45% 的时间内保持正确的 36 Mbps 速率，而一种认知算法在 82% 的时间内保持该速率，平均吞吐量高出 20.8%。<sup>[6](https://link.springer.com/article/10.1007/s13173-013-0113-y)</sup> 在真实车辆环境中，一项对 SampleRate、AMRR、Minstrel 和 RRAA 的实验研究发现，四者在快速变化的信道和短时连接下均表现不佳，对 TCP 产生不利影响。<sup>[13](https://arxiv.org/abs/1610.03834)</sup> 2025 年一项针对工业移动场景的评估考察了 Minstrel 的延迟和丢包率，作为未来基于数字孪生的设计的基线。<sup>[2](https://arxiv.org/abs/2512.02455)</sup> 后续研究探索了机器学习和深度强化学习的速率自适应，包括一种动态 ARF，其成功和失败阈值作为竞争、信道条件和流量强度的函数被学习得到。<sup>[14](https://www.sciencedirect.com/science/article/abs/pii/S1084804513000027)</sup>

## References

1. [Shaoen Wu, High Performance Rate Adaptation on IEEE 802.11 Networks, Auburn University dissertation](https://etd.auburn.edu/bitstream/handle/10415/1164/Wu_Shaoen_34.pdf?isAllowed=y&sequence=1)
2. [Chiavassa, Scanzio, Cena (2025). Wi-Fi Rate Adaptation for Moving Equipment in Industrial Environments. arXiv.](https://arxiv.org/abs/2512.02455)
3. [Kamerman, A. and Monteban, L. (1997). WaveLAN-II: a high-performance wireless LAN for the unlicensed band. Bell Labs Technical Journal 2(3):118-133.](https://onlinelibrary.wiley.com/doi/abs/10.1002/bltj.2069)
4. [Karydis, I. et al. A Dynamic Link Adaptation for Multimedia: Quality-Based Communications in IEEE 802.11 Wireless Networks.](https://users.ionio.gr/~karydis/my_papers/Multimedia_-_A_Multidisciplinary_Approach_to_Complex_Issues.pdf)
5. [Minstrel Rate Control, Linux Wireless documentation (kernel.org)](https://wireless.docs.kernel.org/en/latest/en/developers/documentation/mac80211/ratecontrol/minstrel.html)
6. [CogTRA: a deployable mechanism for cognitive transmission rate adaptation in IEEE 802.11 networks, Journal of the Brazilian Computer Society](https://link.springer.com/article/10.1007/s13173-013-0113-y)
7. [Biaz, S. and Wu, S. Rate Adaptation Algorithms for IEEE 802.11 Networks: A Survey and Comparison, Auburn University](https://www.cs.wpi.edu/~rek/Adv_Nets/Papers/RateAdaptSurvey.pdf)
8. [Judd, G. and Steenkiste, P. NSDI '05: Case Study: 802.11b Rate Selection, USENIX](https://www.usenix.org/legacy/events/nsdi05/tech/full_papers/judd/judd_html/index.html)
9. [Environment-Aware Rate Adaptation Based on Occasional Request and Robust Adjustment in 802.11 Networks, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC10534900/)
10. [Yin, W. et al. Rate control in the mac80211 framework: Overview, evaluation and improvements, Computer Networks (2015)](https://www.rit.edu/academicaffairs/facultyscholarship/submit/download_file.php?id=15166)
11. [Minstrel HT Wi-Fi manager, ns-3 source (minstrel-ht-wifi-manager.h)](https://fossies.org/linux/ns-allinone/ns-3.47/src/wifi/model/rate-control/minstrel-ht-wifi-manager.h)
12. [Yin, W., Hu, P., Indulska, J., Portmann, M., Mao, Y. (2018). MAC-Layer Rate Control for 802.11 Networks: Lesson Learned and Looking Forward. arXiv.](https://arxiv.org/abs/1807.02827)
13. [Qazi, Z. A., Nadeem, S., Uzmi, Z. A. MAC Rate Adaptation and Cross Layer Behavior for Vehicular WiFi Access: An Experimental Study. arXiv.](https://arxiv.org/abs/1610.03834)
14. [Dynamic ARF for throughput improvement in 802.11 WLAN via a machine-learning approach, Journal of Network and Computer Applications 36(2), 2013](https://www.sciencedirect.com/science/article/abs/pii/S1084804513000027)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 通信与日常技术 › 无线信号处理技术 › Adaptive transmission and link adaptation

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/rate-adaptation-for-802-11

English original: https://www.edgepedia.org/rate-adaptation-for-802-11
