10: Wireless and Mobile Networks
Course: Networking - Security Advanced · Updated: October 2026 Literature: K&R chapter 7 (Wireless and Mobile Networks): wireless links, 802.11 Wi-Fi, cellular networks (4G/5G), mobility management Related labs: Lab: Wireless networking (solution), Wireshark lab: 802.11 (solution)
Learning objectives
After studying this article you can:
- name the elements of a wireless network and explain infrastructure mode vs ad hoc mode
- explain the characteristics of wireless links: signal strength, interference, multipath, the hidden-terminal problem
- explain what CDMA is and how it shares a channel (concept, not the maths)
- describe the 802.11 (Wi-Fi) architecture, the frame format, association, and CSMA/CA with RTS/CTS
- name the Wi-Fi generations up to Wi-Fi 7, and Bluetooth and Zigbee with their uses
- describe the architecture of 4G LTE and 5G, and how mobility is handled
1. Elements of a wireless network
| Element | Description |
|---|---|
| Wireless hosts | Laptops, smartphones, IoT devices. Wireless does not always mean mobile. |
| Base station | Connects the wireless hosts to the wired network: a Wi-Fi access point (AP) or a cellular tower (eNodeB in 4G, gNB in 5G) |
| Wireless link | The radio connection between host and base station |
Infrastructure mode: all traffic goes through the base station, which also provides services such as address assignment and routing. Ad hoc mode: no base station. Hosts communicate directly and organise the network themselves (e.g. Wi-Fi Direct, mesh networks, vehicle-to-vehicle).
| Single hop | Multiple hops | |
|---|---|---|
| Infrastructure | Wi-Fi, 4G/5G | Mesh Wi-Fi (e.g. home mesh systems), satellite + relay |
| No infrastructure | Bluetooth, Wi-Fi Direct | MANET, VANET (vehicles), Zigbee/Thread mesh |
2. Characteristics of wireless links
Wireless links are much harder than wired links:
- Path loss: the signal gets weaker with distance and when it passes through walls
- Interference from other sources in the same band (2.4 GHz: other Wi-Fi networks, Bluetooth, microwave ovens)
- Multipath propagation: the signal reflects off objects and arrives several times, slightly out of step
- SNR (signal-to-noise ratio): a higher SNR means a lower bit error rate (BER). When SNR drops, the sender switches to a more robust modulation with a lower bit rate (rate adaptation). As a mobile node moves away from the AP, the AP can (1) increase the transmission power or (2) reduce the transmission rate.
2.1 The hidden-terminal problem
1 2 3 4 | |
Because of this, and because a sender can't hear a collision while it is sending (its own signal is much stronger), Wi-Fi can't use collision detection (CSMA/CD). It uses collision avoidance (CSMA/CA) instead.
2.2 CDMA: Code Division Multiple Access
- Each sender gets a unique code (a "chipping sequence").
- All senders transmit at the same time on the same frequency. Each data bit is multiplied by the code.
- The receiver, which knows the code, can extract the sender's signal from the mix of all the signals.
- Analogy: in a busy room, several couples talk at once, each in their own language. You only understand your partner.
- CDMA was used in 3G (UMTS/W-CDMA). 4G and 5G use OFDMA (Orthogonal Frequency Division Multiple Access), and so does Wi-Fi 6/7.
3. Wi-Fi: IEEE 802.11
3.1 The Wi-Fi generations
| Name | Standard | Year | Band(s) | Max. rate (theoretical) |
|---|---|---|---|---|
| — | 802.11b | 1999 | 2.4 GHz | 11 Mbit/s |
| — | 802.11a/g | 1999/2003 | 5 / 2.4 GHz | 54 Mbit/s |
| Wi-Fi 4 | 802.11n | 2009 | 2.4 + 5 GHz | 600 Mbit/s (MIMO) |
| Wi-Fi 5 | 802.11ac | 2013 | 5 GHz | ~3.5–6.9 Gbit/s |
| Wi-Fi 6 / 6E | 802.11ax | 2019 / 2021 | 2.4 + 5 (+ 6 GHz) | ~9.6 Gbit/s, OFDMA, better in crowded spaces |
| Wi-Fi 7 | 802.11be | 2024 | 2.4 + 5 + 6 GHz | ~46 Gbit/s, 320 MHz channels, Multi-Link Operation (MLO) |
| Wi-Fi 8 (in development) | 802.11bn | ~2028 | Focus on Ultra High Reliability rather than speed |
In the EU, part of the 6 GHz band (5945–6425 MHz) has been open for Wi-Fi since 2021.
3.2 The 802.11 architecture
- BSS (Basic Service Set): one AP plus its clients
- SSID: the name of the network
- ESS: several APs with the same SSID, connected by a wired network, so clients can roam between APs
- Channels: 2.4 GHz has only 3 non-overlapping channels (1, 6, 11). 5 and 6 GHz have many more.
3.3 Association
To join a network, a client must associate with an AP:
- Passive scanning: the AP sends beacon frames (with SSID and MAC address) about 10 times per second. The client listens.
- Active scanning: the client sends a probe request and APs answer with a probe response.
- Next comes authentication and association request/response, and after that usually WPA2/WPA3 authentication (see article 15) and DHCP.
3.4 CSMA/CA: Collision Avoidance
Sender: 1. If the channel is idle for a DIFS interval, send the whole frame (no collision detection). 2. If the channel is busy, choose a random backoff time and count down only while the channel is idle. Send when the counter reaches 0. 3. No ACK received: increase the backoff interval (exponentially) and try again.
Receiver: - If the frame is received correctly, send an ACK after a SIFS interval (SIFS < DIFS, so the ACK takes priority).
Wi-Fi therefore uses link-layer ACKs and retransmissions, because wireless losses are common.
RTS/CTS (optional): against hidden terminals. The sender first sends a short Request-To-Send, and the AP answers with a Clear-To-Send that all nodes hear. The others then wait for the duration announced in the CTS. Data collisions are avoided, and only short RTS frames can collide.
3.5 The 802.11 frame
1 2 | |
- Address 1: the receiving wireless node (AP or client)
- Address 2: the sending wireless node
- Address 3: the router interface the AP is connected to (because the AP is a layer-2 device, it converts between 802.11 frames and Ethernet frames)
- Address 4: only in ad hoc and mesh/WDS mode
- Frame control: type (management, control, data), and the To DS / From DS bits
- Duration: how long the medium is reserved (used by CSMA/CA and RTS/CTS)
- Sequence control: to detect duplicate frames after a retransmission
3.6 Advanced 802.11 features
- Rate adaptation: choose the modulation based on SNR
- Power management: a node tells the AP that it is going to "sleep". The AP buffers frames and announces in its beacon which nodes have data waiting. Wi-Fi 6 adds Target Wake Time for IoT.
- Mobility within one subnet: when a client moves to another AP in the same ESS, the switches learn the new location through self-learning (see article 08). Fast roaming: 802.11r/k/v.
3.7 Bluetooth and Zigbee (for awareness)
| Bluetooth (Classic & BLE) | Zigbee | Thread / Matter | |
|---|---|---|---|
| Use | Headphones, keyboards, smartwatches, contact tracing, beacons | Home automation and sensors (Philips Hue, IKEA) | Modern smart-home standard (Apple, Google, Amazon) |
| Range | ~10 m (up to 100 m+) | 10–100 m, mesh | Mesh, IPv6-based |
| Data rate | 1–3 Mbit/s (Classic), up to 2 Mbit/s (BLE) | 250 kbit/s | 250 kbit/s |
| Power | Low (BLE: very low) | Very low (batteries last years) | Very low |
| Topology | Piconet: 1 master + up to 7 active slaves (Classic) | Mesh | Mesh |
Matter (since 2022) is an application standard that runs over Thread, Wi-Fi and Ethernet, so that smart-home devices from different vendors work together.
4. Cellular networks: 4G and 5G
4.1 4G LTE architecture
1 2 3 4 5 | |
- Separate control plane and data plane (like SDN!)
- Authentication through the SIM card and the HSS (shared secret key)
- Tunnels (GTP) carry user data from the base station to the P-GW
- Radio: OFDMA in both directions, with time and frequency resources allocated by the base station
4.2 5G (2019 onwards)
| Aspect | 5G |
|---|---|
| Use cases | eMBB (enhanced mobile broadband, up to several Gbit/s), URLLC (ultra-reliable, low latency ~1 ms: industry, vehicles), mMTC (massive IoT) |
| Spectrum | FR1 (< 6 GHz, e.g. 700 MHz, 3.5 GHz) and FR2 (mmWave, 24–52 GHz: very fast, short range) |
| Core network (5GC) | Service-Based Architecture: the core is a set of cloud-native software functions (AMF, SMF, UPF, AUSF, UDM) that talk to each other over HTTP/2 APIs |
| Network slicing | Several virtual networks with different guarantees on one physical network |
| Open RAN | Open interfaces between radio parts from different vendors |
| Privacy | The permanent identity (SUPI) is encrypted before it is sent (SUCI), which protects against IMSI catchers |
In the Netherlands, the 3.5 GHz band was auctioned in 2024, and the 3G networks were switched off (KPN in 2022, Vodafone in 2020, T-Mobile/Odido in 2022). The 2G networks will be switched off around 2025–2027. Next is 5G-Advanced (3GPP Release 18–19), and then 6G (around 2030).
Satellite Internet (Starlink and others, in Low Earth Orbit) and direct-to-cell satellite links to normal smartphones are new types of wireless access.
4.3 Mobility management
When a device moves:
- Home network: where the subscriber "lives" (the HSS/UDM keeps the subscriber's information).
- Visited network: the network the device is in now (roaming).
- Indirect routing: traffic goes through the home network and is tunnelled to the visited network. Used for roaming.
- Direct routing: the visited network sends traffic directly to the Internet ("local breakout").
- Handover: moving an active connection from one base station to another. The new base station is prepared, and data is redirected through tunnels.
- Mobile IP (RFC 5944) exists, but is little used in practice. Mobility is handled by the cellular networks themselves.
5. Impact of wireless on higher layers
TCP sees losses on wireless links as congestion and slows down unnecessarily. Solutions are link-layer retransmissions (802.11 ACKs, 4G/5G HARQ) and modern congestion control (BBR, see article 01). QUIC also handles changes of network well (connection migration, e.g. moving from Wi-Fi to 5G).
6. Summary
- Wireless links suffer from path loss, interference, multipath and hidden terminals.
- Wi-Fi uses CSMA/CA with ACKs and optional RTS/CTS, frames with four addresses, and beacons/probes for association. The current generation is Wi-Fi 7.
- Bluetooth, Zigbee and Thread are short-range and low-power, for personal devices and IoT.
- 4G/5G separate the control plane from the data plane and authenticate with the SIM. 5G adds a cloud-native core, network slicing and better privacy.
References
Videos
- Jim Kurose: Wireless and mobile networks (chapter 7 video lectures): https://gaia.cs.umass.edu/kurose_ross/lectures.php
- Chris Greer / SharkFest: Wi-Fi analysis with Wireshark: https://sharkfest.wireshark.org/
- Professor Messer: wireless standards (CompTIA Network+): https://www.professormesser.com/
- Mobile World Congress / 3GPP: "5G explained": https://www.3gpp.org/technologies
- Branch Education: "How do cell phones work?" / "How does Wi-Fi work?" (excellent animations): https://www.youtube.com/@BranchEducation
Articles
- Wi-Fi Alliance, Wi-Fi 7, Wi-Fi 6E: https://www.wi-fi.org/
- 3GPP, About 5G: https://www.3gpp.org/technologies
- Ericsson Mobility Report (yearly, with data on mobile traffic): https://www.ericsson.com/en/reports-and-papers/mobility-report
- Larry Peterson & Oğuz Sunay, 5G Mobile Networks: A Systems Approach (free online book): https://5g.systemsapproach.org/
- Bluetooth SIG, Bluetooth technology overview: https://www.bluetooth.com/learn-about-bluetooth/
- Connectivity Standards Alliance (Zigbee, Matter): https://csa-iot.org/
- Rijksinspectie Digitale Infrastructuur (RDI, NL): spectrum and frequencies: https://www.rdi.nl/
Standards
- IEEE 802.11 (-ax, -be) · IEEE 802.15.1 (Bluetooth) · IEEE 802.15.4 (Zigbee, Thread)
- 3GPP TS 23.501: System architecture for the 5G System
Tools
- Wireshark in monitor mode (Linux, or with special adapters) to capture 802.11 management frames
- WiFi Analyzer apps / inSSIDer: view channels and signal strength
iw dev wlan0 scan/netsh wlan show networks mode=bssid(Windows)- Kismet: wireless network detector and sniffer: https://www.kismetwireless.net/
Cyber Security
Why it matters
With wireless, the attacker doesn't need physical access. They can sit in the car park, in the next apartment or on the train. Everything is broadcast through the air:
- Eavesdropping: without strong encryption, anyone in range can capture traffic.
- Rogue access points and "evil twins": a fake AP with the same SSID as a trusted network (e.g.
eduroam, or a hotel's or coffee shop's Wi-Fi). Clients connect automatically and the attacker becomes a man in the middle. Tools such as the Wi-Fi Pineapple make this easy. - Deauthentication attacks: 802.11 management frames were not authenticated for years. An attacker can disconnect any client, to force a reconnect (and capture the WPA handshake), or as a DoS.
- Probe requests leak information: devices broadcast the names of networks they've joined before, which reveals where someone has been. MAC randomisation helps partly.
- Jamming: radio interference as a DoS. It is illegal, but cheap.
- Bluetooth attacks: BlueBorne (2017), KNOB (2019), BLUFFS (2023), BLE tracking (AirTags used for stalking), and attacks on smart locks and car keys (relay attacks).
- IoT/Zigbee: weak or default keys, and devices that are rarely updated.
- Cellular: IMSI catchers ("Stingrays", fake base stations), downgrade attacks to 2G (which has no mutual authentication), SS7/Diameter weaknesses in the interconnection between operators (location tracking, intercepting SMS codes), and SIM swapping to steal SMS-based two-factor codes.
- 5G: a much larger software attack surface (the cloud-native core, APIs, network slicing). It is also part of national security discussions about vendors (the EU 5G Toolbox).
How to make it safe
- Use WPA3 (or WPA2-AES at least), with 802.1X/EAP (WPA3-Enterprise) in organisations. Never use WEP or open networks for business traffic. See article 15.
- Enable Protected Management Frames (802.11w, PMF): mandatory in WPA3. It protects against deauthentication attacks.
- Use a Wireless Intrusion Detection/Prevention System (WIDS/WIPS) to detect rogue APs and evil twins.
- Configure clients correctly: for eduroam and other 802.1X networks, the client must check the server certificate (CA and server name). Otherwise an evil twin can capture credentials. Use tools such as geteduroam.
- Treat public Wi-Fi as untrusted: use HTTPS everywhere and a VPN, and turn off auto-join for open networks.
- Separate networks: guest Wi-Fi and IoT on their own SSIDs/VLANs with client isolation (see article 09).
- Bluetooth: switch it off when you don't need it, keep devices patched, and avoid "Just Works" pairing for sensitive devices.
- Mobile: disable 2G on your phone where possible (Android 12+ and iOS Lockdown Mode support this). Don't use SMS for two-factor authentication: use an authenticator app or passkeys (see article 12). Ask your operator for a SIM-swap PIN.
- Keep firmware updated on APs, routers and IoT devices. Replace devices that no longer get updates (the EU Cyber Resilience Act will make security updates mandatory for new products from 2027).
Extra references
- NIST SP 800-153: Guidelines for Securing Wireless Local Area Networks
- NIST SP 800-187: Guide to LTE Security
- ENISA, EU 5G Toolbox and 5G threat landscape: https://www.enisa.europa.eu/
- geteduroam (configure eduroam securely): https://www.geteduroam.app/
- EFF, Gotta Catch 'Em All: Understanding How IMSI-Catchers Exploit Cell Networks: https://www.eff.org/wp/gotta-catch-em-all-understanding-how-imsi-catchers-exploit-cell-networks
- Mathy Vanhoef (KU Leuven), research on Wi-Fi attacks (KRACK, FragAttacks, Dragonblood): https://www.mathyvanhoef.com/