Professional Documents
Culture Documents
Chapater 6
Chapater 6
Course
TELECOMMUNICATION NETWORK
Chapter
Wireless Networks
6
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS
Ad-hoc Networks
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 3
Mobile Ad-hoc Networks (MANETs)
Transmission
range
B
B
D F A D F
A
C E C E
(a) (b)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 4
Network Layer Notation vs. Link Layer Transmissions (1)
B
packet packet
A D F
C
E
A D F
C E
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 5
Network Layer Notation vs. Link Layer Transmissions (2)
B
Network layer (t) packet packet Network layer
A D F
Link layer
C E
B
Link layer (t1) A D F
C E
B
A D F
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 6
Multihop Throughput
Throughput = 1
Throughput = 1/2
Throughput = 1/3
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 7
Ad-hoc Networks
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 8
Ad-hoc Networks
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 9
Routing Protocol Categories
• Reactive (On-demand):
– “Lazy” approach: Don’t do more work then you have to
– Only discover topology/routes when there is data to
send
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 10
Routing Protocol Categories
Data Plane
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 11
Reactive Protocols
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 12
Dynamic Source Routing (DSR)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 13
Route Discovery in DSR (1)
Y
C E G
I Z
F
B H
A J
L
K
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 14
Route Discovery in DSR (1)
Y
C E G
I Z
F
B H
A J
L
K
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 15
Route Discovery in DSR (2)
RREQ[C] D
C Y
E G
RREQ[C]
I Z
F
B H
A J
L
K
Broadcast RREQ[C]
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 16
Route Discovery in DSR (3)
C Y
E G
RREQ[C, E] I Z
F
B H
RREQ[C, B]
A J
L
K
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 17
Route Discovery in DSR (4)
C Y
E G
RREQ[C, E, G]
I Z
F
B H
RREQ[C, B, A]
RREQ[C, B, A]
A J
L
K
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 18
Route Discovery in DSR (5)
C Y
E G RREP[C, E, G, H]
I Z
F
B H
RREQ[C, B, A, K]
A J
L
K
Unicast RREP[C, E, G, H]
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 19
Route Discovery in DSR
D RREQ[C] D
C E C E
G G
RREQ[C]
I I
F F
B H B H
A J J
L A L
K K
(a) (b)
D D
C C E H]
E G G
, E, G,
RREQ[C, E, G] C
E P[
I RR I
F F
B H B H
RREQ[C, B, A]
RREQ[C, B, A, K]
RREQ[C, B, A]
J A J
A L L
K K
(c) (d)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 20
Route Discovery in AODV (1)
Routing tables
D
C E G
I
F
B H
A J
L
K
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 21
Route Discovery in AODV
Destination: C, Next hop: C
D RREQ(H) D
C E C
G E G
RREQ(H)
I I
F Dest: C F
B H B NxtHop: C H
A J J
L A L
K K
(a) (b)
Dest: H, NxtHop: E Dest: C, NxtHop: C
Dest: C, NxtHop: E D Dest: H, NxtHop: G Dest: C, NxtHop: E
D
Dest: H, NxtHop: H
C C E
E G G
C)
RREQ(H)
REP( I
I R
F F
B H B H
RREQ(H)
RREQ
RREQ(H)
J A J
A L L
K K
Dest: C, NxtHop: B
(c) (d)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 22
2. IEEE 802.11n - MIMO
Reflecting surface
Transmitter Receiver
Reflecting surface
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 23
802.11n Channel Bonding and 20/40 MHz Operation
channel
Traffic in Traffic in
channel
20 MHz
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 24
802.11n PHY-layer Frame Format
Non-HT physical-layer frame (PPDU)
L-STF = Non-HT Short Training field
8 s 8 s 4 s L-LTF = Non-HT Long Training field
L-SIG = Non-HT Signal field
L-STF L-LTF L-SIG Data
Legacy preamble
Service Tail
PSDU Pad bits
16 bits 6 bits
L-STF L-LTF L-SIG HT-SIG HT-STF HT-LTF HT-LTF HT-LTF HT-LTF Data
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 25
IEEE 802.11 Terminology
Key:
PPDU PPDU = PLCP protocol data unit
PSDU = PLCP service data unit
PSDU = MPDU MPDU = MAC protocol data unit
MSDU = MAC service data unit
MSDU
PLCP = physical (PHY) layer
PHY PHY MAC convergence procedure
Data FCS
preamble header header MAC = medium access control
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 26
802.11n MAC-layer Frame Format
bytes: 2 2 6 6 6 2 6 2 4 0 to 7955 4
HT
FC D/I Address-1 Address-2 Address-3 SC Address-4 QC Data FCS
Control
HT = High Throughput
bits: 16 2 2 2 2 1 5 1 1
NDP AC RDG/
Calibration Calibration CSI/
Link Adaptation Control Reserved Announ Reserved Constra More
Position Sequence Steering
cement int PPDU
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 27
Packet Aggregation
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 28
802.11n Frame Aggregation
Data payload
Backoff (0 to 2304 bytes)
DIFS
PHY PHY MAC Time
SIFS
Busy FCS
preamble header header
(b)
E{b0}=16 slots
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 29
Frame Aggregation: A-MSDU and A-MPDU
A-MSDU = Aggregated Ethernet frames (= PSDU up to 8 KB)
SIFS
802.11n
DIFS PHY PHY Subframe Subframe Subframe
Busy MAC FCS
preamble header 1 2 N
header
ACK
RIFS
RIFS
RIFS
SIFS
DIFS PHY PHY
Busy Subframe 1 Subframe 2 Subframe N
preamble header
Block ACK
MPDU
addBA Request
ACK
Block ACK
addBA Response
setup
ACK
Data MPDU
Data MPDU
Data and
Block ACK repeated
Data MPDU
transmission multiple
BlockAckReq (BAR) times
Block ACK
delBA Request
Block ACK
teardown ACK
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 31
Block Acknowledgement Frame
MAC header
bytes: 2 2 6 6 2 variable 4
Frame Ctrl Duration / ID Receiver Address Transmitter Addr. BA Control Block ACK Information FCS
(a)
bits: 1 1 1 9 4
Block ACK Compressed
Multi TID Reserved TID_INFO
Policy Bitmap
bits: 4 12
Fragment
Starting Sequence Number
Number (0)
bytes: 2 128
Block ACK
Block ACK Bitmap
Starting Sequence Control
bytes: 2 2 8
Block ACK
Per TID Info Block ACK Bitmap
Starting Sequence Control
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 32
Block ACK Frame Subfields
Frame fragments
0 1 2 3 4 5 … 13 14 15
0
1
1 0 reserved
61
Multi-TID 62
1 1
Block ACK 63
(a) (b)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 33
Block ACK Example
A-MPDU
A-MPDU
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 34
Reverse Direction (RD) Protocol
Data_fwd
SIFS
Time
SIFS
DIFS Backoff
SIFS
Transmitter DIFS
Busy RTS
CTS BACK
Receiver
(a)
TXOP duration
RDG/More PPDU = 1
Data_fwd
SIFS
SIFS
SIFS
DIFS Backoff
SIFS
RD initiator DIFS
Busy RTS BACKr
CTS BACKf
RD responder
Data_rvs
(b) RDG/More PPDU = 1 RDG/More PPDU = 0
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 35
802.11n Backwards Compatibility Modes: CTS-to-Self
CTS-to-self frame (Non-HT format) Data frame (HT format)
SIFS
SIFS
Legacy 802.11 Legacy 802.11 802.11n 802.11n
CTS-
CTS-to-
to-self Data FCS
PHY header MAC header PHY header MAC header
SIFS
Legacy 802.11 802.11n 802.11n
Data FCS
PHY header PHY header MAC header
Blocking out non-HT stations with spoofed duration value (L-SIG field)
802.11n 802.11n
Data FCS
PHY header MAC header
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 36
Dual-CTS protection (CTS-to-self)
802.11g
B
802.11n
(HT-Greenfield) (Legacy non-HT)
A
AP
Time
SIFS
CTS-to-self CTS-to-self
receives
AP CTS (HT) CTS (L) data (HT) CTS (HT) CTS (L) Data (L)
sets NAV
A RTS (HT) Data (HT)
receives
sets NAV
B data (L)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 37
Example of L-SIG Duration Setting
NAV duration
NAV duration
NAV duration
preamble
preamble
Legacy
Legacy
L-SIG
L-SIG
RTS Data CF-End
preamble
preamble
Legacy
Legacy
L-SIG
L-SIG
CTS BACK
L-SIG duration
L-SIG duration
L-SIG duration
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 38
802.11n Phased Coexistence Operation (PCO)
BSS-1
802.11g
802.11n
(HT-Mixed)
(HT-Greenfield)
C
802.11g
A (Legacy)
802.11n
802.11g
AP (HT-Mixed) Another
B AP
BSS-2
AP reserves AP releases
both 20-MHz the 20 MHz
channels for channels
20 MHz 40 MHz phase
phase 40 MHz phase 20 MHz phase
ion
sit
Transition
an
Tr
Set PCO-Phase
to--self
Traffic in BSS-
BSS-1 in
CF--End
Beacon
channel
Primary
20 MHz
802.11g
OR
PCO-
CTS--to
AP and A
PCO--Phase
20 MHz channel (Non
(Non--
CF
CTS
exchange traffic
HT or HT-
HT-Mixed mode)
mode)
CF--End
-
Set-
in 802.11n
Set--PCO
40 MHz channel
CF
to--self
Secondary
CF--End
channel
20 MHz
Set
PIFS
PIFS
mode)
mode)
CTS--to
(traffic in in 802.11g
CF
CTS
BSS-
BSS-2) 20 MHz channel
(truncated)
NAV of station C (secondary channel)
Lecturer: Tran Thi Thao Nguyen, Ph.D. - Department of Telecommunications and Networks, FETEL, HCMUS 39
QA