How Does Wi-Fi Work? A Technical Deep Dive
An in-depth explanation of how wireless networks operate, exploring radio frequencies, modulation, and the journey of a packet through the air.
The Physics of Wireless Data
Wi-Fi is essentially two-way radio communication. When you stream a video or send a text message, your device translates that digital information into a series of radio waves. These waves travel through the air to your wireless router, which then translates them back into digital data and sends them through a physical cable to your internet service provider.
Understanding Frequencies and Channels
Modern Wi-Fi operates primarily on two frequencies: 2.4 GHz and 5 GHz, with newer routers also utilizing the 6 GHz band. The 2.4 GHz band is slower but can penetrate solid objects like walls and furniture effectively, providing greater range. The 5 GHz band offers significantly faster data rates but has a much shorter range and struggles to pass through physical barriers.
These frequency bands are subdivided into multiple channels, similar to lanes on a highway. If too many nearby routers are broadcasting on the same channel, it creates co-channel interference. This is why living in a densely populated apartment building often results in poor Wi-Fi performance; everyone's routers are shouting over each other in the same radio space.
Modulation: How Data Rides the Wave
To transmit zeros and ones over an analog radio wave, Wi-Fi uses a technique called Quadrature Amplitude Modulation (QAM). By subtly altering the phase and amplitude of the carrier wave, the router can encode multiple bits of data into a single signal pulse. As technology has advanced, from 64-QAM in Wi-Fi 4 to 4096-QAM in Wi-Fi 7, we can pack increasingly dense amounts of data into the same radio frequency, resulting in the massive speeds we see today.
The Half-Duplex Limitation
One of the most critical limitations of Wi-Fi is that it is a half-duplex medium. This means a Wi-Fi radio can only transmit or receive at any given moment, but it cannot do both simultaneously. Furthermore, only one device can successfully transmit on a specific channel at a time. To manage this, Wi-Fi devices use a protocol called CSMA/CA (Carrier-Sense Multiple Access with Collision Avoidance), where devices literally "listen" to the airwaves and wait for silence before transmitting their data.