Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Standar WLAN
Internet
AP BSS 1
AP
with base station base station = access point (AP) Basic Service Set (BSS) (aka cell) in infrastructure mode contains: wireless hosts access point (AP): base station ad hoc mode: hosts only
BSS 2
6-3
C
Cs signal strength
receiver
data
SIFS
ACK
6-5
6-6
reservation collision
DATA (A)
defer
time
6-7
0 - 2312
payload
4
CRC
Address 1: MAC address of wireless host or AP to receive this frame Address 2: MAC address of wireless host or AP transmitting this frame
Address 4: used only in ad hoc mode Address 3: MAC address of router interface to which AP is attached
6-8
H1
R1 router
AP
802.3 frame
AP MAC addr
address 1
802.11 frame
6: Wireless and Mobile Networks 6-9
2
duration
6
address 1
6
address 2
6
address 3
2
seq control
0 - 2312
payload
4
CRC
2
Protocol version
2
Type
4
Subtype
1
To AP
1
From AP
1
More frag
1
Retry
1
Power mgt
1
More data
1
WEP
1
Rsvd
router
hub or switch
BBS 2
6-11
Base station, mobile dynamically change transmission rate (physical layer modulation technique) as mobile moves, SNR varies
10-1 10-2 10-3
1. 2.
SNR decreases, BER increase as node moves away from base station When BER becomes too high, switch to lower transmission rate but with lower BER
BER
30
40
SNR(dB)
6-12
6-13
DIFS: Distributed Inter-Frame Spacing SIFS: Short Inter-Frame Spacing ack: Acknowledgement
14.15
14.16
14.17
14.18
14.19
14.20
14.21
14.22
14.23
14.24
Note
The CTS frame in CSMA/CA handshake can prevent collision from a hidden station.
14.25
14.26
14.27
14.28
14.29
14.30
14.31
14.32
14.33
14.34
Source SAP
LLCs functionalities
LLC constructs PDU by adding a control header SAP (service access point)
MAC lines up packets using carrier sense multiple access (CSMA) PHY layer transmits packet using a modulation method (DSSS, OFDM, IR, FHSS)
fixed terminal
infrastructure network
access point
application
TCP IP LLC LLC
application
TCP IP LLC
802.11 MAC
802.11 PHY
802.3 MAC
802.3 PHY
Winter 2001
5.39
MAC Management
synchronization, roaming, MIB, power management
PHY Management
channel selection, MIB
Station Management
coordination of all management functions
DLC
PMD
Winter 2001
Station Management
PHY
5.40
spreading, despreading, signal strength, typ. 1 Mbit/s min. 2.5 frequency hops/s (USA), two-level GFSK modulation
DBPSK modulation for 1 Mbit/s (Differential Binary Phase Shift Keying), DQPSK for 2 Mbit/s (Differential Quadrature PSK) preamble and header of a frame is always transmitted with 1 Mbit/s, rest of transmission 1 or 2 Mbit/s chipping sequence: +1, -1, +1, +1, -1, +1, +1, +1, -1, -1, -1 (Barker code) max. radiated power 1 W (USA), 100 mW (EU), min. 1mW 850-950 nm, diffuse light, typ. 10 m range carrier detection, energy detection, synchonization
Infrared
Winter 2001
5.41
Synchronization
16 SFD
12 PLW
4 PSF
16 HEC
variable payload
bits
PLCP header
ICS 243E - Ch 5 Wireless Lans 5.42
Signal
data rate of the payload (0A: 1 Mbit/s DBPSK; 14: 2 Mbit/s DQPSK)
Service
future use, 00: 802.11 compliant
Length
length of the payload
16 SFD
variable payload
bits
5.43
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)
defined through different inter frame spaces no guaranteed, hard priorities SIFS (Short Inter Frame Spacing)
medium priority, for time-bounded service using PCF
DIFS
medium busy
contention
next frame
t
5.45
station ready to send starts sensing the medium (Carrier Sense based on CCA, Clear Channel Assessment) if the medium is free for the duration of an Inter-Frame Space (IFS), the station can start sending (IFS depends on service type) if the medium is busy, the station has to wait for a free IFS, then the station must additionally wait a random back-off time (collision avoidance, multiple of slot-time) if another station occupies the medium during the back-off time of the station, the back-off timer stops (fairness)
Winter 2001 ICS 243E - Ch 5 Wireless Lans 5.46
boe busy
boe busy
boe busy
boe bor
boe bor t
Winter 2001
data
SIFS ACK DIFS waiting time contention data t
Winter 2001
5.48
DIFS
sender
receiver
other stations
DIFS contention
data
t
Winter 2001
5.49
Fragmentation
DIFS
sender receiver RTS SIFS CTS SIFS frag1 SIFS ACK1 SIFS frag2 SIFS ACK2
DIFS contention
data t
Winter 2001
5.50
DFWMAC-PCF I
t0 t1
medium busy PIFS point coordinator wireless stations stations NAV SuperFrame D1 SIFS SIFS D2 SIFS SIFS
U1
NAV
U2
Winter 2001
5.51
DFWMAC-PCF II
t2 t3 D3 PIFS D4 SIFS U4 NAV contention free period SIFS CFend t4
contention t period
Winter 2001
5.52
Types
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 Frame Duration Address Address Address Sequence Address Control ID 1 2 3 Control 4 version, type, fragmentation, security, ... 0-2312 Data 4 CRC
Winter 2001
5.53
DS: Distribution System AP: Access Point DA: Destination Address SA: Source Address BSSID: Basic Service Set Identifier RA: Receiver Address TA: Transmitter Address
Winter 2001
5.54
Synchronization
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
Winter 2001
5.56
B1
B beacon frame
t random delay
Winter 2001
5.57
Power management
Idea: switch the transceiver off if not needed States of a station: sleep and awake Timing Synchronization Function (TSF)
stations wake up at the same time
Infrastructure
Traffic Indication Map (TIM)
list of unicast receivers transmitted by AP
Ad-hoc
Ad-hoc Traffic Indication Map (ATIM)
announcement of receivers by stations buffering frames more complicated - no central AP collision of ATIMs possible (scalability?)
Winter 2001
5.58
B broadcast/multicast p PS poll
Winter 2001
5.59
random delay
Winter 2001
5.60
Spread Spectrum
Unlicensed usage (ISM band - 915 MHz, 2.4 GHz, 5.8 GHz)) No line of sight requirement (indoor) High link reliability
Built-in transmission
security Two techniques used:
Direct Sequence Frequency Hopping
TIME
User 3 User 2
FREQUENCY
Multiple users share the same frequency channel sequentially Time slot sequence repeats over and over
FREQUENCY
FDMA
User 1
TDMA
CODE TIME
Many users share the same frequency band at the same time Each user is assigned a unique code to identify and separate them
A narrowband carrier is shifted in discrete increments of frequency The frequency remains constant for a specified time duration, then signal changes or hops to a different frequency
Each bit is represented by multiple bits using the spreading code Spreading code spreads signal across wider frequency band Performance similar to FHSS
Spreading: Information signal (i.e. a symbol) is multiplied by a unique, high rate digital code before transmission. Code bits are called Chips. Sequence is called Barker Code