Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
© James P.G. SterbenzITTC
15 November 2018 © 2004–2018 James P.G. Sterbenzrev. 18.1
Introduction to Communication NetworksThe University of Kansas EECS 563MAC; Mobile and Wireless Networks
James P.G. Sterbenz
Department of Electrical Engineering & Computer Science
Information Technology & Telecommunications Research Center
The University of Kansas
http://www.ittc.ku.edu/~jpgs/courses/intronets
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-2
MAC; Mobile and Wireless NetworksOutline
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-3
Wireless NetworksClassification of Types
• Geographic scope
– distance over which links operate
– area of layer 2 subnetwork (not IP subnet)
• Mobility
– mobility of wireless nodes
• Coördination
– centralised vs. distributed control
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-4
Wireless NetworksClassification of Types: Scope
• Geographic scope
– WBAN: wireless body area network
– WPAN: wireless personal area network
– WLAN: wireless local area network
– WMAN: wireless metropolitan network
– WWAN: wireless wide area network
• Mobility
• Coördination
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-5
Wireless NetworksClassification of Types: Mobility
• Geographic scope
– WBAN, WPAN, WLAN, WMAN, WWAN
• Mobility
– fixed: nodes are stationary
– mobile: nodes are mobilesome nodes may be fixed (e.g. base stations)
• Coördination
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-6
Wireless NetworksClassification of Types: Coördination
• Geographic scope
– WBAN, WPAN, WLAN, WMAN, WWAN
• Mobility
– fixed, mobile
• Coördination
– infrastructure: base station controls and transit traffic
– ad hoc or peer-to-peer: mobile nodes directly communicate
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-7
Wireless NetworksCharacteristics
• Wireless LANs very different from wired
why?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-8
Wireless NetworksCharacteristics
• Wireless LANs very different from wired
– always use shared medium; MAC is required
• Wireless characteristics
– significant attenuation 1/r 2
• multipath reflections increases attenuation to ≈ 1/r 4
– noise and interference
• from one-another
• from other devices
• from environment
• jamming (physical DoS)
– open channel• subject to eavesdropping
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-9
Wireless NetworksNetwork Elements: Base Station
• Base station (BS) or
Access point (AP)
– fixed wireless node
• one or more antennæ
• may be small (e.g. home gateway)
• may have huge tower
– range may be called a cell
• particularly in context of mobile telephony
– typically connected to Internet via wired link
• in which case it is an intermediate system
Internet
cell
BS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-10
Wireless NetworksNetwork Elements: Base Station
• Base station (BS) or
Access point (AP)
– fixed wireless node
• one or more antennæ
• may be small (e.g. home gateway)
• may have huge tower
– range is frequently called a cell
– typically connected to Internet via wired link
– or wireless multihop to Internet access
• wireless backhaul through other BSs
• peer-to-peer multihop between wireless nodes
Internet
cell
BSBS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-11
Wireless NetworksNetwork Elements: Wireless Node
• Base station or access point
• Wireless node (WN)
– also called untethered node
– no wired network connection
– fixed or stationary node doesn’t move
• wireless does not imply mobility
• typical example: laptop personal computer
– mobile node later
Internet
cell
BS
WN
WN
BS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-12
Wireless NetworksNetwork Elements: Wireless Link
Internet
cell
BS BS
WN
WN
• Base station or access point
• Wireless node
• Wireless link– formed when 2 nodes
in range associate
– MAC needed to arbitrate medium access
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-13
Wireless NetworksNetwork Elements: Wireless Link
• Base station or access point
• Wireless node
• Wireless link– nodes associate; MAC arbitrates
– interconnects BSs
• for backhaul to Internet
• as mesh network infrastructure
Internet
cell
BS BS
WN
WN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-14
Wireless NetworksNetwork Elements: Wireless Link
• Base station or access point
• Wireless node
• Wireless link– nodes associate; MAC arbitrates
– interconnects BSs
– interconnects WNs to BSs for access
Internet
cell
BS BS
WN
WN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-15
Wireless NetworksNetwork Elements: Wireless Link
• Base station or access point
• Wireless node
• Wireless link– nodes associate; MAC arbitrates
– interconnects BSs for backhaul
– interconnects WNs to BSs
– interconnects WNs
• for multihop access to BS
• peer-to-peer in ad hoc net
• multihop WNs are both ES and IS
Internet
cell
BS BS
WN
WN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-16
Wireless NetworksNetwork Elements: Wireless Mobile
• Base station or access point
• Wireless node
• Wireless link– nodes associate; MAC arbitrates
– interconnects BSs for backhaul
– interconnects WNs to BSs
– interconnects WNs
• for multihop access to BS
• peer-to-peer in ad hoc net
• multihop WNs are both ES and IS
• Wireless does not imply mobile
Internet
cell
BS BS
WN
WN
/
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-17
MAC; Mobile and Wireless NetworksMAC Functions and Services
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-18
Medium Access LayerHybrid Layer/Plane Cube
physical
MAC
link
network
transport
session
application
L1
L7
L5
L4
L3
L2
L1.5
data plane control plane
management plane
socialL8
virtual linkL2.5
MAC layer:
arbitration to shared medium in control plane
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-19
Medium Access LayerMAC Definition
• Medium access control (MAC) arbitrates a channel in shared medium (free space, guided wire, or fiber)among stations (end systems, hosts)
networkCPU
M app
station
CPU
M app
station
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-20
Link and MAC LayerMAC Protocol
• MAC protocol (or algorithm)
– responsible for determining when node can transmit frame
– may fully distributed or coördinated
network
application
session
transport
network
link/MAC
end system
(station)
network
link/MAC
intermediate
system
network
link/MAC
intermediate
systemnetwork
link/MAC
intermediate
system
application
session
transport
network
link/MAC
end system
(station)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-21
MAC LayerService and Interfaces
• MAC is in between physical layer 1 and link layer 2
– lower link sublayer in IEEE 802 model
• MAC layer in control plane
– control over when to transmit a L2 frame
– but may have its own encapsulation (e.g. IEEE 802 legacy)
• layer 2 addresses needed for shared medium
• MAC layer service to link layer (L2)
– MAC layer encapsulate/decapsulate if appropriate
– initiate transfer of frame into the medium
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-22
MAC LayerService and Interfaces
• MAC layer frame may encapsulate link layer frame– done for link layer / MAC protocol independence
• IEEE 802: 802.2 LLC (logical link control) over 802.N MAC
link layer
physical layer
MAC layer
link layer
physical layer
MAC layer
NPDU TH NPDU TH
…10111001010…
NPDU TH NPDU THHH frame
frame
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-23
MAC; Mobile and Wireless NetworksMAC Algorithms
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-24
Link SharingMultiplexing vs. Multiple Access
• Multiplexing vs. multiple access
• Link multiplexing Lecture LL
– single transmitter
– dedicated point-to-point link
• Multiple access:
– multiple transmitters
– shared medium
– essentially physical layer multiplexing
– MAC algorithm needed to arbitrate
free space RF
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-25
Channel Partitioning MACIntroduction and Assumptions
• Channel has sufficient capacity
– individual inter-station date rates less than channel capacity
• Multiple stations share a channel
• Channel partitioned into pieces
– pieces assigned to individual inter-station communication
– MAC arbitrates assignment
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-26
Channel Partitioning MACIntroduction and Assumptions
• Channel has sufficient capacity
– individual inter-station date rates less than channel capacity
• Multiple stations share a channel
• Channel partitioned into pieces
– pieces assigned to individual inter-station communication
– MAC arbitrates assignment
• Contention-free MAC
– partitioning ensures no contention in medium
• subject to engineering and design, e.g. sufficient guard bands
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-27
Channel Partitioning MACAlternatives
• TDMA: time-division multiple access
• FDMA: frequency-division multiple access
– typically refers to RF
• CDMA: code-division multiple access
– spread spectrum (later)
• SDMA: space-division multiple access
– directional antennæ
• Note similarity to multiplexing schemes
– TDMA ~ TDM
– essentially distributed physical layer versions of link muxing
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-28
Channel Partitioning MACTDMA
• TDMA: time division multiple access
• Channel divided into n time slots ti– served cyclically
– generally equal size
– within a frequency band f
ch
an
ne
l 0ch
ann
el 1
ch
ann
el n–1
ch
an
ne
l 0
f
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-29
Channel Partitioning MACTDMA
• TDMA: time division multiple access
• Channel divided into n time slots
– served cyclically
– generally equal size
– within a frequency band f
• MAC arbitrates how nodes assigned to slots
– static TDMA: slots reserved for particular stations (nodes)
– dynamic TDMA: slots scheduled based on traffic demand
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-30
Channel Partitioning MACFDMA
• FDMA: frequency division multiple access
• Channel divided into n frequency bands fj– generally of equal bandwidth
– over period of time t
ch
an
ne
l 0
ch
an
ne
l 1
ch
an
ne
l 2
ch
an
ne
l n–1
f
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-31
Channel Partitioning MACFDMA
• FDMA: frequency division multiple access
• Channel divided into n frequency bands fj– generally of equal bandwidth
– over period of time t
• MAC arbitrates how nodes assigned to frequencies
– static
– dynamic
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-32
Channel Partitioning MACOFDMA
• OFDMA: orthogonal freq. div. multiple access
– based on OFDM using multiple carriers
• Channel consists of frequency band
– divided into closely spaced carriers
– adjacent carriers non-interfering: orthogonal
• Each link assigned subset of carriers
• MAC arbitrates how stations carrier subset
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-33
Channel Partitioning MACLink Duplexing
• Link types
– half duplex: unidirectional hop-by-hop transfer
– full duplex: bidirectional hop-by-hop transfer
• Most communication requires full duplex link
– even unidirectional data transfer
why?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-34
Channel Partitioning MACLink Duplexing
• Link types
– half duplex: unidirectional hop-by-hop transfer
– full duplex: bidirectional hop-by-hop transfer
• Most communication requires full duplex link
– even unidirectional data transfer
– control messages such as ACKs for ARQ
– may be highly asymmetric
– Alternative strategies for full duplex
– separate end-to-end paths
problem?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-35
Channel Partitioning MACLink Duplexing
• Link types
– half duplex: unidirectional hop-by-hop transfer
– full duplex: bidirectional hop-by-hop transfer
• Most communication requires full duplex link
– even unidirectional data transfer
– control messages such as ACKs for ARQ
– may be highly asymmetric
– Alternative strategies for full duplex
– separate distinct end-to-end paths through network
– may have different loss & delay properties
– may be necessary in some cases (e.g. satellite)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-36
Channel Partitioning MACLink Duplexing
• Link types
– half duplex: unidirectional hop-by-hop transfer
– full duplex: bidirectional hop-by-hop transfer
• Most communication requires full duplex link
– even unidirectional data transfer
– control messages such as ACKs for ARQ
– may be highly asymmetric
– Alternative strategies for full duplex
– separate distinct end-to-end paths through network
– paired unidirectional links in same guided media
– e.g. 2twisted-pair, 2fiber
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-37
Channel Partitioning MACLink Duplexing
• Link types
– half duplex: unidirectional hop-by-hop transfer
– full duplex: bidirectional hop-by-hop transfer
• Most communication requires full duplex link
– even unidirectional data transfer
– control messages such as ACKs for ARQ
– may be highly asymmetric
– Alternative strategies for full duplex
– separate distinct end-to-end paths through network
– paired unidirectional links in same guided media
– sharing same media (e.g. fiber or free space)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-38
Channel Partitioning MACFrequency Division Duplexing
• Duplexing : bidirectional transmission sharing media
• FDD: frequency division duplexing– forward and reverse traffic assigned to different freq. bands
– simple scheme
– no collisions between forward and reverse packets
– less efficient use of spectrum under light load
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-39
Channel Partitioning MACFrequency Division Duplexing
• Duplexing : bidirectional transmission sharing media
• FDD: frequency division duplexing– FDD can be used within FDMA or TDMA
ch
an
ne
l 0ch
ann
el 1
ch
ann
el n–1
ch
an
ne
l 0
f
tforward /
uplink
reverse /
downlink
f
tch
an
ne
l 0
ch
an
ne
l 1
ch
an
ne
l 2
ch
an
ne
l n–1
FDD in FDMA FDD in TDMA
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-40
Channel Partitioning MACTime Division Duplexing
• Multiplexing in time and space for full duplex
– bidirectional data transmission
• FDD: frequency division duplexing
• TDD: time division duplexing– forward and reverse traffic assigned to same freq. bands
– slots divided between upstream and downstream traffic
– asymmetric traffic needs dynamic bandwidth adjustment
– operates in conjunction with various channel multiplexing
• eg. TDD within FDMA
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-41
ch
ann
el n–1
ch
an
ne
l 0ch
ann
el 1
ch
an
ne
l 0
f
t
Channel Partitioning MACTime Division Duplexing
• Duplexing : bidirectional transmission sharing media
• TDD: time division duplexing– TDD in FDMA allows each pair to separately determine ratio
TDD in TDMA
ch
an
ne
l 0
ch
an
ne
l 1
ch
an
ne
l 2
ch
an
ne
l n–1
f
t
TDD in FDMA
fwd /
uplink
rev /
dwnlink
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-42
Channel Partitioning MACAdvantages and Disadvantages
• Channel partitioning advantages
– simple mechanism (if static)
– inherently fair with respect to station sharing
– best under high uniform and deterministic load
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-43
Channel Partitioning MACAdvantages and Disadvantages
• Channel partitioning advantages
– simple mechanism
– inherently fair with respect to station sharing
– best under high uniform and deterministic load
• Channel partitioning disadvantages
– per flow fairness more difficult
– inefficient under low load
• 1/n of channel bandwidth unless multiple partitions/station
– inefficient under high-nondeterministic load
• distributed partition assignment difficult; controller assigns
• multiple or variable partition sizes difficult to manage
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-44
Channel Partitioning MACSDMA and Directional Antennæ
• Assumption so far
– omnidirectional antennæ radiate in all directions
– radiate even where not needed
– reduce channel capacity
• Directional antennæ
– radiate focused beam toward receiver
– reduce power use
– reduce interference: spatial reuse
• SDMA: space division multiple access MAC
– complexity of beam steering and station tracking
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-45
Channel Partitioning MACCharacteristics
CharacteristicChannel
PartitioningCöordinated
AccessRandom Access
Spread Spectrum
TypesTDMAFDMASDMA
Complexitylow
(static)
Load Tolerancehigh
(uniform det.)
Consequence of Contention
–
Resiliencepoor
(central ctl)
Examples 802.16 mesh
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-46
Coördinated Access MACIntroduction and Assumptions
• Channel has sufficient capacity
– individual inter-station date rates less than channel capacity
• Multiple stations share a channel
• Stations use channel for a period of time
– in a fully highly coördinated manner
• central controller (e.g. polling)
• algorithmic turn taking (e.g. token passing)
– MAC arbitrates
[Kurose & Ross] call this taking turns MAC
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-47
Coördinated Access MACPolling
• Controller grants channel access to station
– each station polled to determine if it needs to transmit
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-48
Coördinated Access MACToken Passing
• Token grants channel access to station
– token passed between stations
– generally round robin
• Topologies
– bus
• IEEE 802.4 never successful
– natural ring interconnection
• IEEE 802.5
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-49
Coördinated Access MACToken Passing Resilience
• Token ring interface
– inserted in the ring
what happens when station turned off?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-50
Coördinated Access MACToken Passing Resilience
• Token ring interface
– inserted in the ring
– relay required to close circuit
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-51
Coördinated Access MACToken Passing Resilience
• Token ring interface
– inserted in the ring
– relay required to close circuit
• Resilience to ring cuts
problems?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-52
Coördinated Access MACToken Passing Resilience
• Token ring interface
– inserted in the ring
– relay required to close circuit
• Resilience to ring cuts
– user unplugging station cuts ring
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-53
Coördinated Access MACToken Passing Resilience
• Token ring interface
– inserted in the ring
– relay required to close circuit
• Resilience to ring cuts
– user unplugging station cuts ring
– dual ring resilient to single cut
• stations wrap to second ring
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-54
Coördinated Access MACAdvantages and Disadvantages
• Channel partitioning
– simple mechanism, best for high uniform load
– needs controller to assign time slots or frequency bands
• Coördinated access advantages
– nondeterministic algorithm good for nonuniform loads
– balances benefits of partitioning and random access
– good for relatively high load
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-55
Coördinated Access MACAdvantages and Disadvantages
• Channel partitioning
– simple mechanism, best for high uniform load
– needs controller to assign time slots or frequency bands
• Coördinated access advantages
– nondeterministic algorithm good for nonuniform loads
– balances benefits of partitioning and random access
– good for relatively high load
• Coördinated access disadvantages
– relatively complex network interface
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-56
Coördinated Access MACCharacteristics
CharacteristicChannel
PartitioningCöordinated
AccessRandom Access
Spread Spectrum
TypesTDMA
(O)FDMASDMA
token ringpolling
Complexitylow
(static)high
Load Tolerancehigh
(uniform det.)high
Consequence of Contention
– degradation
Resiliencepoor
(central ctl)wired: moderatewireless: poor
Examples 802.16 mesh 802.5 TR
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-57
Random Access MACIntroduction and Assumptions
• Multiple stations share a channel f
• Stations use channel for a period of time t– given a frequency channel
(baseband access)
– in a fully distributed(random ) manner
– MAC arbitrates
What is simplest possible random access technique?
f
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-58
Random Access MACALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data (no MAC)
• Performance metrics
– channel efficiency
• what fraction of transmission attempts are successful
– channel throughput
• what is the maximum carried load of the channel?
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-59
Random Access MACALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data (no MAC)
• Problem
– collisions : transmissions interfere with one another
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-60
Random Access MACALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data (no MAC)
• Problem
– collisions : transmissions interfere with one another
– even if only very small overlap
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-61
Random Access MACALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data (no MAC)
• Problem
– collisions : transmissions interfere with one another
– even if only very small overlap
can we do better?
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-62
Random Access MACSlotted ALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data in slot
• Problem
– collisions : transmissions interfere with one another
– improvement: divide time into slots
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-63
Random Access MACSlotted ALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data in slot
• Problem
– collisions : transmissions interfere with one another
– improvement: divide time into slots
– delay transmissions to next slot time
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-64
Random Access MACSlotted ALOHA
• ALOHA: 1970s radio network among Hawaiian islands
• Senders transmit whenever they have data in slot
• Problem
– collisions : transmissions interfere with one another
– improvement: divide time into slots
– delay transmissions to next slot time
– slotted time reduces probability of collisions
A
B
C
t
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-65
Random Access MACUnslotted vs. Slotted Performance
• Slotting approximately doubles performance– slotted: Throughput = GeG
– unslotted: Throughput = Ge2G
[adapted from Tannenbaum]
0.0 0.5 1.0 1.5 2.0 2.5 3.0
G [attempts / packet time]
0.10
0.20
0.30
0.40
[thro
ughp
ut
/ pa
cke
t tim
e]
unslotted
slotted
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-66
Random Access MACChallenges
• Multiple nodes must be able to share channel
• When 2 or more nodes simultaneously transmit
– signals garbled in a collision : none of them are successful
• How to arbitrate among them?
– MAC algorithm
How can we do better than random transmission?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-67
Random Access MACContention
• Contention-based or random-access MAC
– nodes transmit when they have data
– subject to MAC
• per frame decision
• analogue to connectionless service
– collisions possible
– efficient channel utilisation
• in the absence of collisions
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-68
Random Access MACContention and Collisions
What is the simplest way to reduce collisions?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-69
Random Access MACCSMA (1-persistant)
• CSMA – carrier sense multiple access
– nodes can sense if channel is in use by another station
– wait to transmit to avoid collision
– human analogy: don’t interrupt others already speaking
• 1-persistant CSMA
– wait until channel free, then transmit(transmit with probability 1)
Problem? How can we do better?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-70
Random Access MACCSMA (Non-Persistent)
• Problem: synchronisation of collisions
– waiting nodes will all transmit as soon as channel free
• Non-persistent CSMA
– if carrier sensed wait random period before trying again(rather than continuously sensing until channel free)
– better utilisation, but delayed even when unnecessary
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-71
CSMACollisions
• Collisions occur even with carrier sense
– due to propagation delay
– sender may not know channel already in use
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-72
CSMACollisions
• Collisions still occur
– due to propagation delay
– sender may not know channel already in use
• Pr[collision] incr. w/ length
– B & D don’t know other xmit
B DA C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-73
CSMACollisions
• Collisions still occur
– due to propagation delay
– sender may not know channel already in use
• Pr[collision] incr. w/ length
– B & D don’t know other xmit
– until signals meet near C
– and return
• Inefficient
– channel used by garbage
Can we do better?
B DA C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-74
CSMA/CDCollision Detection
• CSMA/CD: CSMA with collision detection– station detecting a collision immediately ceases transmission
– human analogy: polite conservationist
• Worst case CD takes twice media propagation delay
– A transmits packet
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-75
CSMA/CDCollision Detection
• CSMA/CD: CSMA with collision detection– station detecting a collision immediately ceases transmission
– human analogy: polite conservationist
• Worst case CD takes twice media propagation delay
– A transmits packet
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-76
CSMA/CDCollision Detection
• CSMA/CD: CSMA with collision detection– station detecting a collision immediately ceases transmission
– human analogy: polite conservationist
• Worst case CD takes twice media propagation delay
– A transmits packet
– B transmits packet just before A reaches B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-77
CSMA/CDCollision Detection
• CSMA/CD: CSMA with collision detection– station detecting a collision immediately ceases transmission
– human analogy: polite conservationist
• Worst case CD takes twice media propagation delay
– A transmits packet
– B transmits packet just before A reaches B
– A+B interference travels back to A
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-78
CSMA/CDCollision Detection Efficiency
• CD frees channel earlier= 1 / [1+5tprop/ttrans]
tprop max prop between nodesttrans time to transmit max frame
• Efficiency
1 as tprop 0
1 as ttrans ∞
B DA C
CD and abort
reclaimed
capacity
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-79
CSMA/CDCollision Detection Efficiency
• CD frees channel earlier= 1 / [1+5tprop/ttrans]
tprop max prop between nodesttrans time to transmit max frame
• Efficiency
1 as tprop 0
1 as ttrans ∞
• Much better than CSMA
– still decentralized,simple, and cheap
problem?
B DA C
CD and abort
reclaimed
capacity
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-80
CSMA/CDBackoff
• If stations all transmit after backoff, same problem
– need some way of un-synchronising retransmissions
How?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-81
CSMA/CDExponential Backoff
• If stations all transmit after backoff, same problem
– need some way of un-synchronising transmissions
• Exponential backoff:
– stations wait a random number of slot times before retrying
– binary exponential distribution:nth collision wait randomly among {0…2n–1} slots
1st collision: wait 0 or 1 slots
2nd collision: wait 0, 1, 2, or 3 slots
…
– low load: minimise delaymoderate load: spread retries
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-82
CSMA/CDProblems
Problems?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-83
CSMA/CDProblems: Collision Detection and Carrier Sense
Problem with collision detection?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-84
CSMA/CDProblem with Collision Detection
• Problems with collision detection
– station must be able to simultaneously transmit and receive
• requires full duplex
– not possible for single wireless tranceiver at given frequency
• CSMA/CD not appropriate for wireless networks– Ethernet evolution eliminated vast majority of CSMA/CD
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-85
CSMAProblem with Carrier Sense
• CSMA/CD not appropriate for wireless networks
Problem with carrier sense?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-86
CSMAProblem with Carrier Sense
• CSMA/CD not appropriate for wireless networks
• Problem with carrier sense
– only appropriate when all nodes within range
– typically not the case for wireless networks
problem?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-87
CSMAProblem with Carrier Sense
• CSMA/CD not appropriate for wireless networks
• Problem with carrier sense
– only appropriate when all nodes within range
– typically not the case for wireless networks
– problem: hidden nodes
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-88
CSMAHidden Nodes
• Hidden nodes (terminals)
– some nodes are hidden from one another
– out of transmission range or obstruction
– unaware that they are causing collisions with hidden node
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-89
CSMAHidden Nodes
• Hidden node problem
BA
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-90
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
BA
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-91
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
– C can communicate with B
BA
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-92
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
– C can communicate with B
– A can not communicate with CB
A
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-93
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
– C can communicate with B
– A can not communicate with C
• unaware of interference at B BA
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-94
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
– C can communicate with B
– A can not communicate with C
• unaware of interference at B
• Causes of hidden nodes
– line-of-sight obstructions
BA
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-95
CSMAHidden Nodes
• Hidden node problem
– A can communicate with B
– C can communicate with B
– A can not communicate with C
• unaware of interference at B
• Causes of hidden nodes
– line-of-sight obstructions
– signal attenuation
• limitedtransmissionrange
BA
A B C
C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-96
CSMAExposed Nodes
• Exposed nodes (terminals)
problem?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-97
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-98
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
• Example:
– B transmitting to C
B C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-99
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
• Example:
– B transmitting to C
– but A hears B: won’t transmit due to carrier sense
A B C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-100
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
• Example:
– B transmitting to C
– but A hears B: won’t transmit due to CA
– even though it could to D without jamming BC
B CD A
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-101
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
Solution?
B CD A
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-102
CSMAExposed Nodes
• Exposed nodes (terminals)
– some nodes are in range of one another
– prevent transmission because collision assumed
• Spatial reuse necessary (SDMA)
– directional antennæ one strategy
B CD A
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-103
CSMAAlternative Improvement to CD
• CSMA/CD not practical for wireless networks
– full duplex problem
– hidden terminal problem
Alternatives that are still better than (pure) CSMA?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-104
CSMACollision Avoidance
• Collision avoidance (CA)
– attempt to avoid collision (but don’t detect once occurs)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-105
CSMACollision Avoidance: Floor Acquisition
• Floor acquisition (FAMA: floor access multiple access)
– efficient negation to determine which node transmits
– may be in-band or out-of band (e.g. signalling frequency)
– similar to audio conference floor acquisition protocols
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-106
CSMA/CAMACA
• MACA: multiple access with collision avoidance
– in-band floor acquisition
How?
A B C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-107
CSMA/CAMACA
• MACA: multiple access with collision avoidance
– in-band floor acquisition
• MACA operation (analogy: teleconference “may I”)
– sender transmits RTS (request to send) if no carrier sense
A B C
RTS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-108
CSMA/CAMACA
• MACA: multiple access with collision avoidance
– in-band floor acquisition
• MACA operation
– sender transmits RTS (request to send)
– intended receiver replies with CTS (clear to send)
– all nodes in range of both will detect at least 1 of RTS/CTS
A B C
CTS CTS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-109
CSMA/CAMACA
• MACA: multiple access with collision avoidance
– in-band floor acquisition
• MACA operation
– sender transmits RTS (request to send)
– intended receiver replies with CTS (clear to send)
– all nodes in range of both will detect at least 1 of RTS/CTS
– if sender receives clear CTS it can transmit
A B C
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-110
Random Access MACCharacteristics
CharacteristicChannel
PartitioningCöordinated
AccessRandom Access
Spread Spectrum
TypesTDMA
(O)FDMASDMA
token ringpolling
ALOHA, slot
CSMACD, CA
Complexitylow
(static)high low
Load Tolerancehigh
(uniform det.)higher lower
Consequence of Contention
– degradation collisions
Resiliencepoor
(central ctl)wired: moderatewireless: poor
good
Examples802.11
802.16 mesh802.5 TR
old Ethernet802.11
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-111
Spread Spectrum MACIntroduction and Assumptions
• Multiple stations share a channel
• Stations use channel for a period of time
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-112
Spread Spectrum MACIntroduction and Assumptions
• Multiple stations share a channel
• Stations use channel for a period of time
• Transmission spread in frequency spectrum
– coding techniques avoid interference
• CDMA: code division multiple access
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-113
Spread Spectrum MACCDMA
• CDMA: code division multiple access
• Channel use different codes
– in a given frequency band
– over period of time
• Analogy: speaking
– English, German,Chinese, Hindi
– in the same roomat the same time
– easier to converse in a given language (code)if interference is in different languages (codes)
code 0
f
tcode 1
code n–1
c
code 0
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-114
Spread Spectrum MACCDMA Types
• Frequency hopping (FH)
– transmissions rapidly hop among different frequency carriers
• pseudorandom sequence negotiated between transceiver
• interference limited to small periods of time under limited load
• Direct sequence (DS)
f
t
c
code 0
code 1
code n–1
ft
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-115
Spread Spectrum MACCDMA Types
• Frequency hopping (FH)
– transmissions rapidly hop among different frequency carriers
• pseudorandom sequence negotiated between tranceivers
• Direct sequence (DS)
– symbols multiplied by higher frequency chipping sequence
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-116
Spread Spectrum MACDS CDMA Concepts
• All stations share same frequency band f– unique code assigned to each station
• Each station has its own chipping sequence in time t– unique code at higher chipping rate
– encoded signal = (original data) (chipping sequence)
– decoding: inner-product of encoded signal and chipping seq.
• Multiple stations transmit simultaneously
– minimal interference if codes are orthogonal
analogy : conversations at the same time in different languages
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-117
Spread Spectrum MACDS CDMA Encode/Decode Example
+1+1+1 +1
-1 -1-1-1
+1+1+1 +1
-1 -1-1-1
d1=-1
d0=+1 +1+1+1 +1
-1 -1-1-1
+1+1+1
-1
+1
-1-1-1
cs = 11101000coded in channel
encode
d1=-1
d0=+1+1+1+1 +1
-1 -1-1-1
+1+1+1
-1
+1
-1-1-1
+1+1+1 +1
-1 -1-1-1
+1+1+1 +1
-1 -1-1-1
decode
d = 01
d = 01
[Kurose & Ross 7.2.1]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-118
Spread Spectrum MACDS CDMA Encode/Decode with Interference
+1+1+1 +1-1 -1-1-1
+1+1+1-1
+1-1-1-1
d11=+1d10=+1
+1 +1+1+1-1 -1
+1+1+1 +1+1+1-1 -1
+1+1
+1 +1+1+1-1 -1
+1+1+1 +1+1+1-1 -1
+1+1
0+2+2
0 0 0+2
-2
+2
-20 0 0
+2 +2
-2
0+2+2
0 0 0+2
-2
+2
-20 0 0
+2 +2
-2
+1+1+1 +1-1 -1-1-1
+1+1+1 +1-1 -1-1-1
d00=-1d01=+1
+1+1+1 +1-1 -1-1-1
+1+1+1 +1-1 -1-1-1
d00=-1d01=+1
encode
encode
coded
coded
mixed in channel
decode
cs0 = 11101000
cs1 = 10111011
d0 = 01
d1 = 11
[Kurose & Ross 7.2.1]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-119
Spread Spectrum MACCharacteristics
CharacteristicChannel
PartitioningCöordinated
AccessRandom Access
Spread Spectrum
TypesTDMA
(O)FDMASDMA
token ringpolling
ALOHA, slot
CSMACD, CA
CDMAFH, DS
Complexitylow
(static)high low high
Load Tolerancehigh
(uniform det.)higher lower degrades
Consequence of Contention
– degradation collisions degradation
Resiliencepoor
(central ctl)wired: moderatewireless: poor
goodresistant to interference
Examples802.11802.16
802.5 TRold Ethernet
802.11802.11
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-120
MAC; Mobile and Wireless NetworksWireless Networks
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-121
Wireless Networks802 Protocols by Geographical Scope
• IEEE 802.15 WPAN
• IEEE 802.11 WLAN
• IEEE 802.16 WMAN
802.16 WMAN
802.11 WLAN
802.15
WPAN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-122
Wireless Networks802.11 WLAN
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.4.1 802.11 WLAN
MW.4.2 802.16 WMAN and WiMAX
MW.4.3 802.15 WPAN and Bluetooth
MW.4.4 Sensor networks
MW.5 Mobile networks
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-123
Wireless Networks: WLAN802.11 Overview
• IEEE 802.11
– wireless links based loosely on Ethernet framing
• 6B MAC addresses, 4B FCS
• 802.2 SNAP/LLC subheader
– enables simple cheap 802.3+802.11 hubs and switches
• Unlicensed ISM/U-NII bands: 900 MHz, 2.4, 5.8 GHz
– significant interference from FHSS 2.4 GHz cordless phones
• Additional licensed bands: 3.7 GHz
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-124
Wireless Networks: WLAN802.11 Relation to other 802 Wireless Protocols
• IEEE 802.11
– first of the 802 wireless protocols
– design motivated by Ethernet
• was sometimes called “wireless Ethernet”
802.16 WMAN
802.11 WLAN
802.15
WPAN
50 m
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-125
Wireless Networks: WLANWi-Fi Overview
• Wi-Fi
– Wi-Fi alliance: www.wi-fi.org
• note capitalisation and hyphen: Wi-Fi not WiFi nor Wifi
– 802.11 standards compliance and interoperability testing
– commonly (but incorrectly) used as synonym for 802.11
Wi-Fi ≠ 802.11!
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-126
802.11 WLANDeployment Scenarios
Motivation for deploying WLANs?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-127
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-128
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
• frequently the only network infrastructure
why?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-129
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
• frequently the only network infrastructure
• most homes not wired for networking
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-130
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
– office buildings
• generally supplements wired LANs
why?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-131
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
– office buildings
– hotel lobbies, meeting rooms, classrooms, outdoor areas
• large spaces impractical to wire
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-132
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
– office buildings
– hotel lobbies, meeting rooms, classrooms, outdoor area
– wireless hotspots
• free service to draw customers (e.g. Starbucks, McDonald’s)
• free public service (e.g. MCI airport)
• for-profit service (e.g. T-Mobile)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-133
802.11 WLANDeployment Scenarios
• Motivation for WLAN deployment
– cheaper than running Ethernet cables for desktops
– allows untethered access for laptops and smart phones
• Deployment scenarios
– home networks
– office buildings
– hotel lobbies, meeting rooms, classrooms, outdoor area
– wireless hotspots
– public Internet service
• free public service (e.g. Lancaster University)
• fee-based service (e.g. Lawrence Freenet)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-134
802.11 WLANGeneric Frame Format
• MAC Header [30B]
– frame control [2B]
– duration/ID [2B]
– address 1 [6B]
– address 2 [6B]
– address 3 [6B]
– sequence control [6B]
– address 4 [6B]
• Frame body [0–2312B]
• Trailer: FCS [4B] trailer
4B
MAC
header
30B
frame control
duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-135
802.11 WLANHeader Format: Frame Control Type
• Frame control [2B]
– protocol version [2b] = 00
– type [2b]
00 = management
01 = control
10 = data
11 = reserved
– subtype [4b]
• dependent on type
trailer
4B
MAC
header
30B
frame control
duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-136
802.11 WLANHeader Format: Frame Control Addresses
• Address n [6B]
– IEEE 802-1990 MAC address
– types:
• individual station address
• multicast group 01-XX-XX-XX-XX-XX
• broadcast address FF-FF-FF-FF-FF-FF
– fields dependent on frame control type
• BSSID: BSS AP address
• DA: destination address (final recipient)
• SA: source address of frame (individual)
• RA: (immediate) receiver address
• TA: transmitter address
trailer
4B
MAC
header
30B
frame control
duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-137
802.11 WLANBody Format
• Frame body [0-2312B]
– variable length
– not present in control frames
trailer
4B
MAC
header
30B
frame control
duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-138
802.11 WLANTrailer Format: CRC
• FCS [4B]
– frame check sequence
– CRC-32
trailer
4B
MAC
header
30B
frame control
duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-139
802.11 WLANManagement Frame
• Management frame(type=01 subtype [4b]):
– beacon
– (re)association
• request
• response
– probe
• request
• response
– disassociation
– (de)authentication
trailer
4B
MAC
header
24B
frame ctl type=10duration
sequence control
destination address
source address
BSSID
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-140
802.11 WLANControl Frame
• Control frame (type=01 subtype [4b]):
– collision avoidance• 1011 RTS
• 1100 CTS
– data transfer
• 1101 ACK
• 1000 BlockAckReq (802.11n)
• 1001 BlockAck (802.11n)
– contention free operation
• 1110 CF-end
• 1111 CF-end+CF-ACK
– power save• 1010 PS-poll
trailer
4B
MAC
header
30B
frame ctl type=01duration / ID
sequence control
address 1
address 2
address 3
address 4
FCS
frame body
0 – 2312 B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-141
MAC
header
30B
frame ctl type=10duration (s)
sequence control
payload
0 – 2304 B
destination address
source address
basic service set id
address 4
FCS
LLC
SNAP
802.11 WLANData Frame
• Data frame (type=10)
– duration (μs)
– SA: source address
– DA: destination address
– BSSID of access point
– sequence control
– frame body
• LLC/SNAP
• payload
– FCS
– CRC-32trailer
4B
LLC/SNAP
subheader
8B
payload
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-142
802.11 WLAN Link Types
• Link types (PHY and MAC)
– 802.11: original 802.11 links at 1–2 Mb/s
– 802.11b, 802.11a: second set of link standards
– 802.11g: third link standard; common in late 2000s
– 802.11y: licensed 3.7 GHz
– 802.11n: 100 Mb/s link rate common in early 2010s
– 802.11ac: 500 Mb/s link rate (current)
– 802.11ax: ~ 2 Gb/s link rate (under development)
• Typically referred to by temporary standard number
– even after folded into 802.11 revision
– a,b,g in 802.11-2007; n in 802.11-2012; ac in 802.11-2016
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-143
802.11 WLAN Link Types: 802.11b
• IEEE 802.11b
– 2.4 GHz ISM/U-NII band
– formerly widest deployment
– 11 Mb/s maximum MAC rate
• actual performance highly dependent on environment
• 5 Mb/s goodput typical over 60m range with few obstructions
• adequate for most home, SOHO, and hotspot use
• exceeds rate of HFC and DSL access links
– DSSS coding; all stations use same chipping sequences
• what does this mean?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-144
802.11 WLANLink Types: 802.11a
• IEEE 802.11a
– 5.8 GHz ISM/U-NII band
• higher rate alternative to 802.11b but more expensive
• simultaneously available with 802.11b
– a and b were IEEE 802.11 working group numbers
– 54 Mb/s maximum MAC rate
• actual performance highly dependent on environment
• 24Mb/s goodput over 35m range typical
– deployment limited to users that needed higher rate
• high rate LAN applications
• users and campuses with higher rate Internet access links
– e.g. T3, 100M/1G Ethernet, SONET
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-145
802.11 WLANLink Types: 802.11g
• IEEE 802.11g (further higher data rate in 2.4 GHz)
– 2.4 GHz ISM/U-NII band
• backward compatible with 802.11b
• higher rate successor to 802.11b using OFDM
– 54 Mb/s maximum MAC rate
• actual performance highly dependent on environment
– was most common deployment in mid 2000s
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-146
802.11 WLANLink Types: 802.11n
• IEEE 802.11n (HT – higher throughput)
– MAC rate of ~ 100 Mb/s
• Enhancements
– 802.11n physical layer
• MIMO (multiple-in multiple-output) antennæ 4
• spatial multiplexing and beamforming
• new coding techniques
– 802.11n MAC
• frame aggregation and block acknowledgements
– 802.11n link layer framing
• longer payload: up to 7955B
– became most common deployment in 2010s
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-147
802.11 WLANLink Types: 802.11ac
• IEEE 802.11ac (VHT – very high throughput)
– MAC rate of ~ 500 Mb/s
– common on new equipment in mid-late 2010s
• Enhancements
– 802.11ac physical layer
• higher-order MIMO 8
• new standard beamforming
• support for SDMA (directional antennæ)
• higher layer coding: 256-QAM
• binding of multiple OFDMA channels in single link
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-148
802.11 WLANLink Types: 802.11ax
• IEEE 802.11ax (high efficiency)
– MAC rate of ~ 10 Gb/s
– currently under standardisation
• Enhancements (likely)
– 802.11ax physical layer
• OFDMA
• MIMO uplink
• spatial reuse
– 802.11ax MAC
• smaller guard interval
• dynamic fragmentation
• TWT (target wakeup time) and dual NAV
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-149
802.11 WLANIEEE Standards Availability
• IEEE Standards charges hundreds of dollars each
– IEEE Standards supplement to IEEE Explore gets access
– KU paid $150 000 to IEEE in 2018
• IEEE 802.11ax
– currently draft standard
– outside of scope of KU IEEE Explore+standards subscription
– IEEE Standards want $329 for a PDF of the draft
• IEEE
– is legally a non-profit
– standards are supposed to be open
– engages in bad behavior inconsistent with their mission
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-150
802.11 WLAN Link Characteristics
Link type
yearband (US)
channel bw (US)
channels us/eu/jp/*
coding MAC ratetypicalrange
payloadtypical
goodput
Wavelan 1991 915 MHz 26 MHz DSSS 1 – 2 Mb/s
802.11 1997 2.4 GHz 83.5 MHz 11|13|14|3DSSS
FHSS1 – 2 Mb/s 0–2304 B
802.11b 1999 2.4 GHz 83.5 MHz 11|13|14|3DSSS
FHSS1 – 11 Mb/s 60 m 0–2304 B 5 Mb/s
802.11a 1999 5.8 GHz 300 MHz 12|19|4 OFDM 6 – 54 Mb/s 35 m 0–2304 B 24 Mb/s
802.11g 2003 2.4 GHz 83.5 MHz 8OFDM DSSS
6 – 54 Mb/s
1 – 11 Mb/s0–2304 B 24 Mb/s
802.11y 20083.7 GHz
licensed50 MHz 0–2304 B 24 Mb/s
802.11n 20102.4 GHz5.8 GHz
83.5 MHz300 MHz
OFDMMIMO
< 248 Mb/s 75 m 0–7955 B 75 Mb/s
802.11ac 2013 5.8 GHz 80 MHz433 Mb/s
(6.93 Gb/s)
802.11ax 20192.4 GHz5.8 GHz
*number non-overlapping
OFDMAMIMO
2 Gb/s
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-151
802.11 WLANSubnetwork Modes and Terminology
• Modes
– infrastructure mode: STAtions communicate through APs (access points)
– ad hoc mode: STAtions communicate directly
• BSS: basic service set
– 802.11 subnetwork covered by a single AP (access point)
– typical mode of operation for home networks
• ESS: extended service set
– 802.11 subnetwork covered by multiple APs sharing SSID
– distribution system (DS) connects multiple BSSs
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-152
802.11 WLANInfrastructure Mode: BSS1
• Infrastructure mode: BSS (basic service set)
– STAtions communicate through single AP
– common 802.11 configuration
• home networks
• small businesses and SOHOs (small office / home office)
• single hotspots (e.g. coffee shop)
STA
STA STA
AP
BSS 1Internet
IP
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-153
802.11 WLANInfrastructure Mode: BSS2
• Infrastructure mode: BSS (extended service set)
– multiple APs with different SSIDs connected by Ethernet
– example configuration
• multiple users in shared office space
STA
STA STA
AP
AP
BSS 1
SSID1
BSS 2
SSID2
Internet
IP
L2
STASTA
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-154
• Infrastructure mode: ESS (extended service set)
– multiple APs with shared SSIDs connected by Ethernet
– common 802.11 configuration
• enterprise networks
• campus networks
– e.g. KU wireless network
802.11 WLANInfrastructure Mode: ESS
STA
STA STA
AP
AP
SSID1
SSID1
Internet
IP
L2
STASTAESS 1
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-155
802.11 WLANAd Hoc Mode
• Ad hoc mode
– STAtions communicate directly with one another
– access point infrastructure not needed
– rarely used
• occasionally used for inter-PC file transfer
• generally sign of misconfigured PC
• can be used as SSID DoS attack against AP
STA STA
BSS Internet
3
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-156
Wireless Networks: WLAN802.11 Channels and Association
• Spectrum divided into channels at different freq.
– 802.11g has 8 channels
– AP administrator chooses frequency for AP
– interference possible
• channel can be same as that chosen by neighboring AP
• Wireless node must associate with an AP
– scans channels
– listens for beacon frames containing APs SSID and MAC addr
– selects AP to associate with
– should perform authentication
– typically run DHCP to get IP address in AP subnet
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-157
802.11 WLANMAC Options
• DCF: distributed coördination function
– random access MAC: CSMA/CA
– mandatory function
– typically the only option used in 802.11 subnetworks
• PCF: point coördination function EECS 882– contention-free MAC with polling and ACKs
– optional function; not compliance tested by Wi-Fi
– generally not used
– not needed for small home networks
• HCF: hybrid coördination function EECS 882– enhancements for QoS in 802.11e
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-158
802.11 WLANDeployment Characteristics
• Typical deployment
– infrastructure mode: AP + STAs in a BSS or ESS
• sensible to have some infrastructure for many LANs
• scalability and administrative issues for ad hoc mode
• IEEE 802.11 didn’t originally specify routing
– DCF: CSMA
• with or without CA: RTS/CTS
when CA should be used?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-159
802.11 WLANDeployment Characteristics
• Typical deployment
– infrastructure mode: AP + STAs in a BSS or ESS
• sensible to have some infrastructure for many LANs
• scalability and administrative issues for ad hoc mode
• IEEE 802.11 didn’t originally specify routing
– DCF: CSMA
• with or without CA: RTS/CTS
• turn off CA for single laptop at home and no close neighbours
• turn on CA for moderate to heavy load
• check administrative options in access point
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-160
802.11 WLANMedium Access Control
• IEEE 802.11 is typically CSMA and CDMA hybrid
• Variety of coding schemes…
– DSSS: direct sequence spread spectrum
– FHSS: frequency hopping spread spectrum (rarely used)
– OFDM: orthogonal frequency division multiplexing (newer)
• …Over which CSMA/CA MAC is typically run
– CSMA with optional RTS/CTS
• …Within FDMA
– one of a set of channels
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-161
802.11 WLANMedium Access Control
• IEEE 802.11 is typically CSMA and CDMA hybrid
• Interframe spacing
– guard times between transmissions
– relative length determines priority
why?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-162
802.11 WLANMedium Access Control
• IEEE 802.11 is typically CSMA and CDMA hybrid
• Inter-frame spacing (IFS)
– guard times between transmissions
– relative length determines priority
– shorter IFS will transmit first; longer will sense channel busy
• IFS types
– SIFS: short for control messages
– PIFS: PCF packet transmission
– DIFS: DCF frame transmission
– EIFS: extended for resynchronisation
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-163
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
sense
DIFS
1
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-164
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
sense
DIFS
2
RTS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-165
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
• Receiver– wait for SIFS interval
sense
DIFS
3
RTS
SIFS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-166
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
• Receiver– wait for SIFS interval
– return CTS if channel idle• receiver hears nodes hidden from sender
sense
DIFS
4
RTS
SIFSCTS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-167
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
• Receiver– wait for SIFS interval
– return CTS if channel idle
• Sender– wait for SIFS interval
why not DIFS?
sense
DIFS
5
RTS
SIFSCTS
SIFS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-168
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
• Receiver– wait for SIFS interval
– return CTS if channel idle
• Sender– wait for SIFS interval
• DIFS already used to seize channel
sense
DIFS
5
RTS
SIFSCTS
SIFS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-169
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense and wait for DIFS interval
– if channel free send RTS
• Receiver– wait for SIFS interval
– return CTS if channel idle
• Sender– wait for SIFS interval
– transmit frame
sense
DIFS
6
RTS
SIFSCTS
SIFS
frame
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-170
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense, wait for DIFS, send RTS
• Receiver– wait for SIFS, return CTS
• Sender– wait for SIFS, transmit frame
• Receiver– wait for SIFS interval and return ACK
sense
DIFS
7
RTS
SIFSCTS
SIFS
frame
SIFSACK
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-171
802.11 WLANCSMA/CA MAC
• CSMA/CA: collision avoidance– RTS/CTS to reduce Pr[collision]
• Sender– sense, wait for DIFS, send RTS
• Receiver– wait for SIFS, return CTS
• Sender– wait for SIFS, transmit frame
• Receiver– wait for SIFS interval and return ACK
• Sender– must wait DIFS before next frame
sense
DIFS
8
RTS
SIFSCTS
SIFS
frame
SIFSACK
frame
DIFS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-172
802.11 WLAN802.11 – 802.3 Switching and Bridging
MAC
header
30B 14B
frame ctl type=10duration (s)
sequence control
payload
destination address
source address
basic service set id
address 4
LLC
SNAP
trailer
4B
LLC/SNAP
subheader
8B
payload
• Ethernet frequentlyused to interconnect802.11 APs
• Similar frame formatmakes bridging trivial
– map addresses
– copy LLC/SNAP
– copy payload
– copy FCS
length/type
payload
destination address
source address
LLC
SNAP
preamble + SFD
FCSFCS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-173
802.11 WLANHandoff
• Within BSS: no handoff
• Inter-BSS within ESS or IP subnet
– learning bridge in Ethernet switch
– not fast enough for real-time traffic with authentication
• IAPP inter-access point protocol
– 802.11F trial standard no longer in force
– unique association throughout ESS
– not fast enough for real-time traffic
• 802.11r: fast BSS transition EECS 882
– overlaps association and authentication using cached keys
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-174
802.11 WLANMesh Networking
• 802.11 specified ESS capability
– 802.11s: mesh standard
• Mesh points : relay APs or STAs
STA
STA STA
AP
AP
MP
BSS 1
BSS 2
InternetSTA
STA
MP
AP
MP
STA
STA
3
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-175
Wireless Networks: WMAN802.16 Overview
• WirelessMAN: Wireless MANs
– IEEE 802.16 grouper.ieee.org/groups/802/16
• Metropolitan wireless networks
– originally intended for fixed wireless access
– standardisation and replacement for MMDS in 10 – 66 GHz
– 802.16a additional operation in licensed bands 2 – 11 GHz
– 802.16b additional operation in unlicensed 5.8 GHz band
• Later support for mobility
– 802.16e
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-176
Wireless Networks: WMAN802.16 Relation to other 802 Wireless Protocols
• IEEE 802.16
– part of 2nd set of 802 wireless protocols (802.15 & 802.16)
– design motivated by MMDS
– no similarity to 802.11/Ethernet framing or operation
802.16 WMAN
802.11 WLAN
802.15
WPAN
10 km
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-177
Wireless Networks: WMANWiMAX Overview
• WiMAX
– Worldwide Interoperability for Microwave Access
– www.wimaxforum.org
– note capitalisation: WiMAX not WiMax
• 802.16 standards compliance & interoperability tests
– similar in concept to Wi-Fi for 802.11
• 802.16 deployment scenarios & service architecture
– recall that 802 mission is L1 and L2 only
WiMAX ≠ 802.16!
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-178
Wireless Networks: WMAN802.16 Physical and Link Characteristics
• 802.16 (original) at 32 – 134 Mb/s
– 10-66 GHz licensed spectrum; LOS (line of sight)
– 2 – 5 km transmission radius;
• 802.16a and 802.16b at 75 Mb/s
– 2 – 11 GHz; non-LOS
– 7 – 10 km typical; 50 km max transmission radius
• 802.16e: mobile at 15 Mb/s
– 2 – 6 GHz; non-LOS
– 2 – 5 km transmission radius
• 802.16m: 100 Mb/s mobile; 1 Gb/s fixed
– intended for LTE-advanced 4G mobile cellular telephony
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-179
802.16 WMANComponents
• BS: base station
– directly connected to Internet infrastructure
– arranged as mesh with other base stations
• SS: subscriber station
– fixed SS
• 802.16 communication with base station
• connected to LAN infrastructure, e.g. Ethernet, 802.11
– mobile SS
• mobile node such as PDA using 802.16e or 802.16m
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-180
802.16 WMANPoint-to-Multipoint (PMP) Mode
• PMP: point-to-multipoint topology
– BS: base station
• communicates with multiple SSs
• typically sectorised cell using multiple directional antennæ
– SS subscriber stations
• communicate through BSs
Internet
BSSS
3
SS
802.16 MT
STA
STA STA
802.11 AP
802.11
BSS
2
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-181
802.16 WMANMesh Mode
• Mesh mode
– BS – SS (as in PMP)
– BS – BS multihop relay to SS
– BS – BS mesh network (e.g for backhaul)
– SS – SS ad hoc mode
Internet
BS
BSSTA
STA STA
802.11 AP
802.11
BSS
2SS
3
SS
802.16 MT
SS
802.16 MT
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-182
802.16 WMANMAC and Link Layer Functions
• Link layer functions (called MAC layer in spec)
– error control
• ARQ
• hybrid ARQ with OFDMA
– scheduling and link adaptation for QoS
• Medium access control
– SC (single carrier) with FDD or TDD
– OFDMA (orthogonal frequency division multiple access)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-183
WiMAX WMANReference Architecture
• 802.16 only specifies air interface– PHY, MAC, link
• Need for implementation agreements
– equipment manufacturers
– service providers
• WiMAX forum reference architecture
– specifies components, subnetworks, and their roles
– specifies service architecture
– specifies reference points
• physical interfaces
• conceptual links (protocol and service relationships)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-184
WiMAX WMANSelected Reference Points
• ASN– access service network
– WiMAX Forum ref points
• Intra-ASN RPs
– R1: BS–SS
– R6: GW–BS
– R4: GW–GW
• Inter-ASN RPs
– R3: GW
BS
BS
R8SS
SS
GWR6
R1
R1
R3
R4
GW
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-185
802.16 and WiMAXFuture Outlook
• 802.16 as a MAN technology
– never widely deployed
– could be used for large campuses, e.g. KU
– but 802.16 devices not widely available
• 802.16 as a mobile telephony
– 802.16e was deployed Sprint and falsely called 4G
– 802.16m certified for real 4G IMT-Advanced
– 802.16 largely abandoned switching to LTE
• Will probably not be in important future technology
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-186
Wireless Personal NetworksIntroduction and Definitions
• PAN: local area network
– links or subnetwork of shorter reach than LAN
– replacement for interconnect cables
• computer peripherals
• mobile phone headsets
– private intimate group of personal devices [IEEE 802]
• in personal operating space (POS)
– several meters: O (10 m)
• Examples
– wired: USB, IEEE 1394 Firewire
– wireless: IrDA, 802.15.1/Bluetooth, 802.15.3, Wireless USB
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-187
Wireless Networks: WPANBluetooth History
• Initial work done at Ericsson in Sweden
– Bluetooth named after Harald I
• Bluetooth SIG (special interest group)
– industry consortium formed in 1998
– mobile telephone vendors: Ericsson, Nokia
– other electronics vendors: IBM, Intel, Toshiba
• Proprietary specification development
– membership was required to see draft specifications
– specifications now freely available (5 is current)• www.bluetooth.com/Bluetooth/Learn/Technology/Specifications
• 1000+ page behemoth
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-188
Bluetooth WPANNetwork Topology
• Piconet
– collection of devices in transmission range of master
– master dictates timing; transmits in odd-numbered slots
– up to 7 active slaves use even-numbered slots
– up to 247 parked (inactive) devices
– all slave–slave communication through master
• Scatternet
– collection of piconets that share devices
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-189
Bluetooth WPANArchitecture
• Stovepipe protocol stack for very specialised domain
– driven by mobile telephone manufacturers
– physical through application layer
• Application profiles define vertical protocol slices, e.g.:• generic access
• telephony
• printing
• data transfer
• Not compatible with other protocol stacks
– OSI, Internet, or IEEE 802
– IEEE reworked as 802.15.1
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-190
Bluetooth WPANProtocol Stack
• HCI: host controller interface• RFCCOMM: emulates serial port• TCS: telephony control protocol specification• SDP: service discovery protocol
radio layer
baseband layer
L2CAP: LLC and adaptation protocol
RFCOMM
PPP
IP
TCP
OBEX
Phone apps
AT
modem
TCS
link manager
audio
audio
c
o
n
t
r
o
l
S
D
P
Internet vCard mgmt
applications
hardware
software
HCI
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-191
Bluetooth WPANDeployment Status
• Deployment status
– widely deployed in mobile telephones
• most commonly used for wireless headsets
– widely deployed in laptop computers
Problems?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-192
Bluetooth WPANDeployment Issues
• Problems and issues
– closed development process driven by mobile telephony
– incompatible with Internet and 802 architecture
• rectified by IEEE 802.15.3 (future?)
– interference not considered
• interference with 802.11
• poor scalability in dense deployments (e.g. 2001 CeBIT debacle)
– numerous security flaws
– competition looming from wireless USB
– architectural limitations …
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-193
Bluetooth WPANArchitectural Limitations
• Significant architectural restrictions
– 3-bit address space only 8 active devices / piconet
• appalling lack of foresight
– evidently driven mobile telephone marketing folk
• personal networks easily far exceed 8 devices
• computer manufacturers (IBM, Intel) deny responsibility
– master/slave configuration
– scatternets consisting of multiple piconets
– problems largely rectified by IEEE 802.15.3
• future uncertain
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-194
Wireless Networks: WPAN802.15 Relation to other 802 Wireless Protocols
• IEEE 802.15
– part of 2nd set of 802 wireless protocols (802.15 & 802.16)
– design motivated by Bluetooth
– no similarity to 802.11/Ethernet framing or operation
802.16 WMAN
802.11 WLAN
802.15
WPAN
10 m
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-195
802.15 WPANWPAN Overview
• WPAN: Wireless Personal Area Networks– IEEE 802.15 grouper.ieee.org/groups/802/15
• Personal and short-reach wireless network
– shorter range than 802.11
– initially motivated by Bluetooth & compatibility with 802.11
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-196
802.15 WPANStandards Overview: Links
• IEEE 802.15
– wireless personal area networks
• Personal and short-reach wireless network
– 802.15.1: standardisation of Bluetooth physical/MAC layers
– 802.15.2: co-existence of 802.11 and 802.15 in 2.4 GHz
• original goal of 802.15.1 was to interoperate with 802.11
– 802.15.3: high rate and larger addresses
– 802.15.4: low energy for sensor networks
– 802.15.5: mesh networking
– 802.15.6: BAN body area networks
– 802.15.7: short range visible-light optical
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-197
802.15 WPANStandards Overview: Networking
• IEEE 802.15
– wireless personal area networks
• Personal and short-reach wireless network
– 802.15.1: standardisation of Bluetooth physical/MAC layers
– 802.15.2: co-existence of 802.11 and 802.15 in 2.4 GHz
• original goal of 802.15.1 was to interoperate with 802.11
– 802.15.3: high rate and larger addresses
– 802.15.4: low energy for sensor networks
– 802.15.5: mesh networking
– 802.15.6: BAN body area networks
– 802.15.7: short range visible-light optical
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-198
802.15.1 and Bluetooth WPANPhysical Layer Characteristics
• 2.4 GHz unlicensed ISM band
implications?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-199
802.15.1 and Bluetooth WPANPhysical Layer Characteristics
• 2.4 GHz unlicensed ISM band
– interference issues with 802.11b/g and cordless phones
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-200
802.15.1 and Bluetooth WPANPhysical Layer Characteristics
• 2.4 GHz unlicensed ISM band
• Three power classes
– class 1: 1–100 mW with power control in 2–8 dB steps
– class 2: 0.25–2.5 mW with optional power control
– class 3: max 1 mW with optional power control
• Three line coding options
– GFSK (Gaussian FSK) line coding: 1b/symbol = 1Mb/s
– /4-DQPSK: 2b/symbol = 2Mb/s
– 8-DQPSK: 3b/symbol = 3Mb/s
• Low sensitivity receivers for low cost
– –70dBm for 0.1%BER at 1Mb/s, 0.01%BER at 2, 3 Mb/s
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-201
802.15.1 and Bluetooth WPANMedium Access Control
• TDD (time division duplexing)
– simple to achieve over very short distances
• independent clocks are frequently synchronised
– 625μs / slot (27-bit slot number k)
– transmissions use 1, 3, or 5 slots
– masters begin transmission in even slot
master
slave
k k+1 k+2 k+3 k+4 k+5 . . .k+6
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-202
802.15.1 and Bluetooth WPANMedium Access Control
• TDD (time division duplexing)
– simple to achieve over very short distances
• independent clocks are frequently synchronised
– 625μs / slot (27-bit slot number k)
– transmissions use 1, 3, or 5 slots
– masters begin transmission in even slot; slaves in odd slot
master
slave
k k+1 k+2 k+3 k+4 k+5 . . .k+6
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-203
802.15.1 and Bluetooth WPANMedium Access Control
• TDD
• FHSS (frequency hopping spread spectrum)
– FHSS robust to narrow-band interference
– 79 1MHz bands between 2.402 and 2.4835 GHz (US)
– pseudorandom hopping sequence determined by master
– 1600 | 3200 hop/s in connection for data transfer| control
– significant interference with 802.11 DSSS
master
slave
f(k) f(k+1) f(k+2) f(k+3) . . .f(k+6)f(k+4) f(k+5)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-204
802.15.1 and Bluetooth WPANPiconet
• Piconet : up to 256 devices
– transmission range of master
M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-205
802.15.1 and Bluetooth WPANPiconet
M
• Piconet : up to 256 devices
– transmission range of master
• Master dictates timing
– transmits in even-numbered slots
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-206
802.15.1 and Bluetooth WPANPiconet
• Piconet : up to 256 devices
– transmission range of master
• Master dictates timing
– transmits in even-numbered slots
• Slaves
– max of only 7 active at a time
– use odd-numbered slots
M
S
S
S
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-207
802.15.1 and Bluetooth WPANPiconet
• Piconet : up to 256 devices
– transmission range of master
• Master dictates timing
– transmits in odd-numbered slots
• Slaves
– max of only 7 active at a time
– use even-numbered slots
– all slave–slave communication through master
M
S
S
S
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-208
802.15.1 and Bluetooth WPANPiconet
• Piconet : up to 256 devices
– transmission range of master
• Master dictates timing
– transmits in odd-numbered slots
• Slaves
– max of only 7 active at a time
– use even-numbered slots
– all slave–slave communication through master
• Parked (inactive) devices
– max 247
M
S
P
S
S
PP
P
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-209
Wireless Networks: WPAN802.15.3 Overview
• 802.15 Task Group 3: High Rate PANs
– higher data rates: 11 – 55 Mb/s
– multimedia and QoS
– ad-hoc and peer-to-peer networking
– better co-existence with 802.11
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-210
802.15.3 WPANPiconets
• Piconets
how to improve overBluetooth/802.15.1?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-211
802.15.3 WPANPiconets
• Piconets: 64K devices
– 16 b DEV address
– peer-to-peer data
• doesn’t need to go via PNC
why do we need a controller?
PNC
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-212
802.15.3 WPANPiconets
• Piconets: 64K devices
– 16 b DEV address
– peer-to-peer data
• doesn’t need to go via PNC
– PNC: piconet coördinator
• beacons to all DEVs in piconet
• distributes timing
PNC
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-213
802.15.1/3 and BluetoothFuture Outlook
• Bluetooth widely deployed in spite of flaws
– substitute for a few wired peripherals
– mobile phone headset
– computer keyboard and mouse
– Bluetooth SIG has taken back development from 802.15.1
• 802.15.3 not widely deployed
– may wait until needed
– more than 8 peripherals
– high-bandwidth multimedia
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-214
BluetoothReleases
• Bluetooth SIG industry consortium www.bluetooth.com
– has taken over standards; 802.15.1 dormant
– only organisational membership
• Bluetooth releases
– a confusing succession of technologies
Release Capability 802.15
1 802.15.1 721 kb/s max rate
2 Classic 3 Mb/s max rate
3 High Speed 802.11 data channel
4 Low Energy larger address space
5 IoT enhancements
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-215
Wireless NetworksSensor Network Overview
• Wireless sensor network (WSN) motivation
– remote sensing of environmental conditions
• e.g. temperature, chemical/radiological conditions
– perhaps remote actuation of control systems
• Sensor network characteristics
– network of sensors (and perhaps actuators)
– may be deployed in large numbers in remote areas
– low-power operation frequently essential
• difficult or impossible to replace battery
– large scale: manual configuration impractical
• sensor fields may have thousand or millions of nodes
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-216
Wireless Sensor NetworksApplication Examples
• Environmental monitoring
– long term, e.g. climate change
– short term, e.g. wildfire mapping
• Medical and health
– vital signs and ongoing biochemical monitoring
– automated drug dosing
• Intelligent buildings (IoT)
– fine-grained monitoring and control of temperature
– home automation
• Military and homeland security
– situational awareness
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-217
Wireless Sensor NetworksArchitectures
• Multihop
– communication withlimited transmission power
– may conserve energy
• but energy use fortransit traffic
S
sensor actuator
sinkGW
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-218
WSN CharacteristicsDifferences from other WPANs
• WPAN: wireless personal network
• Energy concerns
– WPAN nodes have rechargeable or replaceable batteries
– WSN energy management more critical
• Limited mobility
– many sensors are stationary
– initial self-organisation more important
• dynamic reoptimisation less critical
• network must react to failed nodes that have no energy left
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-219
WSN CharacteristicsDifferences from other Networks
• WSNs are data centric– information important
– not necessarily related to particular nodes
• Examples
– min / max / average temperature of a region
– mapping of a storm or wildfire
– location of an animal
Consequence?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-220
WSN CharacteristicsIn-Network Processing
• WSNs frequently manipulate data in the network– sensor nodes not only relay multihop traffic…
– but also process it on the way
• More energy efficient
– processing generally cheaper then transmission
– e.g. nodes compute average, max, or min value
• significantly reduces communication cost
– referred to as sensor fusion
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-221
WSN CharacteristicsIn-Network Processing Types
• Aggregation
– compute statistical functions on the way to the sink
– average, min, max, etc.
• Edge detection
– compute and convey boundaries between values
– e.g isotherms, isobars, storm edges, wildfire boundaries
• Trajectory tracking
– e.g. animal movement
• Other variants possible…
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-222
Wireless Networks: WPAN802.15.4 Overview
• 802.15.4
– 20 – 250 kb/s with multi-month to -year battery life target
– peer-to-peer networking
– extended addresses: 16 and 64 bit
• Generally intended for wireless sensor networks
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-223
Wireless Networks: WPAN ZigBee Overview
• ZigBee protocol specification
– upper level protocols for WSNs
– uses 802.15.4 MAC and PHY
• ZigBee Alliance
– industry consortium that maintains standard
– similar to Bluetooth, but not a L1–7 stovepipe
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-224
802.15.4 and ZigBeeFuture Outlook
• Limited deployments until recently
• Becoming an important technology for IoT
– Internet of Things
– e.g. Osram Lightify smart bulbs
• base station connects to 802.11
• bulbs form multihop network
• Security concerns
– IoT devices have already been cracked
• many more have identified vulnerabilities
• there has never been a secure consumer platform
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-225
MAC; Mobile and Wireless NetworksMobile Networks
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-226
MobilityOverview
• So far, we’ve been assuming fixed nodes
– end systems and intermediate systems (switches/routers)
• Mobility
– ability to move a device through the network
• Spectrum of mobility
– fixed: no movement (may still be wireless!)
– mobile: changes point of attachment to network
• requiring reconnection, e.g. DHCP
• allowing handoff, e.g. mobile IP, cellular telephony
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-227
Mobile Wireless NetworksCharacteristics
• Mobile networks
– wireless needed to enable mobility
• Dynamicity as nodes move
– layer 1 and 2 effects: link characteristics change
• e.g. signal strength, bandwidth, delay
– layer 3 effects: topologies change
• induces route changes
– layer 4 effects: end-to-end path characteristics change
• e.g. throughput, goodput, delay
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-228
Mobile Wireless NetworksNetwork Elements: Mobile Node
• Base station (BS)
• Mobile node (MN)
– wireless node that moves
InternetMN
MN
cell
BS BS
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-229
Mobile Wireless NetworksNetwork Elements: Mobile Node
• Base station (BS)
• Mobile node (MN)
– wireless node that moves
– roams among base stations
– handoff between cells
– e.g. mobile telephoneInternet
cell
BS
MN
MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-230
Mobile Wireless NetworksNetwork Elements: Mobile Node
• Base station (BS)
• Mobile node (MN)
– wireless node that moves
– roams among base stations
– handoff between cells
– e.g. mobile telephoneInternet
cell
BS
MN
MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-231
Mobile Wireless NetworksNetwork Elements: Mobile Node
• Base station (BS)
• Mobile node (MN)
– wireless node that moves
– roams among base stations
– move with respect to one-another
– ad hoc networkInternet
cell
BS
MN
MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-232
Mobile Wireless NetworksNetwork Elements: Mobile Node
• Base station (BS)
• Mobile node (MN)
– wireless node that moves
– roams among base stations
– move with respect to one-another
– ad hoc networkInternet
cell
BS
MN MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-233
IP MobilityOverview
• Problem: node mobility between IP prefixes
– need to revisit IP-address/node bindings
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-234
DHCPOverview
• DHCP: dynamic host configuration protocol [RFC 2131]
• Allows node to dynamically obtain IP address– as well as other configuration parameters, e.g. DNS server
• Benefits– reduces manual configuration
– allows mobile nodes to easily move attachment point
Problems?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-235
DHCPOverview
• DHCP: dynamic host configuration protocol [RFC 2131]
• Allows node to dynamically obtain IP address– as well as other configuration parameters, e.g. DNS server
• Benefits– reduces manual configuration
– allows mobile nodes to easily move attachment point
• Problems– no handoff capabilities
– flows and sessions interrupted during move
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-236
Mobile IPOverview
• Mobile IP [RFC 3220] (designed by C.E. Perkins)
– designed to enable untethered Internet access
– with limited mobility
– without disrupting higher level protocol flows
• Simple way of forwarding IP packets to mobile nodes
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-237
Mobile IP ArchitectureHome Network
• Home network: permanent (normal) home of MN
– MN: mobile node
– permanent address assigned from home network block
• e.g. 128.119.40.186 assigned from 128.119.40/24
Home Net
MN
IPAP
IPAP
IP IP
IP
IP128.119.40/24
128.119.40.86
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-238
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN– e.g. 79.129.13/24
Home Net Visited Net
MN
CN
IPAP
IPAP
IP IP
IP
IP128.119.40/24 79.129.13/24
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-239
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN– e.g. 79.129.13/24
problem?
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-240
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN
– home IP addr not in visited block: packets fwd to wrong net
• e.g. 128.119.40.186 ∉ 79.129.13/24
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-241
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN
– home IP addr not in visited block: packets fwd to wrong net
solution?
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-242
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN
– home IP addr not in visited block: packets fwd to wrong net
– use DHCP to get address in visiting net: all flows interrupted
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
79.129.13.101MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-243
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN
– home IP addr not in visited block: packets fwd to wrong net
solution?
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-244
Mobile IP ArchitectureVisited Network
• Home network: permanent (normal) home of MN
• Visited Network: temporary location of MN
– home IP addr not in visited block: packets fwd to wrong net
– mobile IP agents forward on behalf of MN
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86MN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-245
Mobile IP ArchitectureHome Agent
• Home network receives traffic destined for MN
– home agent (HA) receives traffic destined for MN
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HAMN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-246
Mobile IP ArchitectureForeign Agent
• Home agent (HA) forwards on behalf of MN to visited
• Foreign agent (FA) intercepts and relays to MN
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HA FAMN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-247
Mobile IP ArchitectureForeign Agent
• Home agent (HA) forwards on behalf of MN to visited
• Foreign agent (FA) intercepts and relays to MN
Home Net Visited Net
MN
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HA FA
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-248
Mobile IP ArchitectureReverse Path
• Home agent (HA) forwards on behalf of MN to visited
• Foreign agent (FA) intercepts and relays to MN
Does MN need to use agents to send to CN?
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HA FAMN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-249
Mobile IP ArchitectureReverse Path
• Home agent (HA) forwards on behalf of MN to visited
• Foreign agent (FA) intercepts and relays to MN
• MN can address datagrams directly to CN
issues?
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HA FAMN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-250
Mobile IP ArchitectureTriangle Routing
• Home agent (HA) forwards on behalf of MN to visited
• Foreign agent (FA) intercepts and relays to MN
• MN can address datagrams directly to CN
– triangle routing : forward path ≠ reverse path
Home Net Visited Net
CN
IPAP
IPAP
IP IP
IP
IP
MN
128.119.40/24 79.129.13/24
128.119.40.86HA FAMN
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-252
Mobile IPProcedures
• Agent discovery with ICMP messages
– home and foreign agents advertise their service
– mobile nodes solicit the existence of an agent
• Registration
– request forwarding services from foreign agent
– registers care-of address with home agent
• Tunneling
– home agent tunnels datagrams to care-of address
– various methods, including IP-in-IP and GRE
• Handoff
– de- and re-register
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-253
Mobile IPAdvantages and Disadvantages
• Advantages
– very simple mechanism
• Disadvantages
– hand-off latency may be seconds
• registration
• authentication
• many optimisations proposed
– triangle routing
• different forward and reverse paths
– security issues
• ingress and firewall address filtering of address mismatches
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-254
Mobile IPReality
• IP routers
– most supported mobile IP for a long time
• Service providers
– some deployment within cellular telephony service providers
• Users
– very little actual use
– DHCP reattachment sufficient for many applications
• email and Web transactions
– not yet much continuous wireless coverage
• very few users roam among 802.11 hot spots
• mobile telephony has won this niche
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-255
Mobile Ad Hoc NetworkingOverview
• Mobile ad hoc networks
– MANETs in IETF jargon (pronounced ma-net not ma-nay)
• Mobile
– nodes are untethered
• Ad hoc
– no pre-existing infrastructure is assumed
– auto-configuration of nodes
– self-organisation of networks
– example: group of users meets in cave and forms a network
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-256
Mobile Ad Hoc NetworkingMultihop Networking
• Multihop
– nodes act as both end and intermediate systems
– users carry transit traffic
– security and performance implications
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-257
Mobile Ad Hoc Networking Impact of Mobility
• Dynamic nodes and topologies
– changing links, clustering, and topology
– difficult to achieve routing convergence
• Control loop delay
– mobility may exceed ability of control loops to react
• Impacts QoS
– changes in inter-node distance
• requires power adaptation
• changes density and impacts degree of connectivity
– latency issues (routing optimisations temporary)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-258
Mobile Ad Hoc NetworkingRouting Algorithms
• Types
– proactive or table driven
• compute routes that may be needed
• low communication startup latency
• overhead of continuous route maintenance
– reactive or on-demand
• compute routes only when needed
• higher startup latency
• lower overall overhead
• Many proposed routing algorithms
– DSDV, AODV, OLSR, DSR, etc.
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-259
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
scenarios?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-260
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
– cordless phone replacement within premises
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-261
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
– cordless phone replacement within premises
– mobile telephones for use anywhere
• including while moving: driving, riding train or bus
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-262
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
– cordless phone replacement within premises
– mobile telephones for use anywhere
• including while moving: driving, riding train or bus
• Design goals
– seamless mobility is prime requirement
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-263
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
– cordless phone replacement within premises
– mobile telephones for use anywhere
• including while moving: driving, riding train or bus
• Design goals
– seamless mobility is prime requirement
how is this different from mobile IP?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-264
Mobile Wireless TelephonyMotivation
• Untethered replacement for wired phones
– cordless phone replacement within premises
– mobile telephones for use anywhere
• including while moving: driving, riding train or bus
• Design goals
– seamless mobility is prime requirement: handoff
– more aggressive requirement than for mobile IP
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-265
Wireless TelephonyEarly History
• 1947–1977 (0G)
– 1946: FCC allocates 33 FM channels in 35,150,450 MHz band
– 1947: operator relay begins to US passenger trains
– 1960s: direct dialing from automobiles in home area
• extremely limited channel capacity
– 1977: Bell Labs begins first AMPS 1G cellular trial in Chicago
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-266
Cellular Network TopologyMotivation
• Goal: wireless telephony everywhere
Problem: how to place base stations?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-267
Cellular Network TopologyMotivation
• How to place base stations
randomly?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-268
Cellular Network TopologyMotivation
• How to place base stations
– random: difficult for network traffic engineering
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-269
Cellular Network TopologyMotivation
• How to place base stations
– random: difficult for network traffic engineering
alternative?
dead zones
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-270
Cellular Network TopologyMotivation
• How to place base stations
– regular tessellation in cellular structure
what shape?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-271
Cellular Network TopologyMotivation
• How to place base stations
– regular tessellation in cellular structure
square grid?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-272
Cellular Network TopologyMotivation
• How to place base stations
– regular tessellation in cellular structure
– square grid: very non-uniform distance between transmitters
• range of 1 to 1.414 units
– results in
• significant overlap
or
• dead zones
alternative?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-273
Cellular Network TopologyHexagonal Cell Structure
• How to place base stations
– hexagonal tessellation is most efficient packing of circles
– still results in
• some overlap
cell
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-274
Cellular Network TopologyHexagonal Cell Structure
• How to place base stations
– hexagonal tessellation is most efficient packing of circles
– still results in some overlap
– circle is idealisation of coverage
• assumes perfect omnidirectionality
• assumes abrupt attenuation
– reality: exact location constrained by
• economics
• regulation and zoning
• topography
• location of existing towers
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-275
Cellular Network TopologyHexagonal Cell Structure
• Hexagonal cell plan
Problem?
cell
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-276
Cellular Network TopologyHexagonal Cell Structure
• Hexagonal cell plan
• Problem: interference between adjacent cells
solution?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-277
Cellular Network TopologyHexagonal Cell Structure
• Hexagonal cell plan
• Adjacent cells need to use different frequencies
– avoid inter-cell interference
– signal-strength sensing for handoff
how to allocate?
cell
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-278
Cellular Network TopologyFrequency Reuse
• Hexagonal cell plan
• Frequency reuse
– plan to assign differing frequencies to adjacent cells
– 3, 4, or 7 cluster sizes among the choices
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-279
Cellular Network TopologyFrequency Reuse
• Hexagonal cell plan
• Frequency reuse
– plan to assign differing frequencies to adjacent cells
– 3 frequency plan most efficient
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-280
Cellular Network TopologyFrequency Reuse
• Hexagonal cell plan
• Frequency reuse
– plan to assign differing frequencies to adjacent cells
– 7 frequency plan allows later subdivision
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-281
Cellular Network TopologyIncreasing Capacity
• Cell plan designed for a given traffic load
what happens when traffic increases?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-282
Cellular Network TopologyIncreasing Capacity: Add Spectrum
• Add channels
– constrained by available spectrum
– e.g. channels added to US AMPS (taken from UHF television)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-283
Cellular Network TopologyIncreasing Capacity: Dynamic Assignment
• Add channels
• Frequency borrowing
– adjust long-term allocation between cells
• limited applicability
– dynamically load balance channels among cells
• complexity
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-284
Cellular Network TopologyIncreasing Capacity: Sectorisation
• Add channels
• Frequency borrowing
What else?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-285
Cellular Network TopologyIncreasing Capacity: Sectorisation
• Add channels
• Frequency borrowing
• Sectorisation (SDMA)
– replace omnidirectional antenna with directional antennæ
– 3, 4, and 6 sector designs common
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-286
Cellular Network TopologyIncreasing Capacity: Cell Splitting
• Add channels
• Frequency borrowing
• Sectorisation
• Cell splitting
– overlay microcells
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-287
Cellular Network TopologyIncreasing Capacity: Cell Splitting
• Add channels
• Frequency borrowing
• Sectorisation
• Cell splitting
• Combination of techniques
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-288
Cellular Network MobilityProblem
How to support mobility between cells?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-289
Cellular Network MobilityHandoffs
• Handoffs (handovers) for mobility between cells
– without call/connection termination
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-290
Cellular Network MobilityHandoffs
• Handoffs (handovers) for mobility between cells
– without call/connection termination
• Handoff types
– hard handoff: break-before-make
– soft handoff: make-before-break
Metrics?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-291
Cellular Network MobilityHandoff Metrics
• Handoff metrics
– call dropping probability
– handoff delay (due to signalling)
– interruption duration (time MT not connected to either BS)
• results in silence for voice and packet loss for data
– probability of unnecessary handoff
todo: fig
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-292
Cellular Network MobilityHandoff Strategies
• Handoff strategies: relative signal strength
– handoff to BS with stronger signal
problem?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-293
Cellular Network MobilityHandoff Strategies
• Handoff strategies: relative signal strength
– handoff to BS with stronger signal
– ping-pong oscillations between adjacent base stations
alternatives?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-294
Cellular Network MobilityHandoff Strategies
• Handoff strategies: relative signal strength
– handoff to BS with stronger signal
– ping-pong oscillations between adjacent base stations
• Handoff optimisations
– thresholds
– hysteresis
– predictive
• future signal strength
– combinations
based on [Stallings 2005] fig. 10.7b
cell assignment
relative signal strength
HO AHO B
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-295
Mobile Telephone NetworkRoaming
• Roaming between service providers
– handoff
– service and billing agreements
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-296
Mobile Telephone NetworkArchitecture Overview
• Network divided in cells each covered by base station– adjacent cells use different frequencies (spatial reuse )
• Mobile terminals move among cells• Cells interconnected by mobile switching centers
– backhaul from base stations to MSCs (may be wireless )
MSC MSCmobile switching center
base station
cell
mobile terminal
Internet
3G+
PSTN
(wired)
4
backhaul
wireless
backhaul
IP
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-297
Mobile Telephone NetworkGenerations
• 1G: analog voice
• 2G: digital voice
– 2.5G: 2nd generation with added data services
– emerged with delay of 3G past planned deployment in 2000
• 3G: moderate-rate data access
• 4G: high-rate data access
– ITU req: 1 Gb/s stationary / 100 Mb/s moving data rate
• 5G: under development
– higher data rate at current power levels
– large dense M2M (machine-to-machine) deployments
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-298
Mobile Cellular TelephonyFirst Generation: Analog Voice
• 1G: analog voice
• 2G: digital voice
• 3G: digital voice with moderate-rate data access
• 4G: high-rate data access
• 5G: dense ubiquitous very-high-rate data with M2M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-299
Mobile Cellular TelephonyFirst Generation: Analog Voice
• 1G (first generation) mobile telephony
– voice: analog modulation of analog signal
– control: analog modulation of digital signal
– data: no support
• Development
– trials in 1970s
– first commercial services in 1980s
– ubiquitous in 1990s
• most cities & along freeways, motorways, autobahnen
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-300
1G Mobile Cellular TelephonyCharacteristics
• First generation: analog cellular telephony
• Handsets
– large and bulky
– similar in size to wired phones with lead-acid batteries
• e.g. “bag phone”
– later more compact with NiCd batteries with poor life
• e.g. 1989 Motorola MicroTAC (total area coverage) flip phone
• Call characteristics
– attenuation and noise resulted in variable quality
– quality degraded significantly when handoff between cells
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-301
1G Mobile Cellular TelephonyDeployed Systems
• 1G deployments: multiple incompatible systems
– AMPS (advanced mobile phone system)
• US, South America, Australia, China, Japan
– NMT, TACS, B/C-Netz, RTM, Radiocom
– no ability to roam between systems and countries
– limited roaming between compatible systems
• special roaming codes needed to receive calls
• AMPS: FCC granted two licenses per area
– A: second service provider / B: incumbent telco (e.g. RBOC)
– analogue coding with 30 kHz channels
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-302
1G Mobile Cellular TelephonyUS AMPS Overview
• FCC granted two licenses for each market
– A: second service provider (e.g. Cellular One)
– B: incumbent wireline provider (e.g. RBOC)
– each allocated 333 voice + 21 control channels
– later expanded to 416 voice channels
• FCC reclaimed UHF TV channels 70 – 83
• Initially A/B network manually provisioned in phone
– phone identified by EIN
– no automatic roaming between carriers
– special roaming codes needed to receive calls
– phone#+serial#+PIN transmitted in clear; cloning common
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-303
1G Mobile Cellular TelephonyProblems
• Problems with 1G cellular telephony
– analog voice transmission subject to noise and interference
– developed reputation for poor quality
• Solution
– digital coding of voice channels
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-304
Mobile Cellular TelephonySecond Generation: Digital Voice
• 1G: analog voice
• 2G: digital voice
– 2.5G: 2nd generation with data over voice channels
– 2.75G: 2.5 generation with enhanced data rates
• 3G: digital voice with moderate-rate data access
• 4G: high-rate data access
• 5G: dense ubiquitous very-high-rate data with M2M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-305
2G Mobile Cellular TelephonyCharacteristics
• Second generation: digital cellular telephony
• Handsets
– smaller than analog sets
• driven by more compact digital components and Moore’s law
– later premium phones very small
• e.g. 1996 Motorola StarTAC: 1st small clamshell
• Call characteristics
– marketing claim: clear voice with no dropped calls
– reality:
• better quality when signal strong
• worse quality when signal very weak, especially during handoff
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-306
2G Mobile Cellular TelephonyVoice Network Overview
MS
Radio Network Subsystem
• Radio network subsystem (RNS)
– connected to circuit switched mobile core network
– core network MSCs connected to traditional PSTN
PSTN
4
Core Network
circuit-switched
voice
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-307
2G Mobile Cellular TelephonyDeployed Systems
• 2G TDMA deployments
– GSM (global system for mobile communications)
• Europe and most of the world
• later US Cingular at&t
– iDEN US (Nextel Sprint), Canada
– D-AMPS (digital AMPS) US (AT&T US Cellular), Canada
– PDC (personal digital cellular) Japan, South Korea
• 2G CDMA deployments: IS-95 from Qualcomm
– US (Sprint, Verizon), Canada, Mexico, Australia, Korea, China, India, Israel, Sri Lanka, Venezuela, Brasil
– became dominant US, then lost market share
• lost US market share to GSM (T-Mobile, at&t/Cingular)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-308
2G Mobile Cellular TelephonyVoice Network Architecture
MS
MS
BTS
BTS
BSC
PSTN
4MSC
• BTS: base transceiver station
– cell tower and transceivers
• BSC: base station controller
– intelligence for multiple BTSs
• MSC: mobile switching center
• HLR/VLR: home/visitor loc registry
– for roaming
BSC
HLR VLR
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-309
2G Mobile Cellular TelephonyLink Characteristics
based on [Stallings 2005] Table10.5
AMPS D-AMPS GSM cdmaOne
Introduced 1979/1984 1991 1990 1993
Type analog digital digital digital
Coding FM TDMA TDMA CDMA
band MHz BS 869 – 894 869 – 894 935 – 960 869 – 894
MT 824 – 849 824 – 849 890 – 915 824 – 849
Channel BW 30 kHz 30 kHz 200 kHz 1.25 MHz
Duplex channels 790 + 42 832 125 20
Mux. degree 1 3 8 35
Max. xmit. power 3 W 3 W 20 W 200 mW
Modulation FM + FSK /4 DQPSK GMSK QPSK
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-310
2.75G GSM TDMAEDGE Motivation
• 3G deployments for mobile data significantly delayed
– consumers wanted promised data capabilities
• Solution: add data to existing GSM infrastructure
– GPRS (2.5G): very-low-rate data in existing voice channels
– EDGE (2.75G): low-rate data channels added to 2G
• Note: data in 2G CDMA not widely deployed
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-311
2.75G GSM TDMAEDGE Overview
• EDGE: Enhanced Data Rates for GSM Evolution
– enhanced data packet transport over GSM
– meets technical definition of 3G
• but slower than current 3G technologies UMTS and EV-DO
• Data rate varies
– 236.8 kb/s per 4 slots
• Displayed as ‘E’ on many Android phones
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-312
Mobile Cellular TelephonyThird Generation: Moderate Rate Data
• 1G: analog voice
• 2G: digital voice
• 3G: digital voice with moderate-rate data access
• 4G: high-rate data access
• 5G: dense ubiquitous very-high-rate data with M2M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-313
3G Mobile Cellular NetworkingMotivation and Characteristics
Problems with 2G cellular telephony?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-314
3G Mobile Cellular NetworkingMotivation and Characteristics
• Problems with 2G cellular telephony
– nothing really, for voice…
– but not engineered for data and Internet access
• but is this really the right device to access the Internet?
• Response of mobile service providers
– hack data services into and onto cellular infrastructure
• Market advantage
– widely deployed wireless infrastructure
– way ahead of 802.11
– predates 802.16
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-315
3G Mobile Cellular NetworkingStandards Evolution from 2G
• GSM family: UMTS
– 2G GSM 2.75G EDGE 3G UMTS
– UMTS: universal mobile telecommunication service
– most of the world (US at&t and T-Mobile)
• CDMA family
– 2G IS-95 cdmaONE 3G CDMA2000
– US (Sprint and Verizon) and a few other world markets
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-316
3G Mobile Cellular Networking Standards and Interfaces
• IMT-2000
– International Mobile Telecommunications 2000
– ITU-R standard M.1457 for 3G networking
• Six IMT-2000 air interfaces; two widely deployed
– IMT-DS: direct sequence – W-CDMA/UMTS (GSM evolution)
– IMT-MC: multicarrier – CDMA2000 standardised by 3GPP2
– IMT-TD: time division – TD-CDMA standardised by 3GPP
– IMT-SC: single carrier – EDGE (2.75G)
– IMT-FT: frequency time: DECT enhanced cordless telephone
– OFDMA TDD WMAN in 2007 – based on 802.16e• Sprint ended 802.16e service 2015
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-317
3G Mobile Cellular NetworkingVoice and Data Network Overview
MS
Radio Network Subsystem
• RNS access split into two:
– circuit switched voice (as in 2G)
– packet switched data (new with 3G)
PSTN
4
Internet
IP
Core Network
circuit-switched
voice
packet-switched
data
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-318
3G Mobile Cellular Networking Evolution to Higher Rates
• 3G technologies evolved to higher data rates
– and briefly included 802.16 WiMAX
– 3.5 / 3.75 / 3.9G designations unofficial
• commonly used, but not always in agreement
– US carriers piled on to compete as “4G”
• Alternatives
– GSM: 3G UMTS 3.5G HSPA 3.75G HSPA+
– CDMA: 3G CDMA2000 3.5G EV-DO
– 802.16 WiMAX: 802.16e 3G
– UMTS 3.9G LTE
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-319
3G Mobile Cellular Networking LTE Evolution toward 4G
• LTE: long term evolution
– 3GPP successor to UMTS
• Appears to finally be worldwide converged standards
– air interfaces and link protocols
– deployment architecture and interfaces
– frequency bands
• but many complicate universal handset deployment
• e.g. China and India bands 39/40/41
– 3.9G (unofficially)
• doesn’t meet ITU 4G requirements
• but the same architecture as 4G LTE-A
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-320
3.9G/4G Mobile NetworkingLTE History
• 2004: initiated by NTT DoCoMo as E-UTRA
– E-UTRA enhancement of UTRA
– performance targets
• 100 M b/s downlink; 50 Mb/s uplink; < 10 ms RTT
• 2007: first approved 3GPP technical specifications
• 2008: stable for commercial implementation
• 2009: first public LTE service in Stockholm and Oslo
• 2010: LTE service in Germany
• 2015: LTE deployment and substitution in US
• 2019: Verizon decommissioning 3.5G EV-DO network
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-321
3.9G/4G Mobile NetworkingLTE Data Network Overview
MS
Radio Network Subsystem
• RNS access
– only packet switched data and VoIP
– legacy circuit-switched network gone
PSTN
Internet
IP
Core Network
circuit-switched
voice
packet-switched
data
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-322
3.9G/4G Mobile NetworkingLTE Architectural Features
• Simplified network architecture vs. 3G
– flat IP-based network replacing the GPRS core
– optimised for the IP-Multimedia Subsystem (IMS)
• circuit switching gone
– network partly self-organising
• Scheme for soft frequency reuse between cells– inner part uses all sub-bands with less power
– outer part uses pre-served sub-bands with higher power
• Transition from 3G networks
– but with completely different radios and air interfaces
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-323
3.9G/4G Mobile NetworkingLTE Performance
• Enhanced performance over early 3G
– higher data throughput using MIMO
– lower RTT for interactive and gaming applications
• Greater flexibility
– spectrum, bandwidth, rates
• Step towards 4G
– architecturally compatible
– but insufficient data rate: not 100 Mb/s / 1 Gb/s
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-324
3.9G/4G Mobile NetworkingLTE Physical Layer Characteristics
• E-UTRA (Evolved Universal Terrestrial Radio Access)
– Operating bands: 700-2700MHz
– Channel bandwidth 1.4, 3, 5, 10, 15, or 20 MHz
– TDD and FDD
• Modulation: QPSK, 16QAM, 64QAM
• Multiple Access
– OFDMA (DL), SC-FDMA (UL)
• Peak data rates
– 300 Mbit/s DL; 75 Mbit/s UL
– Depends on UE category
• Cell radius: <1 km to 100 km
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-325
Mobile Cellular TelephonyFourth Generation: High Rate Data
• 1G: analog voice
• 2G: digital voice
• 3G: digital voice with moderate-rate data access
• 4G: high-rate data access
• 5G: dense ubiquitous very-high-rate data with M2M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-326
4G Mobile Networking Deployment Status
• Who here has 4G?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-327
4G Mobile Networking Deployment Status
• Who here has 4G?Really? Run a speedtest and lets see who’s the fastest
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-328
4G Mobile Networking Deployment Status
• Who here has 4G?
– results:
– I routinely get 30–60 Mb/s in KC/Lawrence from T-Mobile
• not much better than HSPA+
– I occasionally get 60–90 Mb/s
– I once got 138 Mb/s in downtown Kansas City
– I once got 161 Mb/s in St. Louis
• Unless you got 1 Gb/s , you don’t really have 4G
– if you got > 100 Mb/s , we’ll talk…
More later
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-329
4G Mobile NetworkingOverview
• High data rates for modern smart phones
– mobile PSTN has become de facto mobile Internet access
• IMT-advanced (international mobile telecommunications)
– ITU-R M.2133, M.2134
– 100 Mb/s mobile
– 1 Gb/s stationary
• Service offerings
– many claimed based on 802.16, HSPA, and LTE
– not actually 4G
• are being spun as 4G by service providers
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-330
4G Mobile NetworkingLTE and LTE-A Mobile Telephony Generations
• LTE is next architectural generation in GSM family
– GSM UMTS LTE
• evolved UMTS terrestrial radio access
• ITU defines generations by capabilities– 3G = ITU-R M.1457 IMT-2000
– 4G = ITU-R M.1645 IMT-Advanced
• Relationship
– provider marketing folk want to sell you new & improved
– but doesn’t reflect reality of ITR-R standards
– LTE = IMT2000 = 3G (referred to here as 3.9G)
– LTE-A = IMT-Advanced = 4G unless ITU redefines 4G
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-331
4G Mobile NetworkingIMT-Advanced Overview
• IMT-advanced
– ITU-R M. series specification
– worldwide compatibility
– flexibility to efficiently support wide range of services
– interworking with other technologies
– requirement for 4G certification
• Desired features
– high data rates for mobile broadband services and apps
• 1 Gb/s stationary to 100 Mb/s high mobility
– worldwide roaming
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-332
4G Mobile Networking3GPP LTE-Advanced Overview
• 3GPP LTE-advanced
– successor to LTE
• 3GPP releases 10–12
– theoretical data rates sufficient for IMT-A / 4G certification
• sometimes called “real 4G” or “true 4G”
• Major architectural thrusts
– new scenarios
– densification
– multi-antennæ techniques
– spectrum flexibility
– device enhancements
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-333
4G Mobile Networking Criteria: Marketing
• Criteria for 4G
– service providers advertising 4G?
• Nope! They lie about net neutrality as well
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-334
4G Mobile Networking Criteria: Standards
• Criteria for 4G
– compliant with ITU-R IMT-Advanced M.2134
• Downlink: 1 Gb/s stationary | 100 Mb/s moving
– 3GPP standards
• LTE releases 8 and 9 not compliant
• LTE-A releases 10–12 are compliant
– other compliant standards
• 802.16m (mostly dead after Sprint abandoned)
• 3GPP2 UMB (cdma2000 EV-DO successor) dead
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-335
4G Mobile Networking Criteria: Device Support
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
does your phone support?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-336
4G Mobile Networking Criteria: Device Support
Phone G Protocol Max rate Year
Sams Apl Rel Cat Dnlink Uplink
4 (4s) HSPA cl10 7.2 Mb/s 5.76 Mb/s 2010 2Q
SII LTE 21.1? 5.76? 2011 2Q
SIII 5 (5s) 3G LTE 3 100 Mb/s 50 Mb/s 2012 3Q
S4 3G LTE 3 100 Mb/s 50 Mb/s 2013 2Q
S4 Act 4G LTE-A 4 150 Mb/s 50 Mb/s 2013 4Q
S5 6 4G LTE-A 4 150 Mb/s 50 Mb/s 14 3Q 15 2Q
S6 4G LTE-A 6 300 Mb/s 50 Mb/s 2015 2Q
S7 7 4G LTE-A 3CA 9 450 Mb/s 50 Mb/s 2016 2Q 3Q
8 X 4G LTE-A 3CA 12 600 Mb/s 150 Mb/s 2017 3Q 4Q
S8 / N8 XS 4G LTE-A 5CA 16 1.0 Gb/s 150 Mb/s 17 1Q 18 4Q
S9 4G LTE-A 6CA 18 1.2 Gb/s 200 Mb/s 2018 1Q
[gsmarena.com]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-337
4G Mobile Networking Criteria: Device Support
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
– phone support (2014–2017)
• LTE-A in recent high-end phones
• but not at real 4G data rates for any iPhone
does your service provider support?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-338
4G Mobile Networking Criteria: Provider Support
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
– phone support (2014–2017)
• LTE-A in recent high-end phones
• but not at real 4G data rates for any iPhone except 8 XS
– service provider support (~2016)
• some providers announce markets (e.g. T-Mobile Lawrence)
• difficult to tell (LTE Discovery rooted?)
– unless you get > 150 Mb/s measured downlink …… which you don’t
do you have an actual 4G-rate downlink?
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-339
4G Mobile Networking Criteria: Provider Support
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
– phone support (2014–2017)
• LTE-A in recent high-end phones
• but not at real 4G data rates for any iPhone
– service provider support (~2016)
• some providers announce markets (e.g. T-Mobile Lawrence)
• difficult to tell (LTE Discovery rooted?)
– unless you get > 150 Mb/s measured downlink …… which you don’t
– channel capabilities and throughput (not yet)
• ≥ cat 6 @ 300 Mb/s 50 Mb/s
– being very loose with what is 4G
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-340
4G Mobile Networking Criteria
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
– phone support (2014–2017)
– service provider support (~2016)
– channel capabilities and throughput (not yet)
• But this doesn’t matter, you say
– it’s all pedantry
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-341
4G Mobile Networking Criteria
• Criteria for 4G: LTE-A: 3GPP rel. 10–12
– phone support (2014–2017)
– service provider support (~2016)
– channel capabilities and throughput (not yet)
• But this doesn’t matter, you say
– we are scientists and engineers: we do pedantry
– you’re OK buying a “1 Gb/s Ethernet switch” …… and only getting 20 Mb/s throughput?
• “4G” is now meaningless
– LTE-Advanced & 3GPP releases not advertised to consumers
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-342
Mobile Cellular TelephonyFifth Generation: High Rate Data
• 1G: analog voice
• 2G: digital voice
• 3G: digital voice with moderate-rate data access
• 4G: high-rate data access
• 5G: dense ubiquitous very-high-rate data with M2M
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-343
Fifth Generation Mobile Networking5G Overview
• Very high data rates
– for evolving smart phones and other mobile devices
– aggregate capacity for many more devices
– P2P communications for efficiency
• Large number of devices
– continued increase in mobile device adoption
– M2M (machine-to-machine) communication for the IoT
• IMT-advanced (international mobile telecommunications)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-344
5G Mobile NetworkingProjected Traffic Demand
• 5G traffic predictions
– 1 ZB = 1k EB = 1M PB = 1G TB
– 1 ZB/month = 4 PB/s
0
1000
2000
3000
4000
5000
6000
2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030
EB
Non-Video Video M2M
traffic/month
ITU-R M.2370]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-345
5G Mobile NetworkingIMT-2020 Overview
• IMT-2020
– vision and framework: ITU-R M.2083
– timeline
• vision: 2012
• development: 2016
• deployment: 2020
– usage scenarios
• enhanced mobile broadband
• ultra-reliable low-latency communications
• massive machine-type communications
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-346
5G Mobile Networking5G vs. 4G Requirements
20 100
10
100 500
106 1
3
10
1
350
10
.1
1
1
105
spectrum
efficiency
mobility[km/h]
user rate[Mb/s]
peak rate[Gb/s]
capacity[Mb/s/m2]
energyefficiency
density[dev/km2]
latency[ms]
IMT-adv
IMT-2020
• ITU-T Kiviat4G vs. 5G
[ITU-R M.2083]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-347
5G Mobile Networking 3GPP 5G Functionality
• 5G functionality
– massive IoT
– critical communications: latency, reliability, availability
– enhanced mobile broadband
– enhanced network operation and security
• 3GPP release 15 just standardised
– not fully IMT-2020 5G capableg
• 3GPP “real 5G” standardisation just underway
– rel. 16 target Dec. 2020
But wait, it gets worse!
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-348
5G Mobile Networking 5G Carrier Claims
• “5G” deployments
– carriers already announcing “5G” network service
• late 2018 – early 2019
– initial 5G-NR (new radio) release 15 subset
• not full 5G; no other 5G network capabilities
• won’t even use mm-wave spectrum!
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-349
5G Mobile Networking 5G Carrier Claims
• “5G” NR deployment US announcements
–
•
–
•
–
•
– Verizon: 4Q2018 first and only 5G ultra wideband network
[https://www.youtube.com/watch?v=6Mppg32to_g]
• Houston, Indianapolis, LA, Sacramento (bad URL to release)
• sign up for ‘5G Home now’! (with photo of hot spot puck)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-350
5G Mobile Networking 5G Carrier Claims
• “5G” NR deployment US announcements
– at&t: late 2018
• 12 cities (possibly Dallas, Waco TX, Atlanta)
– Sprint: 1H2019
• Atlanta, Chicago, Dallas, Houston, KC, LA, NYC, Phoenix, DC
– T-Mobile with Ericsson: 2018
• 30 cities in 2018 with mmWave spectrum beginning
– Verizon: 4Q2018 first and only 5G ultra wideband network
[https://www.youtube.com/watch?v=6Mppg32to_g]
• Houston, Indianapolis, LA, Sacramento (bad URL to release)
• sign up for ‘5G Home now’! (with photo of hot spot puck)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-351
5G Mobile Networking 5G Handset Vendor Claims
• “5G” NR deployment US announcements
– Motorola
• 5G moto mod (when available) for moto z
– currently moto z only LTA-A cat 9 450 Mb/s
• “Be the first to try 5G. Only on Verizon. Coming Soon.”
• “Download a 4K movie in just seconds”
– and watch on a teeny-tiny screen!
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-352
5G Mobile Networking 5G Carrier Quotes
• Fun quotes
– at&t
• “… we’ve taken a different approach to transforming our network. AT&T 5G services will be based on industry standarsfor 5G.”
– T-Mobile
• “While other guys make promises we’re putting our money where our mouth is.”
• “Dumb and dumber are in a meaningless race to be first. Their so-called 5G isn’t mobile, and it’s not even on a smartphone.”
– Verizon
• “There’s 5G, then there’s Verizon 5G Ultra Wideband”
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-353
5G Mobile Networking 5G Deployment Realities
• Real 5G density requires massive infrastructure
– 4 increased in cell towers over urban LTE
• very expensive to deploy
• significant time for regulatory approval
– ubiquitious roadway deployment for vehicles
• 5G is just as meaningless as 4G
– appallingly, IEEE already talking about 6G
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-354
5G Mobile Networking 5G Deployment Realities
• What really is 5G?
– a set of functionalities and features being added to LTE
• on an all-IP network core
• higher rates, denser, more energy efficient
• Will you see it in your lifetime?
– possibly: it depends (will likely be marketed as 9G)
• how old you are
• where you live (Shropshire still waiting for 3G)
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-355
Mobile Telephony and NetworkingMajor Generation Summary
Gen Standard A/D Type Access Core Rate
1 AMPS analog voice AMPS PSTN 0
2
2.75
GSM | IS-95
EDGEdigital voice
TDMA | CDMAPSTN
10 kb/s
100 kb/s
3
3.5
3.9
UMTS | cdma2000
HSPA(+)
LTE
digital
voice+data
data
W-CDMA | CDMA
OFDMA
PSTN
IP
1 Mb/s
10 Mb/s
100 Mb/s
4 LTE-A digital data OFDMA IP 1 Gb/s
5 5G digital data IP 10 Gb/s
• order of magnitude theoretical max fixed
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-356
Mobile Telephony and NetworkingGeneration Characteristics (for reference)
Gen Standard A/D Type Access Rate
[b/s]GSM CDMA GSM CDMA
1 AMPS, … analog voice –
2 GSM IS-95
digital
voice
+
data
TDMA CDMA
14.4 k
2.5 GPRS 170 k
2.75 EDGE 270 k
3 UMTS EV-DO A
digital
data
+ voice
W-CDMA CDMA
384 k
3.5 HSPA EV-DO B 14.4 M
3.75 HSPA+ EV-DO C 28 M
3.9 LTE rel 08–09data
(VoIP)
OFDMA
TDD | FDD
300 M
4 LTE-A rel 10–12digital
4 G
4.5 LTE-AP rel 13–14 8 G
5 5G rel 15–16 digital data 20 G
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-357
MAC; Mobile and Wireless NetworksInternet of Things
MW.1 Wireless and mobile networking concepts
MW.2 MAC functions and services
MW.3 MAC algorithms
MW.4 Wireless networks
MW.5 Mobile networks
MW.6 Internet of Things
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-358
Internet of Things Introduction
• Just because you can…
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-359
Internet of Things Introduction
• Just because you can……doesn’t mean you should
#internetofshit
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-360
Internet of Things Introduction
• IoT: Internet everywhere
– whether or not we want it
– whether or not it should be
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-361
Internet of Things Introduction
• IoT: decades-old idea with a new name
– pervasive computing [Weiser 1991]
– ubiquitous and ambient computing
– smart spaces
– wearable computing
• Supported by old networking technologies
– MANETs [PRNET 1972, SURAN ~1980]
– body area networks
– home automation
– cloud computing [timesharing 1960s; file servers 1980s]
– SDN [TINA-C IN Q.1219 1992, DARPA/EUActive Nets ~1995]
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-362
Internet of ThingsSmart Home
LTE/4G/5G
802.11
802.11
NID
PC
Z15.4
Z15.4Z-W
LoRa
LT
Z-W
802.11
ISP
Bluetooth
ZigBee
802.11
Z-WAVE
LoRa
LTE/4G/5G
DSL/Cable
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-363
Internet of ThingsSmart City Complexity
S MS
MN
MSC S
IP IP
IP IP
IP IPIP
IPIP
IPIP
IPIPIP
IPIP IP
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-364
MAC; Mobile and Wireless NetworksKey Acronyms1
MAC medium access control
DMA division multiple access
OFDMA orthogonal frequency division multiplexing
DD division duplexing
CSMACSMA/CDCSMA/CA
carrier sense multiple access/ collision detection/ collision avoidance
SS spread spectrum
T
F
C
S
time
frequency
code
space}}
T
F}time
frequency}
FH
DS
frequency hopping
direct sequence} }
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-365
MAC; Mobile and Wireless NetworksKey Acronyms2
W AN wireless access network
Wi-Fi wireless fidelity ( ≠ 802.11 WLAN)
SSID service set ID
BSS basic service set
DCF distributed coordination function
IFS interframe spacing
TS to send
WiMAX worldwide interop. for microwave access ( ≠ 802.16 WMAN)
P
L
M
personal
local
metropolitan}{ }{
S
D} short
DCF}R
C} request
clear}
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-366
MAC; Mobile and Wireless NetworksKey Acronyms3
WSN wireless sensor network
MANET mobile ad hoc network
A agent
MSC mobile switching centre
LR location register
GSM Global System for Mobilie Communictions
EDGE Enhanced Data Rates for GSM Evolution
UMTS Universal Mobile Telecommunications System
LTE Long-Term Evolution
IoT Internet of Things
H
F}home
foreign}
H
V}home
visitor}
© James P.G. SterbenzITTC
15 November 2018 KU EECS 563 – Intro Comm Nets – MAC Mobile Wireless ICN-MW-367
MAC; Mobile and Wireless NetworksAcknowledgements
Some material in these foils comes from the textbook supplementary materials:
• Tannenbaum,Computer Networks
• Kurose & Ross,Computer Networking:
A Top-Down Approach Featuring the Internet
• Sterbenz & Touch,High-Speed Networking:
A Systematic Approach to
High-Bandwidth Low-Latency Communication
http://hsn-book.sterbenz.org