# 分布式协调功能

最初的802.11 MAC子层定义两种接入机制：DCF和基于轮询的[点协调功能](https://www.edgepedia.org/zh/point-coordination-function)（PCF）；DCF本身又定义两种接入模式：基本双向接入和可选的四路RTS/CTS握手。<sup>[1](https://www.ee.bilkent.edu.tr/~ee536/ieee80211macdcf.pdf)</sup> 在DCF下，站点在检测到没有其他传输正在进行后，发送最大2304字节的MSDU；当两个站点同时感测到信道空闲时，冲突避免过程可减少冲突。<sup>[2](https://www.bh-automation.com/Download/Resources/ieee-802-11-tutorial.pdf)</sup> 采用CSMA/CA（[载波侦听多路访问/冲突避免](https://www.edgepedia.org/zh/carrier-sense-multiple-access-with-collision-avoidance)：先听、随机等待、然后发送）和随机退避的DCF是强制性的；采用RTS/CTS的DCF是可选的。<sup>[3](https://people.iith.ac.in/tbr/teaching/docs/Schiller-802.11.pdf)</sup>

| 关键事实 | 数值 |
|---|---|
| 接入方法 | 采用二进制指数退避的CSMA/CA；在802.11中为强制<sup>[1](https://www.ee.bilkent.edu.tr/~ee536/ieee80211macdcf.pdf)</sup><sup> • </sup><sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup> |
| 接入模式 | 基本接入（数据+ACK）和可选的RTS/CTS四路握手<sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup> |
| 定时（802.11a / 802.11b） | 时隙9 / 20微秒；SIFS 16 / 10微秒；DIFS 34 / 50微秒<sup>[5](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)</sup> |
| 竞争窗口（802.11a / 802.11b） | CWmin 15 / 31；两者的CWmax均为1023<sup>[5](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)</sup> |
| 饱和吞吐量（16个节点，1500字节分组） | 基本DCF略高于70%；采用RTS/CTS的DCF约85%；PCF接近90%<sup>[6](https://www.cse.iitb.ac.in/~sri/papers/dot11-iccc02.pdf)</sup> |
| 隐藏站影响（基本接入） | 有1个隐藏站时饱和吞吐量下降约50%，3个时下降80%，5个时下降90%<sup>[7](http://eceweb1.rutgers.edu/~marsic/Publications/vtc2007.pdf)</sup> |
| QoS扩展 | 802.11e EDCA：在HCF内包含四个接入类别，每个AC（接入类别）有各自的AIFS和CW限制<sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup><sup> • </sup><sup>[8](https://catt.nyu.edu/wp-content/themes/catt/publications/An%20Analytical%20Model%20for%20IEEE%20802.11e%20Enhanced%20Distributed%20Coordination%20Function%20%28EDCF%29.pdf)</sup> |

## 工作原理

DCF遵循CSMA/CA的先听后说原则：站点一直推迟，直到介质空闲达一个DIFS（分布式帧间间隔），然后开始随机时隙退避。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup> 只要感测到信道空闲，退避计数器就递减；当检测到信道上有传输时，计数器冻结；当信道再次空闲超过一个DIFS时，计数器重新激活。<sup>[10](https://www.eng.buffalo.edu/~tmelodia/papers/bianchi.pdf)</sup>

帧间间隔用于强制优先级。ACK在数据帧之后经过SIFS（短帧间间隔）发送；由于SIFS短于DIFS，其他站点无法在数据帧与其ACK之间感测到信道空闲满一个DIFS，因此确认交换受到保护。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup> 定时关系为 \( \mathrm{DIFS} = \mathrm{SIFS} + 2 \times \delta \)（其中 \( \delta \) 是时隙），以及 \( \mathrm{EIFS} = \mathrm{SIFS} + T_{\mathrm{Ack}} + \mathrm{DIFS} \)，其中 \( T_{\mathrm{Ack}} \) 是ACK帧的传输持续时间；ACKTimeout和CTSTimeout分别定义为 \( \mathrm{SIFS} + \delta \) 加上物理层接收启动延迟。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup> 时隙本身等于接收至发送周转时间加MAC处理延迟加空闲信道评估检测时间。<sup>[5](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)</sup>

## 实现方式

在DCF下发送帧的站点执行以下过程：

1. 感测信道；若忙，则推迟。当信道空闲达一个DIFS时，继续。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup>

2. 在[0, CW]范围内均匀选择一个退避时间，以时隙为单位，其中CW是当前竞争窗口。<sup>[10](https://www.eng.buffalo.edu/~tmelodia/papers/bianchi.pdf)</sup><sup> • </sup><sup>[5](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)</sup> 首次尝试时，CW等于CWmin（802.11b中为31）。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup>

3. 每经历一个空闲时隙将计数器减一，每当信道变忙就冻结计数器。<sup>[10](https://www.eng.buffalo.edu/~tmelodia/papers/bianchi.pdf)</sup>

4. 当计数器减到零时发送。在基本接入中，接收方在SIFS之后返回ACK；在RTS/CTS接入中，发送方先发送RTS，接收方以CTS回复，四个帧（RTS、CTS、数据、ACK）之间均以SIFS分隔。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup>

5. 成功后，将CW重置为CWmin。每次传输失败后，按 \( \mathrm{CW} := 2(\mathrm{CW} + 1) - 1 \) 更新CW，直到达到CWmax；这就是冲突避免方案所依赖的二进制指数退避。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup><sup> • </sup><sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup>

6. 如果在允许的重传次数之后达到重试上限R，则丢弃该帧；根据帧长相对于RTS阈值的大小，适用两个重试上限（短和长）。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup>

802.11-2007标准将这些规则汇集在若干规范性章节中，分别涉及退避过程、DCF接入过程、恢复过程与重传限制，以及NAV（网络分配矢量）的设置和重置；站点根据在侦听到的帧中宣布的持续时间，用该定时器进行推迟。<sup>[11](https://people.iith.ac.in/tbr/teaching/docs/802.11-2007.pdf)</sup>

## 起源

DCF以CSMA/CA、RTS/CTS和退避作为其机制。<sup>[1](https://www.ee.bilkent.edu.tr/~ee536/ieee80211macdcf.pdf)</sup> [IEEE 802.11](https://www.edgepedia.org/zh/ieee-802-11)工作组于1990年9月开始运作。<sup>[12](https://www.ieee802.org/11/Documents/DocumentArchives/organization.html)</sup> 该框架在整合版IEEE 802.11-2007标准中得到延续<sup>[11](https://people.iith.ac.in/tbr/teaching/docs/802.11-2007.pdf)</sup>，并继续存在于IEEE 802.11-2024中；后者定义了一个MAC和若干用于无线连接的PHY规范。<sup>[13](https://standards.ieee.org/ieee/802.11/10548/)</sup>

## 变体

**基本接入与RTS/CTS。** 基本接入是数据与ACK的双向交换。可选的RTS/CTS机制是一种四路握手：源站发送RTS，目的站以CTS回复，听到任一帧的节点在这些帧所指示的持续时间内暂停传输。<sup>[9](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)</sup><sup> • </sup><sup>[2](https://www.bh-automation.com/Download/Resources/ieee-802-11-tutorial.pdf)</sup> 是否使用该握手由dot11RTSThreshold MIB属性控制，该属性定义了发送前必须先进行RTS/CTS握手的帧长。<sup>[2](https://www.bh-automation.com/Download/Resources/ieee-802-11-tutorial.pdf)</sup>

**EDCA与HCF。** 增强分布式信道接入（EDCA）将业务划分为八个业务类别，映射到四个接入类别（语音、视频、尽力而为和背景），每个接入类别维护自己的信道接入功能，该功能是DCF的增强变体。<sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup> 有两项变化使EDCA区别于DCF：最小空闲持续时间称为仲裁帧间间隔（AIFS），不像DIFS那样是常量；CWmin和CWmax限制因接入类别而异。<sup>[4](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)</sup> EDCA不是一个独立的协调功能；它是802.11e混合协调功能（HCF）的一部分，HCF由EDCA（其基于竞争的接入方法）和HCF受控信道接入（HCCA，其受控接入方法）组成，而DCF和PCF是传统协调功能。<sup>[8](https://catt.nyu.edu/wp-content/themes/catt/publications/An%20Analytical%20Model%20for%20IEEE%20802.11e%20Enhanced%20Distributed%20Coordination%20Function%20%28EDCF%29.pdf)</sup> HCF不用于非QoS基本服务集。<sup>[14](https://www.cwnp.com/uploads/802-11_arbitration.pdf)</sup>

## 应用

除WLAN之外，802.11 MAC已广泛用于多跳无线网络研究，其中DCF是核心MAC技术。OFDMA用于同时多帧传输；为保持向后兼容，OFDMA与CSMA/CA配合使用；在上行OFDMA中，接入点使用缓冲区状态报告和触发帧来分配资源单元，并且与经典RTS/CTS类似的多用户RTS/CTS握手可以位于OFDMA传输之前。<sup>[15](https://globals.ieice.org/en_transactions/communications/10.23919/transcom.2025EBP3003/_f)</sup> [Wi-Fi 7](https://www.edgepedia.org/zh/wi-fi-7)（802.11be）采用增强型DCF机制，在高密度环境中结合OFDMA和基于时间的调度。<sup>[16](https://link.springer.com/article/10.1007/s11227-024-06634-4)</sup>

## 局限与替代方案

**隐藏终端。** 对发送方而言隐藏的站点可能与该数据帧发生冲突，因为它永远听不到该帧。RTS/CTS可缓解这一点：侦听到RTS或CTS的节点会设置其NAV并推迟发送，从而保护数据与ACK交换。<sup>[5](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)</sup> 定量地说，基本接入在有一个隐藏站时损失约50%的饱和吞吐量，在3个和5个隐藏站时分别损失约80%和90%，而RTS/CTS分别只损失约10%、20%和30%。<sup>[7](http://eceweb1.rutgers.edu/~marsic/Publications/vtc2007.pdf)</sup>

**负载与公平性。** 对于基本接入，吞吐量强烈依赖于网络规模：在大多数情况下，站点数量越多，吞吐量越低；而随着站点数量增加，RTS/CTS的吞吐量实际上保持不变。<sup>[10](https://www.eng.buffalo.edu/~tmelodia/papers/bianchi.pdf)</sup> 与PCF相比，DCF仅在只有部分站点有数据发送的轻负载网络中表现更好，因为DCF的开销取决于活跃站点，而PCF的开销取决于所有被轮询的站点。<sup>[6](https://www.cse.iitb.ac.in/~sri/papers/dot11-iccc02.pdf)</sup> 由于静态EDCA参数值在不同网络密度下可能并非最优，已有研究提出一种深度强化学习方案，按接入类别调整[竞争窗口](https://www.edgepedia.org/zh/contention-window)。<sup>[16](https://link.springer.com/article/10.1007/s11227-024-06634-4)</sup>

## References

1. [IEEE Std 802.11-1997 Information Technology - telecommunications and information exchange between systems](https://www.ee.bilkent.edu.tr/~ee536/ieee80211macdcf.pdf)
2. [IEEE 802.11 wireless area network standard tutorial](https://www.bh-automation.com/Download/Resources/ieee-802-11-tutorial.pdf)
3. [Mobile Communications (Schiller), 802.11 chapter](https://people.iith.ac.in/tbr/teaching/docs/Schiller-802.11.pdf)
4. [Performance Analysis of Contention Based Medium Access (IEEE 802.11 DCF)](https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/IEEE_MAC_JOURNAL_submitted.pdf)
5. [Hands-On Exercises: IEEE 802.11 Standard](https://wirelesspt.net/arquivos/docs/mesh/HoE_1_IEEE80211.pdf)
6. [Throughput Performance of the Distributed and Point Coordination Functions of an IEEE 802.11 Wireless LAN](https://www.cse.iitb.ac.in/~sri/papers/dot11-iccc02.pdf)
7. [Analysis of Non-Saturation and Saturation Performance of IEEE 802.11 DCF in the Presence of Hidden Stations (VTC 2007)](http://eceweb1.rutgers.edu/~marsic/Publications/vtc2007.pdf)
8. [An Analytical Model for IEEE 802.11e Enhanced Distributed Coordination Function (EDCF) (catt.nyu.edu)](https://catt.nyu.edu/wp-content/themes/catt/publications/An%20Analytical%20Model%20for%20IEEE%20802.11e%20Enhanced%20Distributed%20Coordination%20Function%20%28EDCF%29.pdf)
9. [Refinements on IEEE 802.11 Distributed Coordination Function modeling approaches (IEEE Trans. Vehicular Technology)](https://yangxiao.cs.ua.edu/IEEE_TVT_New_802.11Model.pdf)
10. [Performance analysis of the IEEE 802.11 distributed coordination function](https://www.eng.buffalo.edu/~tmelodia/papers/bianchi.pdf)
11. [IEEE Std 802.11-2007, WLAN MAC and PHY Specifications](https://people.iith.ac.in/tbr/teaching/docs/802.11-2007.pdf)
12. [Organization and Provenance of IEEE 802.11 archive documents](https://www.ieee802.org/11/Documents/DocumentArchives/organization.html)
13. [IEEE SA - IEEE 802.11-2024](https://standards.ieee.org/ieee/802.11/10548/)
14. [802.11 Arbitration (CWNP technical note)](https://www.cwnp.com/uploads/802-11_arbitration.pdf)
15. [Hybrid OFDMA and CSMA/CA-Based Transmission Strategy for Providing High Throughput and Low Delay in IEEE 802.11ax Wireless LANs](https://globals.ieice.org/en_transactions/communications/10.23919/transcom.2025EBP3003/_f)
16. [PDCF-DRL: a contention window backoff scheme based on deep reinforcement learning for differentiating access categories](https://link.springer.com/article/10.1007/s11227-024-06634-4)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Wireless networking › Wi-Fi standards and security › 802.11 physical and MAC layer mechanisms

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/distributed-coordination-function

English original: https://www.edgepedia.org/distributed-coordination-function
