Ch. 2 - 802.11 and Nics: Part 3 - 802.11 Phy
Ch. 2 - 802.11 and Nics: Part 3 - 802.11 Phy
11 and NICs
Part 3 – 802.11 PHY
• Overview of Waves
• EM Spectrum
• 802.11 PHY Physical Layer Technologies
– PLCP
– PMD
• 802.11 Technologies
– FHSS – 802.11
– DSSS- 802.11
– HR/DSSS – 802.11b
– OFDM – 802.11a
– ERP – 802.11g
• Comparing 802.11a, 802.11b, 802.11g
Rick Graziani graziani@cabrillo.edu 2
Overview of Waves
Overview of Waves
Longitudinal
Pulse
• Longitudinal sound waves in the air behave in much the same way.
• As the sound wave passes through, the particles in the air oscillate
back and forth from their equilibrium positions but it is the disturbance
that travels, not the individual particles in the medium.
Transverse
Pulse
Go to
interactive
activity 3.1.1
Go to interactive activity
3.1.2 Amplitude and
Frequency
• The inverse relationship between time (t), the period in seconds, and
frequency (f), in Hz, is indicated by the following formulas:
t = 1/f
f = 1/t
• Examples:
t = 1/f 1 second = 1 / 1 Hz (cycle per second); f = 1/t 1 Hz = 1 / 1 second
Go to interactive
activity 3.1.2
Amplitude,
Frequency, and
Phase
• One full period or cycle of a sine wave is said to cover 360 degrees
(360°).
• It is possible for one sine wave to lead or lag another sine wave by any
number of degrees, except zero or 360.
• When two sine waves differ by exactly zero° or 360°, the two waves
are said to be in phase.
• Two sine waves that differ in phase by any other value are out of
phase, with respect to each other.
Go to interactive
activity 3.1.3
• Analog bandwidth
– Analog bandwidth can refer to the range of frequencies that can
propagate down a copper cable.
– Analog bandwidth is described in units of frequency, or cycles per
second, which is measured in Hz.
– There is a direct correlation between the analog bandwidth of any
medium and the data rate in bits per second that the medium can
support.
Rick Graziani graziani@cabrillo.edu 12
Bandwidth
• Digital bandwidth
– Digital bandwidth is a measure of how much information can flow
from one place to another, in a given amount of time.
– Digital bandwidth is measured in bits per second.
– When dealing with data communications, the term bandwidth most
often signifies digital bandwidth.
Rick Graziani graziani@cabrillo.edu 13
EM Spectrum
Basics of EM waves
• The EM spectrum is simply a name that scientists have given to the set
of all types of radiation when discussed as a group.
• Radiation is energy that travels in waves and spreads out over
distance.
• The visible light that comes from a lamp in a house and radio waves
that come from a radio station are two types of electromagnetic waves.
• Other examples are microwaves, infrared light, ultraviolet light, X-rays,
and gamma rays.
300,000 kilometers
or 180,000 miles
150,000 km 150,000 km
• One of the most important diagrams in both science and engineering is the
chart of the EM spectrum .
• The typical EM spectrum diagram summarizes the ranges of frequencies, or
bands that are important to understanding many things in nature and
technology.
• EM waves can be classified according to their frequency in Hz or their
wavelength in meters.
• The most important range for this course is the RF (Radio Frequency)
spectrum.
Rick Graziani graziani@cabrillo.edu 21
EM Spectrum Chart
Nasa.gov
• When two EM waves occupy the same space, their effects combine
to form a new wave of a different shape.
• For example, air pressure changes caused by two sound waves added
together.
• Jean Baptiste Fourier is responsible for one of the great mathematical
discoveries.
• He proved that a special sum of sine waves, of harmonically related
frequencies, could be added together to create any wave pattern.
• Harmonically related frequencies are simply frequencies that are
multiples of some basic frequency.
• Use the interactive activity to create multiple sine waves and a complex
wave that is formed from the additive effects of the individual waves.
• Finally, a square wave, or a square pulse, can be built by using the right
combination of sine waves.
• The importance of this will be clarified when modulation is discussed.
Go to interactive
activity 3.3.3
Whatis.com
• Fourier synthesis is a method of electronically constructing a signal
with a specific, desired periodic waveform.
• It works by combining a sine wave signal and sine-wave or cosine-
wave harmonics (signals at multiples of the lowest, or fundamental,
frequency) in certain proportions.
Rick Graziani graziani@cabrillo.edu 29
802.11 Physical Layer
Technologies
PLCP
PMD
Note: The information presented here is just to
introduce these terms and concepts. Many of the
“how’s” and “why’s” are beyond the scope of this
material. Don’t get lost in the detail!
802.11 Physical Layer Technologies
• We have looked at the data link layer, now we will look at the
physical layer.
• As you can see there are multiple physical layer technologies
involved with both similarities and differences between them.
• The job of the PHYs is to provide the wireless transmission
mechanisms for the MAC.
• By keeping the PHY transmission mechanisms independent of the
MAC it allows for advances in both of these areas.
PDSU
• More “encapsulation”
• The PDSU (PLCP Data Service Unit) is the data the PCLP is responsible for
delivering.
– Depending upon the protocol the encapsulated MAC frame is sometimes
called the PSDU (PLCP Service Data Unit) or MPDU (MAC Protocol Data
Unit).
• More on this after the PMD concepts
Rick Graziani graziani@cabrillo.edu 34
802.11 Physical Layer Technologies
Transmission
Medium
• Scrambling
– A method for sending and receiving data to make it look more
random than it is.
– Receivers do not tend to like long strings of 0’s or 1’s.
– The data is scrambled by the transmitter and descrambled by the
receiver.
Frequency
• Coding
– After the data is scrambled it is coded.
– Coding is a mechanism that enables high transmission over a noisy
channel (like wireless).
– Coding does this by replacing sequences with longer sequences.
– An example of a coding:
• Scrambled data: 01101
• Coded data: 000000 111111 111111 000000 111111
• Transmission: 000000 X 111111
X 111111X 000000
X 111111
– The idea is that multiple bits are sent so if some bits can are corrupted
(interference), the receiver can still determine the original bits.
– This is effective because noise tends to happen in relative pulses and
not across the entire frequency band.
Rick Graziani graziani@cabrillo.edu 37
802.11 Chipping Sequence – Barker
Sequence
Scrambled
Data Bit Expanded Data Bit
Transmitted
1 11111111111 Chipped Sequence
XOR 01001000111
10110111000
Barker Sequence
Scrambled
Data Bit Expanded Data Bit
Transmitted
0 00000000000 Chipped Sequence
XOR 10110111000
10110111000
Barker Sequence
Rick Graziani graziani@cabrillo.edu 39
PMD Concepts and Building Blocks
Original Data Bits Scrambler Block Coder
FHSS – 802.11
DSSS- 802.11
HR/DSSS – 802.11b
OFDM – 802.11a
ERP – 802.11g
802.11 Physical Layer Technologies
Original 802.11
• The transmitter will then use a small amount of time, referred to as the
hop time, to move to the next frequency.
• When the list of frequencies has been completely traversed, the
transmitter will start over and repeat the sequence.
• The receiver radio is synchronized to the hopping sequence of the
transmitting radio to enable the receiver to be on the right frequency at
the right time.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Frequency MHz
Rick Graziani graziani@cabrillo.edu 49
802.11 - Direct-sequence
spread-spectrum (DSSS)
802.11 - Direct-sequence spread-spectrum
(DSSS)
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Frequency MHz
Rick Graziani graziani@cabrillo.edu 53
802.11 - Direct-sequence spread-spectrum
(DSSS)
General 802.11 Frame
L IP Packet
L
C
PDSU
• DSSS adds the following fields to the MAC frame to form the DSSS
PPDU (PLCP Protocol Data Unit).
• We will look at these fields which will give us a better understanding of
how the physical layer delivers bits over a wireless medium.
PDSU
PLCP Preamble
• Sync– Provides synchronization for the receiving station.
• SFD (Start of Frame Delimiter) – Provides timing for the receiving station.
PCLP Header
• Signal – Specifies the modulation and data rate) for the frame
– DBPSK – 1 Mbps (PLCP Preamble and Header always sent at this rate)
– DQPSK – 2 Mbps
• Service – For future use
• Length – Number of microseconds required to transmit the MAC portion of the
frame.
• CRC (Cyclic Redundancy Check) – CRC check for PCLP header fields.
Rick Graziani graziani@cabrillo.edu 55
PLCP and MAC Error Statistics
Modulation
• DBPSK – 1 Mbps
– Differential Binary Phase Shift Keying
– One bit per phase change, two phases
– Each chip maps to a single symbol
– Uses one phase to represent a binary 1 and another to represent a
binary 0, for a total of one bit of binary data.
• DQPSK – 2 Mbps
– Differential Quadrature Phase Shift Keying
– Two bits per phase change, four phases
– Maps two chips per symbol
– Uses four phases, each representing two bits.
Rick Graziani graziani@cabrillo.edu 57
802.11 - Direct-sequence spread-spectrum
(DSSS)
• 802.11 DSSS
– 802.11 DSSS uses a rate of 11 million chips per second or
1 million 11-bit Barker words per second.
– These 11 bit Barker words are transmitted over the 22 MHz spread
spectrum at 1 million times per second.
– Each word is encoded as either 1-bit or 2-bits, corresponding with
either 1.0 Mbps or 2.0 Mbps respectively.
(Once again)
• HR/DSSS uses 22 MHz channels in the 2.4 to 2.483 GHz range.
• This allows for three non-overlapping channels (three channels that
can coexist or overlap without causing interference), channels 1, 6 and
11 (coming).
Short
HELP Information
• Enables short radio headers. You can enable the client adapter to use
short radio headers only if the access point is also enabled to support
short radio headers and is currently using them for all connected client
adapters. If an access point connects to any client adapters that
are using long headers, all client adapters in that cell must also
use long headers, even if both your client adapter and the access
point have enabled short radio headers.
• Short radio headers improve throughput. Long radio headers ensure
compatibility with client adapters and access points that do not support
short radio headers.
Rick Graziani graziani@cabrillo.edu 65
802.11b - High-Rate Direct-sequence spread-
spectrum (HR/DSSS)
www.networkcomputing.com/1201/1201ws1.html
• The fields are similar to other PPDU frame formats 802.11 and
802.11b.
• The Signal field specifies the data frame for the DATA part of the
frame: 6, 9, 12, 18, 24, 36, 48, and 54 Mbps.
www.networkcomputing.com/1201/1201ws1.html
• OFDM works by breaking one high-speed data carrier into several lower-speed
subcarriers, which are then transmitted in parallel.
• Each high-speed carrier is 20 MHz wide and is broken up into 52
subchannels, each approximately 300 KHz wide.
• OFDM uses 48 of these subchannels for data, while the remaining four are
used for error correction.
• OFDM uses the spectrum much more efficiently by spacing the channels much
closer together.
• The spectrum is more efficient because all of the carriers are orthogonal to one
another, thus preventing interference between closely spaced carriers.
Rick Graziani graziani@cabrillo.edu 75
802.11a – OFDM (Orthogonal Frequency Division
Multiplexing)
www.networkcomputing.com/1201/1201ws1.html
www.networkcomputing.com/1201/1201ws1.html
• It is the different frequencies used (5 GHz and 2.4 GHz) and the
different structure of the operating channels (OFDM and DSSS-
HR/DSSS) that makes 802.11a incompatible with 802.11b devices.
• There are “dual band” access points that can operate in multimode
modes (802.11a, b and g) – coming.
802.11g
802.11g 802.11g 802.11g
802.11g 802.11g
802.11b
802.11g
802.11g 802.11g
RTS/CTS CTS-to-self
CTS
RTS CTS
802.11b 802.11g 802.11b 802.11g
Data Rates 6, 9,
12, 18, 24, 36, 48
and 54 Mbps
• The four lower data rates of 802.11g (1, 2, 5.5, 11 Mbps), like 802.11b
uses CCK (Complementary Code Keying) - (802.11 uses Barker).
– CCK uses an 8-bit complex chip code.
– Based on sophisticated mathematics.
– CCK allows for the backward compatibility with 802.11b
• The higher data rates of 802.11g (6, 9, 12, 18, 24, 36, 48, and 54
Mbps) uses COFDM (like 802.11a).
– 802.11a is not compatible with 802.11g, different frequencies.
Broadband.com
Broadband.com
Broadband.com
• Once the initial ACU application is downloaded and installed for one
adapter, you need to download and install it for any other adapters as
well.
• Subsequent installation will only install the drivers associated with that
adapter.
• You can use the same profiles with the different adapters.
Rick Graziani graziani@cabrillo.edu 97
PLCP and MAC Error Statistics