35 Wi-Fi Access: Standards and Link Budget
More
Depth: Practitioner
Progress saves as you read. Mark sections complete as you go; your progress appears in the sidebar.
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.4 Prerequisites
This section: Prerequisites
Before diving into this chapter, you should be familiar with:
- Network Access and Physical Layer Overview: Understanding the role of physical and network access layers
- Wired Network Access: Ethernet: Comparing wired vs wireless connectivity options
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.
| Term | Simple Explanation |
|---|---|
| Wi-Fi | Wireless connection using radio waves (no cables needed) |
| Access Point (AP) | The device that creates the Wi-Fi network (often built into router) |
| 2.4 GHz | Radio frequency that travels far but is slow and crowded |
| 5 GHz | Radio frequency that’s fast but doesn’t go through walls well |
| SSID | The name of a Wi-Fi network (like “Home_WiFi”) |
| RSSI | Signal 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.
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.
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.
| Standard | Year | Frequency | Example peak PHY rate | Illustrative range | IoT Suitability |
|---|---|---|---|---|---|
| 802.11b | 1999 | 2.4 GHz | 11 Mbps | ~100m | Low (legacy) |
| 802.11g | 2003 | 2.4 GHz | 54 Mbps | ~100m | Medium |
| 802.11n | 2009 | 2.4/5 GHz | 600 Mbps | ~200m | Good |
| 802.11ac | 2013 | 5 GHz | ~3.5 Gbps (4 streams, 160 MHz) | ~100m | Good (high bandwidth) |
| 802.11ah | 2016 | Sub-1 GHz | 347 Mbps | ~1 km | Excellent (low power) |
| 802.11ax | 2021 | 2.4/5 GHz | ~9.6 Gbps (8 streams, 160 MHz) | ~200m | Excellent (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.
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.
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
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.
Checkpoint: 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.
35.8 Frequency Band Trade-offs
This section: Frequency Band Trade-offs — Walls are not the only obstacle worth budgeting for.
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
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:
-
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
-
Evaluate modulation schemes by robustness:
Modulation Protocol Example PHY rate Illustrative SNR threshold Range BPSK 1/2 802.11a/g 6 Mbps 4 dB Excellent QPSK 1/2 802.11a/g 12 Mbps 7 dB Very Good 16-QAM 1/2 802.11a/g 24 Mbps 12 dB Good 64-QAM 3/4 802.11a/g 54 Mbps 25 dB Fair 256-QAM 5/6 802.11ac 400+ Mbps 32 dB Poor -
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)
-
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):
Signal-to-noise ratio (SNR):
SNR with interference:
Selecting modulation and coding scheme (MCS) requires margin:
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:
This lower bound excludes contention, framing and retries. Measure delivered latency and retry rate on the installed channel.
This section:
Checkpoint: 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:
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 pathsReviewed
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 stuckReviewed
How do interactive examples work?
Use the interactive guide to check how examples and simulations work before changing your project.
Interactive examples guideReviewed
