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
60.1 In 60 Seconds
Wi-Fi (IEEE 802.11) has evolved from 11 Mbps (802.11b, 1999) to multi-gigabit speeds (802.11ax/Wi-Fi 6), with two IoT-critical innovations: Wi-Fi HaLow (802.11ah) operates at sub-1 GHz for 1 km range with low power, and Wi-Fi 6 introduces OFDMA (efficient multi-device scheduling) and Target Wake Time (TWT, letting devices sleep for hours between transmissions). The 2.4 GHz band penetrates walls better but is congested, while 5 GHz is faster with less interference but shorter range.
Learning Objectives
By the end of this section, you will be able to:
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
Wi-Fi is how devices connect to the internet wirelessly - like invisible cables made of radio waves! 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
Sensor Squad: The Wi-Fi Evolution!
“Wi-Fi keeps getting faster and smarter!” said Max the Microcontroller. “The original 802.11b from 1999 was only 11 Mbps. Now Wi-Fi 6 can do over 9 Gbps – that is nearly 900 times faster!”
“But speed is not the only improvement for IoT,” noted Sammy the Sensor. “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 Bella the Battery with a smile. “TWT lets me negotiate a sleeping schedule with the access point. I tell it ‘wake me up in 4 hours,’ and I sleep the whole time. Before TWT, Wi-Fi devices had to wake up constantly to check for messages. TWT makes Wi-Fi actually practical for battery-powered sensors!”
Lila the LED brought up the frequency choice. “2.4 GHz goes through walls better but is crowded – every microwave, baby monitor, and Bluetooth device uses it. 5 GHz is faster and less crowded, but does not travel as far. And Wi-Fi HaLow at sub-1 GHz can reach a whole kilometer – perfect for outdoor IoT!”
60.3 IEEE 802.11 Wi-Fi Overview
Time: ~10 min | Difficulty: Intermediate | Reference: P07.C11.U03
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.
Figure 60.1: Wi-Fi evolution timeline from 802.11 Legacy to Wi-Fi 7
60.4 Wi-Fi Protocol Comparison
Standard
Year
Frequency
Max Speed
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
~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
~200m
Excellent (dense)
60.5 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.
60.5.1 802.11ah (Wi-Fi HaLow)
Figure 60.2: Wi-Fi HaLow features and IoT applications
Key Features:
Operates in sub-1 GHz frequency bands (better penetration through walls and obstacles)
Longer range (up to 1 km vs 100m for traditional Wi-Fi)
Lower power consumption (suitable for battery devices)
Supports large number of devices (up to 8,191 per access point)
Use cases: Smart city sensors, agricultural monitoring, industrial IoT
60.5.2 802.11ax (Wi-Fi 6)
Figure 60.3: Wi-Fi 6 features and IoT applications
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)
Lower latency (8ms typical vs 30ms for Wi-Fi 5)
Use cases: Smart buildings, dense sensor deployments, industrial automation
MVU: Target Wake Time (TWT)
Core Concept: TWT allows IoT devices to negotiate specific wake-up times with the access point, sleeping for extended periods rather than constantly listening for beacons - reducing power consumption by up to 90% for infrequent data transmission.
Why It Matters: Traditional Wi-Fi devices wake every 100ms to check for data, consuming significant power even when idle. TWT lets a sensor wake once per minute (or less), dramatically extending battery life from days to months.
Key Takeaway: When deploying battery-powered Wi-Fi sensors, require Wi-Fi 6 (802.11ax) support to leverage TWT. Configure appropriate wake intervals based on data reporting frequency - a sensor reporting hourly can sleep for 59 minutes between transmissions.
Knowledge Check: Hospital Patient Monitoring
60.6 Frequency Band Trade-offs
Tradeoff: Wi-Fi 2.4 GHz vs Wi-Fi 5 GHz for IoT Gateways
Option A (2.4 GHz):
Range: 100-150m indoor
Channels: 3 non-overlapping (1, 6, 11)
Interference: Crowded spectrum with Bluetooth/Zigbee/microwave
Wall penetration: -3 dB per drywall, -6 dB per concrete
Max 802.11n: 150 Mbps
Option B (5 GHz):
Range: 50-75m indoor
Channels: 23+ non-overlapping
Interference: Less interference from IoT devices
Wall penetration: -5 dB per drywall, -12 dB per concrete
Max 802.11ac: 1.3 Gbps
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.
60.7 Worked Example: Wi-Fi Modulation Selection
Worked Example: Comparing Wi-Fi Modulation Schemes for IoT Gateway
Scenario: Designing a Wi-Fi-connected IoT gateway that aggregates data from 50 BLE sensors. The gateway sends 10 KB data bursts to the cloud every 30 seconds. Building has 8 competing Wi-Fi networks causing channel congestion.
Given:
Data requirement: 10 KB every 30 seconds = 2.73 kbps average
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 KB x 1024 x 8 = 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
Max Rate
Min SNR Required
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 (25m + 2 walls): 60 + 8 = 68 dB
Received power: 20 - 68 = -48 dBm
Noise floor: -95 dBm
SNR: -48 - (-95) = 47 dB (excellent)
Select appropriate MCS (Modulation and Coding Scheme):
With 47 dB SNR, 256-QAM is theoretically possible
However, interference from 8 networks causes SNR fluctuation of +/-15 dB
Worst-case SNR: 47 - 15 = 32 dB
Select 64-QAM 3/4 (requires 25 dB SNR) for reliability with margin
Result: Configure the gateway for 802.11n with MCS 7 (64-QAM, 72.2 Mbps). This provides 7 dB margin above minimum SNR in worst-case interference, ensures sub-2ms burst transmission to minimize collision window, and far exceeds the 2.67 kbps 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.
Putting Numbers to It
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:
This selects 64-QAM with rate 3/4 coding (MCS 7), providing 7 dB fade margin. Using 256-QAM (requires 32 dB SNR) would leave zero margin, causing frequent link failures during interference spikes.
Transmission time for 10 KB burst at 72.2 Mbps: \[T = \frac{10 \times 8192 \text{ bits}}{72.2 \times 10^6 \text{ bps}} = 1.14 \text{ ms}\]
Sub-2ms transmission minimizes collision probability in the congested 2.4 GHz band.
Try It: Wi-Fi Link Budget Calculator
Adjust the parameters below to see how SNR and modulation scheme selection change for different deployment scenarios.
Show code
viewof txPower = Inputs.range([10,30], {value:20,step:1,label:"TX Power (dBm)"})viewof distance = Inputs.range([5,100], {value:25,step:5,label:"Distance to AP (m)"})viewof numWalls = Inputs.range([0,6], {value:2,step:1,label:"Drywall Partitions"})viewof numNetworks = Inputs.range([0,20], {value:8,step:1,label:"Interfering Networks"})
Identify channel congestion: Which channels have the most networks?
Measure signal strength: Which networks have the strongest signal (RSSI)?
Security assessment: Are there any open (unencrypted) networks?
Channel selection: If deploying a new network, which channel would you choose?
Range estimation: Based on RSSI, estimate approximate distance to access points
60.9 Knowledge Check
Quiz: Theme Park Wearables
60.10 Real-World Case Study: Wi-Fi 6 Deployment at Denver International Airport
Denver International Airport (DEN) deployed Wi-Fi 6 in 2022 to support both passenger connectivity and 4,200 IoT devices across its terminal complex – making it one of the largest Wi-Fi 6 IoT deployments in a public venue.
The Challenge: The existing Wi-Fi 5 (802.11ac) network served passengers well but could not handle the growing IoT fleet: 1,800 environmental sensors (HVAC, air quality), 900 asset tracking tags (wheelchairs, carts), 800 digital signage displays, and 700 security cameras. During peak hours (6-9 AM, 4-7 PM), the access points experienced 40% channel utilization, causing sensor data delays of 500ms-2s that triggered false HVAC alarms.
Why Wi-Fi 5 Failed for IoT:
Wi-Fi 5 (802.11ac) per-AP statistics during peak:
- Connected clients: 120 (80 passengers + 40 IoT devices)
- Channel access method: OFDM (one device transmits at a time)
- Average wait time per IoT transmission: 450 ms
- Sensor data delivery success rate: 87%
- False HVAC alarms per day: 23 (from delayed readings)
Wi-Fi 6 Solution – OFDMA and TWT:
The airport deployed 340 Wi-Fi 6 access points (Cisco Catalyst 9136) with two critical configurations:
OFDMA for sensor data: Each 20 MHz channel was subdivided into 9 Resource Units (RUs), allowing 9 IoT devices to transmit simultaneously. This reduced per-device wait time from 450ms to under 50ms.
TWT for asset tracking tags: The 900 tracking tags negotiated TWT schedules – waking every 30 seconds to transmit a 12-byte location update, then sleeping. Battery life increased from 6 months (Wi-Fi 5, constant beacon listening) to 28 months (Wi-Fi 6 TWT).
Quantitative Results:
Metric
Wi-Fi 5 (Before)
Wi-Fi 6 (After)
Improvement
Sensor data latency (peak)
450 ms average
38 ms average
12x lower
Delivery success rate
87%
99.6%
+12.6%
False HVAC alarms/day
23
1-2
92% reduction
Asset tag battery life
6 months
28 months
4.7x longer
Devices per AP (peak)
120
180
50% more capacity
Annual battery replacement cost
$162,000
$34,600
$127,400 saved
Key Insight: Wi-Fi 6’s value for IoT is not about higher speeds – the sensors only need kilobits per second. The transformative features are OFDMA (simultaneous multi-device access, eliminating queuing delays) and TWT (scheduled sleep, extending battery life). For any deployment mixing high-bandwidth clients (passengers, cameras) with low-bandwidth IoT devices (sensors, tags), Wi-Fi 6 eliminates the contention that made Wi-Fi 5 unreliable for IoT at scale.
60.11 Review: Match Wi-Fi Standards to Features
60.12 Review: Wi-Fi Deployment Decision Sequence
Common Pitfalls
1. Deploying IoT Devices on Wi-Fi Without Considering Power Consumption
Wi-Fi power consumption (100–200 mA active) is 10–50× higher than Zigbee or BLE. Battery-powered IoT devices on Wi-Fi may last only days. Fix: use Wi-Fi only for mains-powered IoT devices; use Zigbee, BLE, or LoRaWAN for battery-powered sensors.
2. Using Only Three Non-Overlapping 2.4 GHz Channels for Large Deployments
The 2.4 GHz band has only 3 non-overlapping channels (1, 6, 11). Dense AP deployments using these 3 channels cause co-channel interference. Fix: use the 5 GHz band with its 24 non-overlapping channels for dense deployments.
3. Not Configuring WPA3 or WPA2-Enterprise for IoT Networks
Deploying IoT devices on an open or WPA2-Personal network exposes the entire VLAN to any device that knows the pre-shared key. Fix: isolate IoT devices on a dedicated VLAN with WPA2-Enterprise or WPA3 authentication.
🏷️ Label the Diagram
Code Challenge
60.13 Summary
Wi-Fi provides high-bandwidth wireless connectivity for IoT, with recent standards specifically designed for IoT applications.
Key Takeaways
Wi-Fi for IoT: | Standard | Best For | Key Feature | |———-|———-|————-| | 802.11n | General IoT | Dual-band, MIMO | | 802.11ac | Video, high-bandwidth | 5 GHz, very fast | | 802.11ah (HaLow) | Long-range sensors | 1km range, low power | | 802.11ax (Wi-Fi 6) | Dense deployments | OFDMA, TWT |
IoT-Specific Features:
Wi-Fi HaLow: Sub-1 GHz for 1km range, 8,191 devices/AP, battery-friendly
Wi-Fi 6: OFDMA for efficient multi-device, TWT for power savings, 8ms latency
Selection Criteria:
Range: HaLow for 1km, traditional for 100m
Power: Wi-Fi 6 TWT or HaLow for battery devices
Bandwidth: Wi-Fi 5/6 for video, HaLow for sensors
Density: Wi-Fi 6 OFDMA for many devices
Best Practices:
Use Wi-Fi 6 for new IoT deployments (TWT, OFDMA)
Consider HaLow for outdoor/long-range sensors
Design for 5-10 dB SNR margin in congested environments
Use 5 GHz where possible to avoid 2.4 GHz congestion
Plan AP density based on device count and bandwidth needs