The most surprising thing about WiFi is that it’s not a single technology, but a family of evolving standards, each with its own quirks and capabilities.
Let’s look at a typical wireless network in action. Imagine a small office with a few laptops and smartphones.
{
"access_point": {
"ssid": "OfficeWiFi",
"channel": 6,
"security": "WPA2-PSK",
"clients": [
{
"mac_address": "A0:B1:C2:D3:E4:F5",
"ip_address": "192.168.1.100",
"signal_strength": -65,
"protocol": "802.11n"
},
{
"mac_address": "11:22:33:44:55:66",
"ip_address": "192.168.1.101",
"signal_strength": -58,
"protocol": "802.11ac"
}
]
},
"router": {
"ip_address": "192.168.1.1",
"dhcp_range": "192.168.1.100-192.168.1.200"
}
}
Here, an Access Point (AP) named "OfficeWiFi" is broadcasting on channel 6. Two devices are connected: a laptop at 192.168.1.100 using the older 802.11n standard, and a smartphone at 192.168.1.101 using the faster 802.11ac. Both are connected through the AP, which in turn is linked to the router at 192.168.1.1. The router handles assigning IP addresses from its DHCP pool.
At its core, a WiFi network is a radio system designed to let devices talk to each other without wires. The key components are the Access Point (AP), which acts like a base station, and the wireless clients (laptops, phones, etc.). The AP connects to your wired network (your router or switch) and translates wireless radio signals into wired Ethernet signals, and vice-versa. Clients broadcast their need to connect, and the AP responds. Once authenticated (usually with a password), they are assigned an IP address and can communicate. The magic happens in how they manage shared radio space.
The standards, like 802.11a, b, g, n, ac, and the latest ax (WiFi 6), define how these devices communicate. They specify everything from the frequencies they use (2.4 GHz and 5 GHz bands) to the speeds they can achieve, the types of modulation (how data is encoded onto radio waves), and how they avoid interfering with each other. 802.11n was a big leap, introducing MIMO (Multiple-Input Multiple-Output) to use multiple antennas for better speed and reliability. 802.11ac focused on the 5 GHz band, offering much higher throughput. 802.11ax (WiFi 6) aims to improve efficiency in crowded environments, not just raw speed, through technologies like OFDMA and MU-MIMO.
The "channel" is a specific frequency range within the 2.4 GHz or 5 GHz bands. Think of it like lanes on a highway. If too many APs are on the same channel, or even overlapping channels, they cause interference, slowing everyone down. In the 2.4 GHz band, channels 1, 6, and 11 are the only ones that don’t overlap, making them the prime choices for minimizing interference. The 5 GHz band has many more non-overlapping channels, offering more flexibility.
The security setting, like WPA2-PSK (Pre-Shared Key), means that all devices must know the same password to join the network. The AP encrypts the data sent to and from clients, preventing eavesdropping. WPA3 is the latest standard, offering stronger encryption and better protection against brute-force attacks.
When a client wants to send data, it listens to see if the airwaves are clear. If they are, it sends the data. If another device also tries to send at the same time, a collision occurs, and both devices have to back off and try again later. This "listen before talk" mechanism is fundamental. Technologies like 802.11ac and ax have sophisticated ways to manage this, allowing an AP to talk to multiple devices more simultaneously, or to divide up the available bandwidth more efficiently, but the underlying principle of managing shared radio spectrum remains.
The signal strength, measured in dBm (decibels relative to one milliwatt), indicates how strong the radio signal is. A value closer to 0 is better; -65 dBm is decent, while -80 dBm would be quite weak. Your device will automatically try to connect to the AP with the strongest signal.
The next hurdle is understanding how these APs are configured to roam efficiently, allowing clients to switch between APs seamlessly without dropping their connection.