Wi-Fi Standards
[!NOTE] This module explores the core principles of Wi-Fi Standards, deriving solutions from first principles and hardware constraints to build world-class, production-ready expertise.
1. What is Wi-Fi?
Imagine trying to have a conversation with a friend across a crowded, noisy room. You both have to shout, and if anyone else talks at the same time, neither of you understands what was said. This is the fundamental reality of Wi-Fi.
Wi-Fi is a family of wireless network protocols based on the IEEE 802.11 family of standards. Instead of transmitting voltage over a dedicated copper wire (like Ethernet), Wi-Fi broadcasts radio waves into a shared, unguided medium (the air). This introduces two massive hardware constraints:
- Half-Duplex Nature: A standard Wi-Fi radio cannot transmit and receive on the same exact frequency at the exact same time without deafening itself with its own loud transmission.
- Shared Collision Domain: Every device in the room is competing for the same invisible airwaves.
2. The 802.11 Evolution
The 802.11 standard has evolved aggressively to squeeze more data into the same radio frequencies using advanced modulation and multiple antennas.
| Standard | Release | Band | Max Speed | Marketing Name |
|---|---|---|---|---|
| 802.11b | 1999 | 2.4 GHz | 11 Mbps | - |
| 802.11g | 2003 | 2.4 GHz | 54 Mbps | - |
| 802.11n | 2009 | 2.4/5 GHz | 600 Mbps | Wi-Fi 4 |
| 802.11ac | 2013 | 5 GHz | 1.3 Gbps | Wi-Fi 5 |
| 802.11ax | 2019 | 2.4/5/6 GHz | 9.6 Gbps | Wi-Fi 6 |
3. The Radio Bands: 2.4 GHz, 5 GHz, and 6 GHz
Different frequencies have different physical properties. Lower frequencies penetrate solid objects better but offer less bandwidth. Higher frequencies can carry massive amounts of data but are easily absorbed by walls.
- 2.4 GHz:
- Pros: Longer range, excellent at penetrating walls and solid objects.
- Cons: High interference. The 2.4 GHz band is a “junk drawer” used by microwaves, baby monitors, Bluetooth, and Zigbee. Only 3 non-overlapping channels exist (1, 6, 11).
- 5 GHz:
- Pros: Significantly faster speeds, dozens of non-overlapping channels, less interference.
- Cons: Short range, easily blocked or severely degraded by walls and furniture.
- 6 GHz (Wi-Fi 6E):
- Pros: Massive new pristine spectrum with zero legacy interference, enabling ultra-wide channels for gigabit speeds.
- Cons: Even shorter range than 5 GHz.
4. CSMA/CA (Collision Avoidance)
Unlike wired Ethernet which uses CSMA/CD (Collision Detection), wireless adapters cannot detect collisions while they are transmitting. Instead of Detection, they must use Avoidance.
Analogy: Passing a Microphone in a Dark Room Imagine you are in a pitch-black room with 20 people. You want to speak, but you can’t see if anyone else is already speaking. So, you listen. If it’s quiet, you shout, “Hey moderator, I’m going to speak for 5 seconds!” The moderator shouts back, “Okay, everyone else be quiet for 5 seconds!”
This is how CSMA/CA works:
- DIFS (DCF Interframe Space): The sender listens to the airwaves. If it’s clear for a set amount of time, it prepares to send.
- RTS/CTS (Request to Send / Clear to Send): To solve the Hidden Node Problem (where two devices can hear the Access Point but cannot hear each other), the sender transmits a small RTS frame to the AP. The AP broadcasts a CTS frame, telling all other devices to set their NAV (Network Allocation Vector) timer and remain silent.
- Data Transmission: The sender transmits the actual data frame.
- ACK: The receiver must send an Acknowledgement. Since wireless is inherently unreliable, if no ACK is received, the sender assumes the frame collided or was corrupted, and retries.
4.5. SSID, BSSID, and ESS
How do devices actually identify a network in the air?
- BSSID (Basic Service Set Identifier): The actual MAC address of the Access Point’s wireless radio. This is the true hardware identity of the network node.
- SSID (Service Set Identifier): The human-readable name of the network (e.g., “Starbucks WiFi”). It is broadcast in beacon frames.
- ESS (Extended Service Set): Multiple Access Points sharing the same SSID and connecting to the same wired backbone, allowing seamless roaming as you walk through a large building.
5. Interactive: Channel Interference
See why we use channels 1, 6, and 11 on 2.4 GHz.
6. Modern Technologies
To overcome the physical limitations of radio waves, modern Wi-Fi (Wi-Fi 5 and Wi-Fi 6) introduced advanced signal processing:
- MIMO (Multiple Input Multiple Output): Instead of one antenna talking to one antenna, MIMO uses multiple antennas (e.g., 4x4) on both the sender and receiver. By exploiting spatial multiplexing (bouncing signals off walls intentionally), it sends multiple distinct data streams simultaneously on the exact same frequency, multiplying throughput.
- Beamforming: Instead of an antenna radiating energy equally in all directions like a lightbulb, beamforming uses constructive and destructive interference across multiple antennas to focus the radio signal into a concentrated “beam” directed straight at the receiving device, like a flashlight.
- OFDMA (Orthogonal Frequency-Division Multiple Access): Introduced in Wi-Fi 6, this divides a single wireless channel into smaller sub-carriers (Resource Units). This allows the Access Point to talk to multiple devices simultaneously in a single transmission, dramatically reducing latency in crowded environments.
- QAM (Quadrature Amplitude Modulation): A method of varying both the amplitude and phase of the radio wave to encode more bits per symbol. Wi-Fi 6 uses 1024-QAM, meaning every single wave “pulse” transmits 10 bits of data, requiring incredibly high signal quality.