Unit 1 Wlan PDF
Unit 1 Wlan PDF
❑ Characteristics ❑ HIPERLAN
❑ IEEE 802.11 ❑ Bluetooth / IEEE 802.15.x
❑ PHY ❑ IEEE 802.16/.20/.21/.22
❑ MAC ❑ RFID
❑ Roaming
❑ Comparison
❑ .11a, b, g, h, i …
Mobile Communication Technology according to IEEE
WiFi
Local wireless networks 802.11a 802.11h
WLAN 802.11 802.11i/e/…/w
802.11b 802.11g
ZigBee
802.15.4 802.15.4a/b
Personal wireless nw.
WPAN 802.15 802.15.5
802.15.2 802.15.3 802.15.3a/b
802.15.1
Bluetooth
Wireless distribution networks
WMAN 802.16 (Broadband Wireless Access) WiMAX
+ Mobility
802.20 (Mobile Broadband Wireless Access)
EC 6802 WIRELESS NETWORKS 2
Characteristics of wireless LANs
Advantages
❑ very flexible within the reception area
❑ Ad-hoc networks without previous planning possible
❑ (almost) no wiring difficulties (e.g. historic buildings, firewalls)
❑ more robust against disasters like, e.g., earthquakes, fire - or users pulling
a plug...
Disadvantages
❑ typically very low bandwidth compared to wired networks
(1-10 Mbit/s) due to shared medium
❑ many proprietary solutions, especially for higher bit-rates, standards take
their time (e.g. IEEE 802.11)
❑ products have to follow many national restrictions if working wireless, it
takes a vary long time to establish global solutions like, e.g., IMT-2000
Infrared Radio
❑ uses IR diodes, diffuse light, ❑ typically using the license free
multiple reflections (walls, ISM band at 2.4 GHz
furniture etc.) Advantages
Advantages ❑ experience from wireless WAN
❑ simple, cheap, available in and mobile phones can be used
many mobile devices ❑ coverage of larger areas
❑ no licenses needed possible (radio can penetrate
❑ simple shielding possible walls, furniture etc.)
Disadvantages Disadvantages
❑ interference by sunlight, heat ❑ very limited license free
sources etc. frequency bands
❑ many things shield or absorb IR ❑ shielding more difficult,
light interference with other electrical
❑ low bandwidth
devices
Example Example
❑ Many different products
❑ IrDA (Infrared Data Association)
interface available everywhere
infrastructure
network
AP: Access Point
AP
AP wired network
AP
ad-hoc network
Station (STA)
802.11 LAN ❑ terminal with access mechanisms
802.x LAN
to the wireless medium and radio
contact to the access point
STA1 Basic Service Set (BSS)
BSS1
❑ group of stations using the same
Access Portal
radio frequency
Point Access Point
Distribution System ❑ station integrated into the wireless
LAN and the distribution system
Access
ESS Point Portal
❑ bridge to other (wired) networks
BSS2 Distribution System
❑ interconnection network to form
one logical network (EES:
Extended Service Set) based
STA2 802.11 LAN STA3 on several BSS
IBSS2
STA5
fixed
terminal
mobile terminal
infrastructure
network
access point
application application
TCP TCP
IP IP
LLC LLC LLC
802.11 MAC 802.11 MAC 802.3 MAC 802.3 MAC
802.11 PHY 802.11 PHY 802.3 PHY 802.3 PHY
Station Management
LLC
DLC
PLCP
PHY
PHY Management
PMD
Disadvantages resulting
signal
❑ precise power control necessary
01101011001010
spread
spectrum transmit
user data signal signal
X modulator
chipping radio
sequence carrier
transmitter
correlator
lowpass sampled
received filtered products sums
signal signal data
demodulator X integrator decision
radio chipping
carrier sequence
receiver
tb
user data
0 1 0 1 1 t
f
td
f3 slow
f2 hopping
(3 bits/hop)
f1
td t
f
f3 fast
f2 hopping
(3 hops/bit)
f1
narrowband spread
signal transmit
user data signal
modulator modulator
frequency hopping
synthesizer sequence
transmitter
narrowband
received signal
signal data
demodulator demodulator
hopping frequency
sequence synthesizer
receiver
Synchronization
❑ synch with 010101... Pattern (80 bits)
SFD (Start Frame Delimiter)
❑ 0000110010111101 start pattern (16 bits)
❑ Frame synchronization
PLW (PLCP_PDU Length Word)
❑ length of payload incl. 32 bit CRC of payload, PLW < 4096
PSF (PLCP Signaling Field)
❑ Data rate of payload (1 or 2 Mbit/s)
HEC (Header Error Check)
❑ CRC with x16+x12+x5+1
80 16 12 4 16 variable bits
synchronization SFD PLW PSF HEC payload
Traffic services
❑ Asynchronous Data Service (mandatory)
⚫ exchange of data packets based on “best-effort”
⚫ support of broadcast and multicast
❑ Time-Bounded Service (optional)
⚫ implemented using PCF (Point Coordination Function)
Access methods
❑ DFWMAC-DCF CSMA/CA (mandatory)
⚫ collision avoidance via randomized „back-off“ mechanism
⚫ minimum distance between consecutive packets
⚫ ACK packet for acknowledgements (not for broadcasts)
❑ DFWMAC-DCF w/ RTS/CTS (optional)
⚫ Distributed Foundation Wireless MAC
⚫ avoids hidden terminal problem
❑ DFWMAC- PCF (optional)
⚫ access point polls terminals according to a list
Priorities
❑ defined through different inter frame spaces
❑ no guaranteed, hard priorities
❑ SIFS (Short Inter Frame Spacing)
⚫ highest priority, for ACK, CTS, polling response
❑ PIFS (PCF IFS)
⚫ medium priority, for time-bounded service using PCF
❑ DIFS (DCF, Distributed Coordination Function IFS)
⚫ lowest priority, for asynchronous data service
DIFS DIFS
PIFS
SIFS
medium busy contention next frame
t
direct access if
medium is free DIFS
direct access if t
medium is free DIFS slot time
boe busy
station2
busy
station3
busy medium not idle (frame, ack etc.) boe elapsed backoff time
DIFS
data
sender
SIFS
ACK
receiver
DIFS
other data
stations t
waiting time contention
DIFS
RTS data
sender
SIFS SIFS
CTS SIFS ACK
receiver
DIFS
RTS frag1 frag2
sender
SIFS SIFS SIFS
CTS SIFS ACK1 SIFS ACK2
receiver
NAV (RTS)
NAV (CTS)
NAV (frag1) DIFS
other NAV (ACK1) data
stations t
contention
t0 t1
SuperFrame
t2 t3 t4
PIFS SIFS
D3 D4 CFend
point
coordinator SIFS
U4
wireless
stations
stations‘ NAV
NAV contention free period contention t
period
Types
❑ control frames, management frames, data frames
Sequence numbers
❑ important against duplicated frames due to lost ACKs
Addresses
❑ receiver, transmitter (physical), BSS identifier, sender (logical)
Miscellaneous
❑ sending time, checksum, frame control, data
bytes 2 2 6 6 6 2 6 0-2312 4
Frame Duration/ Address Address Address Sequence Address
Data CRC
Control ID 1 2 3 Control 4
bits 2 2 4 1 1 1 1 1 1 1 1
Protocol To From More Power More
Type Subtype Retry WEP Order
version DS DS Frag Mgmt Data
00 – adhoc (BSSID)
SA DA
DA, SA, BSSID
BSSID
10 – wireless to wired SA DA
BSSID, SA, DA DA,SA
Acknowledgement
bytes 2 2 6 4
ACK Frame Receiver
Duration CRC
Control Address
Request To Send
bytes 2 2 6 6 4
Frame Receiver Transmitter
RTS Duration CRC
Control Address Address
Clear To Send
bytes 2 2 6 4
Frame Receiver
CTS Duration CRC
Control Address
Synchronization
❑ try to find a WLAN, try to stay within a WLAN
❑ Sync of internal clocks and generation of beacon signals.
Power management
❑ sleep-mode without missing a message
❑ periodic sleep, frame buffering, traffic measurements
Association/Reassociation
❑ integration into a LAN
❑ roaming, i.e. change networks by changing access points
❑ scanning, i.e. active search for a network
MIB - Management Information Base
❑ managing, read, write (SNMP)
beacon interval
access
point B B B B
beacon interval
B1 B1
station1
B2 B2
station2
D B T T d D B
access
point
busy busy busy busy
medium
p d
station
t
T TIM D DTIM awake
PS – Power Saving
ATIM
window beacon interval
B1 A D B1
station1
B2 B2 a d
station2
t
B beacon frame random delay A transmit ATIM D transmit data
Scanning involves the active search for a BSS. IEEE 802.11 differentiates
between passive and active scanning.
Passive scanning - listening into the medium to find other networks, i.e.,
receiving the beacon of another network issued by access point.
Active scanning - sending a probe on each channel and waiting for a
response. Beacon and probe responses contain the information
necessary to join the new BSS.
96 µs 2, 5.5 or 11 Mbit/s
Europe (ETSI)
PLCP header
36 40 44 48 52 56 60 64 channel
5150 5180 5200 5220 5240 5260 5280 5300 5320 5350 [MHz]
16.6 MHz
center frequency =
5000 + 5*channel number [MHz]
149 153 157 161 channel
Note: Not all “standards” will end in products, many ideas get stuck at working group level
Info: www.ieee802.org/11/, 802wirelessworld.com, standards.ieee.org/getieee802/
ETSI standard
❑ European standard, cf. GSM, DECT, ...
❑ Enhancement of local Networks and interworking with fixed networks
❑ integration of time-sensitive services from the early beginning
HIPERLAN family
❑ one standard cannot satisfy all requirements
⚫ range, bandwidth, QoS support
⚫ commercial constraints
❑ HIPERLAN 1 standardized since 1996 – no products!
higher layers
medium access logical link
network layer
control layer control layer
channel access medium access
data link layer
control layer control layer
physical layer physical layer physical layer
Data transmission
❑ point-to-point, point-to-multipoint, connectionless
❑ 23.5 Mbit/s, 1 W power, 2383 byte max. packet size
Services
❑ asynchronous and time-bounded services with hierarchical priorities
❑ compatible with ISO MAC
Topology
❑ infrastructure or ad-hoc networks
❑ transmission range can be larger than coverage of a single node
(“forwarding“ integrated in mobile terminals)
Further mechanisms
❑ power saving, encryption, checksums
Scope
❑ modulation, demodulation, bit and frame synchronization
❑ forward error correction mechanisms
❑ measurements of signal strength
❑ channel sensing
Channels
❑ 3 mandatory and 2 optional channels (with their carrier frequencies)
❑ mandatory
⚫ channel 0: 5.1764680 GHz
⚫ channel 1: 5.1999974 GHz
⚫ channel 2: 5.2235268 GHz
❑ optional
⚫ channel 3: 5.2470562 GHz
⚫ channel 4: 5.2705856 GHz
Modulation
❑ GMSK for high bit-rate, FSK for LBR header
elimination survival
synchronization
elimination burst
priority assertion
priority detection
yield listening
user data
verification
Several terminals can now have the same priority and wish to send
❑ contention phase
⚫ Elimination Burst: all remaining terminals send a burst to eliminate
contenders (11111010100010011100000110010110, high bit- rate)
⚫ Elimination Survival Verification: contenders now sense the channel, if the
channel is free they can continue, otherwise they have been eliminated
⚫ Yield Listening: contenders again listen in slots with a nonzero probability,
if the terminal senses its slot idle it is free to transmit at the end of the
contention phase
⚫ the important part is now to set the parameters for burst duration and
channel sensing (slot-based, exponentially distributed)
❑ data transmission
⚫ the winner can now send its data (however, a small chance of collision
remains)
⚫ if the channel was idle for a longer time (min. for a duration of 1700 bit) a
terminal can send at once without using EY-NPMA
❑ synchronization using the last data transmission
0 1 2 3 4 5 6 7 bit
LBR 1 0 1 0 1 0 1 0
0 1 2 3 4 5 6 7 bit 0 1 HI AID
LBR 1 0 1 0 1 0 1 0 AID AIDCS
0 1 HI HDA
HDA HDACS
Acknowledgement HCPDU
BLIR = n BL-
HI: HBR-part Indicator
IRCS 1
bit
HDA: Hashed Destination HCSAP Address
0 1 2 3 4 5 6 7 byte HDACS: HDA CheckSum
HBR TI BLI = n 1 BLIR: Block Length Indicator
PLI = m 2 BLIRCS: BLIR CheckSum
HID 3-6 TI: Type Indicator
DA 7 - 12 BLI: Block Length Indicator
SA 13 - 18
HID: HIPERLAN IDentifier
UD 19 - (52n-m-4)
DA: Destination Address
PAD (52n-m-3) - (52n-4)
SA: Source Address
CS (52n-3) - 52n
UD: User Data (1-2422 byte)
PAD: PADding
Data HCPDU CS: CheckSum
AID: Acknowledgement IDentifier
AIDS: AID CheckSum
ATM cell:
5 48 [byte]
plane management
⚫ ATM layer
control user
layer management
plane plane
⚫ ATM adaptation layer
higher higher
Out-of-Band-Signaling: user data is layers layers
transmitted separately from control
information ATM adaptation layer
ATM layer
physical layer
layers
planes
ATM layer
❑ cell multiplexing/demultiplexing
❑ VPI/VCI translation
❑ cell header generation and verification
❑ GFC (Generic Flow Control)
ATM adaptation layer (AAL)
end-system A end-system B
service dependent
AAL AAL connections
AAL
service independent
ATM ATM
ATM connections
physical physical
layer layer
❑ ATM Forum founded the Wireless ATM Working Group June 1996
❑ Task: development of specifications to enable the use of ATM
technology also for wireless networks with a large coverage of
current network scenarios (private and public, local and global)
❑ compatibility to existing ATM Forum standards important
❑ it should be possible to easily upgrade existing ATM networks with
mobility functions and radio access
❑ two sub-groups of work items
Office environment
❑ multimedia conferencing, online multimedia database access
Universities, schools, training centers
❑ distance learning, teaching
Industry
❑ database connection, surveillance, real-time factory management
Hospitals
❑ reliable, high-bandwidth network, medical images, remote monitoring
Home
❑ high-bandwidth interconnect of devices (TV, CD, PC, ...)
Networked vehicles
❑ trucks, aircraft etc. interconnect, platooning, intelligent roads
EMAS-N
WMT
RAS
EMAS-E
M-NNI
WMT RAS
EMAS-N
LS
AUS
user
user process
process
AAL AAL
ATM
ATM ATM ATM ATM ATM
ATM- ATM-
CL CL
RAL RAL PHY PHY PHY PHY PHY PHY PHY PHY
SIG, SIG,
SIG, SIG, SIG,
M-UNI, PNNI,
M-UNI M-PNNI UNI
M-PNNI UNI
SAAL SAAL SAAL SAAL SAAL
M-ATM
ATM ATM ATM ATM ATM
ATM- ATM-
CL CL
RAL RAL PHY PHY PHY PHY PHY PHY PHY PHY
1 WMT
2 EMAS EMAS
T 5
WMT RAS -E -N
EMAS
-E 6
MT
3 RAS WT
NMAS
MS
RAS
RAS
T
4
Motivation
❑ deregulation, privatization, new companies, new services
❑ How to reach the customer?
⚫ alternatives: xDSL, cable, satellite, radio
Radio access
❑ flexible (supports traffic mix, multiplexing for higher efficiency, can be
asymmetrical)
❑ quick installation
❑ economic (incremental growth possible)
Market
❑ private customers (Internet access, tele-xy...)
❑ small and medium sized business (Internet, MM conferencing, VPN)
Scope of standardization
❑ access networks, indoor/campus mobility, 25-155 Mbit/s, 50 m-5 km
❑ coordination with ATM Forum, IETF, ETSI, IEEE, ....
Common characteristics
❑ ATM QoS (CBR, VBR, UBR, ABR)
HIPERLAN/2
❑ short range (< 200 m), indoor/campus, 25 Mbit/s user data rate
❑ access to telecommunication systems, multimedia applications, mobility
(<10 m/s)
HIPERACCESS
❑ wider range (< 5 km), outdoor, 25 Mbit/s user data rate
❑ fixed radio links to customers (“last mile”), alternative to xDSL or cable
modem, quick installation
❑ Several (proprietary) products exist with 155 Mbit/s plus QoS
HIPERLINK – currently no activities
❑ intermediate link, 155 Mbit/s
❑ connection of HIPERLAN access points or connection between
HIPERACCESS nodes
Independence
❑ BRAN as access network independent from the fixed network
❑ Interworking of TCP/IP and ATM under study
Layered model
❑ Network Convergence Sub-layer as superset of all requirements for IP and
ATM
Coordination
core network core network
❑ IETF (TCP/IP)
ATM IP
❑ ATM forum (ATM)
network convergence sublayer ❑ ETSI (UMTS)
❑ CEPT, ITU-R, ...
BRAN data link control (radio frequencies)
AP
MT1
APT APC Core
1 Network
MT2 (Ethernet,
Firewire,
3 AP ATM,
MT3 APT
UMTS)
APC
2
MT4 APT
AP AP/CC
control control
control
data
data
MT1 MT2 MT1 MT2 MT1 MT2 +CC
data control
Centralized Direct
Higher layers
Physical layer
36 40 44 48 52 56 60 64 channel
5150 5180 5200 5220 5240 5260 5280 5300 5320 5350 [MHz]
16.6 MHz
100 104 108 112 116 120 124 128 132 136 140 channel
5470 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5725
16.6 MHz [MHz]
center frequency =
5000 + 5*channel number [MHz]
2 ms 2 ms 2 ms 2 ms TDD,
MAC frame MAC frame MAC frame MAC frame 500 OFDM
...
symbols
per frame
random
broadcast phase downlink phase uplink phase
access phase
variable variable variable
2 406 24 bit
2 10 396 24 bit
sequence UDCH transfer syntax
LCH PDU type payload CRC
number (long PDU)
54 byte
2 ms 2 ms 2 ms 2 ms
MAC frame MAC frame MAC frame MAC frame ...
random
broadcast downlink uplink access
downlink
UDCH DCCH LCCH ASCH UDCH UBCH UMCH DCCH RBCH LCCH
Idea
❑ Universal radio interface for ad-hoc wireless connectivity
❑ Interconnecting computer and peripherals, handheld devices, PDAs, cell
phones – replacement of IrDA
❑ Embedded in other devices, goal: 5€/device (2005: 40€/USB bluetooth)
❑ Short range (10 m), low power consumption, license-free 2.45 GHz ISM
❑ Voice and data transmission, approx. 1 Mbit/s gross data rate
History
❑ 1994: Ericsson (Mattison/Haartsen), “MC-link” project
❑ Renaming of the project: Bluetooth according to Harald “Blåtand” Gormsen
[son of Gorm], King of Denmark in the 10th century
❑ 1998: foundation of Bluetooth SIG, www.bluetooth.org (was: )
❑ 1999: erection of a rune stone at Ercisson/Lund ;-)
❑ 2001: first consumer products for mass market, spec. version 1.1 released
❑ 2005: 5 million chips/week
1999:
Ericsson mobile
communications AB
reste denna sten till
minne av Harald
Blåtand, som fick ge
sitt namn åt en ny
teknologi för trådlös,
mobil kommunikation.
Inscription:
"Harald king executes these sepulchral
monuments after Gorm, his father and
Thyra, his mother. The Harald who won the
whole of Denmark and Norway and turned This could be the “original” colors
the Danes to Christianity." of the stone.
Inscription:
Btw: Blåtand means “of dark complexion” “auk tani karthi kristna” (and
(not having a blue tooth…) made the Danes Christians)
Addressing
❑ Active Member Address (AMA, 3 bit)
❑ Parked Member Address (PMA, 8 bit)
P
SB S
SB S
SB M P
SB SB
SB S
SB SB P
SB SB
SB
S
P
P
M
M
SB S
M=Master P SB SB
S=Slave
P=Parked S
SB=Standby
TCP/UDP OBEX
AT modem
IP
commands
TCS BIN SDP
BNEP PPP Control
Baseband
Radio
M S M S M S M
t
M S M S M
t
fk fk+1 fk+6
M S M
t
Piconet/channel definition
Low-level packet definition
❑ Access code
⚫ Channel, device access, e.g., derived from master address (48-bit)
❑ Packet header
⚫ 1/3-FEC, active member address (broadcast + 7 slaves), link type, alternating
bit ARQ/SEQ, checksum
4 64 (4) 3 4 1 1 1 8 bits
preamble sync. (trailer) AM address type flow ARQN SEQN HEC
payload (30)
DV audio (10) header (1) payload (0-9) 2/3 FEC CRC (2)
(bytes)
payload (0-343)
SLAVE 1
f1 f7 f9 f13 f19
SLAVE 2
f5 f17 f21
MASTER A C C F H
SLAVE 1 B D E
SLAVE 2 G G
standby unconnected
Protocol multiplexing
❑ RFCOMM, SDP, telephony control
Group abstraction
❑ Create/close group, add/remove member
Connectionless PDU
2 2 2 0-65533 bytes
length CID=2 PSM payload
Connection-oriented PDU
2 2 0-65535 bytes
length CID payload
1 1 2 0
code ID length data
RFCOMM
❑ Emulation of a serial port (supports a large base of legacy applications)
❑ Allows multiple ports over a single physical channel
OBEX
❑ Exchange of objects, IrDA replacement
WAP
❑ Interacting with applications on cellular phones
Wi-Fi WiMAX
802.11a—OFDM, 802.16—OFDM,
maximum rate = 54 Mbps maximum rate = 50 Mbps
802.11b—DSSS, 802.16e—OFDM,
maximum rate = 11 Mbps maximum rate ~30 Mbps
802.11g—OFDM,
maximum rate = 54 Mbps
Mesh Mode
❑ Subscriber stations can communicate directly with one another
❑ Relax the line-of-sight requirement
❑ Ease the deployment costs for high frequency bands by allowing
subscriber stations to relay traffic to one another
❑ a station that does not have line-of-sight with the base station can get its
traffic from another station
Security
❑ diverse set of user credentials exists including SIM/USIM cards, smart
cards, digital certificates, and user name/password schemes based on the
relevant extensible authentication protocol (EAP)
Mobility
❑ optimized handoff schemes with latencies less than 50ms to ensure that
real-time applications such as VoIP can be performed without service
degradation
❑ Flexible key management schemes assure that security is maintained
during handoff
Features
❑ 802.16 PHY supports TDD and full and half duplex FDD operations
❑ Adaptive Modulation and Coding (AMC)
❑ Hybrid Automatic Repeat reQuest (HARQ)
❑ fast channel feedback (CQICH) to enhance coverage and capacity of
WiMAX in mobile applications
The three air interfaces for the 2–11 GHz range are:
❑ Wireless MAN — SCa uses single carrier modulation.
❑ Wireless MAN — OFDM uses a 256-carrier OFDM. This air interface
provides multiple access to different stations through time-division-multiple
access.
❑ Wireless MAN — OFDM uses a 2048-carrier OFDM scheme. The interface
provides multiple access by assigning a subset of the carriers to an
individual receiver
Features
❑ Support for QPSK, 16-QAM, and 64-QAM are mandatory in the downlink
❑ In the uplink 64-QAM is optional
❑ Both convolutional code and turbo code with variable code rate and
repetition coding are supported.
❑ The frame duration is 5 ms.
❑ Each frame has 48 OFDM symbols with 44 OFDM symbols available for
data transmission
❑ The base station (BS) scheduler determines the appropriate data rate for
each burst allocation based on the buffer size, channel propagation
conditions at the receiver, etc
❑ A channel quality indicator (CQI) channel is used to provide channel state
information from the user terminals to the BS scheduler
❑ HARQ combined with CQICH and AMC provides robust link adoption in the
mobile environment at vehicular speeds in excess of 120 km/h
Features
❑ 802.16 MAC is a scheduling MAC where the subscriber only has to
compete once (for initial entry into the network)
❑ After that the subscriber is allocated a time slot by the base station
❑ The time slot can enlarge and constrict, but it remains assigned to the
subscriber, meaning that other subscribers are not supposed to use it but
take their turn
❑ Scheduling algorithm is stable under overload and oversubscription
❑ More bandwidth efficient.
❑ Scheduling algorithm allows the base station to control QoS by balancing
the assignment among the needs of subscribers.
❑ 802.16 MAC protocol is connection-oriented and performs link adaptation
and ARQ functions to maintain target bit error rate while maximizing the
data throughput.
❑ Supports different transport technologies such as IPv4, IPv6, Ethernet, and
ATM