Chapter 7 v8.2
Chapter 7 v8.2
Wireless and
Mobile Networks
Computer Networking: A
Top-Down Approach
8th edition
Jim Kurose, Keith Ross
Pearson, 2020
Wireless and Mobile Networks: context
more wireless (mobile) phone subscribers than fixed (wired) phone
subscribers (10-to-1 in 2019)!
more mobile-broadband-connected devices than fixed-broadband-
connected devices devices (5-1 in 2019)!
• 4G/5G cellular networks now embracing Internet protocol stack,
including SDN
two important (but different) challenges
• wireless: communication over wireless link
• mobility: handling the mobile user who changes point of attachment to
network
Introduction
Wireless Mobility
Wireless Links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Wireless and Mobile Networks: 7- 3
Elements of a wireless network
wired network
infrastructure
14 Gbps 802.11ax
10 Gbps 5G
Introduction
Wireless Mobility
Wireless links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Wireless and Mobile Networks: 7- 12
Wireless link characteristics: fading (attenuation)
Wireless radio signal attenuates (loses power) as it propagates (free
space “path loss”)
reflected path
appliances 10-3
BER
10-4
Introduction
Wireless
Wireless links and network
characteristics
CDMA: code division multiple
access
WiFi: 802.11 wireless LANs
Bluetooth
Class 22: 18
Code Division Multiple Access (CDMA)
unique “code” assigned to each user; i.e., code set
partitioning
• all users share same frequency, but each user has own “chipping”
sequence (i.e., code) to encode data
• allows multiple users to “coexist” and transmit simultaneously with
minimal interference (if codes are “orthogonal”)
encoding: inner product: (original data) X (chipping sequence)
decoding: summed inner-product: (encoded data) X (chipping
sequence)
M
Di = S Zi,m.cm
m=1
M
receiver received
-1 -1 -1
1
-1
1 1 1 1 1 1
-1
1
-1 -1 -1
d0 = 1
input d1 = -1
1 1 1 1 1 1 1 1 slot 1 slot 0
code channel channel
-1 -1 -1 -1 -1 -1 -1 -1
output output
slot 1 slot 0
Sender 2
Introduction
Wireless Mobility
Wireless links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Link Layer: 6-22
IEEE 802.11 Wireless LAN
IEEE 802.11 Year Max data rate Range Frequency
standard
802.11b 1999 11 Mbps 30 m 2.4 Ghz
802.11g 2003 54 Mbps 30m 2.4 Ghz
802.11n (WiFi 4) 2009 600 70m 2.4, 5 Ghz
802.11ac (WiFi 5) 2013 3.47Gpbs 70m 5 Ghz
802.11ax (WiFi 6) 2020 (exp.) 14 Gbps 70m 2.4, 5 Ghz
802.11af 2014 35 – 560 Mbps 1 Km unused TV bands
(54-790 MHz)
802.11ah 2017 347Mbps 1 Km 900 Mhz
all use CSMA/CA for multiple access, and have base-station and ad-hoc
network versions
Wireless and Mobile Networks: 7- 23
802.11 LAN architecture
Internet
wireless host communicates with
base station
• base station = access point (AP)
switch Basic Service Set (BSS) (aka “cell”)
or router in infrastructure mode contains:
• wireless hosts
BSS 1
• access point (AP): base station
• ad hoc mode: hosts only
BSS 2
Wireless and Mobile Networks: 7- 24
802.11: Channels
spectrum divided into channels at different frequencies
• AP admin chooses frequency for AP
• interference possible: channel can be same as that chosen by
neighboring AP!
Class 22: 25
802.11: Association
Class 22: 26
802.11: passive/active scanning
BBS 1 BBS 2 BBS 1 BBS 2
1
1 1 AP 2 2 2 AP 2
AP 1 AP 1
2 3
3 4
H1 H1
A B C
C
space
Wireless and Mobile Networks: 7- 28
IEEE 802.11 MAC Protocol: CSMA/CA
802.11 sender
sender receiver
1 if sense channel idle for DIFS then
transmit entire frame (no CD)
DIFS
2 if sense channel busy then
start random backoff time
timer counts down while channel idle data
transmit when timer expires
if no ACK, increase random backoff interval, repeat 2
SIFS
reservation collision
time
DATA (A)
defer
Internet
H1 R1
2 2 6 6 6 2 6 0 - 2312 4
frame duration address address address seq address payload CRC
control 1 2 3 control 4
2 2 4 1 1 1 1 1 1 1 1
protocol to from more power more
type subtype retry WEP rsvd
version AP AP frag mgt data
BER
10-4
Introduction
Wireless
Wireless links and network
characteristics
CDMA: code division multiple
access
WiFi: 802.11 wireless LANs
Bluetooth
Class 22: 38
Personal area networks: Bluetooth
less than 10 m diameter
replacement for cables (mouse, C
P
keyboard, headphones) P
M
radius of
coverage
ad hoc: no infrastructure P
C C
2.4-2.5 GHz ISM radio band, up to 3 P
Mbps
master controller / client devices: M master controller
• master polls clients, grants requests for C client device
client transmissions P parked device (inactive)
Class 23: 41
Source: https://www.macrumors.com/guide/exposure-notification/
Chapter 7 outline
Introduction
Wireless Mobility
Wireless links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Link Layer: 6-42
4G/5G cellular networks
the solution for wide-area mobile Internet
widespread deployment/use:
• more mobile-broadband-connected devices than fixed-
broadband-connected devices devices (5-1 in 2019)!
• 4G availability: 97% of time in Korea (90% in US)
transmission rates up to 100’s Mbps
technical standards: 3rd Generation Partnership Project (3GPP)
• wwww.3gpp.org
• 4G: Long-Term Evolution (LTE)standard
Mobile device:
Mobility
smartphone, tablet, laptop, Mobile device
(UE)
Management
Entity (MME)
Home Subscriber
Service (HSS)
Base station
IoT, ... with 4G LTE radio (eNode-B)
to
coordinates device Internet
authentication with other PDN gateway (P-GW)
elements
similar to WiFi AP but: …
Serving Gateway (S-GW)
Class 23: 47
Spectrum
CBRS
5G Intro: 1-48
OFDMA: time division (LTE)
Subcarrier frequencies
time (symbols)
Class 23: 49
OFDMA: time division (LTE)
Physical Resource Block (PRB ): blocks of 7x12=84 resource elements
unit of transmission scheduling
Subcarrier frequencies
Class 23: 50
OFDMA: Transmission Time Interval (TTI): 1 ms
PRB PRB
Transmission
scheduling
example: Subcarrier frequencies
• Send to 7 UEs in 7
blocks of REs in
one PRB
UE1
UE2
UE3
UE4
UE5
UE6
UE7
time (symbols)
Class 23: 51
Elements of 4G LTE architecture
Home Subscriber Service
stores info about mobile Mobility
Management Home Subscriber
devices for which the HSS’s Mobile device
(UE) Entity (MME) Service (HSS)
Base station
network is their “home (eNode-B)
network” to
Internet
works with MME in device PDN gateway (P-GW)
authentication
Serving Gateway (S-GW)
…
to
P-GW Internet
• gateway to mobile cellular PDN gateway (P-GW)
network
• Looks like nay other …
Serving Gateway (S-GW)
data plane
new protocols at link, physical
base station S-GW P-GW
layers
extensive use of tunneling to
IP tunnels facilitate mobility
data
plane
base station S-GW P-GW
data
plane
From Next Generation Mobile Networks (NGMS) alliance: 2020 white paper
4G mobile core:
boxes and protocols
Mobility
Management Home Subscriber
Entity (MME) Service (HSS) public Internet
and
inter-carrier IPX
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge DC
Core DC Edge DC
Mobile Core
Mobile Core
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge Network Global Core Edge Network
Operator A Operator B
Class 23: 66
Control plane: resource control
Real-time (< ms) Near real-time (> ms) Non real-time (>> ms) control plane
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge DC
Core DC Edge DC
Mobile Core
Mobile Core
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge Network Global Core Edge Network
Operator A Operator B Class 23: 67
User plane: resources, as used by users (application)
User plane
“local breakout” within one operator multi-operator end-end edge/core edge/core
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge DC
Core DC Edge DC
Mobile Core
Mobile Core
RAN RAN
Far Edge Far Edge
DC DC
UE UE
Edge Network Global Core Edge Network
Operator A Operator B Class 23: 68
On beyond 5G?
“6G” not obviously next: “NextG” and “Beyond 5G” heard more
often than “6G”
5G on an evolutionary path (like the Internet)
• agility: cloud technologies (SDN) mean new features can be introduced
rapidly, deployed continuously
• customization: change can be introduced bottom-up (e.g., by enterprises and
edge cloud partners with Private 5G)
• No need to wait for standardization
• No need to reach agreement (among all incumbent stakeholders)
Class 23: 69
Chapter 7 outline
Introduction
Wireless Mobility
Wireless links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Link Layer: 6-70
What is mobility?
spectrum of mobility, from the network perspective:
no mobility high mobility
visited network:
any network other than
P-GW your home network
SIM card: global visited mobile
identify info carrier network service agreement with
including home other networks: to provide
network roaming in
visited network access to visiting mobile
Wireless and Mobile Networks: 7- 76
Home network, visited network: ISP/WiFi
ISP/WiFi: no notion of global “home”
authentication credentials from ISP (e.g.,
access
server
username, password) stored
on device or with user
public ISPs may have national,
Internet
attach
international presence
different networks: different
credentials
• some exceptions (e.g.,
authentication
eduroam)
access
server
• architectures exist (mobile
IP) for 4G-like mobility, but
attach
not used
Wireless and Mobile Networks: 7- 77
Home network, visited network: generic
Home Network Visited Network
e.g.,: 128.119/16 e.g.,: 79.129/16
Mobility Visited
manager Home network
network
Home gateway gateway
gateway
public or private
Internet
Correspondent
Introduction
Wireless Mobility
Wireless links and network Mobility management: principles
characteristics Mobility management: practice
WiFi: 802.11 wireless LANs • 4G/5G networks
Cellular networks: 4G and 5G • Mobile IP
Mobility: impact on higher-layer
protocols
Link Layer: 6-84
Mobility in 4G networks: major mobility tasks
Mobility 1 base station association:
manager
Home covered earlier
Subscriber 2 1
Server
MME mobile provides IMSI –
Home 3 base station identifying itself, home network
network P-GW S-GW 4
2 control-plane configuration:
Internet MME, home HSS establish
P-GW Visited network control-plane state - mobile
is in visited network
Streaming
server 3 data-plane configuration:
MME configures forwarding tunnels for mobile
visited, home network establish tunnels from
4 mobile handover:
home P-GW to mobile
mobile device changes its point of attachment to visited network
Wireless and Mobile Networks: 7- 85
Configuring LTE control-plane elements
Mobility
manager
Home
Subscriber MME
2
Server
Home base station
network P-GW P-GW S-GW
Visited network
endpoint IP address of
tunnel Internet
P-GW Visited network
S-GW to home P-GW
tunnel: implementation of Streaming
server
indirect routing
tunneling via GTP (GPRS tunneling protocol): mobile’s datagram to
streaming server encapsulated using GTP inside UDP, inside datagram
S-GW 3
1 4 5 target BS informs MME that it is
2 6
P-GW new BS for mobile
5 7 MME instructs S-GW to
5 change tunnel endpoint to be
MME target BS (new) target BS