Skip to content
Documentation Background

Wireless fundamentals

A wireless link behaves differently from a cable. It is shared with everyone in range, it changes from second to second, and it loses signal with distance and obstacles. Most “the Wi-Fi is slow” tickets come from those three facts. This page covers the building blocks and the physics that decide what a radio link can do. Wi-Fi operation and 5G access and RAN build on it.


PartRoleWi-Fi termCellular term
Wireless deviceRuns the applications. Fixed or mobileStationUser equipment (UE)
Base stationRelays frames between devices in its coverage area and the wired networkAccess point (AP)gNodeB (5G), eNodeB (4G)
Wireless access networkThe radio edge: base stations and their channels, under one operatorWLANRadio access network (RAN)
Core networkIdentity, authorization, mobility, and forwarding to the internetThe existing wired LANA dedicated mobile core

Direction is named from the base station’s side. Downlink is base station to device, uplink is device to base station. A device associates with a base station by completing a handshake, and from then on its traffic goes through that base station.

Wi-Fi has no wireless core of its own. The AP bridges onto the wired LAN, and services such as DHCP, DNS, and authentication come from whatever the LAN already has. Cellular networks have a complete core run by the carrier, covered in 5G core network.

Infrastructure modeAd hoc mode
Central nodeYes, a base stationNone
Device to deviceAlways through the base stationDirect
Network services (addresses, routing, naming)Provided by the network behind the base stationThe devices have to organize them
ExamplesHome and office Wi-Fi, 4G and 5GBluetooth, Wi-Fi peer-to-peer, sensor meshes

Nearly all Wi-Fi in practice is infrastructure mode. Mesh Wi-Fi systems add wireless links between access points, but each client still talks to one AP.


Received power is measured in dBm, a logarithmic scale where 0 dBm is 1 milliwatt. Every 3 dB is a factor of about 2, and every 10 dB is a factor of 10.

LevelPower
20 dBm100 mW (a typical Wi-Fi AP transmit power)
0 dBm1 mW
-50 dBm0.00001 mW, a strong received signal
-70 dBmUsable for most data
-90 dBmNear the noise floor. Links fail

What matters is not signal alone but the signal-to-noise ratio (SNR), in dB:

SNR (dB) = signal level (dBm) - noise level (dBm)

Noise comes from other transmitters on the same band (neighboring networks, Bluetooth, cordless devices, microwave ovens), electrical equipment, and the thermal noise of the receiver itself. A strong signal in a noisy room can be worse than a weak signal in a quiet one. As a rough guide, Wi-Fi links need about 20 dB SNR for good rates and LTE links work from a few dB below zero up to the high teens, with modulation adapting to match.

Shannon’s theorem gives the upper limit on error-free capacity of a channel:

C = B x log2(1 + SNR)

with B the channel bandwidth in hertz and SNR as a plain ratio. Two consequences:

  • Capacity grows linearly with bandwidth. A wider channel carries proportionally more, which is why Wi-Fi channels are bonded into 40, 80, 160, or 320 MHz widths.
  • Capacity grows only logarithmically with signal strength. Doubling transmit power adds a modest gain. Cutting noise and distance is cheaper than adding power.

Worked numbers are in the wireless link math deep dive.

A signal weakens with distance and with frequency. In free space received power falls with the square of distance and of frequency. In buildings walls and floors make it fall much faster. The path loss exponent captures this: about 2 in free space, about 3 outdoors in a city, and 4 or more indoors.

Two practical results:

  • Higher bands reach less. The same AP at 5 GHz covers a smaller area than at 2.4 GHz, and the 6 GHz band and cellular millimeter waves cover less again. Each step trades range for more spectrum.
  • Every wall counts. Concrete, metal, and water (including people) absorb radio. Placement beats power.

Radio waves bounce off buildings, furniture, and walls. The receiver gets the direct signal plus delayed copies, which overlap in time and can add or cancel. The result is fading: the signal level varies sharply over small distances and brief moments. Modern systems turn this to advantage, as the sections on OFDM and MIMO show.

Two stations, A and C, both reach the access point B but cannot hear each other, because of distance or an obstacle. Each senses an idle channel and transmits. Their signals collide at B, and neither knows. Carrier sensing alone cannot fix this, which is why Wi-Fi has the optional RTS/CTS handshake described in Wi-Fi operation.


Since the early 2000s radios use several antennas at each end. Three techniques:

TechniqueWhat it doesGain
Spatial diversitySends or receives the same signal over several paths and combines themReliability. Fewer errors in fading
Spatial multiplexingSends different streams in parallel from different antennas. The receiver separates them by estimating the channelThroughput. A 2x2 setup carries up to two streams
BeamformingAdjusts the phase and strength of each antenna element so the signals add in one direction and cancel in othersStronger signal, less interference, longer reach

MIMO is the name for using several antennas at both ends. MU-MIMO serves several devices at once, giving each a separate beam or set of streams. Home access points use a handful of antennas. A 5G base station may use an array of dozens of elements. A Wi-Fi router listing “4x4” or “8x8” is counting spatial streams. A client with one or two antennas cannot use more than its own count.


Radio spectrum is regulated by each country, with international coordination. It is split into two classes.

LicensedUnlicensed
Who may transmitThe holder of a license, often a carrier who bought the band at auctionAnyone, within power limits
InterferenceControlled by the licenseUncoordinated: every device in the band is noise to the others
Used by4G, 5G, private cellularWi-Fi, Bluetooth, Zigbee, LoRa, cordless phones
Protocol needsCentral schedulingListen-before-talk, frequency hopping
BandUsed forBehavior
Below 1 GHzCellular low-band, LoRa (915 MHz in some regions), Wi-Fi HaLowBest reach and wall penetration, lowest rates
2.4 GHzWi-Fi, Bluetooth, ZigbeeCrowded. Only three non-overlapping Wi-Fi channels (1, 6, 11)
5 GHzWi-FiWider channels, less crowded, shorter reach
6 GHzWi-Fi 6E and newerClean, short reach, no legacy devices
1.8 to 6 GHzCellular mid-bandThe balance of range and speed
24 GHz and above5G millimeter waveGigabit speeds over a few hundred meters

Regulators also allow spectrum sharing. The CBRS band in the United States, used for private 5G, lets commercial users operate as long as a priority incumbent such as naval radar is not using the frequency.


The transmitter adds redundancy to the data (coding), shuffles it so a burst of interference does not wipe out neighboring bits (interleaving), and maps groups of bits to symbols on a carrier wave (modulation).

  • ASK, FSK, and PSK vary the carrier’s amplitude, frequency, or phase.
  • QAM varies amplitude and phase together. Each symbol is a point in a constellation, and the number of points sets the bits per symbol.
ModulationPointsBits per symbol
QPSK (4-QAM)42
16-QAM164
64-QAM646
256-QAM2568
1024-QAM102410

A denser constellation means more bits per symbol but points sit closer together, so a little noise can push a received symbol into its neighbor’s slot. High orders need high SNR.

Radios therefore use adaptive modulation: the receiver reports channel quality, and the sender picks the densest modulation (and the coding rate) that keeps errors under a target. This is why wireless speed is not a constant. As you walk away from an access point, the link rate steps down from 1024-QAM to 64-QAM to QPSK, and the throughput follows.

Terminal window
# Linux: current link rate, signal, and modulation (MCS)
iw dev wlan0 link
# signal: -58 dBm
# rx bitrate: 866.7 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 2
# tx bitrate: 650.0 MBit/s VHT-MCS 7 80MHz short GI VHT-NSS 2
# Per-station detail on an AP running Linux (retries and failures)
iw dev wlan0 station dump

The MCS number selects a modulation and coding rate. A low MCS index with a good RSSI points to interference rather than distance.