Lecture Notes Mobile Communication
Lecture Notes Mobile Communication
Lecture Notes Mobile Communication
Mobile Communication
1
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Reference Books
• J. Schiller, “Mobile Communications”, 2nd Edition, Addison-
Wesley
2
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Introduction
• Two aspects of mobility:
– user mobility: users communicate (wireless)
“anytime, anywhere, with anyone”
– device portability: devices can be connected
anytime anywhere to the network
anytime,
3
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
1
Mobile Communication
Introduction
• The demand for mobile communication creates the
need for integration of wireless networks into existing
fixed networks:
– local area networks: standardization of IEEE
802.11
– Internet: Mobile IP extension of IP
– wide area networks: e.g., internetworking of
GSM and ISDN
4
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Applications
• Vehicles
– transmission of news, road condition, weather,
music
– vehicle data (e.g., from busses, high-speed trains)
can be transmitted in advance for maintenance
• Emergencies
– early transmission of patient data to the hospital,
current status, first diagnosis
– replacement of a fixed infrastructure in case of
earthquakes
5
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Applications
• Traveling salesmen
– direct access to customer files stored in a central
location
– consistent databases for all agents
6
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
2
Mobile Communication
7
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Application Application
Transport Transport
Radio Medium
8
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
– System interconnection
– Wireless LANs
– Wireless WANs
9
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
3
Mobile Communication
10
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
11
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Wireless LANs
4
Mobile Communication
Wireless LANs
The range of a single radio may not cover the entire system
13
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Wireless LANs
Mobile Communication
Media Access
15
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
5
Mobile Communication
Polling Mechanism
• If one terminal can be heard by all others, this “central”
terminal (a.k.a. base station) can poll all other terminals
according to a certain scheme
Mobile Communication
17
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Aloha/Slotted Aloha
• Mechanism
– random, distributed (no central arbiter), time-multiplex
– Slotted Aloha additionally uses time-slots, sending must
always start at slot boundaries
collision
sender A
sender B
sender C
t
collision
sender A
sender B
sender C
t
18
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
6
Mobile Communication
19
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
20
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
collision
t
Aloha reserved Aloha reserved Aloha reserved Aloha
21
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
7
Mobile Communication
DAMA: PRMA
• Implicit reservation (PRMA - Packet Reservation
MA):
– a certain number of slots form a frame, frames are
repeated
– stations compete for empty slots according to the
slotted
l d aloha
l h principle
i i l
– once a station reserves a slot successfully, this slot
is automatically assigned to this station in all
following frames as long as the station has data to
send
– competition for this slots starts again as soon as
the slot was empty in the last frame
22
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
DAMA: PRMA
reservation
1 2 3 4 5 6 7 8 time-slot
ACDABA-F
frame1 A C D A B A F
ACDABA-F
frame2 A C A B A
AC-ABAF-
collision at
frame3 A B A F reservation
A---BAFD attempts
frame4 A B A F D
ACEEBAFD
frame5 A C E E B A F D
t
23
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
24
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
8
Mobile Communication
• Example: CSMA/CD
– Carrier Sense Multiple Access with Collision Detection
– send as soon as the medium is free, listen into the medium if a collision
occurs (original method in IEEE 802.3)
802 3)
• Problems in wireless networks
– signal strength decreases proportional to the square of the
distance
– the sender would apply CS and CD, but the collisions happen
at the receiver
– it might be the case that a sender cannot “hear” the collision,
i.e., CD does not work
– furthermore, CS might not work if, e.g., a terminal is “hidden”
25
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C
26
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C
27
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
9
Mobile Communication
Mobile Communication
MACA Examples
• MACA avoids the problem of hidden terminals
– A and C want to
send to B
– A sends RTS first
– C waits after receiving
CTS ffrom B
RTS
CTS CTS
A B C
29
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
MACA Examples
• MACA avoids the problem of exposed terminals
– B wants to send to A, C to another terminal
– now C does not have to wait for it cannot
receive CTS from A
RTS RTS
CTS
A B C
30
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
10
Mobile Communication
31
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Three Generations
32
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Uses FDM
• Handoff
– Soft handoff
– Hard handoff
33
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
11
Mobile Communication
• Frequency Reuse
(a) Frequencies are not reused in adjacent cells (b) To add more users, smaller cells can be used
34
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
35
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
D-AMPS
• Fully Digital
36
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
12
Mobile Communication
D-AMPS
(a) A D-AMPS channel with three users (b) A D-AMPS channel with six users
37
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
38
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Overview
formerly: Groupe Spéciale Mobile (founded 1982)
today many providers all over the world use GSM (more
than 200 countries in Asia, Africa, Europe, Australia,
America)
13
Mobile Communication
Services
• GSM offers
– several types of connections
• voice connections, data connections, SMS
– multi-service options (combination of basic services)
• Three service domains
– Bearer Services
• Transfer
T f ddata
t between
b t access points
i t
– Telematic Services
• Enable voice communication via mobile phones
• voice mailbox, electronic mail
• Short Message Service (SMS)
– Supplementary Services
• identification: forwarding of caller number
• automatic call-back
• locking of the mobile terminal
40
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Architecture
• several providers setup mobile networks following the GSM
standard within each country
• components
– MS (mobile station)
– BS (base station)
– MSC (mobile switching center)
– LR (location register)
• subsystems
– RSS (radio subsystem): covers all radio aspects
– NSS (network and switching subsystem): call forwarding, handover,
switching
– OSS (operation subsystem): management of the network
41
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Architecture
OMC, EIR,
AUC
HLR GMSC
NSS fixed network
with OSS
BSC
BSC
RSS
42
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
14
Mobile Communication
Radio Subsystem
• The Radio Subsystem (RSS) comprises the cellular mobile
network up to the switching centers
• Components
– Base Station Subsystem (BSS):
• B
Base T
Transceiver
i Station
St ti (BTS):
(BTS) radio
di components
t including
i l di
sender, receiver, antenna
Mobile Communication
Mobile Station
• A mobile station (MS) comprises several functional groups
– MT (Mobile Terminal):
• end-point of the radio interface
– TA (Terminal Adapter):
• terminal adaptation, hides radio specific characteristics
– TE (Terminal
(T i l Equipment):
E i t)
• peripheral device of the MS, offers services to a user
• does not contain GSM specific functions
– SIM (Subscriber Identity Module):
• personalization of the mobile terminal, stores user parameters
44
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Components
– Mobile Services Switching Center (MSC)
• controls all connections via a separated network to/from a mobile
terminal within the domain of the MSC
– Databases (high capacity, low delay)
• Home Location Register (HLR)
– central database containing user data
• Visitor Location Register (VLR)
– data about all user currently in the domain of the VLR
45
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
15
Mobile Communication
• Functions of a MSC
46
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
47
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
3 4
6 5
PSTN GMSC MSC
7 8
2 9
1
MS BSS
10
48
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
16
Mobile Communication
MS MS MS MS
MSC MSC
49
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Handover Procedure
MS BTSold BSCold MSC BSCnew BTSnew
measurement
measurement
report
result
HO decision
HO required
HO request
resource allocation
ch.
h activation
ti ti
HO complete
HO complete
clear command
clear command
clear complete
clear complete
50
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
51
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
17
Mobile Communication
Basic Principles
• Each user uses entire spectrum
• Collision occurs
– Multiple
M l i l signals
i l add
dd linearly
li l
52
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
How it works
• Each bit time is subdivided into m short intervals
called chips
• Each station is assigned a unique m-bit code called a
chip sequence
• To send a 1 bit
– Send the chip sequence
• To send a 0 bit
– Send negative of chip sequence
• All chip sequences are pair wise Orthogonal
– Normalized inner product of S and T is 0
53
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Example
54
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
18
Mobile Communication
Example
Mobile Communication
56
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Characteristics of WLAN
• Very flexible within the reception area
• ((almost)) no wiring
g difficulties
57
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
19
Mobile Communication
AP wired network
AP
ad-hoc network
58
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
802.11 LAN
802.x LAN
STA1
STA3
STA2
802.11 LAN
STA: Station, BSS: Basic Service Set, ESS: Extended Service Set
59
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Station Management
LLC
DLC
– coordination of all
MAC MAC Management management functions
PLCP
PHY
PHY Management
PMD
60
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
20
Mobile Communication
• Access methods
– DFWMAC-DCF CSMA/CA (mandatory)
• collision avoidance via randomized “back-off“ mechanism
• ACK packet for acknowledgements (not for broadcasts)
– DFWMAC-DCF w/ RTS/CTS (optional)
• Distributed Foundation Wireless MAC
• avoids hidden terminal problem
– DFWMAC- PCF (optional)
• access point polls terminals according to a list
61
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
MAC Layer II
• Priorities
– defined through different inter frame spaces
Mobile Communication
direct access if t
medium is free ≥ DIFS slot time
– station ready to send starts sensing the medium (Carrier Sense based on
CCA, Clear Channel Assessment)
– if the medium is free for the duration of an Inter-Frame Space (IFS), the
station can start sending
– if the medium is busy, the station has to wait for a free IFS, then the station
must additionally wait a random back-off time (collision avoidance, multiple
of slot-time)
– if another station occupies the medium during the back-off time of the
station, the back-off timer stops (fairness)
63
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
21
Mobile Communication
boe busy
station2
busy
station3
busy medium not idle (frame, ack etc.) boe elapsed backoff time
64
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
SIFS
ACK
receiver
DIFS
other data
stations
t
waiting time
contention
65
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
DFWMAC
• Sending unicast packets
– station can send RTS with reservation parameter after waiting for DIFS
– acknowledgement via CTS after SIFS by receiver (if ready to receive)
– sender can now send data at once, acknowledgement via ACK
– other stations store medium reservations distributed via RTS and CTS
DIFS
RTS data
sender
SIFS SIFS SIFS
CTS ACK
receiver
22
Mobile Communication
Fragmentation
DIFS
NAV (RTS)
NAV (CTS)
DIFS
NAV (frag1)
other data
stations NAV (ACK1)
t
contention
67
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
DFWMAC-PCF
t0 t1
SuperFrame
PIFS SIFS
D3 D4 CFend
point
coordinator SIFS
U4
wireless
stations
stations‘ NAV
NAV contention free period contention t
period
68
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Frame Format
69
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
23
Mobile Communication
beacon interval
B B B B
access
point
70
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
B1 B1
station1
B2 B2
station2
71
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Power Management
• Idea: switch the transceiver off if not needed
• States of a station: sleep and awake
• Timing Synchronization Function (TSF)
– stations wake up at the same time
• Infrastructure
– Traffic
ff Indication Mapp (TIM)
( )
• list of unicast receivers transmitted by AP
– Delivery Traffic Indication Map (DTIM)
• list of broadcast/multicast receivers transmitted by AP
• Ad-hoc
– Ad-hoc Traffic Indication Map (ATIM)
• announcement of receivers by stations buffering frames
• more complicated - no central AP
• collision of ATIMs possible (scalability?)
72
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
24
Mobile Communication
D B T T d D B
access
point
busy busy busy busy
medium
p d
station
t
T TIM D DTIM awake
data transmission
B broadcast/multicast p PS poll d to/from the station
73
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
B1 A D B1
station1
B2 B2 a d
station2
74
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Roaming
• No or bad connection? Then perform:
• Scanning
– scan the environment
• Re-association Request
– station sends a request to one or several AP(s)
• Re-association
R i i Response
R
– success: AP has answered, station can now participate
– failure: continue scanning
• AP accepts Re-association Request
– signal the new station to the distribution system
– the distribution system updates its data base (i.e., location information)
– typically, the distribution system now informs the old AP so it can
release resources
75
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
25
Mobile Communication
Mobility Support in IP
76
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
77
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Target Interface
2.0.0.0/24 a 3.0.0.2 3.0.0.3 3.0.0.4
3.0.0.0/24 b
4.0.0.0/24 c b
a
4.0.0.5 4.0.0.6
78
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
26
Mobile Communication
Target Interface
2.0.0.0/24 a 3.0.0.2 3.0.0.3 3.0.0.4
3.0.0.0/24 b
4.0.0.0/24 c b
a X
Dest = 3.0.0.4 Router
c
Mobile
Host
4.0.0.5 4.0.0.6 3.0.0.4
79
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
80
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
81
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
27
Mobile Communication
Mobile IP
Mobile Communication
Mobile IP Components
HA
MN
router
end-system router
83
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
28
Mobile Communication
Data Flow: CN to MH
HA
2
MN
FA foreign
network
85
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Data Flow: MH to CN
HA
1
FA foreign
network
Mobile Communication
Route Optimization
• “Triangle routing” in basic Mobile IP is inefficient
– the CN sends all packets via HA to MN
– higher latency and network load
87
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
29
Mobile Communication
FA
ACK
MH
88
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
ACK
MH
89
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Changing FA
CN HA FAold FAnew MN
Data Data
MN changes
location
Update Registration
ACK
Data
Data Data
Warning
Request
Update
ACK
Data
Data
t
90
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
30
Mobile Communication
91
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
MIPv6 Vs MIPv4
• FAs are no longer necessary in IPv6
• In MIPv6 the “’Route optimization’’ is always available,
whereas it is optional in IPv4
• In MIPv6, a packet sent by a MH has its source address set to
its CoA and an Home Address option indicating its Home
Address This solves the ingress filtering problem...
Address. problem
• Encapsulation is avoided between CN-MN with the IPv6
Routing Header
• MIPv4 can not be used with firewalls
92
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
93
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
31
Mobile Communication
Introduction
• Micro-mobility support:
– Efficient local handover inside a foreign domain
without involving a home agent
– Reduces control traffic on backbone
– Especially
E i ll needed
d d in
i case off route optimization
i i i
• Example approaches:
– Cellular IP
– HAWAII
– Hierarchical Mobile IP (HMIP)
94
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Cellular IP
• Operation:
– “CIP Nodes” maintain Internet
routing entries (soft state) for Mobile IP
MNs
CIP Gateway
– Routing entries updated data/control
b d on packets
based k t sentt by
b MN packets
from MN 1
• CIP Gateway:
– Mobile IP tunnel endpoint
BS BS BS
packets from
– Initial registration processing MN2 to MN 1
MN1 MN2
95
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Cellular IP
• Advantages:
– Simple and elegant architecture
– Initial registration involves authentication of MNs
and is processed centrally by CIP Gateway
• Potential problems:
– MNs can directly influence routing entries
– Multiple-path forwarding may cause inefficient
use of available bandwidth
96
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
32
Mobile Communication
HAWAII
• Operation:
Internet
– MN obtains co-located HA
COA 1
and registers with HA 2 Backbone
Router
– Handover: MN keeps
COA, Crossover
Router
new BS answers Reg.
2
Request 3 4 Mobile IP
and updates routers 4
BS BS BS DHCP
– MN views BS as foreign Mobile IP
Server
agent 3
DHCP
MN MN 1
97
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
HAWAII
• Advantages:
– Mostly transparent to MNs
(MN sends/receives standard Mobile IP messages)
– Only infrastructure components can influence
routing entries
• Potential problems:
– Mixture of co-located COA and FA concepts may
not be
supported by some MN implementations
98
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
99
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
33
Mobile Communication
HMIPv6
• Advantages:
– Local COAs can be hidden,
which provides some location privacy
– Handover requires minimum number of overall changes to
routingg tables
– Integration with firewalls / private address support possible
• Potential problems:
– Not transparent to MNs
– MNs can directly influence routing entries via binding
updates (authentication necessary)
100
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
101
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
102
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
34
Mobile Communication
Mobile Communication
104
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
105
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
35
Mobile Communication
106
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Routing table
Destination Next Metric Seq. Nr Install Time Stable Data
107
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
108
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
36
Mobile Communication
109
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C
Dest. Next Metric Seq Dest. Next Metric Seq Dest. Next Metric Seq.
A A 0 A-550 A A 1 A-550 A B 2 A-550
B B 1 B-100 B B 0 B-100 B B 1 B-100
C B 2 C-588 C C 1 C-588 C C 0 C-588
110
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C
Dest. Next Metric Seq Dest. Next Metric Seq Dest. Next Metric Seq.
A A 0 A-550 A A 1 A-550 A B 2 A-550
B B 1 B-102 B B 0 B-102 B B 1 B-102
C B 2 C-588 C C 1 C-588 C C 0 C-588
111
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
37
Mobile Communication
112
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
(D, 0, D-000)
A B C D
Dest. Next Metric Seq. Dest. Next Metric Seq. Dest. Next Metric Seq.
A A 0 A-550 A A 1 A-550 A B 2 A-550
B B 1 B-104 B B 0 B-104 B B 1 B-104
C B 2 C-590 C C 1 C-590 C C 0 C-590
D D 1 D-000
113
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C D
Dest. Next Metric Seq. Dest. Next Metric Seq. Dest. Next Metric Seq.
A A 0 A-550 A A 1 A-550 A B 2 A-550
B B 1 B-104 B B 0 B-104 B B 1 B-104
C B 2 C-590 C C 1 C-592 C C 0 C-592
D C 2 D-000 D D 1 D-000
114
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
38
Mobile Communication
1
A B C D
Dest. Next Metric Seq. Dest. Next Metric Seq. Dest. Next Metric Seq.
… … … … … … … … …
D B 3 D-100 D C 2 D-100 D D ∞ D-101
115
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A B C D
Dest. Next Metric Seq. Dest.c
Dest Next Metric Seq. Dest. Next Metric Seq.
… … … ... … … … ... … … …
D B 4 D-100
3 D C 2
3 D-100 D B
D 1 D-100
D B ∞ D-101 D C ∞ D-101 D D ∞ D-101
116
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Advantages
• Simple (almost like Distance Vector)
• Loop free through destination sequence numbers
• Disadvantages
• Bi-directional links required
• Overhead: most routing information never used
• Scalability is a major problem
117
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
39
Mobile Communication
118
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Route Cache
– Store of source routes
– Expiration period for each entry
119
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
120
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
40
Mobile Communication
• Piggybacking
– When sending route reply, cannot just reverse
route record
• Unless there is an entry in cache
– Must piggyback route reply on a route request
targeted at initiator
121
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
B A-B-D-G
A-B-D-G G
A-B-D-G
A A-B
D A-B-D
A
A-C-E
A E H
A-C-E
A-C-E
C A-C
F
122
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
41
Mobile Communication
B
RERR
RERR G
D
G
C
F
124
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Mobile Communication
42
Mobile Communication
127
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Mobile Communication
129
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
43
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
RREQ
130
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
Reverse
Path Setup
131
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
132
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
44
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
133
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
RREP
134
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
Forward
Path Setup
135
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
45
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
136
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
137
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
A L
Y
F
J
B K
D
G P
S C
E
H I T
Z
138
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
46
Mobile Communication
139
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
H I H I
Active
Destination Next Hop Distance Other fields
Neighbor
A A 1 F, G
B B 1 F, G
C B 2 F
E G 2
F F 1 A, B
G G 1 A, B
H F 2 A, B
I G 2 A, B
140
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
141
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
47
Mobile Communication
Wireless Issues
• The following characteristics have major impact
on the performance of TCP:
» High Bit Error Rate (BER)
» Handoff
» Frequent Disconnection
» Large and Varying delays
» Limited Spectrum
» Limited Energy
» Path Asymmetry
142
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Problem of Pseudo-congestion
• TCP interprets any packet loss as a sign of network
congestion.
– TCP sender reduces congestion window.
• On wireless links, packet loss can also occur due to
reasons other than Congestion
Congestion.
• TCP will cut down its rate (is this right?)
• Fundamental question: How to distinguish loss
due to congestion from non-congestion loss?
• Hard to do: TCP is fundamentally end-to-end.
– We just know that packet is lost, not why it is lost.
143
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
High BER
Following example assumes Random Error
10 9 8 7
5 6
144
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
48
Mobile Communication
High BER
11 10 9 8
5 6
145
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
High BER
12 11 10 9
6 6
DUPACK
146
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
High BER
13 12 11 10
6 6 6
DUPACKs
147
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
49
Mobile Communication
High BER
14 13 12 11
6 6 6
3 DUPACKs trigger
fast retransmit at sender
148
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
149
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
150
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
50
Mobile Communication
Limited Spectrum
• TCP uses window based congestion control.
• If there is free space in the congestion window, TCP
will transmit.
– TCP’s output can be bursty
– This coupled with the low bandwidths can result in queue
build-ups in the network adversely affecting RTT
calculations and causing packet drops
151
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Limited Energy
• Mobile devices are battery powered
– Each transmission consumes certain amount of
battery power
– Can not afford too many retransmissions
– TCP is
i not designed
d i d as energy efficient
ffi i protocoll
152
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Path Asymmetry
• TCP relies on ACK arrivals for congestion
window progression
• If path asymmetry exists, a TCP connection’s
performance will be influenced by the reverse
path
h characteristics
h i i too
– Indirect effects of path asymmetry (ACK
bunching)
153
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
51
Mobile Communication
Classification of TCP
performance
f schemes
h in
i
wireless networks
154
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Classification of Solutions
TCP Enhancements
for Last Hop
Wireless Networks
C
Connection
i Wireless
Wi l loss
l
Management related
related approaches approaches
155
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Split Connection
• Segments TCP connection into two at the Base Station
(BS)
» FH-MH=FH-BS + BS-MH
» If more than one wireless link exists, then more than two TCP
connection is needed
156
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
52
Mobile Communication
Split Connection
• It takes care of the fact that MH has limited resources
(e.g. power supply, memory)
– Moves much of the networking task to the BS
– Allows MH to use simple transport protocol over the wireless link
TCP/
TCP connection simplified
p transport
p p protocol
FH BS MH
wireless
157
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Split Connection
• Packets are received, Buffered, and ACKed by BS
158
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Split Connection
• Advantages:
– BS-MH protocol can be optimized keeping
wireless characteristic in mind
159
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
53
Mobile Communication
Split Connection
• Cons:
– End-to-end Autonomy is violated
– Permanent data loss if BS crashes
11
10 9 8
10 7
160
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Split Connection
• Cons:
– Handoff latency is high due to state transfer
BS1
Internet
Wireless (1 hop)
BS2
161
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Split Connection
• Cons:
54
Mobile Communication
End-to-End Connection
• Do not depend on the intermediate nodes
163
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
End-to-End Connection
• Sender: statistics based on RTT, window size, loss
pattern
• Receiver: Heuristic
164
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
End-to-End Connection
• Advantages:
– Highly Scalable
165
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
55
Mobile Communication
End-to-End Connection
• Disadvantages:
– Deployment is difficult
166
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Localization
• Employs link layer retransmission technique
• Local
L l recovery off wireless
i l lossl
• Propagation delay is shorter, so recovery is quick
Mobile Communication
Localization
• Retransmission may cause congestion at BS
– Is it desirable?
168
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
56
Mobile Communication
Localization
• BS stores unacknowledged packets
– If packet found:
» Retransmit, Discard DUPACKs
– If not found:
» forward DUPACK, Congestion case
169
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Localization
• May interfere with TCP retransmission
170
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Localization
• When Localization is useful
171
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
57
Mobile Communication
Localization
• Advantages:
– Deployment is easy
172
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Localization
• Disadvantages:
– About mobility?
173
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Explicit Notification
• Intermediate nodes knows better the cause of packet loss
58
Mobile Communication
Explicit Notification
• Many design options:
» How?
175
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Explicit Notification
• Advantages:
– Highly Scalable
176
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Explicit Notification
• Disadvantages
177
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
59
Mobile Communication
Comparison
Categories/ Split Connection End-to-End Localization of Wireless Explicit
Wireless Issues Connection Loss Notification
Mobility Supported but at the cost Not supported Not supported Not supported
of high handoff latency
178
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Enhancements
E h t
179
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Classification of Solutions
TCP Enhancements
for Wireless
Networks
C
Connection
i Wireless
Wi l loss
l
Management related
related approaches approaches
180
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
60
Mobile Communication
TCP Snoop
S
181
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
• Employs Snoop agent at BS
• Snoop agent:
– Buffers TCP packets at BS
– Monitors every ACK
– If packet loss, retransmits lost packet (if available in cache)
– Drop DUPACKs to avoid fast retransmission at FH
182
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss
Packet 4 is lost 5
7 6 5 4
2 3
183
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
61
Mobile Communication
TCP Snoop
Case of wireless loss 6
Packet 4 is lost 5
8 7 6 5
2 3
184
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss 7
Packet 4 is lost 6
9 8 7 6
3 3
DUPACK
185
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss 7
Packet 4 is lost 6
4 8
10 9 8 7
3 3 3
DUPACK
186
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
62
Mobile Communication
TCP Snoop
Case of wireless loss 7
Packet 4 is lost 6
5 9
4 8
11 10 4 8
3 3
DUPACK
187
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss 7
Packet 4 is lost 6 10
5 9
4 8
12 11 9 4
3 3
DUPACK
3 3
188
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss 7 11
Packet 4 is lost 6 10
5 9
4 8
13 12 10 9
3 8
3 3 3
189
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
63
Mobile Communication
TCP Snoop
Case of wireless loss 7 11
Packet 4 is lost 6 10
5 9
4 8 12
14 13 11 10
8 9
3 3 3 3
190
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of wireless loss 12
Packet 4 is lost 11
10
9 13
15 14 12 11
8 9 10
3 3 3 3
191
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of Congestion loss 10
Packet 4-7 is lost 9
12 11 9 8
192
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
64
Mobile Communication
TCP Snoop
Case of Congestion loss 11
Packet 4-7 is lost 10
13 12 10 9
3 3
193
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of Congestion loss 11
Packet 4-7 is lost 10
8 12
14 13 11 10
3 3 3
194
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
Case of Congestion loss 11
Packet 4-7 is lost 10
9 13
8 12
15 14 12 11
3 3 3
195
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
65
Mobile Communication
TCP Snoop
10 MB file transfer over 2 Mbps wireless link
1.8
1.6
Receiver Bandwidt h (Mb/sec)
1.4
1.2
1
Regular TCP
0.8
Snoop
0.6
0.4
0.2
0
64Kb 128Kb 256Kb 512Kb 1Mb 2Mb 4Mb 8Mb No Error
1 error every x bit
196
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
• Advantages:
– Local retransmission
» Faster recovery
197
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
TCP Snoop
• Disadvantages:
198
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
66
Mobile Communication
DDA
199
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Implements
I l local
l l retransmission
i i at BS
» Uses link level ACK to trigger retransmission
Mobile Communication
201
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
67
Mobile Communication
7 6 5 4
2 3
202
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
8 7 6 5
2 3
203
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
9 8 7 6
3 3
DUPACK
204
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
68
Mobile Communication
4 8
10 9 8 7
3 3 3
DUPACK
205
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9 Delay DUPACK
for d sec
4 8
3
11 10 4 8
3 3
DUPACK
206
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9 Delay DUPACK
for d sec
4 8
3 3
12 11 9 4
3 3
207
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
69
Mobile Communication
5 9 Delayed
DUPACKs are
4 8
discarded
13 12 10 9
3 8
208
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
2000000
Throughput(bits/s)
TCP
1500000
Snoop
DDA, d=40ms
1000000
500000
0
0.006 0.003 0.001 0.0007
Byte Error Rate
209
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
210
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
70
Mobile Communication
211
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
SACK--Aware
SACK A Snoop
S
212
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
213
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
71
Mobile Communication
• If SACK block
– Retransmit all lost packet indicated in the SACK block
• Advantage:
» Multiple losses are recovered within one RTT
214
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
7 6 5 4
2 3
215
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
8 7 6 5
2 3
216
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
72
Mobile Communication
9 8 7 6
217
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
4 8
10 9 8 7
218
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9
4 8
11 10 9 8
219
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
73
Mobile Communication
5 9
4 8
12 11 10 9
220
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9
4 8
13 12 11 10
1-38-9
221
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9
4 8 12
14 13 12 11
1-38-9
222
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
74
Mobile Communication
5 9 13
4 8 12
15 14 4 12
223
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9 13
4 8 12
16 15 5 4
224
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
5 9 13
4 8 12
17 16 6 5
225
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
75
Mobile Communication
5 9 13
4 8 12 16
18 17 7 6
4 5
226
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
6 10 14
5 9 13 17
19 18 13 7
4 5 6
227
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
7 11 15
6 10 14 18
20 19 14 13
4 5 6 12
228
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
76
Mobile Communication
21 20 15 14
5 6 12 13
229
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
14 18
13 17
22 21 16 15
6 12 13 14
230
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
• Wireless channel modeled as two state marcov model with good state 97
msec and bad state 3 msec yielding steady state packet error rate of 5%
3
2.5
Sequence Number (x1.0E+4)
2
SACK
1.5 SACK+Snoop
SACK aw are Snoop
0.5
0
0 50 100 150
Simulation Time
231
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
77
Mobile Communication
Summary
232
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Challenges
• Try to minimize effect of high BER
– Localization may be preferred
233
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
Mobile Communication
Challenges
• Reduce number of retransmission
– Required for battery powered devices
– Hard to do
– Give little attention
234
Bhaskar Sardar, Information Technology Department, Jadavpur University, India
78