Chapters

35 Wi-Fi Access: Standards and Link Budget

networking-core
network
physical
wireless

35.1 Overview

This section: Overview — This first route develops Wi-Fi standards, band choices, link margins, and device power constraints.

This first route develops Wi-Fi standards, band choices, link margins, and device power constraints.

This is part 1 of 2. Continue with Wi-Fi Access: Scanning and Deployment for the second focused route.

35.2 Start With a Device Joining Shared Air

This section: Start With a Device Joining Shared Air — Picture a wall sensor that works beside the router but misses alarms after installation.

Walk One Sensor Away From the Bench Router

Picture a wall sensor that works beside the router but misses alarms after installation. Shared air, walls, other users, and sleep timing can change the link without changing the device code. The first useful test follows one message through the real room.

An access point means the local radio station that Wi-Fi devices join. Modulation means changing a radio signal over time to carry information. Received signal strength is a device’s estimate of received radio power; RSSI means received signal strength indicator.

Record device identity, access point, channel, RSSI, retry count, sleep state, message time, and receiver result. Walk the route, close a door, add traffic, reconnect, roam, and restart. Reject one strong signal reading as proof of reliable delivery.

This runway does not prove coverage, security, or battery life for every site. The deeper sections explain joining, authentication, channels, radio rates, roaming, power save, traffic timing, and field evidence.

Wi-Fi feels familiar because phones and laptops use it every day, but an IoT device joins the same shared air with smaller antennas, tighter power budgets, and fewer chances for a user to fix it.

The useful design story follows association, authentication, RSSI, channel conditions, roaming, power mode, and traffic timing. A working bench connection is only the first proof.

Packet Pete

“Good signal strength is not the same claim as room on the channel — prove both before you call it delivered.”

Here Pete follows the shared air itself: what it costs to join, what it costs to stay heard, and what the record needs to show.

Key Concepts
  • Wi-Fi (IEEE 802.11): The dominant wireless LAN standard; multiple generations (802.11b/g/n/ac/ax) offer increasing data rates and spectrum efficiency
  • SSID (Service Set Identifier): The human-readable name of a Wi-Fi network, broadcast in beacon frames
  • Access Point (AP): The central device in a Wi-Fi star topology that all clients connect to
  • Channel: A designated frequency range within the 2.4 or 5 GHz bands; proper channel planning prevents inter-AP interference
  • OFDM (Orthogonal Frequency-Division Multiplexing): The modulation technique used by 802.11g and later; divides the channel into subcarriers to handle multipath
  • MIMO (Multiple-Input Multiple-Output): Using multiple antennas to send parallel data streams, increasing throughput without wider channels
  • WPA3: The current Wi-Fi security standard; mandatory for Wi-Fi 6 (802.11ax) certification, replacing WPA2

35.3 In 60 Seconds

Wi-Fi (IEEE 802.11) has evolved from an 11 Mbps 802.11b PHY ceiling (1999) to multi-gigabit 802.11ax configurations. For IoT, Wi-Fi HaLow (802.11ah) uses sub-1 GHz spectrum and can reach around 1 km outdoors under a suitable link budget; Wi-Fi 6 adds OFDMA for efficient multi-device scheduling and TWT for negotiated wake periods. Those ranges, rates, and sleep durations depend on the radios and deployment. The 2.4 GHz band penetrates walls better but is crowded; 5 GHz has more channels and usually less interference but shorter reach.

The mathematical gist. Classic 20 MHz Wi-Fi spaces 64 subcarriers by 312.5 kHz, giving a 3.2 µs useful symbol. Adding the chapter’s 0.8 µs guard makes 4.0 µs; 64-QAM 3/4 carries 216 coded data bits across 48 carriers, so 216/4 µs=54 Mbps.

Math Bridge · guided foundationsWhere does the exact 54 Mbps number come from?Let Pete turn bandwidth, subcarriers, coding, and guard time into one symbol ledger.
Learning Objectives
  • Summarize the evolution of IEEE 802.11 Wi-Fi protocols from 802.11b to Wi-Fi 7
  • Compare Wi-Fi standards (802.11 a/b/g/n/ac/ax) for IoT applications across speed, range, and power trade-offs
  • Evaluate IoT-specific Wi-Fi standards: Wi-Fi HaLow (802.11ah) and Wi-Fi 6 (802.11ax)
  • Explain how OFDMA and Target Wake Time (TWT) optimize Wi-Fi for IoT device density and battery life
  • Select appropriate Wi-Fi standards for different IoT deployment scenarios
Chapter Roadmap

Use the chapter as a sequence of Wi-Fi design checks:

  1. First identify what changed across 802.11b, g, n, ac, ah, and ax.
  2. Then compare HaLow, Wi-Fi 6, 2.4 GHz, and 5 GHz against range, power, density, and latency needs.
  3. Next calculate link margin from transmit power, path loss, wall loss, noise floor, interference, and MCS thresholds.
  4. After that collect field evidence with scans, deployment cases, quizzes, and fit records.
  5. Finally turn RSSI, retry rate, airtime, security, roaming, and operations checks into a durable Wi-Fi service decision.

Checkpoints recap each stage; collapsed callouts and embedded audits provide optional depth.

35.4 Prerequisites

This section: Prerequisites

Before diving into this chapter, you should be familiar with:

Wi-Fi is how devices connect to a local network wirelessly - like invisible cables made of radio waves! That network may also provide internet access. When your phone connects to your home router without a cable, that’s Wi-Fi.

Wi-Fi uses radio frequencies (like a radio station) to send data through the air. The 2.4 GHz frequency travels farther through walls but is slower and more crowded. The 5 GHz frequency is faster but doesn’t travel as far.

TermSimple Explanation
Wi-FiWireless connection using radio waves (no cables needed)
Access Point (AP)The device that creates the Wi-Fi network (often built into router)
2.4 GHzRadio frequency that travels far but is slow and crowded
5 GHzRadio frequency that’s fast but doesn’t go through walls well
SSIDThe name of a Wi-Fi network (like “Home_WiFi”)
RSSISignal strength - how strong the Wi-Fi signal is

“Wi-Fi keeps getting faster and smarter!” said the microcontroller. “The original 802.11b from 1999 topped out at 11 Mbps. A full 8-stream, 160 MHz Wi-Fi 6 radio has a theoretical PHY ceiling near 9.6 Gbps — about 870 times that rate, though ordinary devices use fewer streams!”

“But speed is not the only improvement for IoT,” noted Temperature Terry. “Wi-Fi 6 has two features I love. First, OFDMA lets the router talk to many devices at the same time instead of one at a time. With hundreds of IoT devices in a smart building, that is essential.”

“Second is Target Wake Time,” added the battery with a smile. “I tell it ‘wake me up in 4 hours,’ and I sleep the whole time, if my application and hardware permit it. Older Wi-Fi power saving still had devices waking to listen for beacons; TWT lets them agree on much longer sleeps.”

the LED brought up the frequency choice. “2.4 GHz goes through walls better but is crowded — microwave ovens, baby monitors, and Bluetooth devices share it. 5 GHz is faster and less crowded, but does not travel as far. Wi-Fi HaLow at sub-1 GHz can reach around a kilometre in a suitable outdoor link budget — useful for some outdoor IoT sites!”


35.5 IEEE 802.11 Wi-Fi Overview

This section: IEEE 802.11 Wi-Fi Overview — Start with the standards history, because each generation solves a different design problem.

Time: ~10 min | Difficulty: Intermediate | Reference: P07.C11.U03

Start with the standards history, because each generation solves a different design problem.

IEEE 802.11, commonly known as Wi-Fi, is a protocol replacing wired Ethernet for wireless communications. It uses the unlicensed radio band for data transmission.

In a Wi-Fi network, the Wireless Access Point (WAP) is responsible for translating digital signals from the wired network to radio signals, and vice versa, for communications between mobile devices in the WAP range and the Internet.

Each Wi-Fi generation solved a different problem, and only some of those problems belong to IoT. Figure 35.1 shows what each step added.

Wi-Fi evolution runs from 802.11b/g through Wi-Fi 4 MIMO, Wi-Fi 5, Wi-Fi 6 OFDMA/TWT and Wi-Fi 6E to Wi-Fi 7 multi-link.
Figure 35.1: Wi-Fi evolution timeline from 802.11 Legacy to Wi-Fi 7

Figure 35.1 runs as one chain, and the label under each box names the change rather than the speed. The first entry is simply the 2.4 GHz band. The next steps add multiple antennas, then a move to 5 GHz, and both are throughput answers aimed at laptops and video. The step that matters most for battery devices is Wi-Fi 6, because scheduled airtime lets a radio be told when to wake instead of contending for every frame. The newest boxes add a further band and links on more than one band at once. Read left to right, the chain is a reminder that a newer number is not automatically a better fit for a sensor.

Compare that 2.4 GHz starting point with the later HaLow, OFDMA, and Target Wake Time milestones before choosing a generation for an IoT workload.


35.6 Wi-Fi Protocol Comparison

This section: Wi-Fi Protocol Comparison — Rates are theoretical PHY rates for particular channel widths and stream counts, not application throughput; the ranges are outdoor planning illustrations, not IEEE guarantees.

StandardYearFrequencyExample peak PHY rateIllustrative rangeIoT Suitability
802.11b19992.4 GHz11 Mbps~100mLow (legacy)
802.11g20032.4 GHz54 Mbps~100mMedium
802.11n20092.4/5 GHz600 Mbps~200mGood
802.11ac20135 GHz~3.5 Gbps (4 streams, 160 MHz)~100mGood (high bandwidth)
802.11ah2016Sub-1 GHz347 Mbps~1 kmExcellent (low power)
802.11ax20212.4/5 GHz~9.6 Gbps (8 streams, 160 MHz)~200mExcellent (dense)

Rates are theoretical PHY rates for particular channel widths and stream counts, not application throughput; the ranges are outdoor planning illustrations, not IEEE guarantees. Walls, interference, antennas, regulation, and the required data rate change the usable range. Wi-Fi 6E also uses 6 GHz where permitted.


35.7 IoT-Specific Wi-Fi Standards

This section: IoT-Specific Wi-Fi Standards — The 802.11ah (Wi-Fi HaLow) and 802.11ax (Wi-Fi 6) protocols specifically address shortcomings in IoT-constrained environments.

The 802.11ah (Wi-Fi HaLow) and 802.11ax (Wi-Fi 6) protocols specifically address shortcomings in IoT-constrained environments.

35.7.1 802.11ah (Wi-Fi HaLow)

Read Figure 35.2 as one physical change and the results that follow from it.

A Wi-Fi HaLow example compares reach and link margin, then shows how target wake time changes sensor activity.
Figure 35.2: Wi-Fi HaLow features and IoT applications

The change is the band. HaLow works below 1 GHz, and the two boxes beside it are consequences of that: better wall penetration, and range that moves from tens of metres to hundreds, or further. Target wake time is listed on its own because it saves power by scheduling when a device listens, rather than by shortening the link. The IP-native box matters for integration, since the same addressing and Wi-Fi security apply. Then Figure 35.2 prints the bill. Throughput is lower than 2.4 or 5 GHz. That is the trade this chapter asks you to record, not a defect to design around.

The same record must verify the illustrative one-kilometre range and 8,191-station association-ID ceiling against the deployment’s actual link and airtime budgets; the ceiling does not promise that many active senders at once.

Key Features:

  • Operates in sub-1 GHz frequency bands (better penetration through walls and obstacles)
  • Longer range (around 1 km outdoors is possible under a suitable link budget, versus an illustrative 100 m for ordinary Wi-Fi)
  • Lower power consumption (suitable for battery devices)
  • Supports large number of associated devices (13-bit association IDs permit up to 8,191 stations per access point; usable active capacity is lower)
  • Use cases: Smart city sensors, agricultural monitoring, industrial IoT

35.7.2 802.11ax (Wi-Fi 6)

Read Figure 35.3 from its three named mechanisms across to the single line that limits them.

Wi-Fi 6 features pair OFDMA, TWT and BSS coloring with device efficiency, battery savings and reduced contention. Dense buildings benefit, but power remains higher than BLE or LPWAN.
Figure 35.3: Wi-Fi 6 features and IoT applications

Each mechanism on the left of Figure 35.3 addresses a different access problem. OFDMA can schedule several small transmissions in one channel exchange. TWT coordinates when capable devices wake. BSS coloring helps a radio distinguish overlapping networks where spatial reuse rules permit it. Together they can improve capacity in dense buildings, which is why smart buildings and teaching labs are useful test cases. The limit the figure ends on still holds: even with TWT, a Wi-Fi radio usually draws more power than BLE or LPWAN, so battery life depends on sleep current, traffic and configuration.

Check OFDMA resource units alongside the Target Wake Time schedule; neither the stated power reduction nor latency follows from the Wi-Fi 6 label alone.

Key Features:

  • OFDMA (Orthogonal Frequency Division Multiple Access) for better multi-device handling
  • Target Wake Time (TWT) for power savings - devices sleep longer, wake only when needed
  • Higher capacity in dense environments (stadiums, offices, warehouses)
  • Can reduce contention delay in dense networks when OFDMA is enabled; measure latency on the installed network
  • Use cases: Smart buildings, dense sensor deployments, industrial automation

MVU: Target Wake Time (TWT)

Core Concept: TWT lets an IoT device and access point schedule service periods so a capable device can sleep between them. The power saving depends on radio hardware, traffic, wake interval, and the older power-save mode used for comparison; 90% is a possible scenario result, not a standard guarantee.

Why It Matters: A beacon interval is often about 100 ms, but legacy power-save clients need not wake for every beacon. TWT can coordinate less frequent wake periods where traffic and AP policy allow; measure battery life on the actual device.

Key Takeaway: When relying on TWT, verify support and negotiation on both the sensor and access point. Choose wake intervals from the reporting and downlink latency requirements; an hourly report does not by itself guarantee 59 minutes of uninterrupted sleep.

Packet Pete, Networking and packet-journey domain expertCheckpoint: Standards and IoT Fit

You now know:

  • Example peak PHY rates span 802.11b at 11 Mbps to Wi-Fi 6 near 9.6 Gbps with eight streams and 160 MHz; ordinary client rates are lower.
  • HaLow trades speed for sub-1 GHz coverage; around 1 km is a possible outdoor range, and 8,191 is an association-ID ceiling rather than usable simultaneous capacity.
  • Wi-Fi 6 adds OFDMA and TWT, which matter more to dense IoT fleets than headline speed alone.
Check Hospital Monitoring

35.8 Frequency Band Trade-offs

This section: Frequency Band Trade-offs — Walls are not the only obstacle worth budgeting for.

2.4 vs 5 GHz Wi-Fi Gateways

Option A (2.4 GHz):

  • Range: 100-150 m is an optimistic illustrative open-area planning span, not an indoor guarantee; survey walls and interference
  • Channels: 3 non-overlapping (1, 6, 11)
  • Interference: Crowded spectrum with Bluetooth/Zigbee/microwave
  • Wall loss assumption: 4 dB per drywall, 6 dB per concrete wall (measure on site)
  • Example 802.11n PHY rate: 150 Mbps (one stream, 40 MHz, short guard interval; higher multi-stream rates exist)

Option B (5 GHz):

  • Range: 50-75 m is an illustrative open-area planning span, not an indoor guarantee
  • Channels: up to 24 non-overlapping (region-dependent)
  • Interference: Less interference from IoT devices
  • Wall loss assumption: 5 dB per drywall, 12 dB per concrete wall (measure on site)
  • Example 802.11ac PHY rate: 1.3 Gbps (three streams, 80 MHz, short guard interval; higher configurations exist)

Decision Factors: Choose 2.4 GHz for IoT gateways requiring maximum range through walls, legacy device compatibility, or outdoor deployments. Choose 5 GHz for high-bandwidth applications (video cameras, AR/VR), dense urban environments with heavy 2.4 GHz congestion, or when gateway and devices are in the same room with minimal obstacles.

Walls are not the only obstacle worth budgeting for. Water-rich obstacles, people, foliage, and nearby equipment can change a 2.4 GHz link; the loss depends on material, thickness, geometry, and frequency. A gateway near a tank or in a crowded room needs a site survey rather than relying on the illustrative wall-loss values above.

The band choice narrows the problem; modulation margin decides whether that choice remains reliable when the air gets busy.


35.9 Select Wi-Fi Modulation

This section: Select Wi-Fi Modulation

Compare Wi-Fi Modulation

Scenario: Designing a Wi-Fi-connected IoT gateway that aggregates data from 50 BLE sensors. The gateway sends 10 KiB data bursts to the cloud every 30 seconds. Building has 8 competing Wi-Fi networks causing channel congestion.

Given:

  • Data requirement: 10 KiB every 30 seconds = 2.73 kbps average payload rate
  • Wi-Fi options: 802.11b/g/n/ac at various modulation schemes
  • Interference: 8 neighboring networks on overlapping channels
  • Power: Mains-powered (no battery constraint)
  • Distance to AP: 25 meters through 2 drywall partitions

Steps:

  1. Calculate minimum required data rate:

    • 10 KiB x 1024 bytes/KiB x 8 bits/byte = 81,920 bits per burst
    • At 1 Mbps: ~82 ms transmission time
    • At 54 Mbps: ~1.5 ms transmission time
    • Faster = less airtime = less collision probability
  2. Evaluate modulation schemes by robustness:

    ModulationProtocolExample PHY rateIllustrative SNR thresholdRange
    BPSK 1/2802.11a/g6 Mbps4 dBExcellent
    QPSK 1/2802.11a/g12 Mbps7 dBVery Good
    16-QAM 1/2802.11a/g24 Mbps12 dBGood
    64-QAM 3/4802.11a/g54 Mbps25 dBFair
    256-QAM 5/6802.11ac400+ Mbps32 dBPoor
  3. Estimate link quality:

    • TX power: 20 dBm
    • Path loss: free space at 25 m is 68 dB, plus 2 interior walls at 4 dB each = 76 dB
    • Received power: 20 - 76 = -56 dBm
    • Noise floor: -95 dBm
    • SNR: -56 - (-95) = 39 dB (very good)
  4. Select appropriate MCS (Modulation and Coding Scheme):

    • With 39 dB SNR, the illustrative 256-QAM threshold of 32 dB may be met
    • However, interference from 8 networks fluctuates the SNR; budget a 10 dB swing (the margin rule below)
    • Worst-case SNR: 39 - 10 = 29 dB
    • Check 64-QAM 3/4 against the illustrative 25 dB threshold: only 4 dB remains in the worst case, below the preferred 5 dB margin. Start with 16-QAM 1/2 and verify the installed link. A larger fade allowance would reinforce that lower-rate choice. Margins, not peak SNR, decide the MCS.

Result: The illustrative 802.11n MCS 6 (64-QAM 3/4) threshold is met with 29 - 25 = 4 dB margin, below this design’s preferred 5 dB minimum. Select 802.11n MCS 3 (16-QAM 1/2) for the stated margin rule, then test it on site. Its one-stream, 20 MHz long-guard-interval PHY rate is 26 Mbps, so the 81,920-bit payload needs at least 81,920 / 26,000,000 = 3.15 ms of PHY airtime. For comparison, MCS 6 would offer 58.5 Mbps (65 Mbps with a short guard interval) and 1.40 ms bare payload airtime, but less fade margin. Framing, contention, retries, and cloud transport add time; either rate exceeds the 2.73 kbps average payload requirement.

Key Insight: For IoT gateways in congested Wi-Fi environments, do NOT select the highest modulation scheme your SNR supports. Leave 5-10 dB margin for interference variability. A reliable 54 Mbps link beats an intermittent 300 Mbps link for IoT applications.

Wi-Fi link budget calculations determine the achievable data rate and modulation scheme based on signal strength and noise. For the IoT gateway scenario with interfering networks:

Received signal strength (RSS): RSS=PTX−Lpath−Lwalls\text{RSS} = P_{\text{TX}} - L_{\text{path}} - L_{\text{walls}} =20 dBm−68 dB−8 dB=−56 dBm= 20 \text{ dBm} - 68 \text{ dB} - 8 \text{ dB} = -56 \text{ dBm}

Signal-to-noise ratio (SNR): SNR=RSS−Nfloor=−56−(−95)=39 dB\text{SNR} = \text{RSS} - N_{\text{floor}} = -56 - (-95) = 39 \text{ dB}

SNR with interference: SNRworst=39 dB−10 dBinterference=29 dB\text{SNR}_{\text{worst}} = 39 \text{ dB} - 10 \text{ dB}_{\text{interference}} = 29 \text{ dB}

Selecting modulation and coding scheme (MCS) requires margin: Required SNR+Margin≤SNRworst\text{Required SNR} + \text{Margin} \leq \text{SNR}_{\text{worst}} 25 dB+5 dB=30 dB>29 dB  ×25 \text{ dB} + 5 \text{ dB} = 30 \text{ dB} > 29 \text{ dB} \;\times 12 dB+5 dB=17 dB≤29 dB✓12 \text{ dB} + 5 \text{ dB} = 17 \text{ dB} \leq 29 \text{ dB} \checkmark

The illustrative 64-QAM 3/4 threshold corresponds to 802.11n MCS 6 and leaves only 4 dB of margin. Since this design asks for at least 5 dB, use the more robust MCS 3 (16-QAM 1/2) as the starting setting. The 32 dB threshold assumed for the 802.11ac 256-QAM example is 3 dB above the worst-case SNR; its failure rate must be measured rather than inferred from a single threshold.

Minimum PHY airtime for a 10 KiB burst at the selected 26 Mbps: T=10×1024×8 bits26×106 bits/s=3.15 msT = \frac{10 \times 1024 \times 8 \text{ bits}}{26 \times 10^6 \text{ bits/s}} = 3.15 \text{ ms}

This lower bound excludes contention, framing and retries. Measure delivered latency and retry rate on the installed channel.

This section:

Packet Pete, Networking and packet-journey domain expertCheckpoint: Band and Link Margin

You now know:

  • 2.4 GHz has three non-overlapping 20 MHz channels in the common 1/6/11 plan; the illustrative 100-150 m open-area range needs a site survey.
  • The gateway example starts with 20 dBm transmit power, 25 m distance, two drywall partitions, and 8 competing networks.
  • Margin changes the MCS decision: 64-QAM 3/4 clears the illustrative 25 dB threshold by 4 dB, but this design’s 5 dB rule selects 16-QAM 1/2 for initial testing.

This section:

Try It: Wi-Fi Link Budget Calculator

Adjust the parameters below to see how SNR and modulation scheme selection change for different deployment scenarios.


35.10 Continue to Part 2

This section: Continue to Part 2 — Continue with Wi-Fi Access: Scanning and Deployment.

Continue with Wi-Fi Access: Scanning and Deployment.

Find help

3 reviewed answers.

Where should I start in a module?

Open the module page from the sidebar to see its chapters in order. Use the module map to return to a topic you need.

Modules and paths

Reviewed

What can I try when a project does not work?

Check the symptom, then work through the diagnostic steps. Keep the error message and the smallest example that reproduces it.

When you are stuck

Reviewed

How do interactive examples work?

Use the interactive guide to check how examples and simulations work before changing your project.

Interactive examples guide

Reviewed