Loading learning content...
In any wireless network where multiple stations share the same channel, coordination is essential. But wireless stations cannot rely on a centralized coordinator for every transmission decision—the overhead would be prohibitive. Instead, IEEE 802.11 implements a distributed timing architecture based on Interframe Spaces (IFS).
Interframe spaces are mandatory waiting periods between frames. They serve multiple critical functions:
The IFS system is elegant in its simplicity: by controlling when stations can transmit, it controls who transmits without requiring explicit coordination.
By the end of this page, you will understand the complete IFS hierarchy: SIFS for immediate responses, DIFS for normal contention, AIFS for QoS differentiation, PIFS for PCF access, and EIFS for error recovery. You'll see how these timing mechanisms orchestrate orderly channel access.
IEEE 802.11 defines multiple interframe spaces, each serving a specific purpose. The key insight is that shorter IFS means higher priority—a station waiting a shorter time will always transmit before a station waiting a longer time.
| IFS Type | Full Name | Typical Value (802.11a) | Purpose |
|---|---|---|---|
| SIFS | Short Interframe Space | 16 μs | Immediate response frames (ACK, CTS) |
| PIFS | PCF Interframe Space | 25 μs (SIFS + 1 slot) | Point Coordination Function access |
| DIFS | DCF Interframe Space | 34 μs (SIFS + 2 slots) | Normal contention-based access |
| AIFS[AC] | Arbitration Interframe Space | 34-79 μs (varies by AC) | QoS priority differentiation |
| EIFS | Extended Interframe Space | ~364 μs (variable) | Error recovery after corrupt frame |
The Timing Relationship:
The different IFS values are mathematically related:
SIFS = Minimum turnaround time (hardware-dependent)
Slot Time = Propagation delay + CCA time + MAC processing
PIFS = SIFS + 1 × Slot Time
DIFS = SIFS + 2 × Slot Time
AIFS[AC] = SIFS + AIFSN[AC] × Slot Time
EIFS = SIFS + DIFS + ACKtime
This relationship ensures that:
The genius of IFS-based priority is that it requires no message exchange. Every station independently implements the same rules, and priority emerges naturally from timing. A station waiting SIFS will always beat a station waiting DIFS, without any explicit priority negotiation.
The Short Interframe Space (SIFS) is the shortest IFS and provides the highest priority. It's used for frames that are direct responses to previous frames—situations where the sender is expecting an immediate reply.
SIFS Values by PHY:
| PHY Standard | SIFS Value |
|---|---|
| 802.11b (2.4 GHz DSSS) | 10 μs |
| 802.11a (5 GHz OFDM) | 16 μs |
| 802.11g (2.4 GHz OFDM) | 10 μs |
| 802.11n (HT) | 10/16 μs (band dependent) |
| 802.11ac (VHT) | 16 μs |
| 802.11ax (HE) | 16 μs |
The SIFS duration is determined by hardware constraints—specifically, the time required for:
When a station sends a data frame, it effectively 'owns' the channel for the duration of the Data + SIFS + ACK exchange. Because no other station will transmit before DIFS (which is longer than SIFS + ACK time), the exchange completes without interference. The frame-ACK pair is an atomic transaction.
The SIFS Timing Window:
The receiver must begin transmitting the response within a tight window after SIFS:
[Data Frame Ends] ---(SIFS)---> [Response Must Begin]
10-16 μs
If the response begins too early, it may collide with the end of the previous frame or the receiver may not be ready. If it begins too late, other stations may sense the channel as idle and begin their own DIFS countdown.
Practical implementations provide a ±4 μs tolerance window for SIFS timing. Hardware manufacturers carefully tune their radio timing to meet this requirement.
The DCF Interframe Space (DIFS) is used by stations operating in Distributed Coordination Function (DCF) mode—the standard contention-based access method for 802.11. Any station with data to send must wait for DIFS after sensing the channel idle before beginning the backoff procedure.
DIFS Calculation:
DIFS = SIFS + (2 × Slot Time)
| PHY Standard | SIFS | Slot Time | DIFS |
|---|---|---|---|
| 802.11b | 10 μs | 20 μs | 50 μs |
| 802.11a | 16 μs | 9 μs | 34 μs |
| 802.11g (ERP-OFDM) | 10 μs | 9 μs | 28 μs |
| 802.11g (with 802.11b present) | 10 μs | 20 μs | 50 μs |
| 802.11n (5 GHz) | 16 μs | 9 μs | 34 μs |
| 802.11ac | 16 μs | 9 μs | 34 μs |
Why Two Slot Times?
DIFS includes two slot times above SIFS to provide:
The DIFS/Backoff Dance:
Consider a typical scenario where the channel becomes idle after a transmission:
Time: 0 16μs 25μs 34μs 43μs 52μs 61μs
↓ ↓ ↓ ↓ ↓ ↓ ↓
Channel: [IDLE]-[SIFS]-[PIFS]-[DIFS]--[Slot 1]--[Slot 2]--[Slot 3]
↑
DIFS completed - Backoff can begin
After DIFS:
If the channel becomes busy at any point during the DIFS countdown, the station must abort and wait for the channel to become idle again. The full DIFS must then be observed—partial DIFS time does not carry over. This ensures clean slot boundaries.
The Arbitration Interframe Space (AIFS) was introduced in IEEE 802.11e to enable Quality of Service (QoS) differentiation. Instead of all traffic using the same DIFS, different traffic categories use different AIFS values, providing priority-based access.
AIFS Calculation:
AIFS[AC] = SIFS + (AIFSN[AC] × Slot Time)
Where AIFSN (AIFS Number) is the number of slot times for each Access Category:
| Access Category | Traffic Type | AIFSN (default) | AIFS (802.11a) |
|---|---|---|---|
| AC_VO (Voice) | Voice, Video calling | 2 | 34 μs |
| AC_VI (Video) | Streaming video | 2 | 34 μs |
| AC_BE (Best Effort) | Normal data, web | 3 | 43 μs |
| AC_BK (Background) | Bulk transfers, backups | 7 | 79 μs |
The beauty of AIFS is that QoS differentiation requires no negotiation or marking inspection by other stations. A voice packet simply waits 34 μs; a background transfer waits 79 μs. The voice packet always wins contention against the background transfer—guaranteed by physics.
AIFS Priority Visualization:
Time after channel becomes idle:
0 16μs 34μs 43μs 79μs
|-------|-------------|-------------|-------------|
SIFS ends VO/VI Best Effort Background
can start can start can start
backoff backoff backoff
If VO has backoff=0 and BE has backoff=0:
- VO transmits at 34 μs
- BE cannot transmit until after VO completes
Same-Priority Contention:
When two stations have frames in the same Access Category, they use the same AIFS. The random backoff then determines which transmits first. The combination of AIFS differentiation and random backoff provides both priority and fairness within priority classes.
The PCF Interframe Space (PIFS) is used by the Point Coordination Function (PCF), an optional centralized access mode in 802.11. PIFS provides priority between SIFS and DIFS, allowing the Point Coordinator (typically the Access Point) to seize the channel before normal DCF contention begins.
PIFS Calculation:
PIFS = SIFS + (1 × Slot Time)
| PHY Standard | SIFS | Slot Time | PIFS |
|---|---|---|---|
| 802.11b | 10 μs | 20 μs | 30 μs |
| 802.11a | 16 μs | 9 μs | 25 μs |
| 802.11g (ERP-OFDM) | 10 μs | 9 μs | 19 μs |
| 802.11n/ac | 16 μs | 9 μs | 25 μs |
PCF Operation:
In PCF mode, the network alternates between contention periods (CP) and contention-free periods (CFP):
Despite being defined in the original 802.11 standard, PCF is rarely implemented in consumer access points. The complexity of managing contention-free periods, the overhead of polling, and the success of EDCA (which uses AIFS instead) has made PCF largely obsolete. However, understanding PIFS remains important for complete protocol knowledge.
PIFS for Channel Access Priority:
Beyond PCF, PIFS is also used in some special scenarios:
Why One Slot Less Than DIFS?
PIFS provides exactly one slot time of priority over DCF stations. This is sufficient because:
The Extended Interframe Space (EIFS) is used when a station receives a frame that it cannot properly decode—indicated by a failed Frame Check Sequence (FCS). EIFS provides extra time to allow the intended communication to complete before the station attempts its own transmission.
EIFS Calculation:
EIFS = SIFS + DIFS + ACK_Tx_Time
Where ACK_Tx_Time is the time to transmit an ACK frame at the lowest mandatory rate:
| Scenario (802.11a) | Component | Value |
|---|---|---|
| SIFS | Base timing | 16 μs |
| DIFS | Normal contention space | 34 μs |
| ACK at 6 Mbps | Preamble + Header + ACK | ~44 μs |
| EIFS | Total | ~94 μs |
For 802.11b, EIFS can exceed 300 μs because ACK at 1 Mbps takes much longer.
Why EIFS Exists:
Consider this scenario:
EIFS solves this by making B wait longer:
[A's Frame ends]--SIFS--[AP's ACK]--DIFS--[Normal Contention]
↑ ↑
B receives errors B can finally
B starts EIFS contend
The EIFS duration is long enough to cover the worst-case ACK transmission, ensuring B doesn't corrupt the response it couldn't decode.
EIFS isn't a penalty for receiving errors—it's protection for the ongoing communication. The station with errors is essentially saying 'I heard something, but I don't know what. I'll wait extra time to make sure I don't interfere with any response.'
EIFS Recovery:
Once a station properly receives any valid frame (even if not addressed to it), EIFS mode ends and the station returns to normal DIFS operation. This prevents a single error from causing prolonged channel access delays.
Station state:
1. Receive frame with FCS error → Enter EIFS mode
2. Wait EIFS duration
3. Either:
a. Receive valid frame → Exit EIFS, use normal DIFS
b. EIFS expires → Can begin contention
4. Subsequent frames use normal IFS unless another error occurs
Let's examine how IFS values work together in typical 802.11 communication scenarios. Understanding these timing diagrams is essential for protocol analysis and troubleshooting.
Scenario 1: Simple Data-ACK Exchange (802.11a)
Station A Access Point Station B
| | |
|------ DATA --------->| |
| (500 μs) | |
|<----- SIFS (16μs) ---| |
|<------ ACK ----------| |
| (44 μs) | |
| | |
|<---- DIFS (34μs) --->|<---- DIFS (34μs) -->|
| | |
|<- Backoff countdown begins for both -> |
Key Observations:
Scenario 2: RTS/CTS Exchange
Time (μs): 0 20 36 80 96 240 256 700 716 760
| | | | | | | | | |
RTS SIFS CTS SIFS DATA ... ... SIFS ACK DIFS
(20μs) (20μs) (DATA frame transmission)
Station A: [RTS]----[wait]-------[DATA]---------------[wait]-[done]
↓ ↑ ↓ ↑
AP: [receive]-[CTS]------[receive]------------[ACK]--[ready]
↓ ↓ ↓ ↓
Stations [NAV ====================================NAV expires]
B, C, D: (Cannot transmit - NAV is set from RTS Duration field)
RTS/CTS Benefits:
The Duration field in RTS is set to: (3 × SIFS) + CTS + DATA + ACK. Every station that hears the RTS sets its NAV for this duration, preventing transmission even if they can't hear the sender. The CTS also carries duration information, helping hidden terminals.
Scenario 3: QoS Priority with AIFS
Channel becomes idle at time T:
T T+34μs T+43μs T+52μs T+79μs
|-------------------|-------------|-------------|-------------|
AC_VO backoff AC_BE could AC_BK could
can begin begin begin
Assume:
- Voice station has backoff = 1 slot (waits until T+43μs)
- Best Effort has backoff = 0 slots (would transmit at T+43μs)
- Background has backoff = 0 slots (would transmit at T+79μs)
Result: Voice and BE reach transmission time together at T+43μs
This is an internal collision - handled by EDCA rules
(typically lower AC backs off)
Better case:
- Voice has backoff = 0 → transmits at T+34μs
- All other stations freeze backoff
- Voice wins cleanly
AIFS ensures voice gets priority access even with identical backoff values to lower priority traffic.
We've comprehensively covered the interframe spacing mechanisms that orchestrate 802.11 channel access. Let's consolidate the key concepts:
What's Next:
Now that we understand the timing framework, the next page explores the Contention Window mechanism in detail. We'll examine how random backoff works, how the contention window grows after collisions, and how these mechanisms balance fairness with efficiency.
You now understand the complete IFS hierarchy and how these timing mechanisms create priority-based, distributed channel access control. SIFS, DIFS, AIFS, PIFS, and EIFS work together to enable orderly wireless communication without centralized coordination.