Advanced Lab in Computer Communications: Meeting 3 - Wi-Fi 802.11
Advanced Lab in Computer Communications: Meeting 3 - Wi-Fi 802.11
Advanced Lab in Computer Communications: Meeting 3 - Wi-Fi 802.11
Communications
Meeting 3 Wi-Fi 802.11
ISO
OSI
7-layer
model
Application
Presentation
Session
Transport
IEEE 802
standards
Network
Data Link
Physical
Physical (PHY)
Wireless 802.11
Devices
802.11 Basics
802.11 Basics
802.11 Basics
2 Operation modes:
Ad Hoc No AP is used. Called also p2p
mode or IBSS.
Infrastructure Mode All stations are
connected to a AP.
802.11 Architecture
ESS
Existing
Wired LAN
AP
STA
BSS
STA
AP
STA
BSS
STA
Infrastructure
Network
STA
Ad Hoc
Network
STA
BSS
BSS
STA
STA
Ad Hoc
Network
MAC Protocols
2 Types of MAC protocols:
DCF
CSMA/CA
If the channel is busy, wait until the channel is clear then wait DIFS + backoff time.
If transmission is sensed during the backoff time, the backoff timer freezes, and resumes after the
channel is free for another DIFS.
The backoff time is doubled at every collision detected, until it reaches a maximum.
After transmission wait for ACK, if no ACK is received, the stations will retransmit.
DIFS>SIFS
ACK is favored upon regular transmission
CSMA/CA Cont.
2 Observations on CSMA/CD
Non-dispersive
Wireless Medium
Access Control
Romit Roy
Choudhury
Wireless Networking
Lectures
Duke University
Unfortunately
Because
14
Signal
power
Signal not same at different locations
Transmitter can only hear itself
Cannot determine signal quality at receiver
Distance
15
16
The stations will transmit the entire packet, because they cant do
CD.
IEEE 802.11
RTS = Request
To Send
CTS = Clear
To Send
M
Y
S
RTS
CTS
X
K
18
IEEE 802.11
silenced
M
Y
S
Data
silenced
ACK
X
silenced
K
silenced
19
The message length is transmitted in the RTS and in the CTS messages, allowing the
NAV times to be derived.
The RTS will cause all the stations that hear the transmitter to be quiet for NAV(RTS)
The CTS will cause all the stations that hear the receiver to be quiet for NAV(CTS)
RTS/CTS Request/Clear To Send
NAV Network Allocation Vector
DCF Operation
RTS/CTS
RTS
F
CTS
A
CTS
EEdoes
doesnot
notreceive
receiveCTS
CTSsuccessfully
successfully
Can
Canlater
laterinitiate
initiatetransmission
transmissionto
toD.
D.
Hidden
Hiddenterminal
terminalproblem
problemremains.
remains.
22
CTS-to-self
When is it used?
802.11 Legacy
Implementation of CSMA/CA
802.11a
802.11b
802.11g
802.11n