Overview

WiFi, or IEEE 802.11.x

-ProtocolYearFrequencyPHYMax RateRange
-802.1119972.4 GHzDSSS/FHSS2 Mbps20 m
1802.11b19992.4 GHzDSSS11 Mbps35 m
2802.11a19995 GHzOFDM54 Mbps35 m
3802.11g20032.4 GHzOFDM54 Mbps38 m
4802.11n20092.4/5 GHzOFDM + MIMO600 Mbps70 m
5802.11ac20135 GHzOFDM + MU-MIMO [downlink only]3400 Mbps35 m
6802.11.ax20212.5/5 [/6] GHzOFDMA + MU-MIMO9600 Mbps35 m
7802.11.be20242.4/5/6OFDMA + MU-MIMO23000 Mbps35 m
8802.11.bnTBA2.4/5/6100000?Mbps
  • The original specification used Frequency Hopping Spread Spectrum (FHSS), and GFSK, hopping over 80 channels.
  • 802.11b was very popular but is now usually unsupported.
    • Uses DSSS.
    • Data gets translated into chips.
    • 14 channels, 1-11 for US
  • 802.11g still uses the same channels as 802.11b, but now with 20 MHz bandwidth.
    • uses OFDM, but backwards compatible with 802.11b/DSSS
  • 802.11n supports 20 MHz and 40 MHz due to OFDM. Extremely successful.
  • 802.11ac was rebranded as WiFi 5 and was backported.
    • supports 5 GHz
    • widely used (as of 2025)
    • there are a lot of ways you can modulate/code the signal
  • 802.11ax is relatively new (WiFi 6)
    • around this time, WiFi was mostly focused on aggregating throughput across all devices since so many devices can be in a single place
    • was the first to use OFDMA and 6 GHz (a lot of bandwidth)
    • MU-MIMO used for uplink
  • 802.11be would be WiFi 7

Physical Layer (PHY)

The details are not as clear. Different countries/regions have different standards, WiFi has evolved a lot over the last 30 years, and WiFi is focused on improving throughput. Any solutions that were once too complicated no longer are.

How does WiFi improve throughput?

  • techniques like OFDM and MIMO
  • increase channel width (now 5 GHz, 6 GHz)
  • better spatial use

Orthogonal Frequency Division Multiplexing (OFDM)

This method replaced DSSS since it has more bandwidth. The idea is to

  • split band into a number of narrow subcarriers (subsets of the channel’s bandwidth)
  • subcarriers are spaced so that they don’t interfere
  • transmit on multiple subcarriers to increase throughput

Originally, DSSS spread a signal across a wide band, making it susceptible to narrowband interference (interference from high interference power concentrated at specific frequencies). Instead of one wide signal, OFDM splits the frequency band into many narrow subcarriers.

OFDM allows many subcarriers within a channel to be used at once. So, throughput can scale with the amount of bandwidth available (40 MHz channels can be used, which is larger).

Frequency
     ^
  -- | +----+----+----+----+----+----+----+----+----+
   ^ | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 C | | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 h W | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 a i | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 n d | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 n t | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 e h | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
 l | | | U1 | U2 | U3 | U4 | U1 | U2 | U3 | U4 | U5 |
   v | +----+----+----+----+----+----+----+----+----+
  -- | 
     +------------------------------------------------> Time
Legend:
U1 = User 1 | U2 = User 2 | U3 = User 3 | U4 = User 4 | U5 = User 5

# Orthogonal Frequency Division Multiple Access (OFDMA)

We can allocate subcarriers to a device for an amount of time. This turns OFDM into an access control mechanism.

Frequency
     ^
     | 
  -- | +----+----+----+----+----+----+----+----+----+
   v | | U5 | U2 | U5 | U3 | U5 | U2 | U4 | U5 | U1 | --- RU of user1
 Sub-| +----+----+----+----+----+----+----+----+----+
 car.| | U3 | U4 | U1 | U2 | U3 | U1 | U5 | U4 | U3 | --- RU of user3
   ^ | +----+----+----+----+----+----+----+----+----+
  -- | | U1 | U5 | U3 | U1 | U2 | U4 | U1 | U3 | U2 | --- RU of user2
(78. | +----+----+----+----+----+----+----+----+----+
 125 | | U4 | U1 | U2 | U4 | U1 | U3 | U2 | U1 | U4 | --- RU of user4
 kHz)| +----+----+----+----+----+----+----+----+----+
     |  
     +------------------------------------------------> Time

----------------------------------------------------------------------
Legend:
U1 = User 1 | U2 = User 2 | U3 = User 3 | U4 = User 4 | U5 = User 5

It’s not clear in this diagram, but the blocks are not the same size. I.e. at time , User 1 may use more bandwidth.

  • The net spectrum usage is about the same
  • Each user will get less bandwidth in OFDMA, but more users can exist at once.
  • This is the same strategy cellular “resource blocks” use.

Multiple In Multiple Out (MIMO)

Multiple In Multiple Out (MIMO) is a method to increase throughput on a router. The idea is that you can use subchannels, to send data simultaneously.

  • transmit antennas
  • receive antennas

The signals may interfere, but receiving all of them allows data to be recovered.

"\\begin{document}\n\\begin{tikzpicture}[\n antenna/.style={circle, draw=black, thick, minimum size=8mm},\n connection/.style={->, >=stealth, gray!50, thin}\n]\n\n% Transmitter Nodes (Left)\n\\node[antenna] (T1) at (0, 0) {$T_1$};\n\\node[antenna] (T2) at (0, -1.5) {$T_2$};\n\\node[antenna] (T3) at (0, -3.0) {$T_3$};\n\n% Receiver Nodes (Right)\n\\node[antenna] (R1) at (4, 0) {$R_1$};\n\\node[antenna] (R2) at (4, -1.5) {$R_2$};\n\\node[antenna] (R3) at (4, -3.0) {$R_3$};\n\n% Connection Logic (Manual loop for maximum compatibility)\n\\foreach \\i in {1,2,3} {\n \\foreach \\j in {1,2,3} {\n \\draw[connection] (T\\i) -- (R\\j);\n }\n}\n\n% Labels\n\\node at (0, 0.8) {\\textbf{TX}};\n\\node at (4, 0.8) {\\textbf{RX}};\n\n\\end{tikzpicture}\n\\end{document}"T1T2T3R1R2R3TXRX
source code

MIMO has been expanded to support multiple simultaneously.

MU-MIMO

Multi-user MIMO or MU-MIMO allows for multiple devices to stream without worrying about Time Division Multiplexing since you can have multiple receivers by parallelizing messaging. In general, it improves average performance across a network as a whole, but not for a particular machine.

WiFi 6/7 Hardware (802.11ax, 802.11bx)

There are two varieties of 6:

  • WiFi 6: Most of the features, but NOT the new frequencies
  • WiFi 6E: includes the extra 6 GHz channels, basically entirely unused as of 2023 In WiFi 7:
  • extremely high performance
  • 4096-QAM
  • 16-stream MIMO
  • new features

Bit Rate Adaptation

All modern WiFi standards support multiple bit rates, or “Modulation and Coding Scheme (MCS)“. Many factors influence the choice of bit rate.

  • Capability of device (not all devices support all bit rates)
  • Range and packet reliability (interference)

Essentially the router will change the throughput depending on the signal. Selecting the right rate at the right time is a complex problem and needs to be decided per-device. (Trial and Error)

Real-World Channel Use

  • For 2.4 GHz, most networks use 20 MHz channels 1,6, or 11. Several networks create 40 MHz
  • For 5 GHz, devices use 80 MHz almost entirely.
  • A new expensive router can have a single 160 MHz bandwidth channel.