Professional Documents
Culture Documents
Eece 542: Wireless Lans Fall 2003
Eece 542: Wireless Lans Fall 2003
Eece 542: Wireless Lans Fall 2003
Wireless LANs
Fall 2003
Comparison of Common Wireless
Protocols
Protocol BW Max. Dist. Channel Cap.Comments
802.11b 2.4 Ghz 300 Ft 11 Mbps First & Common
802.11a 5 Ghz 60 Ft 54 Mbps Not compatable with 802.11b
802.11g 2.4 Ghz 300 Ft 54 Mbps Compatable with 802.11b
Bluetooth 2.4 Ghz 30 Ft 1 Mbps Good for PAN
Basic Architecture
●
2 modes of operation
– Ad Hoc (peer to peer – no access point)
– Basic Service Set (BSS) NIC + AP
●
BSS with access points can be connected to form
a Extended Service Set (ESS)
●
Service Set Identifier (SSID)
●
Wireless to AP
●
AP's connected over a wired network
Station Types
●
No-Transition Mobility (move within a single
BSS only)
●
BSS-Transition Mobility (move within one ESS)
●
ESS-Transition Mobility (move from one ESS to
another – standard does not guarantee continuous
communication while transition occurs.
Physical Layer
●
Infrared PHY defined, but not common
●
Frequency-hopping spread spectrum (FHSS)
– Defined in 802.11 standard (PHY)
– Send using one carrier frequency for a set period of
time, then switch to another frequency for the same
period of time. Typically time period is around 400
ms
– 79 nonoverlapping channels each separated by 1 MHz
– Sender and receiver agree on the sequence with the
layer 2 connection is established
– Allows multiple devices to operate in the same area
– Also make it harder for an intruder to intercept data
FHSS (cont.)
●
2400-2483.5 MHz (N. America)
●
Uses FSK (GFSK)
●
Data is scrambled by XORing with 127 bit LFSR
(Linear Feedback Shift Register)
●
PHY adds a header with a 16 bit CRC, Preamble
and Start delimiter
●
1 or 2 bits / baud (2 or 4 level FSK)
●
1 – 2 Mbps
DSSS
●
Also from 802.11
●
Direct Sequence Spread Spectrum
●
Each bit replaced with a sequence of bits called a
chip code.
●
Time must send data faster because you are
sending more bits
●
1 – 2 Mbps (DBPSK or DQPSK)
– Differential Biphase Shift Keying
– Differential Quadrature Phase Shift Keying
DSSS (cont.)
●
Chipping rate 11 MHz
●
2.4 – 2.4835 GHz
●
Adds preamble, SFD, 16 bit CRC
●
Also scrambles data
802.11b
●
High-rate DSSS (HR-DSSS)
●
Similar to DSSS
– Different encoding method: complementary code
keying (CCK)
– Encodes 4 or 8 bits into one symbol
– Same Band as DSSS
– Supports 1, 2, 5.5, and 11 Mbps
●
1 & 2 Mbps connections are encoded like DSSS
●
5.5 Mbps uses BPSK to transmit at 1.375 Mbaud/s
(4 bit CCK)
●
11 Mbps transmits using a 8 bit CCK
802.11a
●
Orthogonal Frequency-Division Multiplexing
(OFDM)
●
Similar to FDM, except all subbands are used by
one source at a given time.
●
5 GHz band (52 subbands)
●
4 control subbands
●
48 subbands for sending
●
Uses PSK (18 Mbps) and QAM (54 Mbps)
●
Not compatible with other wireless protocols
●
Also reduced range compared to a & g
802.11g
●
2.4-2.497 GHz
●
54 Mbps
●
Uses HR-DSSS/CCK at 1, 2, 5.5, and 11 Mbps
for 802.11b compatibility
●
Uses OFDM at 6, 9, 12, 18, 24, 36, 48, and 54
Mbps
MAC Layer
●
Why not use CSMA/CD?
– Stations must be able to detect collisions and send
collision notices at the same time (increases required
Bandwidth)
– Hidden station problem: I must see all stations in
order to detect collisions. Stations by be blocked by
another station, obstacles, or distance.
CSMA/CA
●
1. Sense medium
– Use a persistence strategy with backoff until medium
is idle
●
2. When idle wait for a period of time equal to
the Distributed Interframe Space (DIFS)
●
3. Send an control frame (Request to Send –
RTS)
– Set a timer
●
4. Destination Station receives the RTS, and
waits for a period of time equal to the Short
Interframe Space (SIFS)
CSMA/CA (cont.)
●
5. Destination station responds with a control
frame called a Clear to Send (CTS)
●
6. Source receives the CTS and waits a period of
time equal to the SIFS before sending data
– Set a timer for the ACK
●
7. Receiving station gets the data, and after
waiting a period of time equal to the SIFS, sends
an ACK
●
If either timer times out, a backup algorithm is
used before retrying the whole thing (starting
back at step 1)
Collision Avoidance
●
Network Allocation Vector (NAV)
●
When RTS is sent, it includes the duration of the
time that it needs to occupy the channel.
●
Affected stations set a timer called a NAV that
shows how much time must pass before they are
allowed to try to transmit.
●
A station transmitting slowly may slow the entire
BSS.
More MAC info
●
Fragmentation recommended to avoid
retransmission of large frames.
●
Three frame types:
– Management: initial communication between access
point and station
– Control: Media access, ACK's, etc
– Data: User data
Frame Format
●
Frame Control (2 bytes)
– Protocol version (2 bits)
– type (00=mgmt,01=ctrl, 10=data)
– Subtype (1011=RTS, 1100=CTS, 1101=ACK)
– To/From DS (Distribution System -- AP)