Computer Networking › Section G · Wireless and mobile networks › Topic G.4

Cellular networks: 4G and 5G

Wi-Fi covers a building; cellular networks cover continents and keep a phone connected at motorway speed. Modern 4G and 5G networks are all-IP, so much of their design will look familiar from the rest of this course.

Cells, reuse and generations

A cellular network divides an area into cells, each served by a base station. Nearby cells coordinate their frequencies to limit interference, while distant cells reuse the same spectrum, so splitting a busy area into more, smaller cells multiplies capacity. Each generation redesigned the system: analogue voice in the 1980s (1G); digital voice and text messages with GSM in the 1990s (2G); mobile data in the 2000s (3G); all-IP 4G LTE, launched commercially in 2009; and 5G, launched in 2019. 3GPP, a partnership of regional standards bodies formed in 1998, writes 4G and 5G as numbered releases of freely available technical specifications.

The 4G LTE architecture

LTE splits into a radio access network and an all-IP core, the Evolved Packet Core. The phone's SIM, often an eSIM, stores secret keys and its International Mobile Subscriber Identity (IMSI), which names the subscriber and home network. The base station, an eNodeB, manages its cell's radio resources. The Home Subscriber Server (HSS) is the subscriber database. The Mobility Management Entity (MME) authenticates devices with help from the HSS, sets up their data paths and tracks which cell they are in. User datagrams flow through two routers, the Serving Gateway (S-GW) and the PDN Gateway (P-GW); the P-GW gives the phone its IP address, often a NAT one, and faces the internet. The MME and HSS are control plane only.

Tunnels and the radio protocol stack

Between base station, S-GW and P-GW, a phone's datagrams travel in tunnels: each is wrapped in a GTP-U header carrying a tunnel endpoint identifier, then in UDP and an outer IP header. When the phone moves to another cell, only the base-station end of a tunnel changes; the P-GW and the outside world notice nothing. Over the radio, LTE splits the link layer into three sublayers. PDCP compresses IP headers and encrypts. RLC fragments datagrams to fit radio frames and retransmits lost pieces with ACKs and NAKs. MAC schedules transmissions and uses hybrid ARQ, which adds error-correcting redundancy that is adjusted to channel conditions.

Sharing the radio: OFDMA

LTE divides a carrier into many narrow subcarriers, 15 kHz apart, chosen to be orthogonal so they barely interfere even when tightly packed. This is orthogonal frequency-division multiplexing, and sharing it among users is OFDMA. Twelve subcarriers, 180 kHz, for a 0.5 ms slot form a resource block. Every 1 ms, the base station's scheduler decides which phones get which blocks and which modulation each uses, favouring phones whose channel is currently good while respecting priorities. More blocks, denser modulation and MIMO's parallel streams all raise a phone's rate. The standard leaves the scheduling algorithm to vendors and operators.

Worked example: an LTE peak-rate estimate

A 20 MHz LTE carrier has 100 resource blocks across its width. In each 1 ms, a block position carries 12 subcarriers × 14 symbols = 168 resource elements. Estimate the peak rate with 64-QAM, 6 bits per element, and 2 × 2 MIMO. 1. Elements per ms: 100 × 168 = 16,800. 2. Bits per ms, one stream: 16,800 × 6 = 100,800, so 100.8 Mbit/s. 3. Two MIMO streams: 201.6 Mbit/s. 4. Allow about 25% for reference signals, control channels and coding: roughly 150 Mbit/s. Check: 100 blocks × 180 kHz = 18 MHz, which fits inside 20 MHz, leaving guard bands at the edges.

Attaching, sleeping and roaming

A phone switching on scans the bands for synchronisation signals that base stations broadcast every few milliseconds, reads the cell's system information, and chooses a cell. The MME then runs mutual authentication, so that phone and network each prove they are genuine (covered in "Securing wireless LANs and cellular networks"), and sets up the tunnels. To save battery, an inactive phone first enters discontinuous reception, waking at agreed intervals, then a deeper idle state; to reach an idle phone, the network pages it in the cells where it was last seen. Operators interconnect through the internet or private IPX networks, so a roaming phone can attach to a visited network.

5G New Radio and its spectrum

5G's radio, New Radio (NR), first appeared in 3GPP Release 15 (2018). Its frequencies fall into two ranges: FR1, from 410 MHz to 7.125 GHz, and FR2, millimetre wave from 24.25 GHz to 71 GHz. Low bands give coverage, mid bands around 3.5 GHz balance speed and range, and millimetre wave offers huge bandwidth over short distances but is easily blocked by walls, foliage and rain. NR's subcarrier spacing scales as 15 × 2ⁿ kHz, so wider spacings give shorter slots and lower latency. Base stations, gNBs, use massive MIMO to beamform towards users. Early non-standalone 5G leant on 4G base stations and the 4G core; standalone 5G uses the new core.

Three kinds of service, sliced

5G targets three service types. Enhanced mobile broadband (eMBB) means faster downloads for phones and fixed wireless home access. Ultra-reliable low-latency communication (URLLC) aims at about 1 ms radio latency with very high reliability for factory control and vehicles. Massive machine-type communication (mMTC) connects huge numbers of cheap, low-power sensors. One physical network can serve all three through network slicing: several virtual networks, each with its own guarantees, share the same infrastructure. Multi-access edge computing places servers near base stations, so latency-critical applications avoid long trips to distant data centres.

The 5G core and what comes next

The 5G core is built from virtualised software network functions that talk through service interfaces, with control and user planes fully separated, an idea from "The SDN control plane". The MME's jobs are split: the Access and Mobility Management Function (AMF) handles registration and mobility, and the Session Management Function (SMF) manages sessions and assigns IP addresses. The User Plane Function (UPF) forwards packets and can sit at the edge. Subscriber data and authentication move to functions such as UDM and AUSF. As of 2026, Release 18 began 5G-Advanced, Release 19 is complete, Release 20 includes 6G studies, and the first 6G specifications are planned for Release 21, aimed at about 2030.

Worked example: area capacity

Area capacity, in bit/s per km², is roughly cell density × spectrum × spectral efficiency. Compare an illustrative 4G layout with a dense 5G millimetre-wave one. 1. 4G: 10 cells per km² × 40 MHz × 2 bit/s/Hz per cell = 800 Mbit/s per km². 2. 5G: 100 small cells per km² × 400 MHz × 4 bit/s/Hz per cell = 160 Gbit/s per km². 3. Ratio: 160,000 ÷ 800 = 200 times more. 4. Ten times the cells, ten times the spectrum and twice the efficiency multiply. Check units: cells/km² × Hz × bit/s/Hz gives bit/s per km². These figures are assumptions for illustration, not measurements.

Common mistakes to avoid

First, thinking the MME or AMF carries user data; they are control-plane functions, and data flows through the gateways or UPF. Second, assuming 5G always means millimetre wave; most 5G runs in FR1. Third, believing a phone's IP address changes at every handover; tunnels hide movement inside the operator's network. Fourth, quoting peak rates as typical rates; real users share resource blocks. Fifth, treating 5G as one technology; eMBB, URLLC and mMTC have different goals.

Key takeaways

Cells reuse spectrum, and smaller cells add capacity. 3GPP standardises LTE (2009) and 5G (2019). The LTE core has the MME and HSS in the control plane and the S-GW and P-GW on the data path, linked by GTP-U tunnels. Radio sublayers are PDCP, RLC and MAC. OFDMA assigns 180 kHz resource blocks every 1 ms. 5G NR uses FR1 (410 MHz to 7.125 GHz) and FR2 (24.25 to 71 GHz), scalable numerology and massive MIMO. It serves eMBB, URLLC and mMTC through slicing. The 5G core splits functions into AMF, SMF and UPF. 6G specifications are expected from Release 21.

Flashcards

Flashcard

Frequency reuse

Distant cells use the same spectrum again

Smaller cells give more capacity.

Test your understanding

Question 1 of 5

An LTE carrier gives a phone 50 resource blocks for every 1 ms, each carrying 168 resource elements, with 16-QAM (4 bits per element) and one stream. Ignoring overhead, what is the rate?

Question 2 of 5

In a 4G LTE network, which element lies on the path that the phone's user datagrams take to the internet?

Question 3 of 5

Why does LTE carry user datagrams through tunnels between the base station and the gateways?

Question 4 of 5

An operator deploys 5G in millimetre-wave spectrum around 28 GHz in a city centre. What must it plan for?

Question 5 of 5

A factory wants robots controlled over 5G with about 1 ms latency, on the same network that serves staff phones. What does 5G offer for this?

← Previous topicNext topic →