Wireless and Mobile Networks: Computer Networking: A Top Down Approach
Wireless and Mobile Networks: Computer Networking: A Top Down Approach
Wireless and
Mobile Networks
network
infrastructure
450 802.11n
1 802.15
no base station, no
connection to larger
no no base station, no
Internet. May have to
infrastructure connection to larger
relay to reach other
Internet (Bluetooth,
a given wireless node
ad hoc nets)
MANET, VANET
BER
10-4
• given physical layer: increase
power -> increase SNR- 10-5
>decrease BER
10-6
• given SNR: choose physical
layer that meets BER 10-7
requirement, giving highest 10 20 30 40
thruput SNR(dB)
A B C
C
space
Hidden terminal problem
B, A hear each other Signal attenuation:
B, C hear each other B, A hear each other
A, C can not hear each other B, C hear each other
means A, C unaware of their A, C can not hear each other
interference at B interfering at B
M
Di = S Zi,m.cm
m=1
M
received 1 1 1 1 1 1 1 1
d0 = 1
input -1 -1 -1 -1 -1 -1 -1 -1 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
Sender 2
BSS 2
Wireless and Mobile Networks 7-21
802.11: Channels, association
802.11b: 2.4GHz-2.485GHz spectrum divided into 11
channels at different frequencies
• AP admin chooses frequency for AP
• interference possible: channel can be same as that
chosen by neighboring AP!
host: must associate with an AP
• scans channels, listening for beacon frames containing
AP’s name (SSID) and MAC address
• selects AP to associate with
• may perform authentication [Chapter 8]
• will typically run DHCP to get IP address in AP’s
subnet
1
1 1 2 2 AP 2
AP 1 AP 2 AP 1
2 3
3 4
H1 H1
A B C
C
space
RTS(A) RTS(B)
reservation collision
RTS(A)
CTS(A) CTS(A)
DATA (A)
defer
time
ACK(A) ACK(A)
2 2 6 6 6 2 6 0 - 2312 4
frame address address address seq address
duration payload CRC
control 1 2 3 control 4
Internet
H1 R1 router
802.3 frame
802.11 frame
2 2 6 6 6 2 6 0 - 2312 4
frame address address address seq address
duration 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
frame type
(RTS, CTS, ACK, data)
BER
transmission rate 10-4
Legend
Mobile subscribers
G Public
SGSN Internet
Key insight: new cellular data
network operates in parallel GGSN
(except at edge) with existing
cellular voice network Serving GPRS Support Node (SGSN)
voice network unchanged in core
data network operates in parallel Gateway GPRS Support Node (GGSN)
G Public
SGSN Internet
GGSN
radio interface
(WCDMA, HSPA)
radio access network core network public
Universal Terrestrial Radio General Packet Radio Service Internet
Access Network (UTRAN) (GPRS) Core Network
G
Public
SGSN Internet
GGSN
HSS
4G-LTE MME
G G
Public
Internet
S-GW P-GW
radio access network Evolved Packet Core
Universal Terrestrial Radio
Access Network (UTRAN) (EPC)
Wireless and Mobile Networks 7-41
4G: differences from 3G
all IP core: IP packets tunneled (through core IP network)
from base station to gateway
no separation between voice and data – all traffic carried
over IP core to gateway
control
G G
Public
data Internet
S-GW P-GW
radio access network Evolved Packet Core
Universal Terrestrial Radio
Access Network (UTRAN) (EPC)
Wireless and Mobile Networks 7-42
Functional split of major LTE components
G G
UE S-GW
eNodeB P-GW
tunnel
link-layer radio net
Wireless and Mobile Networks 7-44
Quality of Service in LTE
wide area
network
permanent address:
address in home
network, can always be
used to reach mobile
e.g., 128.119.40.186
wide area
network
1
2
wide area
network
mobile contacts
foreign agent contacts home foreign agent on
agent home: “this mobile is entering visited
resident in my network” network
end result:
foreign agent knows about mobile
home agent knows location of mobile
3
1 2
4
Permanent address:
128.119.40.186
Care-of address:
79.129.13.2
dest: 128.119.40.186
packet sent by
correspondent
R bit: registration
required type = 16 length sequence #
RBHFMGV
registration lifetime reserved
bits mobility agent
advertisement
0 or more care-of- extension
addresses
Wireless and Mobile Networks 7-63
Mobile IP: registration example
visited network: 79.129.13/24
home agent foreign agent
HA: 128.119.40.7 COA: 79.129.13.2
mobile agent
MA: 128.119.40.186
ICMP agent adv.
COA:
79.129.13.2
….
registration req.
registration req.
COA: 79.129.13.2
COA: 79.129.13.2 HA: 128.119.40.7
HA: 128.119.40.7 MA: 128.119.40.186
MA: 128.119.40.186 Lifetime: 9999
Lifetime: 9999 identification:714
identification: 714 ….
encapsulation format
….
registration reply
HA: 128.119.40.7 registration reply
MA: 128.119.40.186 HA: 128.119.40.7
Lifetime: 4999 MA: 128.119.40.186
Identification: 714 Lifetime: 4999
encapsulation format Identification: 714
…. ….
time
recall: correspondent
wired public
telephone
network
MSC MSC
MSC
MSC
MSC
1 call routed
to home network
3 Public
VLR switched
Mobile
telephone
Switching
network
Center
4
home MSC sets up 2nd leg of call
to MSC in visited network
mobile
user MSC in visited network completes
visited call through base station to mobile
network
Wireless and Mobile Networks 7-67
GSM: handoff with common MSC
handoff goal: route call via
new base station (without
interruption)
VLR Mobile reasons for handoff:
Switching • stronger signal to/from new
Center
BSS (continuing
connectivity, less battery
old new
routing routing
drain)
old BSS • load balance: free up
new BSS
channel in current BSS
• GSM doesn't mandate why
to perform handoff (policy),
only how (mechanism)
handoff initiated by old BSS
preparation phase
execution phase
completion phase
old new
old routing routing new
eNodeB eNodeB