Sub topic 13
802.11n and 802.11ac: Wi-Fi 4 and Wi-Fi 5
This chapter assumes you know what a band, a channel and a channel width are, and that you have read the earlier chapters on modulation and MIMO.
What changed with 802.11n (Wi-Fi 4)
802.11n arrived in 2009. It was the first amendment to combine several techniques that still define Wi-Fi:
- MIMO: up to four spatial streams, each carrying separate data.
- 40 MHz channels: two 20 MHz channels bonded together.
- Frame aggregation: many frames are sent in one transmission, which cuts per-frame overhead.
- Short guard interval: 400 ns instead of 800 ns between symbols.
- Two bands: it works on both 2.4 GHz and 5 GHz.
What changed with 802.11ac (Wi-Fi 5)
802.11ac (2013) works only on 5 GHz. It extends the same ideas:
- Channels of 80 MHz and 160 MHz.
- 256-QAM, which carries 8 bits per symbol instead of 6.
- Up to eight spatial streams.
- Downlink MU-MIMO (in "Wave 2" hardware), where the access point transmits to several clients at once.
- Beamforming with a single standard feedback method.
| Feature | 802.11n | 802.11ac |
|---|---|---|
| Bands | 2.4 and 5 GHz | 5 GHz |
| Widths | 20, 40 MHz | 20, 40, 80, 160 MHz |
| Highest modulation | 64-QAM | 256-QAM |
| Max streams | 4 | 8 |
| Theoretical peak | 600 Mbps | about 6.9 Gbps |
Computing the headline rate
The PHY rate follows from the number of data subcarriers, bits per symbol, coding rate, streams and symbol time.
def phy_rate_mbps(data_subcarriers, bits_per_symbol, coding_rate,
streams, short_gi=True):
symbol_us = 3.6 if short_gi else 4.0
return data_subcarriers * bits_per_symbol * coding_rate * streams / symbol_us
# 802.11n: 40 MHz has 108 data subcarriers, 64-QAM = 6 bits, rate 5/6
print(round(phy_rate_mbps(108, 6, 5/6, 1), 1)) # 150.0
print(round(phy_rate_mbps(108, 6, 5/6, 4), 1)) # 600.0
# 802.11ac: 80 MHz has 234 data subcarriers, 256-QAM = 8 bits
print(round(phy_rate_mbps(234, 8, 5/6, 1), 1)) # 433.3
# 802.11ac: 160 MHz has 468 data subcarriers, 8 streams
print(round(phy_rate_mbps(468, 8, 5/6, 8), 1)) # 6933.3Common errors
- Expecting 802.11ac on 2.4 GHz. Dual-band "ac" routers use 802.11n on 2.4 GHz. Only 5 GHz gets the ac features.
- Using 40 MHz on 2.4 GHz. That band has room for only three non-overlapping 20 MHz channels, so a 40 MHz channel usually collides with neighbors. Many access points back off to 20 MHz when they detect other networks.
- Treating 160 MHz as free. A 160 MHz channel uses most of the 5 GHz band, often includes DFS channels, and raises interference exposure.
- Ignoring legacy clients. An old 802.11b/g client in range forces protection mechanisms that lower throughput for everyone.
Exercise
Using the formula above, what is the 802.11ac PHY rate for a 2-stream client on an 80 MHz channel with 256-QAM, coding rate 5/6 and the short guard interval? Why is real throughput lower?
Show answer
234 × 8 × 5/6 × 2 / 3.6 ≈ 866.7 Mbps. Real throughput is lower because of CSMA/CA overhead, shared airtime, retransmissions and protocol headers. Typical throughput is about half the PHY rate or less.
Exercise
Why does an 802.11ac router that advertises both bands use 802.11n on its 2.4 GHz radio?
Show answer
802.11ac is defined only for 5 GHz. The 2.4 GHz radio can use at most 802.11n features, which are 20 or 40 MHz channels and 64-QAM.