retry_with_jitter() - Listen. Before transmitting, the device listens to the channel. If someone else is talking, wait.
- Wait for silence. Once the channel has been quiet for a specific interval (called DIFS -- Distributed Inter-Frame Spacing, 34 microseconds on 802.11a/g), the device still doesn't transmit immediately.
- Random backoff. It picks a random number of time slots to wait (the "contention window"). Only after this random timer expires -- and the channel is still quiet -- does it transmit.
- Transmit and wait for ACK. The access point must acknowledge every frame. No ACK means the frame was lost -- retry with a larger contention window. - AP โ Client: here's a random number (ANonce)
- Client โ AP: here's my random number (SNonce), plus a MIC (Message Integrity Code) proving I know the PMK
- AP โ Client: here's the group key (for broadcast traffic), encrypted with the derived key, plus a MIC
- Client โ AP: acknowledgement - Forward secrecy: if someone captures your encrypted traffic today and later learns the WiFi password, they still can't decrypt the old traffic. Each session's keys are ephemeral and not derivable from the password alone.
- Resistance to offline dictionary attacks: in WPA2, an attacker who captures the four-way handshake can take it home and brute-force the password offline. SAE makes each guess require an interactive exchange with the AP, making offline attacks impossible. - 320 MHz channels: available in the 6 GHz band, offering absurd peak bandwidth at the cost of range. A 320 MHz channel in 6 GHz can theoretically push 46 Gbit/s with 16 spatial streams. In practice, nobody has 16 spatial streams. But even with two streams, you're looking at multi-gigabit wireless speeds.
- 4K-QAM: QAM (Quadrature Amplitude Modulation) encodes multiple bits into each radio symbol. The number tells you how many distinct signal states it uses โ and since each state is a bit pattern, the number is always a power of 2. WiFi 6 uses 1024-QAM: 2ยนโฐ = 1024 states = 10 bits per symbol. WiFi 7 quadruples the states to 4096-QAM: 2ยนยฒ = 4096 states = 12 bits per symbol. Two extra bits per symbol is a 20% throughput increase for free โ but distinguishing 4096 signal levels requires a much cleaner signal, so it only works at close range with minimal interference.
- MLO -- Multi-Link Operation: the feature I'm most excited about. A WiFi 7 device can connect to the AP on multiple bands simultaneously -- 2.4 GHz and 5 GHz and 6 GHz -- and aggregate the bandwidth or use the best link for each packet. Low-latency traffic goes to the least-congested band. Bulk downloads use all bands at once. If one band hits interference, traffic seamlessly shifts to another. This is the first time WiFi has been able to use multiple bands concurrently, and it fundamentally changes the reliability story. - IEEE 802.11 โ Wikipedia Overview โ the most accessible summary of the 802.11 family, from the original 2 Mbit/s standard through WiFi 7. Links to each amendment's technical details without requiring an IEEE subscription.
- The C10K Problem โ Dan Kegel's classic paper on handling 10,000 concurrent connections. Relevant here because CSMA/CA faces the same fundamental challenge: coordinating shared access among many contending parties without a central scheduler.
- Wireshark 802.11 Capture Setup โ how to capture WiFi frames in monitor mode with Wireshark. Seeing beacon frames, probe requests, and the four-way handshake in a packet capture is the fastest way to internalize the protocol.
- OpenWrt Documentation โ the open-source router firmware project. Its documentation covers WiFi configuration at a level that bridges theory and practice: channel selection, transmit power, band steering, and mesh networking on real hardware.
- WiFi 7 (802.11be) Overview โ WiFi Alliance โ the WiFi Alliance's summary of WiFi 7 features including MLO, 320 MHz channels, and 4K-QAM. A good non-spec-dense overview of where WiFi is heading.