1
CS 168, Spring 2026 @ UC Berkeley
Slides credit: Sylvia Ratnasamy, Rob Shakir, Peyrin Kao, Raj Jain
Cellular
Lecture 25 (Wireless 2)
Brief History of Cellular Networks
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Why Study Cellular?
Goal: Wireless mobile connectivity, e.g. watching video in a moving car.
Active area of research!
Mobile Wireless Access
Cellular
Satellite
Free-Space Optics
Our focus today.
The whole area is ripe for disruption!
Brief History of Cellular Networks
Cellular networks are derived from the old telephone network.
Martin Cooper made the first�mobile call on this Motorola phone.
Sold for $4,000 in 1983�(over $12,000 today).
Apparently worth over $40,000 today as an antique.
Brief History of Cellular Networks
Roots in the telephone network led to design choices that differ from the Internet.
The Internet:
Cellular networks:
In recent years, cellular networks evolved to be more compatible with the Internet.
Cellular Network Standards
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Cellular Standards Bodies
3GPP (3rd Generation Partnership Project) consortium oversees standardization efforts.
Standards ratified by ITU (International Telecom Union), part of the United Nations.
Cellular Standards Evolution
New generation every 10 years: 1G, 2G, 3G, 4G, 5G.
The marketing view:�Every generation is better than the last!
Cellular Standards Evolution
Each generation aims for a ~10x improvement along a few different dimensions:
Light green = 4G quality along 8 different dimensions.
Dark green = 5G quality along those same dimensions.
Cellular Standards Evolution
In addition to performance evolution, there's also been an architectural evolution:
Cellular Standards Specifications
Cellular specifications are long and complicated.
In this class, we'll exercise some poetic license and invent our own terminology.
Challenge: Mobility
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Key Challenge: Mobility
What fundamental new requirements does mobility introduce?
Cellular Infrastructure
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Infrastructure Components (1/5): Radio Towers
Inside a radio tower:
Radio Tower
Range of tower
Antenna
Transceiver
Controller
Infrastructure Components (1/5): Radio Towers
Simplified model: Radio controller is like a CPU running a scheduler.
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
Time
Frequency
Purple user gets these frequencies...
...at these times.
Infrastructure Components: Radio Access Network
Each operator has a radio access network of many towers.
Cellular Radio Access Network (RAN)
Infrastructure Components: Cellular Core
The cellular core is the "backend" of the cellular network.
Cellular Radio Access Network (RAN)
R1
R2
P1
Mobility Manager
Database
Cellular Core
To Internet
Infrastructure Components (2/5 and 3/5): Radio Gateway, Packet Gateway
Data-plane components (routers):
Cellular Radio Access Network (RAN)
R1
R2
P1
Mobility Manager
Database
Cellular Core
To Internet
R1 and R2 are radio gateways.
P1 is the packet gateway.�(There could be multiple).
Wired links between towers and radio gateways.
Infrastructure Components (4/5 and 5/5): Mobility Manager, Database
Control-plane components:
Cellular Radio Access Network (RAN)
R1
R2
P1
Mobility Manager
Database
Cellular Core
To Internet
Manager can access database.
Manager can configure gateways and towers.
Infrastructure Components: Summary
Cellular Radio Access Network (RAN)
R1
R2
P1
Mobility Manager
Database
Cellular Core
To Internet
High-Level View
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
High-Level View (0/4) – Registration
Step 0: Registration.
R1
R2
Mobility Manager
Database
P1
High-Level View (1/4) – Discovery
Step 1: Discovery.
R1
R2
P1
Database
Mobility Manager
High-Level View (2/4) – Attachment
Step 2: Attachment.
R1
R2
P1
Database
Mobility Manager
High-Level View (2/4) – Attachment
Step 2: Attachment.
R1
R2
P1
Database
Mobility Manager
High-Level View (3/4) – Data Exchange
Step 3: Data exchange.
R1
R2
P1
Database
Mobility Manager
High-Level View (4/4) – Handover
Step 4: Handover.
R1
R2
P1
Database
Mobility Manager
High-Level View (4/4) – Handover
Step 4: Handover.
R1
Database
Mobility Manager
R2
P1
High-Level View (4/4) – Handover
After handover, user has a new path through the network.
Step 3 (Data Exchange) and Step 4 (Handover) repeat as the user moves around.
R1
Database
Mobility Manager
R2
P1
High-Level View – Roaming
One last feature is roaming: User connecting to a different network.
R1
R2
P1
DB
Manager
Home network
R1
R2
P1
DB
Manager
Visited network
Internet
Step 0: Registration
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Identifying User Devices: IMSI
When you register for a service, you receive an IMSI (International Mobile Subscriber Identity).
MCC�(3 digits)
MNC�(2–3 digits)
MSIN�(9–10 digits)
Mobile Country Code
Mobile Network Code
Mobile Subscriber Identification Number
IMSI (no more than 15 digits)
Identifying User Devices: IMSI, IMEI, IP, MSISDN
Different ways to identify a user device:
Step 0: Registration
R1
R2
Mobility Manager
Database
P1
Step 1: Discovery
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Step 1: Discovery
Towers transmit periodic beacons to announce their presence.
User measures signal strength to different towers,�and picks the tower (belonging to its operator)�with the best signal.
Discovery: Finding Control Channel
Bootstrapping problem: How does the user know which control channel to listen to?
Note: During handovers, the old tower tells the user the channel on the new tower.
Step 2: Attachment
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Step 2: Attachment
1. User sends attach request to tower, containing user's IMSI.
2. Tower forwards request to mobility manager.
3. Mobility manager processes the request, by looking up the IMSI in database.
R1
R2
Mobility Manager
Database
P1
1
2
3
Step 2: Attachment
4. If request is approved, mobility manager configures the data plane.
R1
R2
Database
P1
Mobility Manager
Step 2: Attachment
5. If request is approved, mobility manager records information in the database,� mapping the user's IMSI to their current:
R1
R2
Mobility Manager
Database
P1
Step 2: Attachment
1. User sends attach request to tower, containing user's IMSI.�2. Tower forwards request to mobility manager.�3. Mobility manager processes the request, by looking up the IMSI in database.�4. If request is approved, mobility manager configures the data plane.�5. If request is approved, mobility manager records information in the database.
Note: All communication so far is over dedicated control channels.
R1
R2
Database
P1
1
4
5
Mobility Manager
2
4
4
3
Step 3:�Data Exchange
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Step 3: Data Exchange
Device can now send and receive packets with its IP address!
How does the network know how to forward packets?
R1
R2
P1
Step 3: Data Exchange with Tunnels
Solution: Mobility manager configures a path from user to Internet using tunnels.
Result is different from traditional IP networks:
R2
P1
If I get a packet exiting the green tunnel, send it into the blue tunnel.
R1
If I get a packet exiting the pink tunnel, send it into the green tunnel.
Step 3: Data Exchange with Tunnels
How do we tell if a packet is traveling through a tunnel? Use encapsulation.
User's IP
[Payload]
User's IP
[Payload]
User's IP
[Payload]
R1
R2
P1
Blue Tunnel
User's IP
[Payload]
User sends plain IP packet. No need to think about tunnels.
User's IP
[Payload]
Blue Tunnel
Cellular network adds extra header.
Blue Tunnel
User's IP
[Payload]
Packet forwarded through cellular network. No need to think about user IP!
Extra header removed, and plain IP packet sent to rest of Internet.
Step 4: Handover
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Step 4: Handover
5. Connect to new tower using these slots.
2. Here's my signal strength to other towers.
Old Tower
Device
New Tower
1. Your signal strength is low. Measure signal to other towers.
3. User is coming your way...
4. OK. Here are radio slots for the user.
7. Handover complete!
Mobility Manager
6. I'm the new tower for the user.
Update user location in database.�Configure new path between user and Internet.
Step 4: Handover
Handover is complicated.
Handover must be seamless.
Decisions are made by the operator.
Roaming and Other Features
Lecture 25, CS 168, Spring 2026
Why is Cellular Different?
Cellular Networks
Roaming
Visitor and home networks must establish a roaming agreement.
R1
R2
P1
DB
Manager
Home network
R3
DB
Manager
Visited network
Internet
P2
R4
Roaming
Two common ways to configure path from user to Internet.
R1
R2
DB
Manager
Home network
R3
R4
DB
Manager
Visited network
Internet
P2
P1
Roaming
Two common ways to configure path from user to Internet.
R1
R2
P1
DB
Manager
Home network
R3
R4
DB
Manager
Visited network
Internet
P2
Additional Operations
Other operations in cellular networks:
These operations are possible because of centralized control.
Design Reflections
Stateful networks are complex and challenging!
Alternate designs:
Possible solution: QUIC is an alternate Layer 4 protocol that allows changing IPs.
Summary: Cellular
Cellular networks are based on a very different design philosophy:
Cellular networks have evolved from a standalone voice network, to being an integral part of the Internet.