Lesson 22 intermediate

Wireless and Mobile Networks

How wireless LANs work (SSIDs, access points, bands, channels, CSMA/CA, roaming), the Wi-Fi generations from Wi-Fi 4 to Wi-Fi 7, Wi-Fi security, Bluetooth and Bluetooth Low Energy, Zigbee and Thread, mobile networks from 1G to 5G, and satellite internet, with Linux commands to inspect a wireless link.

Most devices now reach the network through the air. Radio is convenient but harder than cable: the medium is shared with everyone nearby, signals fade through walls, and anybody within range can listen. This lesson covers the wireless technologies you will meet, from the Wi-Fi in your office to the 5G in your pocket.

Wireless LAN basics

A WLAN (Wi-Fi, IEEE 802.11) usually runs in infrastructure mode: clients associate with an access point that bridges them onto the wired LAN.

TermMeaning
SSIDThe network name users see
BSSIDThe MAC address of one AP radio serving that SSID
BSS / ESSOne AP’s cell / several APs sharing one SSID
ChannelThe slice of a band one AP uses
RSSIReceived signal strength, in dBm (closer to 0 is stronger)
SNRSignal minus noise; decides how fast the link can go

Wi-Fi uses CSMA/CA (lesson 5): a station listens, waits a random backoff, transmits, and expects an ACK for every frame. Only one device can transmit on a channel at a time, so airtime is the real resource. A single old or distant client that talks slowly uses lots of airtime and slows everyone.

Bands and channels

BandStrengthWeaknessNon-overlapping channels
2.4 GHzLong range, passes wallsCrowded, slow, interference from Bluetooth and microwavesOnly 3 (1, 6, 11) at 20 MHz
5 GHzMany channels, fastShorter range; some channels need radar detection (DFS)About 25 at 20 MHz
6 GHz (Wi-Fi 6E and 7)Very clean, wide channels (up to 320 MHz)Shortest range; only newer devicesUp to 59 at 20 MHz

Wider channels (40, 80, 160, 320 MHz) are faster but fewer fit in a band, so dense offices often use 20 or 40 MHz to avoid neighbors interfering.

Wi-Fi generations

NameStandardYearBandsMax PHY rateHighlights
Wi-Fi 4802.11n20092.4 / 5 GHz600 Mbit/sMIMO, 40 MHz channels
Wi-Fi 5802.11ac20135 GHz~6.9 Gbit/s80/160 MHz, downlink MU-MIMO
Wi-Fi 6802.11ax20192.4 / 5 GHz9.6 Gbit/sOFDMA, uplink MU-MIMO, target wake time for battery life
Wi-Fi 6E802.11ax2020adds 6 GHz9.6 Gbit/sThe clean 6 GHz band
Wi-Fi 7802.11be20242.4 / 5 / 6 GHz~46 Gbit/s320 MHz, 4096-QAM, multi-link operation (several bands at once)
Wi-Fi 8802.11bnIn developmentFocus on reliability and lower latency rather than peak speed

Peak rates are theoretical totals. A real phone with two antennas on Wi-Fi 6 typically gets a few hundred Mbit/s to about 1 Gbit/s near the AP.

Inspecting a Wi-Fi link on Linux

$ iw dev wlp2s0 link
Connected to 9c:53:22:4a:10:7e (on wlp2s0)
	SSID: Office
	freq: 5500
	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
$ nmcli -f IN-USE,SSID,CHAN,SIGNAL,SECURITY device wifi list
IN-USE  SSID      CHAN  SIGNAL  SECURITY
*       Office    100   78      WPA3
        Office    36    52      WPA3
        Guest     6     64      WPA2

Rules of thumb for signal: better than -67 dBm is good for voice and video, -70 to -80 dBm works but slowly, below -80 dBm expect drops. On Windows, netsh wlan show interfaces shows the same.

Roaming

When you walk around, your device decides when to move to a better AP. Poor roaming (a device clinging to a far AP) is a top Wi-Fi complaint. Standards that help: 802.11k (APs share neighbor lists), 802.11v (the network suggests a better AP) and 802.11r (fast transition that skips most of the re-authentication). Good AP placement matters more than any setting: aim for overlapping cells at about -67 dBm.

Wi-Fi security

ModeStatus
Open, WEP, WPA (TKIP)Broken or unprotected; never use for private networks
WPA2-Personal (PSK)Acceptable with a long passphrase; captured handshakes allow offline guessing
WPA3-Personal (SAE)Recommended; resists offline guessing
WPA2/WPA3-Enterprise (802.1X)Per-user credentials or certificates via RADIUS; the business standard
OWE / Enhanced OpenEncrypts open guest networks without a password

Also: separate guest and IoT SSIDs on their own VLANs, and turn off WPS, whose PIN method can be brute-forced.

Bluetooth

Bluetooth is a short-range personal area network in the 2.4 GHz band, using frequency hopping to dodge interference.

  • Classic (BR/EDR): continuous streams such as audio to headphones and car kits. Devices form a piconet: one central device with up to seven active peripherals.
  • Bluetooth Low Energy (BLE): tiny bursts of data for sensors, wearables, trackers and beacons, running for months or years on a coin cell.
  • Recent versions added longer range and higher speed (5.x), LE Audio with the LC3 codec and Auracast broadcast audio (5.2+), and channel sounding for precise distance measurement (6.0).
$ bluetoothctl show | grep -E 'Name|Powered'
	Name: laptop
	Powered: yes
$ bluetoothctl devices Connected
Device 4C:87:5D:12:A0:3F WH-1000XM5

Zigbee, Thread and Matter

Zigbee is a low-power, low-rate (250 kbit/s) mesh protocol on IEEE 802.15.4, mostly at 2.4 GHz. Mains-powered devices (bulbs, plugs) relay messages for battery devices (sensors, switches), so coverage grows with each device. A coordinator (hub) connects the mesh to your network.

Thread uses the same 802.15.4 radio but speaks IPv6, so each device has a real address and border routers connect the mesh to the LAN. Matter is the application standard on top: one smart home device works with Apple, Google, Amazon and Samsung ecosystems, over Thread, Wi-Fi or Ethernet.

Mobile networks

GenerationEraKey change
1G1980sAnalog voice
2G (GSM, CDMA)1990sDigital voice, SMS, slow data (GPRS, EDGE)
3G (UMTS, HSPA)2000sMobile internet and video calls
4G (LTE)2010sAll-IP network, voice as VoLTE, tens to hundreds of Mbit/s
5G (NR)2019 onwardHigher speeds, lower latency, massive device counts, network slicing
6GResearch, targeted around 2030Higher bands, AI-native networks, sensing

A mobile network has two big parts:

  • The radio access network (RAN): base stations (eNodeB for 4G, gNodeB for 5G) covering cells. Phones are handed over between cells as they move.
  • The core (EPC for 4G, 5GC for 5G): authenticates subscribers (via the SIM), assigns IP addresses, tracks location for paging and connects to the internet. The 5G core is built as cloud-native microservices.

5G targets three kinds of service: eMBB (enhanced mobile broadband: fast phones and fixed wireless home internet), URLLC (ultra-reliable low latency: factory automation) and mMTC (massive machine-type communication: millions of sensors). It uses low bands for coverage, mid bands (around 3.5 GHz) for the bulk of capacity, and mmWave (24 GHz and up) for huge speed over very short range. “Non-standalone” 5G uses a 4G core; “standalone” runs on the new 5G core and unlocks slicing (lesson 23).

Satellite internet

Classic geostationary satellites orbit at about 35,786 km, so a round trip (ground → satellite → ground and back) takes over 500 ms. Low Earth orbit constellations such as Starlink and Amazon’s Kuiper orbit at around 500 to 600 km, giving round trips of roughly 25 to 60 ms and making satellite usable for video calls and gaming. Phones can now also send messages directly to satellites in areas with no cellular coverage.

Exercise

An office uses channels 1, 4, 6, 8 and 11 on its 2.4 GHz access points. What is the problem?

  1. 2.4 GHz only has two channels
  2. Channels 4 and 8 overlap their neighbors; only 1, 6 and 11 are non-overlapping at 20 MHz
  3. Channel 11 is reserved for Bluetooth
  4. Access points must all use the same channel
Show answer

Answer: B. Adjacent 2.4 GHz channels overlap and interfere. Using only 1, 6 and 11 avoids overlap; better still, move capable clients to 5 or 6 GHz.

Exercise

A video call keeps freezing on a laptop that shows signal: -82 dBm. What is the most likely cause?

  1. The laptop’s DNS server
  2. The VLAN configuration
  3. An expired TLS certificate
  4. The signal is too weak, so the link drops to low rates and loses frames
Show answer

Answer: D. Below about -80 dBm, Wi-Fi rates fall and retries rise. Move closer, add or reposition an access point, or check that the client roams to a closer AP.

Exercise

What makes Zigbee and Thread suitable for battery-powered sensors spread through a house?

  1. They are low-power mesh networks where mains-powered devices relay messages
  2. They use the 6 GHz band for very high speed
  3. They require a cable to every device
  4. They use 5G mmWave for long range
Show answer

Answer: A. 802.15.4 radios use very little power, and the mesh lets messages hop through powered devices, so small sensors can reach the hub from anywhere.

Key takeaways

  • Wi-Fi shares airtime with CSMA/CA; signal (-67 dBm or better) and clean channels decide speed.
  • 2.4 GHz has range but only channels 1, 6 and 11; 5 and 6 GHz have space and speed.
  • Wi-Fi 6 added OFDMA; Wi-Fi 7 adds 320 MHz channels and multi-link operation.
  • Use WPA3 or 802.1X; separate guest and IoT networks.
  • Bluetooth and BLE serve personal devices; Zigbee and Thread build low-power meshes; 5G adds slicing and low latency; LEO satellites cut satellite latency to tens of milliseconds.

FAQ

Should I put 2.4 and 5 GHz under one SSID?

Usually yes, with band steering enabled, so capable devices pick 5 or 6 GHz automatically. Some cheap IoT devices only speak 2.4 GHz and set up more easily with a separate SSID.

Is a mesh Wi-Fi system better than one powerful router?

In a large or multi-floor home, yes, especially if the mesh nodes are linked by Ethernet (“wired backhaul”). Wireless backhaul spends airtime twice and is slower.

Is 5G faster than Wi-Fi?

It depends on the band and the cell load. Mid-band 5G often gives a few hundred Mbit/s; a good Wi-Fi 6 or 7 network close to the AP is usually faster and has lower latency inside a building.

Does Bluetooth interfere with Wi-Fi?

They share the 2.4 GHz band, so heavy Bluetooth use can affect 2.4 GHz Wi-Fi a little. Frequency hopping and modern coexistence features keep it minor, and 5 or 6 GHz Wi-Fi is unaffected.

↑ ↓ navigate Enter open Esc close