📖 Introduction to IEEE 802.11
Definition: IEEE 802.11 is a set of standards for implementing wireless local area network (WLAN) computer communication in the 2.4, 5, and 6 GHz frequency bands. It is commonly known as Wi-Fi.
IEEE 802.11 defines the physical layer (PHY) and the medium access control (MAC) layer specifications for wireless connectivity for fixed, portable, and moving stations within a local area. The standard addresses the challenges of wireless communication including interference, multipath fading, and shared medium access.
Key Characteristics
- Wireless Medium: Uses radio frequency (RF) signals instead of cables
- Shared Medium: All stations compete for access to the same channel
- Half-Duplex Operation: Cannot transmit and receive simultaneously on the same frequency
- Hidden Node Problem: Stations may not detect each other's transmissions
- Exposed Node Problem: Stations may unnecessarily defer transmission
Frequency Bands
2.4 GHz Band
- Range: 2.400–2.4835 GHz (ISM band)
- Channels: 14 channels (3 non-overlapping in North America: 1, 6, 11)
- Channel Width: 20/22 MHz
- Pros: Better range, wall penetration
- Cons: Crowded (Bluetooth, microwaves, cordless phones)
5 GHz Band
- Range: 5.15–5.85 GHz (UNII bands)
- Channels: 24+ non-overlapping channels
- Channel Width: 20/40/80/160 MHz
- Pros: Less interference, higher throughput
- Cons: Shorter range, poorer wall penetration
6 GHz Band (WiFi 6E)
- Range: 5.925–7.125 GHz
- Channels: 59 non-overlapping 20 MHz channels
- Channel Width: Up to 160 MHz
- Pros: Exclusive to WiFi 6E/7, no legacy devices
- Cons: Limited range, requires WiFi 6E capable devices
📈 Evolution of IEEE 802.11 Standards
1997
Legacy 802.11
The original standard supporting 1-2 Mbps using DSSS (Direct Sequence Spread Spectrum) or FHSS (Frequency Hopping Spread Spectrum) in the 2.4 GHz band.
1999
802.11b
Introduced HR/DSSS (High Rate DSSS) with CCK (Complementary Code Keying) modulation, achieving up to 11 Mbps in 2.4 GHz. Used 11-chip Barker code spreading.
1999
802.11a
First to use OFDM (Orthogonal Frequency Division Multiplexing) in the 5 GHz band, supporting up to 54 Mbps. Used 52 subcarriers (48 data + 4 pilot).
2003
802.11g
Combined the best of 802.11a and 802.11b: OFDM modulation in 2.4 GHz band, up to 54 Mbps. Fully backward compatible with 802.11b. [^2^]
2009
802.11n (WiFi 4)
Introduced MIMO (Multiple Input Multiple Output), channel bonding (40 MHz), and frame aggregation. Supported up to 600 Mbps with 4x4 MIMO.
2013
802.11ac (WiFi 5)
Operated only in 5 GHz, introduced wider channels (80/160 MHz), 256-QAM, and downlink MU-MIMO. Supported up to 6.93 Gbps with 8x8 MIMO.
2019
802.11ax (WiFi 6)
Focus on efficiency rather than just speed. Introduced OFDMA, 1024-QAM, uplink MU-MIMO, Target Wake Time (TWT), and BSS Coloring. Operates in 2.4, 5, and 6 GHz. [^4^]
2024
802.11be (WiFi 7)
Latest standard featuring 320 MHz channels, 4096-QAM, Multi-Link Operation (MLO), and 16 spatial streams. Potential speeds up to 46 Gbps.
Standards Comparison Table
| Standard |
Year |
Band (GHz) |
Max Rate |
Key Technology |
Modulation |
| 802.11 |
1997 |
2.4 |
2 Mbps |
DSSS/FHSS |
DBPSK/DQPSK |
| 802.11b |
1999 |
2.4 |
11 Mbps |
HR/DSSS |
CCK |
| 802.11a |
1999 |
5 |
54 Mbps |
OFDM |
BPSK to 64-QAM |
| 802.11g |
2003 |
2.4 |
54 Mbps |
OFDM |
BPSK to 64-QAM |
| 802.11n |
2009 |
2.4/5 |
600 Mbps |
MIMO, 40 MHz |
Up to 64-QAM |
| 802.11ac |
2013 |
5 |
6.93 Gbps |
MU-MIMO, 160 MHz |
Up to 256-QAM |
| 802.11ax |
2019 |
2.4/5/6 |
9.6 Gbps |
OFDMA, 1024-QAM |
Up to 1024-QAM |
🏗️ Network Architecture
Basic Service Set (BSS)
The fundamental building block of an 802.11 network is the Basic Service Set (BSS), which consists of a group of stations that coordinate their access to the medium under a single coordination function.
Key Concept: A BSS is identified by a Basic Service Set Identifier (BSSID), which is typically the MAC address of the access point.
Network Configurations
1. Infrastructure Mode (BSS)
- Stations communicate through an Access Point (AP)
- AP connects to the Distribution System (DS), typically a wired Ethernet network
- Provides access to the internet and other network resources
- Extended Service Set (ESS): Multiple BSSs connected via DS forming a single network
2. Independent BSS (IBSS) / Ad-hoc Mode
- Stations communicate directly with each other without an AP
- Temporary network setup for file sharing or meetings
- Limited range and functionality compared to infrastructure mode
Frame Types
| Type |
Subtype Examples |
Function |
| Management |
Beacon, Probe, Authentication, Association |
Network discovery, connection setup |
| Control |
RTS, CTS, ACK, Block ACK |
Medium access control, reliability |
| Data |
Data, Null Data, QoS Data |
Actual data transmission |
⚡ Physical Layer (PHY) Technologies
The Physical Layer defines how data is transmitted over the wireless medium, including modulation techniques, coding rates, and frequency usage. [^1^]
1. Direct Sequence Spread Spectrum (DSSS)
Used in legacy 802.11 and 802.11b, DSSS spreads the signal over a wider bandwidth than necessary to improve resistance to interference and enable multiple access.
Processing Gain
Processing Gain = 10 × log₁₀(Chip Rate / Data Rate)
For 802.11b: 11 chips per bit → Processing Gain ≈ 10.4 dB
DSSS Process:
- Data bits are modulated using DBPSK (1 Mbps) or DQPSK (2 Mbps)
- Each symbol is multiplied by an 11-chip Barker code sequence
- Resulting chip sequence is transmitted at 11 Mchips/sec
- Receiver correlates received signal with known Barker code to recover data
2. Orthogonal Frequency Division Multiplexing (OFDM)
OFDM is the primary modulation technique for modern WiFi (802.11a/g/n/ac/ax), dividing the channel into multiple orthogonal subcarriers to combat multipath fading and increase spectral efficiency. [^1^]
OFDM Advantages:
- Robust against multipath fading and inter-symbol interference (ISI)
- High spectral efficiency through overlapping orthogonal subcarriers
- Adaptive modulation per subcarrier based on channel conditions
- Simplified equalization using cyclic prefix
OFDM Parameters (802.11a/g):
| Parameter |
Value |
Description |
| Subcarrier Spacing |
312.5 kHz |
Δf = 1/TFFT |
| FFT Period (TFFT) |
3.2 μs |
Symbol duration without guard interval |
| Guard Interval |
0.8 μs (Short GI: 0.4 μs) |
Cyclic prefix to prevent ISI |
| Total Subcarriers |
52 (48 data + 4 pilot) |
Used for 20 MHz channel |
| Symbol Duration |
4 μs (3.2 + 0.8) |
Total time per OFDM symbol |
3. Modulation and Coding Schemes (MCS)
The data rate in 802.11 is determined by the combination of modulation type, coding rate, number of spatial streams, and channel width.
802.11a/g OFDM Data Rates:
| Rate ID |
Modulation |
Coding Rate |
Data Rate (Mbps) |
| 1101 (13) | BPSK | 1/2 | 6 |
| 1111 (15) | BPSK | 3/4 | 9 |
| 0101 (5) | QPSK | 1/2 | 12 |
| 0111 (7) | QPSK | 3/4 | 18 |
| 1001 (9) | 16-QAM | 1/2 | 24 |
| 1011 (11) | 16-QAM | 3/4 | 36 |
| 0001 (1) | 64-QAM | 2/3 | 48 |
| 0011 (3) | 64-QAM | 3/4 | 54 |
4. MIMO (Multiple Input Multiple Output)
Introduced in 802.11n, MIMO uses multiple antennas at both transmitter and receiver to exploit multipath propagation and increase capacity.
MIMO Capacity Approximation
C ≈ min(Nt, Nr) × B × log₂(1 + SNR)
Where Nt = transmit antennas, Nr = receive antennas, B = bandwidth
- SU-MIMO: Single User MIMO - multiple streams to one user
- MU-MIMO: Multi-User MIMO - simultaneous transmission to multiple users
- Spatial Streams: Independent data streams (up to 8 in 802.11ac/ax)
🎛️ Medium Access Control (MAC) Layer
The MAC layer manages access to the shared wireless medium, ensuring reliable data delivery and coordinating transmissions between stations. [^7^]
CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)
Unlike wired Ethernet (CSMA/CD), wireless networks cannot detect collisions while transmitting (hidden terminal problem). Therefore, 802.11 uses Collision Avoidance. [^8^]
Why CSMA/CA instead of CSMA/CD?
1. Hidden Node Problem: Two stations may not hear each other but both can reach the AP
2. Fading: Signal strength varies, making collision detection unreliable
3. Half-Duplex: Wireless transceivers cannot transmit and receive simultaneously on the same frequency
CSMA/CA Operation Steps:
- Carrier Sense: Station listens to the channel to determine if it's idle
- NAV (Network Allocation Vector): Virtual carrier sensing using duration field in frames
- Interframe Space: Wait for a specified period after the channel becomes idle
- Random Backoff: If channel is busy, select random backoff counter and decrement while channel is idle
- Transmission: Transmit when backoff counter reaches zero and channel is clear
- ACK: Receiver sends acknowledgment for successful reception
Interframe Spaces (IFS)
Different waiting periods prioritize different types of traffic:
| IFS Type |
Duration (μs) |
Usage |
| SIFS (Short IFS) |
10 (2.4 GHz) / 16 (5 GHz) |
Highest priority: ACK, CTS, fragmented frames |
| PIFS (PCF IFS) |
SIFS + Slot Time |
PCF (Point Coordination Function) - rarely used |
| DIFS (DCF IFS) |
SIFS + 2 × Slot Time |
Standard data transmission (DCF) |
| EIFS (Extended IFS) |
Longer |
After frame reception error |
RTS/CTS Mechanism
To mitigate the hidden node problem, stations can use Request to Send/Clear to Send handshake:
RTS/CTS Exchange:
Station A → RTS → AP
AP → CTS → Station A (and all other stations hear this)
Station A → Data → AP
AP → ACK → Station A
- CTS reserves the channel for the transmitting station
- Other stations update their NAV and defer transmission
- RTS/CTS is typically used for frames larger than a threshold (e.g., 2347 bytes)
Frame Aggregation
To improve efficiency by reducing overhead, 802.11n and later support frame aggregation:
- A-MSDU (Aggregate MAC Service Data Unit): Multiple MSDUs aggregated into a single MPDU
- A-MPDU (Aggregate MAC Protocol Data Unit): Multiple MPDUs aggregated with a single PLCP header
🔒 Security Mechanisms
Evolution of WiFi Security
WEP (Wired Equivalent Privacy) - Deprecated
- Uses RC4 stream cipher with 40-bit or 104-bit key
- IV (Initialization Vector) is only 24 bits - too short, repeats frequently
- Vulnerable to statistical attacks; cracked within minutes
- Never use WEP - it is insecure!
WPA (WiFi Protected Access)
- Introduced TKIP (Temporal Key Integrity Protocol) as a WEP upgrade
- Uses 128-bit keys with dynamic key generation
- Message Integrity Check (MIC) called "Michael"
- Still uses RC4 but with per-packet key mixing
- Deprecated as of 2012 - use WPA2 or WPA3 instead
WPA2 (802.11i)
- Uses AES-CCMP (Advanced Encryption Standard - Counter Mode with Cipher Block Chaining Message Authentication Code Protocol)
- 128-bit encryption with 48-bit IV
- Supports both Personal (PSK - Pre-Shared Key) and Enterprise (802.1X/RADIUS) modes
- Current minimum standard for secure WiFi
WPA3 (2018)
- SAE (Simultaneous Authentication of Equals): Replaces PSK with Dragonfly handshake, resistant to offline dictionary attacks
- Forward Secrecy: Session keys are not derived from the password
- 192-bit Security Mode: For sensitive government and industrial environments
- Enhanced Open: Opportunistic Wireless Encryption (OWE) for open networks
- Easy Connect: Simplified setup for IoT devices without displays
🚀 Modern Standards: WiFi 6 (802.11ax) and Beyond
Key Innovations in 802.11ax
WiFi 6 focuses on High-Efficiency Wireless (HEW) rather than just increasing peak data rates. It improves performance in dense environments with many devices. [^4^] [^5^]
1. Orthogonal Frequency Division Multiple Access (OFDMA)
Unlike previous standards where the entire channel was allocated to one user at a time, OFDMA divides the channel into Resource Units (RUs) that can be assigned to different users simultaneously.
OFDMA vs OFDM:
• OFDM: Entire channel (20/40/80/160 MHz) assigned to one user per transmission opportunity
• OFDMA: Channel divided into subcarriers (78.125 kHz spacing), grouped into RUs of 26, 52, 106, 242, 484, or 996 subcarriers
• Multiple users can be served simultaneously in different RUs
Subcarrier Spacing: OFDMA uses 78.125 kHz spacing (vs 312.5 kHz in OFDM), allowing 4x more subcarriers. Symbol duration is increased to 12.8 μs (vs 3.2 μs) for better efficiency. [^5^]
2. Multi-User MIMO (MU-MIMO)
- 802.11ac: Downlink MU-MIMO only, up to 4 users
- 802.11ax: Both uplink and downlink MU-MIMO, up to 8 users
- Works in parallel with OFDMA - spatial streams vs frequency division
3. 1024-QAM Modulation
Higher order modulation allows 10 bits per symbol (vs 8 bits in 256-QAM), providing up to 25% speed improvement under good signal conditions.
Bits per Symbol
64-QAM (802.11a/g): log₂(64) = 6 bits/symbol
256-QAM (802.11ac): log₂(256) = 8 bits/symbol
1024-QAM (802.11ax): log₂(1024) = 10 bits/symbol
4. Target Wake Time (TWT)
Improves battery life for IoT devices by scheduling wake times:
- AP and client negotiate specific times for transmission/reception
- Device can sleep between scheduled times, reducing power consumption
- Critical for battery-powered IoT sensors and devices
5. BSS Coloring
Addresses co-channel interference in dense deployments:
- Each BSS is assigned a "color" (0-63)
- Stations can distinguish between intra-BSS and inter-BSS frames
- Allows simultaneous transmissions on same channel if colors differ
- Improves spatial reuse and network capacity
WiFi 6E and WiFi 7 (802.11be)
| Feature |
WiFi 6 (802.11ax) |
WiFi 6E |
WiFi 7 (802.11be) |
| Frequency Bands |
2.4, 5 GHz |
2.4, 5, 6 GHz |
2.4, 5, 6 GHz |
| Max Channel Width |
160 MHz |
160 MHz (6 GHz) |
320 MHz |
| Modulation |
1024-QAM |
1024-QAM |
4096-QAM |
| Spatial Streams |
Up to 8 |
Up to 8 |
Up to 16 |
| Key Feature |
OFDMA |
6 GHz band |
Multi-Link Operation (MLO) |
🧮 Interactive Data Rate Calculator
Data Rate Formula
Data Rate (Mbps) =
(Nsd × Nbps × R × Nss) / (Tsym + Tgi) × 10-6
Where:
Nsd = Number of data subcarriers (234 for 20 MHz, 468 for 40 MHz, 980 for 80 MHz, 1960 for 160 MHz)
Nbps = Bits per subcarrier (log₂ of QAM order: 10 for 1024-QAM)
R = Coding rate (1/2, 2/3, 3/4, 5/6)
Nss = Number of spatial streams
Tsym = Symbol duration (12.8 μs for 802.11ax)
Tgi = Guard interval (0.8, 1.6, or 3.2 μs)
📝 Study Summary
Key Points to Remember:
- Physical Layer Evolution: DSSS → OFDM → MIMO → OFDMA
- Frequency Bands: 2.4 GHz (range), 5 GHz (speed), 6 GHz (WiFi 6E/7, clean spectrum)
- CSMA/CA: Collision avoidance through random backoff, NAV, and IFS
- Modulation: Higher QAM = more bits/symbol but requires better SNR
- WiFi 6 Efficiency: OFDMA enables multi-user parallel transmission, TWT saves power
- Security: Always use WPA2 or WPA3; WEP and WPA are deprecated
Exam Preparation Checklist
- ☐ Understand the differences between DSSS and OFDM
- ☐ Calculate subcarrier spacing and symbol duration for different standards
- ☐ Explain why CSMA/CA is used instead of CSMA/CD
- ☐ Describe the RTS/CTS handshake and its purpose
- ☐ Compare the features of 802.11a/b/g/n/ac/ax
- ☐ Calculate data rates given MCS, bandwidth, and spatial streams
- ☐ Explain OFDMA and its advantages over OFDM
- ☐ Understand BSS coloring and TWT in WiFi 6