Академический Документы
Профессиональный Документы
Культура Документы
11 – MAC/PHY
802.11
802.11
802.11
802.11
802.11
Nonpersistent / x-persistent CSMA Protocols
1-persistent CSMA
0.4
0.3
0.2
Slotted Aloha
Aloha
0.1
0
0 1 2 3 4 5 6 7 8 9
G
802.11
802.11
802.11
802.11
802.11
802.11
802.11
802.11
IEEE 802.11 MAC Functionality
802.11
802.11 Specifications
IEEE 802.11 features
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
Accessing the medium CSMA/CD
station A CRS
defer
station B CRS
defer
station C CR CRS
S
collision
station A
CR CR
S S
Message
ACK
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
“Hidden stations”: the problem
A B C
A sends to B
C doesn’t detect that, so C might also start sending to B
Collision of messages at B: both messages lost
A B C
RTS: I want to send to B 500 bytes
CTS: OK A, go ahead, so everybody quiet
Data: the 500 bytes of data from A to B
ACK: B received the data OK, so an ACK
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
Message fragmentation
Hit
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
Multi-channel roaming
Channel 1 Channel 11
Channel 6
Channel 1
IEEE 802.11 features
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
Automatic rate select
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• In-cell relay
• Power Management
• Wired Equivalent Privacy (WEP)
• Wireless Distribution System (WDS)
Cell size / Multi Rate applications
2 Mbits/sec
1 Mbits/sec
IEEE 802.11 features
• ACK protocol
• Medium reservation (RTS/CTS)
• Fragmentation
• Multi-channel roaming
• Automatic data-rate fall-back
• Cell size / Multi-rate applications
• Power Management
Power Management
Data Rate 1, 2, 5.5, 11 Mbps 1, 2, 5.5, 11 , 6, 9, 12, 18, 24, 6, 9, 12, 18, 24, 36, 48,
36, 48, 54 Mbps 54 Mbps
Freq. Band 2.4 – 2.4835 GHz 2.4 – 2.4835 GHz 5.150 – 5.250
5.25 0– 5.350
5.725 – 5.825 GHz
1 2 3 4 5 6 7 8 9 10 11 2483
2400
Spectrum: 83MHz
Channels: Three 22MHz stationary channels. Only 3 non-overlapping.
Speeds: 1, 2, 5.5, and 11 Mbps data rate
Notes: With direct sequence the energy is spread out over a wide area of the band. 802.11b channels have a bandwidth of 22Mhz. This
will allow 3 non-overlapping, non-interfering channels to be used in the same area. This is also the 802.11 channel scheme. If there is a
severe signal interference in one area, it is possible to change to another channel and totally avoid the interference. Changing channels
does not happen automatically in DS, and must be done with re-configuration. Note actual throughput is much less due to protocol
overheads – best case 6Mbps.
Wi-Fi
Wi-Fi
802.11b/g
CH 1 CH 6 CH 11
DSSS
Notes: Deciding on the placement and number of access points is the first critical step in determining proper coverage. Very few gaps in the
coverage should be left since those will be dead air and the client could lack connectivity in those locations. Bandwidth requirements do have an
impact on the coverage areas; that will be discussed in an upcoming slide.
The second critical area is to map out the channel assignments and make sure that there is minimal overlap between channels that cover the same
frequency. Channels 1, 6 and 11 do not have overlapping frequencies and are normally used for roaming applications with Direct Sequence
Access Points.
802.11b Coverage
1 Mbps DSSS
2 Mbps DSSS
5.5 Mbps DSSS
11 Mbps DSSS
Notes: 802.11b coverage at 1 and 2 Mbps is identical to the other 2 Mbps products with the added benefit of support for 5.5 and 11 Mbps.
When compared to FH, A 2Mb FH product will typically cover what a DS will cover while running 5.5 Mbps. A DS system also has the
ability to datarate shift when moving, allowing the same person operating at 11Mbps, then move to 5.5, 2, and finally still communicate at the
outside ring at 1 Mbps. This rate shifting happens without losing connection, and without any interaction from the user.
30mW Cell Size Comparison
11 Mbps DSSS
25 – 30 meter radius
2 Mbps DSSS
60 – 90 meter radius
5.5 Mbps 5.5 Mbps 5.5 Mbps 5.5 Mbps 5.5 Mbps
5.5 Mbps 5.5 Mbps 5.5 Mbps 5.5 Mbps 5.5 Mbps
Notes: Bandwidth requirements are also factors in coverage mapping, since the distance from an Access Point has a bearing on the available
bandwidth. The above example provides for seamless roaming, but not at a constant speed. Here, we would take advantage of our Multirate
technology and step down in bandwidth, in order to gain greater coverage distances with a single Access Point. If 11 Mbps is required
everywhere, then the Access Points would need to be relocated so that ONLY the “red” 11 Mbps circles are touching each other. This would
require a greater amount of Access Points, but consistent bandwidth would be achieved. Notice that the data rate decreases as the coverage
distance increases.
Coverage areas don’t line up like this in reality. Nor are they flat, but rather three dimensional.
802.11a Physical Layer Channels
802.11a
Channel Frequency
Identifier (MHz)
34 5170
36 5180
38 5190
40 5200
42 5210 Limites de Potência (EIRP):
44 5220 ·
46 5230 · 802.11a (5.15-5.25GHz): 17dBm / 50mW
48 5240 · 802.11a (5.25-5.35GHz): 24dBm / 250mW
52 5260 · 802.11a (5.725-5.825GHz): 30dBm / 1000mW
56 5280
60 5300
Nota – ver canais selecionados em slide adiante
64 5320
149 5745
153 5765
157 5785
161 5805
! "
#
802.11a
Spectrum (US*):
50mW from 5.150 – 5.250 GHz
250mW from 5.250 - 5.350 GHz
1W from 5.725 – 5.825 GHz
Speeds:
6, 12, and 24Mbps for compliances
54Mbps+ expected
Channels:
Notes: Spectrum: More spectrum is available at a higher rate 20 MHz channels
yielding more throughput than 802.11b. In the US, all three ranges
are available. However in other countries only the first two, or only
Vendors? 8 - 15
the first is available. It is unclear how this will effect demand for
products and how many channels will be provided. At 5GHz, these
signals will not travel as far.
As faixas para WLAN e WPAN
! " #
$ # % & ' !
$% ( ) #
%*+, - %*+.# /" 0*+, -
%*+. 1 0*+
OFDM
802.11a
• Technologies overview
• Spread Spectrum
– Direct Sequence
– Frequency Hopping
• Modulation
– DBPSK/DQPSK
– CCK
OSI Reference Model: PHY
Wireless
WirelessLAN
LANTechnologies
Technologies
Spread
Spread
Infrared
Infrared Narrow
NarrowBand
Band Spectrum
Spectrum
Direct
Direct Frequency
Frequency
Sequence
Sequence Hopping
Hopping
Wireless LAN technologies (Spread Spectrum)
2400 2500
Frequency Frequency
Standard Radio Spread Spectrum
Transmission Transmission
Module contents
• Technologies overview
• Spread Spectrum
– Direct Sequence
– Frequency Hopping
• Modulation
– DBPSK/DQPSK
– CCK
Multiple Access Methods: Multiple users share the available spectrum
FREQUENCY FREQUENCY
FDMA TDMA
• Frequency Hopping
– Sequential use of multiple
frequencies
– Hop sequence and rate will vary
– “End hop waste time” Time
Spread Spectrum Technologies: Direct Sequence transmitter
f
Code Bits (Chips) “Spread” Frequency f
Code Spectrum
Generator
Symbol time ts
• Due to the multiplication of a
“1” “0” symbol with Barker code, the
“rate-of-change” increases with
X “symbol”
a factor 11
• This means that cycle rate
= “Barker” sequence increases from 1 MHz to 11
MHz
Result of multiplication
Chip
time tc • In terms of spectrum this
means that after RF modulation
the signal is spread from 2
MHz bandwidth to 22 MHz
bandwidth
2 Mhz 22 Mhz
Spread Spectrum Technologies: Direct Sequence receiver
Data
+1
• A positive spike represents a
-1 “1” symbol, a negative spike
represents a “0” symbol
Symbol -11
time
Spread Spectrum Technologies: Direct Sequence receiver - effect of echoes
peak
• These fluctuations are ignored
as the receiver will only
echo interpret the spike at the
synchronization points
(separated from each other by
the symbol time)
echo
Symbol
time
802.11
Module contents
• Technologies overview
• Spread Spectrum
– Direct Sequence
– Frequency Hopping
• Modulation
– DBPSK/DQPSK
– CCK
Modulation: DBPSK (Differential Binary Phase Shift Keying)
Bit Input ω)
Phase Change (+jω
0 0
1 π
Table 1, 1 Mb/s DBPSK Encoding Table.
Modulation: DQPSK (Differential Quadrature Phase Shift Keying)
5.5 MBps
CCK
• Data bits are encoded to a symbol which is
transmitted in the form of 8 chips
• For Data-Rate = Medium Encoding means: 2 bits encoded to
4 complex code
– mapping 2 data bits to I or Q channel (in- words; 2-QPSK
Phase, Quaternary Phase)
– mapping 2 data bits to one of 4 Complex 8 chips
Codewords
• For Data-Rate = High Encoding means: 11 MBps
CCK
– mapping 2 data bits to I or Q channel (in-
Phase, Quaternary Phase)
6 bits encoded to
– mapping 6 data bits to one of 64 64 complex code
Complex Codewords words; 2-QPSK
I OUT
2 Pick One of 1
4 Complex
Codes *
Q OUT
1
DATA
IN
Scrambler
1
MUX
1:8 1
I OUT
6 Pick One of 1
64 Complex
Codes
Q OUT
1
DATA
IN
Scrambler
1
MUX
1:8 1
1.375 MHz
11 MHz
• Bit-rates:
– At date rate = high, 8 data bits are mapped on one symbol, which
results in 11 Mbps (i.e. 1.375 * 8)
CCK : From DSSS BPSK to 11 Mbps CCK
I, Q I, Q I, Q
I, Q
Data Rate 1, 2, 5.5, 11 Mbps 1, 2, 5.5, 11 , 6, 9, 12, 18, 24, 6, 9, 12, 18, 24, 36, 48,
36, 48, 54 Mbps 54 Mbps
Freq. Band 2.4 – 2.4835 GHz 2.4 – 2.4835 GHz 5.150 – 5.250
5.25 0– 5.350
5.725 – 5.825 GHz
2.
Electromagnetic
Interference
(EMI) from 1.
Other stations, Attenuation: signal gets
Microwave ovens, etc. weaker with distance
Blocking 3.
Direct Signal Object Shadow
Laptop
Zone
4. Multipath
(Dead Spot)
Interference
Reflected Signal
Direct and reflected signals may cancel out
Wi-Fi Multipath
Propagação com Percurso Múltiplo
• Ganho
- medida do acréscimo de potência na direcção de máxima radiação
• Diagrama de Radiação
- gráfico da distribuição espacial da potência radiada (geralmente
representado em dois planos, horizontal e vertical)
• Polarização
- gráfico da variação temporal da intensidade do campo, num plano
normal à direcção de propagação
Antenas
Exemplos de Cobertura de Antenas
Line of Sight disappears at 6 miles (9.65 km) due to the curvature of the earth.
Fresnel Zone
The area around the visual line-of-sight that radio waves spread out into after they
leave the antenna. This area must be clear or else signal strength will weaken.
Fresnel Zone is an area of concern for 2.4 GHz wireless systems. Although 2.4
GHz signals pass rather well through walls, they have a tough time passing
through trees. The main difference is the water content in each. Walls are very dry:
trees contain high levels of moisture. Radio waves in the 2.4 GHz band absorb into
water quite well.
Cantenna
• Cantenna (htttp://www.cantenna.com)
–Extends the range of a client and/or access point
–Legitimate uses as well
Belkin: Wireless Pre-802.11n Router
Linksys Wireless-G Router with SRX
%& %&
1 2 2
3$ '2 .
War Driving