View
227
Download
0
Category
Preview:
Citation preview
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 1/115
IEEE 802.11 – MAC/PHY
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 2/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 3/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 4/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 5/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 6/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 7/115
Nonpersistent / x-persistent CSMA Protocols
• Nonpersistent CSMA Protocol:Step 1: If the medium is idle, transmit immediately
Step 2: If the medium is busy, wait a random amount of time andrepeat Step 1
– Random backoff reduces probability of collisions – Waste idle time if the backoff time is too long
• 1-persistent CSMA Protocol:Step 1: If the medium is idle, transmit immediately
Step 2: If the medium is busy, continue to listen until mediumbecomes idle, and then transmit immediately
– There will always be a collision if two nodes want to retransmit
(usually you stop transmission attempts after few tries)
• p-persistent CSMA Protocol:
Step 1: If the medium is idle, transmit with probability p, and delay for worstcase propagation delay for one packet with probability (1-p)
Step 2: If the medium is busy, continue to listen until mediumbecomes idle, then go to Step 1
Step 3: If transmission is delayed by one time slot, continue with Step 1
– A good tradeoff between nonpersistent and 1-persistent CSMA
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 8/115
How to Select Probability p ?
• Assume that N nodes have a packet to send and the mediumis busy
• Then, Np is the expected number of nodes that will attempt totransmit once the medium becomes idle
• If Np > 1, then a collision is expected to occur
Therefore, network must make sure that Np < 1 to avoidcollision, where N is the maximum number of nodes that canbe active at a time
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 9/115
Throughput
0 1 2 3 4 5 6 7 8 9
G
1.0
0.9
0.8
0.7
0.6
0.50.4
0.3
0.2
0.1
0
S
Aloha
Slotted Aloha
1-persistent CSMA
0.5-persistent CSMA
0.1-persistent CSMA
0.01-persistent CSMA
Nonpersistent CSMA
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 10/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 11/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 12/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 13/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 14/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 15/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 16/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 17/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 18/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 19/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 20/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 21/115
IEEE 802.11 MAC Functionality
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 22/115
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 23/115
802.11 Specifications
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 24/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 25/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 26/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 27/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 28/115
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 29/115
Accessing the medium CSMA/CD
• Adapters that can detect collisions (e.g. Ethernet adapters)
– Carrier Sensing: listen to the media to determine if it is free
– Initiate transmission as soon as carrier drops
– When collision is detected station defers
– When defer timer expires: repeat carrier sensing and starttransmission
station C
station B
station A
CRS
collision
CRS
CRS
CRSdefer
defer
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 30/115
Accessing the medium CSMA/CA
• Wireless LAN adapters cannot detect collisions:
– Carrier Sensing - listen to the media to determine if it is free
– Collision Avoidance - minimize chance for collision by starting(random) back-off timer, when medium is sensed free, and prior to
transmission
deferstation C
station B
station A
CRS
CRS
defer
defer
CRS CRS
defer
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 31/115
CSMA/CA with MAC - level Acknowledgment
Message
ACK
• Collisions still can occur (interference; incapability of sensing other carrier)
– IEEE 802.11 defines “low-level” ACK protocol
– Provides faster error recovery – Makes presence of high level error recovery less critical
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 32/115
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 33/115
“Hidden stations”: the problem
• Situation that occurs in larger cells (typical outdoor)
– Loss of performance – Error recovery required
BA C
A sends to BC doesn’t detect that, so C might also start sending to B
Collision of messages at B: both messages lost
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 34/115
“Hidden terminal”: the problem
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 35/115
“Hidden stations”: the solution
• IEEE 802.11 defines:
– MAC level RTS/CTS protocol (Request to Send / Clear to Send)
– Can be switched off to reduce overhead (when no hidden nodes exist) – More robustness, and increased reliability
– No interruptions when large files are transmitted
A B
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
C
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 36/115
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 37/115
Message fragmentation
• IEEE 802.11 defines:
– MAC level function to transmit large messages as smaller frames (user
definable)
– Improves performance in RF polluted environments
– Can be switched off to avoid the overhead in RF clean environments
A hit in a large frame requires re-transmission of a large frame
Fragmenting reduces the frame size and the required time to re-transmit
Hit
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 38/115
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 39/115
Multi-channel roaming
• IEEE 802.11 systems, support multi-channel roaming
– Access points are set to a fixed frequency – Stations do not need to be configured for a fixed frequency
– Stations switch frequency when roaming between access points
– Stations “associate” dynamically to the access point with best
signal, on power on
• This implies
– Easier configuration
– Faster installation
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 40/115
Multi-channel roaming
Channel 1
Channel 6
Channel 11
Channel 1
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 41/115
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 42/115
Automatic rate select
• Wireless PC Card, dynamically switches data-rate
– Fall back to lower data-rate when communications qualitydecreases
• out of range situations
• Interference
– Fall-back scheme:
• 11 Mbps, 5.5 Mbps, 2 Mbps, 1 Mbps
• This implies
– Operating at larger distances
– Robustness in RF polluted areas
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 43/115
Automatic rate select
• PC Card is capable of supporting different data-rates
“simultaneously”: – e.g. operates at “High” speed in communication to nearby
station and at “Low” speed to station that is further away.
• Data rate capability is maintained in “station associationtable”
• Speed of IEEE Management - and Control frames use
fixed speed determined as “IEEE Basic Rates”, and
controlled by “Multi-cast Rate parameter”.
IEEE 802 11 f t
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 44/115
IEEE 802.11 features
• 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)
C
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 45/115
Cell size / Multi Rate applications
• Cell-size can be influenced by “Distance between APs” parameter:
– Distance between APs = Large -> large cell
– Distance between APs = Medium -> medium size cell
– Distance between APs = Small -> small cell
• Cell-size influences capacity per station in the cell
– small cell physically accommodates smaller number of stations than
large cell
– bandwidth per station in small cell greater than in large cell
• Cell size influences data-rate
– larger distance between station and access-point may lead to lower
data-rate
Cell size / Multi Rate applications
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 46/115
Cell size / Multi Rate applications
• Mixture of cell-sizes accommodate mixed applications:
– Office workers:
• High physical station density
• High bandwidth requirement
• Small cell operating at high data rate
• Distance between APs is small – Warehouse operations (such as forklift truck)
• Low physical station density
• Low bandwidth requirement (transaction processing)
• Large cell operating at low data rate• Distance between APs is large
Multi Rate applications
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 47/115
Multi Rate applications
1 Mbits/sec
2 Mbits/sec
IEEE 802 11 features
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 48/115
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
P M t
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 49/115
Power Management
• IEEE 802.11, supports power management:
– nothing to send: station in sleep mode – out-bound traffic stored in Access Point (out-bound = from AP to
STA)
– station wake up only for Traffic Information Map (TIM)
– if messages: stay awake to receive them• This implies:
– Prolonged battery life
– Increase usability in hand-held equipment
– Works best in application that have limited bandwidthrequirements (transaction processing)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 50/115
IEEE 802.11 – PHY
802 11 Specifications
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 51/115
802.11 Specifications
802 11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 52/115
802.11
802 11 - Technical Comparison
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 53/115
802.11 Technical Comparison
20 MHz spacing25/30 MHz spacing3 Channels
25/30 MHz spacing3 Channels
Channelization
5.150 – 5.2505.25 0– 5.3505.725 – 5.825 GHz
2.4 – 2.4835 GHz2.4 – 2.4835 GHzFreq. Band
6, 9, 12, 18, 24, 36, 48,54 Mbps
1, 2, 5.5, 11 , 6, 9, 12, 18, 24,36, 48, 54 Mbps
1, 2, 5.5, 11 MbpsData Rate
64-QAM-OFDM16-QAM-OFDMQPSK-OFDMBPSK-OFDM
64-QAM-OFDM16-QAM-OFDMQPSK-OFDMBPSK-OFDM
CCK (8 complex chipspreading)
Modulation
CSMA/CACSMA/CACSMA/CAAccess Method
IEEE 802.11aIEEE 802.11gIEEE 802.11bNetwork Std
802.11b (and g) Physical Layer Channels
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 54/115
802.11b (and g) Physical Layer Channels
Limites de Potência (EIRP):
· 802.11b/g (2.4 GHz): 30dBm / 1000mW
Obs: Resolução Anatel 365/2004:
Na faixa de radiofreqüências de 2400 - 2483,5 MHz,
potência e.i.r.p. limitada a 400 mW, em localidadescom população superior a 500.000 habitantes.
! "#
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 55/115
! "#
DSSS Channels (802 11)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 56/115
DSSS Channels (802.11)
5 MHz offset between each channel.
3 Non-Overlapping Channels exist in US: 1, 6, and 11
These are very important when doing Access Point layout and Site Surveying.
Channels- 802.11b
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 57/115
Spectrum: 83MHz
Channels: Three 22MHz stationary channels. Only 3 non-overlapping.
Speeds: 1, 2, 5.5, and 11 Mbps data rate
1 2 3 4 5 6 7 8 9 10 11
24002483
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-FiWi-Fi
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 58/115
Wi Fi
802.11b/g
Three non-overlapping channels in 2.4 – GHz band (20MHz Wide)
CH 1CH 1 CH 11CH 11CH 6CH 6
DSSS
Channel Setup
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 59/115
Channel 1 Channel 11
Channel 1Channel 6
Channel 6
Channel 11
Channel 11
Channel 11Channel 6
Channel 1
Site Survey Channel Mapping
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 60/115
Channel 1
Channel 6
Channel 11
Channel 1
Channel 6
Channel 11
Channel 11
Channel 1
Channel 6
Channel 11
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 SequenceAccess Points.
802.11b Coverage
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 61/115
1 Mbps DSSS
5.5 Mbps DSSS
11 Mbps DSSS
2 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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 62/115
30 milliWatt client and
Access Point range capabilities
11 Mbps DSSS
25 – 30 meter radius
5.5 Mbps DSSS30 – 60 meter radius
2 Mbps DSSS60 – 90 meter radius
Notes: Default power/coverage. UT environments don’t tend to be typical.
Maximum coverage for every cell isn’t necessarily a goal. Our biggest problem is that APs hear one another, but don’t provide good
signal. So, for decent coverage we need more APs, but then we run into problems of overlapping channels. Even if that wasn’t the
problem, you might want more bandwidth because there are lots of people in an area to cover.
By adjusting transmitter power, you can change the coverage.
Site Survey Bandwidth Layout
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 63/115
2 Mbps 2 Mbps 2 Mbps 2 Mbps 2 Mbps
2 Mbps 2 Mbps 2 Mbps 2 Mbps 2 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 5.5 Mbps
11 Mbps 11 Mbps 11 Mbps 11 Mbps 11 Mbps
11 Mbps 11 Mbps 11 Mbps 11 Mbps 11 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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 64/115
Channel
Identifier
Frequency
(MHz)
34 5170
36 518038 5190
40 5200
42 5210
44 5220
46 523048 5240
52 5260
56 5280
60 5300
64 5320
149 5745
153 5765
157 5785
161 5805
802.11a
Limites de Potência (EIRP):
·
· 802.11a (5.15-5.25GHz): 17dBm / 50mW
· 802.11a (5.25-5.35GHz): 24dBm / 250mW
· 802.11a (5.725-5.825GHz): 30dBm / 1000mW
Nota – ver canais selecionados em slide adiante
! "#
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 65/115
802.11a
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 66/115
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:
20 MHz channels
Vendors? 8 - 15
Notes: Spectrum: More spectrum is available at a higher rate
yielding more throughput than 802.11b. In the US, all three ranges
are available. However in other countries only the first two, or only
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 67/115
!"#
$# % & ' !$% ( )# %*+,- %*+.#/" 0*+ ,-%*+.1 0*+
" 2 3 "+ 4" 5678# 0*+# &+ &" /"
802.11a Physical Layer Channels
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 68/115
Frequency Channel
Number
Transmit
Frequency
Maximum Transmit
Power
U-NII lower band 36 5.180 GHz 50mW (2.5mW/MHz)40 5.200 GHz
44 5.220 GHz
48 5.240 GHz
U-NII middle band 52 5.260 GHz 250mW (12.5mW/MHz)
56 5.280 GHz
60 5.300 GHz
64 5.320 GHz
U-NII upper band 149 5.745 GHz 1000 mW (50mW/MHz)
153 5.765 GHz
157 5.785 GHz
161 5.805 GHz
802.11a (EUA e Américas)
802.11a Physical Layer Channels
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 69/115
OFDM for Mobile Communications
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 70/115
OFDM represents a different system design approach. It can be thought of as acombination of modulation and multiple access schemes that segments a communications channel insuch a way that many users can share it. Whereas TDMA segments according to time, and CDMAsegments according to spreading codes, OFDM segments according to frequency. It is a technique that
divides the spectrum into a number of equally spaced tones, and carries a portion of a user’sinformation on each tone. A tone can be thought of as a frequency, much in the same way that eachkey on a piano represents a unique frequency. OFDM can be viewed as a form of frequency divisionmultiplexing (FDM). However, OFDM has na important special property that each tone is orthogonalwith every other tone. FDM typically requires there to be frequency guard bands between thefrequencies so that they do not interfere with each other. OFDM allows the spectrum of each tone tooverlap, and since they are orthogonal, they do not interfere with each other. By allowing the tones tooverlap, the overall amount of spectrum required is reduced.
Wi-FiWi-Fi
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 71/115
802.11a OFDM
Eight non-overlapping channels in lower 5-GHz band
Module contents
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 72/115
• Technologies overview
• Spread Spectrum – Direct Sequence
– Frequency Hopping
• Modulation
– DBPSK/DQPSK
– CCK
OSI Reference Model: PHY
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 73/115
• Network Oper. System
– Network Layer – Guarantees delivery data
• Drivers
– LLC Layer
– send/receive data
• LAN Controller
– MAC Layer
– data into/out frame
• MODEM
– Physical Layer
– frame into/out phy frame
Physical LayerPhysical Layer
IEEE: MAC LayerIEEE: MAC Layer
IEEE: LLC LayerIEEE: LLC Layer
Network LayerNetwork Layer
Wireless LAN technologies (overview)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 74/115
Wireless LAN TechnologiesWireless LAN Technologies
InfraredInfrared SpreadSpectrum
SpreadSpectrumNarrow BandNarrow Band
DirectSequence
DirectSequence
FrequencyHopping
FrequencyHopping
Wireless LAN technologies (Spread Spectrum)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 75/115
• Unlicensed usage (ISM band)
• No line of sight requirement (indoor)
• High link reliability
• Built-in transmission security
• Two techniques used:
– Direct Sequence
– Frequency Hopping
Standard RadioTransmission
Spread SpectrumTransmission
Frequency Spectrum (MHz)
2400 2500
Power Power
Frequency Frequency
88 103 2400FM Band
Module contents
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 76/115
• Technologies overview
• Spread Spectrum – Direct Sequence
– Frequency Hopping
• Modulation
– DBPSK/DQPSK
– CCK
Multiple Access Methods: Multiple users share the available spectrum
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 77/115
FREQUENCY
TIME
User 3
User 2
User 1
• Multiple users sharethe same frequencychannel sequentially
• Time slot sequencerepeats over andover
TDMA
TIME
FREQUENCY
CODE
CDMAalso known as “Spread Spectrum”
User 3
User 2
User 1
• Channel is “spread” over widefrequency band
• Many users share the samefrequency band at the same time
• Each user is assigned a unique
“code” to identify and separatethem
FREQUENCY
TIME
FDMA
1 2 3
Each user assigneda different frequency
- like ordinary radio
Spread Spectrum Technologies: DS vs. FH
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 78/115
• Direct Sequence
– Each symbol is transmitted over
multiple frequencies at the same time – Very efficient (no overhead)
– Higher speed than FH at comparabledistances
– System capacity (multiple channels)
higher than FH
• Frequency Hopping
– Sequential use of multiplefrequencies
– Hop sequence and rate will vary
– “End hop waste time”
COMPLETE WAVEBAND ALLOCATED
Time
Time
Spread Spectrum Technologies: Direct Sequence transmitter
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 79/115
• Spreading: Information signal (I.e. a “symbol”) is multiplied by aunique, high rate digital code which stretches (spreads) its
bandwidth before transmission.• Code bits are called “Chips”.
• Sequence is called “Barker Code”
Source andChannelCoding
RFModulator
Code
Generator
X
Multiplier
Code Bits (Chips)
Digital Signal (Bits)
FrequencySpectrum
f
“Spread” FrequencySpectrum
f
Spread Spectrum Technologies: What happens during “spreading”
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 80/115
X
=
“symbol”
“Barker” sequence
Result of multiplication
Symbol time ts
“1” “0”
Chiptime tc
• Due to the multiplication of asymbol with Barker code, the“rate-of-change” increases with
a factor 11• This means that cycle rate
increases from 1 MHz to 11MHz
• In terms of spectrum thismeans that after RF modulationthe signal is spread from 2MHz bandwidth to 22 MHz
bandwidth
2 Mhz 22 Mhz
Spread Spectrum Technologies: Direct Sequence receiver
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 81/115
• At the receiver, the spread signal is multiplied again by a synchronizedreplica of the same code, and is “de-spread” and recovered
• The outcome of the process is the original “symbol”
RF
Demodulator
Channeland
SourceDecoding
CodeGenerator
X
Multiplied
Code Bits (Chips)
De-SpreadSignal
f
“Spread” FrequencySpectrum
f
Digital Signal (Bits)
Spread Spectrum Technologies: De-spreading
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 82/115
Data
:11 chip code
Direct Sequence
Spread Spectrum
Signal
+11
-11
+1
-1
Symboltime
• When the incoming signal isde-spread, it results in either a
positive (+) or a negative (-)“spike”
• These “spikes” arrive atintervals equal to the symboltime
• A positive spike represents a“1” symbol, a negative spikerepresents a “0” symbol
Spread Spectrum Technologies: Direct Sequence receiver - effect of echoes
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 83/115
echo
echo
peak
Symboltime
• Echoes may arrive at thereceiver, fluctuations can be
noticed at positions other thanat the symbol time boundaries
• These fluctuations are ignoredas the receiver will onlyinterpret the spike at thesynchronization points(separated from each other bythe symbol time)
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 84/115
Module contents
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 85/115
• Technologies overview
• Spread Spectrum – Direct Sequence
– Frequency Hopping
• Modulation – DBPSK/DQPSK
– CCK
Modulation: DBPSK (Differential Binary Phase Shift Keying)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 86/115
I
Q
Bit Input Phase Change (+jωωωω)
0 0
1 π
Table 1, 1 Mb/s DBPSK Encoding Table.
Modulation: DQPSK (Differential Quadrature Phase Shift Keying)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 87/115
I
Q
Dibit pattern (d0,d1)
d0 is first in time Phase Change (+j )
00 0
01 /211
10 3 /2 (- /2)
Table 1, 2 Mb/s DQPSK Encoding Table
CCK : Turbo 11 Mbps approach
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 88/115
CCK = Complementary Code Keying
• IEEE 802.11 standard for high speed• 11 and 5.5 Mbps data rates
• Outstanding high multi-path performance
• Outstanding low-SNR performance
• Seamless interoperability with existing DS
• Maintains QPSK chips at 11 MHz chip rate
• Maintains 3 frequency channels
CCK : How it works
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 89/115
• Data bits are encoded to a symbol which istransmitted in the form of 8 chips
• For Data-Rate = Medium Encoding means: – mapping 2 data bits to I or Q channel (in-
Phase, Quaternary Phase)
– mapping 2 data bits to one of 4 ComplexCodewords
• For Data-Rate = High Encoding means: – mapping 2 data bits to I or Q channel (in-
Phase, Quaternary Phase)
– mapping 6 data bits to one of 64Complex Codewords
• Codewords are complex complementarycodes selected from a code set
5.5 MBps
CCK
8 chips
2 bits encoded to4 complex code
words; 2-QPSK
11 MBpsCCK
8 chips
6 bits encoded to
64 complex code
words; 2-QPSK
CCK : Operating at medium speed
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 90/115
Pick One of
4 ComplexCodes *
MUX1:8
2
DATAIN
I OUT
Q OUT
1.375 MHz
8 chips clocked with 11 MHz
11 MHz
1
1
Data Rate = 4 bits/symbol * 1.375 MSps = 5.5 MBps
S c r am b l er
1
1
CCK : How it works
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 91/115
Pick One of
64 ComplexCodes
MUX1:8
6
DATAIN
I OUT
Q OUT
1.375 MHz
11 MHz
1
1
Data Rate = 8 bits/symbol * 1.375 MSps = 11 Mbps
S c r am b l er
1
1
CCK : Data rates and symbol rates
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 92/115
• Bit-rates:
– The 11 chips Barker sequence in Standard DSSS carries onesymbol clocked at 1MHz, which results in a symbol rate of1Msymbol/sec.
– The 8 chips sequence in CCK clocked at 1 MHz, results in asymbol rate of 1.375 Msymbol/sec (i.e. 11/8)
– At date rate = medium, 4 data bits are mapped on one symbol,which results in 5.5 Mbps (i.e. 1.375 * 4)
– At date rate = high, 8 data bits are mapped on one symbol, whichresults in 11 Mbps (i.e. 1.375 * 8)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 93/115
CCK : From DSSS BPSK to 11 Mbps CCK
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 94/115
11 MBps
CCK5.5 MBps
CCK
802.11 DSSS QPSK
2MBps
Barker
QPSK
802.11 DSSS BPSK
1 MBps
Barker
BPSK
11 chips
1 MSps
1 bit used to
BPSK code word
11 chips
1 MSps
2 bits used to
QPSK code word
8 chips
1.375 MSps
2 bits encoded to
4 complex code
words; 2-QPSK
8 chips
1.375 MSps
I, QI, QI, Q
I, Q
6 bits encoded to
64 complex code
words; 2-QPSK
Technical Comparison
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 95/115
20 MHz spacing25/30 MHz spacing3 Channels
25/30 MHz spacing3 Channels
Channelization
5.150 – 5.2505.25 0– 5.3505.725 – 5.825 GHz
2.4 – 2.4835 GHz2.4 – 2.4835 GHzFreq. Band
6, 9, 12, 18, 24, 36, 48,54 Mbps
1, 2, 5.5, 11 , 6, 9, 12, 18, 24,36, 48, 54 Mbps
1, 2, 5.5, 11 MbpsData Rate
64-QAM-OFDM16-QAM-OFDMQPSK-OFDMBPSK-OFDM
64-QAM-OFDM16-QAM-OFDMQPSK-OFDMBPSK-OFDM
CCK (8 complex chipspreading)
Modulation
CSMA/CACSMA/CACSMA/CAAccess Method
IEEE 802.11aIEEE 802.11gIEEE 802.11bNetwork Std
802.11
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 96/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 97/115
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 98/115
Problemas de Propagação
2
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 99/115
1.Attenuation: signal getsweaker with distance
3.Shadow
Zone(Dead Spot)
2.Electromagnetic
Interference(EMI) from
Other stations,Microwave ovens, etc.
Reflected Signal
Laptop Direct Signal
4. MultipathInterference
Direct and reflected signals may cancel out
Blocking
Object
Wi-Fi Multipath
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 100/115
Propagação com Percurso Múltiplo
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 101/115
A interferência entre os múltiplos percursos pode ser
destrutiva, dando origem a desvanecimento da portadora
modulada recebida, e consequente degradação da qualidadede transmissão (BER).
Access Point 802.11)
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 102/115
Sistemas de Antenas com Diversidade
• São usados para combater a distorção e o
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 103/115
• São usados para combater a distorção e odesvanecimento resultantes de propagação compercurso múltiplo.
• Utilizam duas antenas idênticas, a pequena distânciauma da outra, cobrindo a mesma área de serviço.
Exemplo: Cisco AIR-ANT3351, usada para aumentar
o alcance dos adaptadores de clientes.Ganho: 2,2 dBi
Características das Antenas
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 104/115
• 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 (geralmenterepresentado em dois planos, horizontal e vertical)
• Polarização- gráfico da variação temporal da intensidade do campo, num planonormal à direcção de propagação
Antenas
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 105/115
Exemplos de Cobertura de Antenas
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 106/115
Omni Directional Directional Patch Yagi/Parabolic
Diagrama de Radiação – Exemplo
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 107/115
13.5 dBi Yagi
Cisco AIR-ANT1949 Horizontal Vertical
Line of Sight/Earth Curvature
Many obstructions may block line of sight
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 108/115
Many obstructions may block line of sight.
•Topographic features such as hills or mountains
•Vegetation such as trees or vines
•Man-made objects like buildings or towers
•The curvature of the Earth.
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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 109/115
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.4GHz 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.
C (h // )
Cantenna
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 110/115
• 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
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 111/115
Linksys Wireless-G Router with SRX
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 112/115
The Linksys Wireless-G Router with SRX combines
smart antenna technology with standards-basedWireless-G (802.11g) networking. By overlaying the
signals of two Wireless-G compatible radios, the
"Multiple In, Multiple Out" (MIMO) technology
effectively doubles the data rate.
Similar to Belkin's "pre N" wireless router, Linksys
doesn't claim to be "pre" anything. Like Belkin's
MIMO technology, it claims better range and speed,
reducing "dead spots" in the wireless coverage area.
The new Linksys SRX combines an 802.11g, access
point with a built-in 4-port full-duplex 10/100 Switch
and Router to share a high-speed cable or DSL
Internet connection.
." *"
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 113/115
$%%%&'()
**
+,,("-(
%".
*"( '/+" ( 0" ((0
%".
& %& %&
/ %& %& ,9 & .
%& %&
1 2 2
3$ '2 .
• “Wireless LAN war drivers routinely cruise their immediate areas in
War Driving
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 114/115
ycars equipped with laptops loaded with a wireless LAN card, anexternal high-gain antenna and a GPS receiver. The wireless LAN
card and GPS receiver feed signals into freeware, such asNetStumbler, which detects APs and their identifiers along with theirGPS-derived locations. NetStumbler also automatically detectswhether or not built-in Wi-Fi Wired Equivalent Privacy (WEP) isturned on or off.
• More malevolent war-drivers may use Air-Snort or Kismet, toolsdesigned to crack WEP (Wired Equivalent Privacy).
War Chalking
•War Chalking is a language devoted to publicly labeling Wireless Networks
8/7/2019 802-11 Modulação
http://slidepdf.com/reader/full/802-11-modulacao 115/115
yacross the world (this is more of a myth…not been proven this is done at all).
•http://www.warchalking.org
Recommended