Outline
ðặng Lê Khoa
Email: dlkhoa@fetel.hcmuns.edu.vn
802.11 Specifications
Applications
WEP MAC
MAC Mgmt
MIB
PHY
DSSS FH IR OFDM
5 6
1
3/22/2010
7 8
Transmitter Transmitted signal after spreading Received signal after Direct sequence spread spectrum
baseband signal despreading Each channel is 22 Mhz wide
Symbol rate
1 Mb/s with DBPSK modulatio
Baseband signal is spread using Barker word (10 dB processing gain)
2 Mbps with DQPSK modulation
Spread signal occupies approximately 22 Mhz bandwidth
11, 5.5 Mb/ps with CCK modulation
Receiver recovers the signal by applying the same Barker word
DSSS provides good immunity against narrowband interferer
Max transmit power
CDMA (multiple access) capability is not possible 100 Mw
11 12
2
3/22/2010
13 14
contention 1023
window CW max
DIFS For DSSS PHY
Slot time = 20 µs
Busy medium Next Frame
slot time
Defer access 511
255
127
63
Use CSMA with collision Avoidance
CW min 31
Based on carrier sense function in PHY called Clear Channel Assessment
(CCA)
Reduce collision probability where mostly needed Fifth retransmission
Fourth retransmission
Efficient backoff algorithm stable at high loads Third retransmission
Second retransmission
Possible to implement different fixed priority levels First retransmission
Initial attempt
15 16
17 18
3
3/22/2010
W
Carrier Sensing: problems, issues, Z is transmitting
to W
and solutions Z
X Y
/
Presence of carrier ===> hold off transmission
21 22
Problems with carrier sensing Solving Hidden Node problem with RTS/CTS
Hidden terminal problem
- listen RTS RTS CTS
- wait long enough
for the requested X Z
station to respond
with CTS - listen CTS
Z Y
- if (timeout) then W - wait long enough
ready to transmit
Y for the transmitter
W to send its data
no carrier ===>
/ OK to transmit
Note: RTS/CTS does not solve exposed terminal problem. In the example above,
X can send RTS, but CTS from the responder will collide with Y’s data.
23 24
4
3/22/2010
RTS Frame
Src Applications
CTS ACK
Dest
352 304 8192 µs 304
µs 10 µs 10 10 µs LLC
µs µs
µs
Dest NAV (RTS) WEP
MAC
NAV (CTS) MAC Mgmt
RTS + CTS + Frame + ACK exchange invoked when frame size is large
Overhead estimation
MIB
RTS -- 18 bytes (PCLP Preamble) + 6 bytes (PCLP Header) + 20 bytes (RTS) PHY
• 192 µs + 160 µs = 352 µs
CTS -- 18 bytes (PCLP Preamble) + 6 bytes (PCLP Header) + 14 bytes (RTS) DSSS FH IR OFDM
• 192 µs + 112 µs = 304 µs
SIFS – 10 µs
NAV (Network Allocation Vector)
NAV maintains prediction of future traffic on the medium based on duration information
that is announced in RTS/CTS frames prior to actual exchange of data
25 26
MAC Management: Beacon & Probes MAC Mgmt : Authentication & Association
A station can first scan the network
and discover the presence of BSS in
Access Point
Beacon and probe response packets Authenticated several access points in advance
contain: Unassociated to speedup roaming
AP timing information, 3) Data exchg A station can be associated with
Beacon period, Authenticated only one AP at a given time
AP capability information, Associated Association state is used by the
distribution system to figure out
Station
SSID, To DS
PHY parameter set, Station the current location of the station
Traffic Indication Map (TIM) Access Point 1 within the ESS.
SSID (Service set identifier)
identifies an ESS or IBSS
27 28
Listen interval
802.11 frame has more fields than other
A station which is synchronized with an AP clock can wake up periodically to
media type frames
listen for beacons
30 bytes frame header appears too long!
Beacon packets contain Traffic Indication Map (TIM), a bit vector, which
indicates whether a station has a packet buffered at AP All fields are not present in all frames
The station sends a PS-Poll message to the AP asking the AP to release
buffered packets for the station
All broadcast and multicast frames are transmitted following beacons with DTIM
flag set
29 30
5
3/22/2010
00 01 10 11
Mgmt Control Data Reserved
31