Escolar Documentos
Profissional Documentos
Cultura Documentos
Wireless LANs
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)
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
Design goals for wireless LANs
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,
Example Example
Many different products
IrDA (Infrared Data Association)
interface available everywhere
Comparison: infrastructure vs. ad-hoc networks
infrastructure
network
AP: Access Point
AP
AP wired network
AP
ad-hoc network
802.11 - Architecture of an infrastructure 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
802.11 - Architecture of an ad-hoc network
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
802.11 - Layers and functions
LLC
DLC
PLCP
PHY
PHY Management
PMD
a Mnoi t at S
802.11 - Physical layer (classical)
Infrared
850-950 nm, diffuse light, typ. 10 m range
carrier detection, energy detection, synchronization
FHSS PHY packet format
Synchronization
synch with 010101... pattern
SFD (Start Frame Delimiter)
0000110010111101 start pattern
PLW (PLCP_PDU Length Word)
length of payload incl. 32 bit CRC of payload, PLW < 4096
PSF (PLCP Signaling Field)
data 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
802.11 - MAC layer II
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
802.11 - CSMA/CA access method I
contention window
DIFS DIFS (randomized back-off
mechanism)
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
802.11 - DFWMAC
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
DFWMAC-PCF I
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
802.11 - Frame format
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
MAC address format
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
802.11 - MAC management
Synchronization
try to find a LAN, try to stay within a LAN
timer etc.
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
D B T T d D B
access
point
busy busy busy busy
medium
p d
station
t
T TIM D DTIM awake
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
96 µs 2, 5.5 or 11 Mbit/s
WLAN: IEEE 802.11a
Data rate Connection set-up time
6, 9, 12, 18, 24, 36, 48, 54 Mbit/s, Connectionless/always on
depending on SNR
User throughput (1500 byte packets): 5.3
Quality of Service
(6), 18 (24), 24 (36), 32 (54) Typ. best effort, no guarantees (same as
6, 12, 24 Mbit/s mandatory all 802.11 products)
Transmission range Manageability
100m outdoor, 10m indoor Limited (no automated key distribution,
E.g., 54 Mbit/s up to 5 m, 48 up to 12 m, sym. Encryption)
36 up to 25 m, 24 up to 30m, 18 up to 40
m, 12 up to 60 m Special Advantages/Disadvantages
Frequency Advantage: fits into 802.x standards, free
Free 5.15-5.25, 5.25-5.35, 5.725-5.825 ISM-band, available, simple system,
GHz ISM-band uses less crowded 5 GHz band
Security Disadvantage: stronger shading due to
Limited, WEP insecure, SSID higher frequency, no QoS
Availability
Some products, some vendors
IEEE 802.11a – PHY frame format
PLCP header
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 – HIPERLAN (historical)
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 then coverage of a single node
(„forwarding“ integrated in mobile terminals)
Further mechanisms
power saving, encryption, checksums
HIPERLAN 1 - Physical layer
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
HIPERLAN 1 - Physical layer frames
Maintaining a high data-rate (23.5 Mbit/s) is power consuming - problematic for mobile terminals
packet header with low bit-rate comprising receiver information
only receiver(s) address by a packet continue receiving
Frame structure
LBR (Low Bit-Rate) header with 1.4 Mbit/s
450 bit synchronization
minimum 1, maximum 47 frames with 496 bit each
for higher velocities of the mobile terminal (> 1.4 m/s) the maximum number of frames has to be reduced
Modulation
GMSK for high bit-rate, FSK for LBR header
HBR
elimination survival
elimination burst
priority detection
priority assertion
yield listening
user data
verification
noi t azi nor hc nys
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
HIPERLAN 1 - DT-HCPDU/AK-HCPDU
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
HIPERLAN 1 - MAC layer
Encryption mechanisms
mechanisms integrated, but without key management
Power conservation mechanisms
mobile terminals can agree upon awake patterns (e.g., periodic wake-ups
to receive data)
additionally, some nodes in the networks must be able to buffer data for
sleeping terminals and to forward them at the right time (so called stores)
HIPERLAN 1 - DT-HMPDU
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
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
Scatternet
S
P
P
M
M
SB S
M=Master P SB SB
S=Slave
P=Parked S
SB=Standby
Bluetooth protocol stack
TCP/UDP OBEX
AT modem
IP
commands
TCS BIN SDP
BNEP PPP Control
Baseband
Radio
Piconet/channel definition
Low-level packet definition
Access code
Channel, device access, e.g., derived from master
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
Baseband link types
SLAVE 1
f1 f7 f9 f13 f19
SLAVE 2
f5 f17 f21
SCO payload types
payload (30)
DV audio (10) header (1) payload (0-9) 2/3 FEC CRC (2)
(bytes)
ACL Payload types
payload (0-343)
standby unconnected
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
ZigBee
802.15.4a:
Alternative PHY with lower data rate as extension to 802.15.4
Properties: precise localization (< 1m precision), extremely low power consumption,
longer range
Two PHY alternatives
UWB (Ultra Wideband): ultra short pulses, communication and localization
CSS (Chirp Spread Spectrum): communication only
802.15.4b:
Extensions, corrections, and clarifications regarding 802.15.4
Usage of new bands, more flexible security mechanisms
Not all these working groups really create a standard, not all standards will be
found in products later …
Some more IEEE standards for mobile communications