SlideShare a Scribd company logo
1 of 59
Download to read offline
Spread Spectrum
Wi-Fi
Engr. Mian Shahzad Iqbal
Lecturer
Department of Telecommunication
Engineering
Wireless Fidelity
CSMA
Ad-hoc Networks
Outline for Today
• We learned how to setup a WiFi network.
• This time we will learn about the protocols that
enable these networks.
‘Wifi’ – What it stands for?
“Wi-fi / Wireless-Fidelity, Otherwise known as 802.11 Wireless
Network, is an open-standard, open spectrum, open-source, open-
hardware, mode of wireless inter-connectivity for participating
devices.”
.
.
.
.
What a wireless network is made up of:-
Base stations, Access points, or Gateways
Wireless Network cards
-Radios which send and receive signals from other radios or access points,
usually PCMCIA* cards which fit into Laptop expansion slots, or PCI Bus in case
of Desktop computers. (There are other, simpler options using USB).
PDAs like PALM, and Pocket PC having a compact flash slot can also connect.
* PCMCIA – Personal Computer Memory Card International Association.
-The base station sends and receives radio signals to and from the Wi-Fi
radio in your laptop or PC, enabling you to share your Internet connection with
other users on the network. Access points and gateways have a wide range of
features and performance capabilities, but they all provide this basic network
connection service.
.
.
Typical Community Wifi Constituents
High gain Parabolic grid antennas to beam the
signal to over 30km from tower to tower..
Typically 5.7-5.8 GHz, 2' Diameter Parabolic
Grid Antenna, 26 dBi gain, 6 degree beam
width, N-Female connector
Customer Premises equipment (CPE) to access the
signal from the towers..
Typically 23dBm Radio+15dBi Antenna = 38dBm
Sector antennas to beam the signal from the towers
to the community users
Typically 2.4-2.5 GHz, 90 degree sector antenna, 17
dBi gain
Other components that need to be installed in order to put
the above systems together
3G Evolution (source: Nokia)
ISM Band
ISM stands for industrial, scientific, and medical.
ISM bands are set aside for equipment that is
related to industrial or scientific processes or is
used by medical equipment. Perhaps the most
familiar ISM-band device is the microwave oven,
which operates in the 2.4-GHz ISM band. The
ISM bands are license-free, provided that
devices are low-power. You don't need a license
to set up and operate a wireless network.
Basic Technology Concepts
WiFi b-a-g
IEEE Standards for Wireless LAN Spread Spectrum
Radio Technology (802.11)
•802.11b- 2.4GHz @11mbps
•802.11a- 5GHz @54mbps
•802.11g- 2.4GHz @54mpbs
•802.11e- QoS services
•802.11i- 802.1x security
Basic Technology Concepts
WiFi b-a-g
Cordless phone
Microwave oven
Bluetooth
Hiperlan
devices
Cordless phone
Microwave oven
Bluetooth
Interferenc
e sources
Worldwide
US
Worldwide
availability
54Mbps
54Mbps
11Mbps
Max data
rate
2.4GHz
5GHz
2.4GHz
Frequency
band
802.11g
802.11a
802.11b
The Rules of Thumb of Radio
Higher data rates usually imply shorter transmission range
Higher power output increases range, but increases power consumption (less battery life)
The higher the frequency, the higher the data rate (but smaller range).
Basic Technology Concepts
WiFi b-a-g
?
5.5Mbps
11Mbps
36Mbps
54Mbps
802.11g
estimates
12Mbps
11Mbps
125 ft
1Mbps
350 ft
2Mbps
250 ft
6Mbps
5.5Mbps
150 ft
36Mbps
11Mbps
100 ft
54Mbps
11Mbps
50 ft
802.11a
@40Mw
802.11b
@100Mw
Spread spectrum in 802.11
• It is a requirement imposed by the
regulatory authorities for devices in ISM
band in order to reduce interference.
• There is also limitations on transmitted
power.
• We discuss two methods specified in
802.11, FHSS (Frequency Hopping
Spread Spectrum) and DSSS ( Direct
Sequence Spread Spectrum)
DSSS in 802.11
• Direct-Sequence Spread Spectrum
(DSSS)
• Used by 802.11b
• Symbol transmission rate = 1Mbps
• Multipath spread of up to 1/1 Mbps = 1 µs does
not cause ISI. For indoor applications this
ensures that the system does not suffer from ISI.
• Chip rate = 11 Mcps
• Resolution is on the order of 1/11 Mcps = 90 ns.
Frequency-hopping spread
spectrum
• Frequency-hopping spread spectrum
(FHSS) is a method of transmitting radio
signals by rapidly switching a carrier
among many frequency channels, using a
pseudorandom sequence known to both
transmitter and receiver.
802.11b
• The 802.11b standard defines a total of 14
frequency channels.
• FCC allows channels 1 through 11 within the
U.S. Most of Europe can use channels 1
through 13. In Japan, only 1 choice: channel 14.
• Channel represents a center frequency. Only 5
MHz separation between center frequencies of
channels.
2
1 3 4 5 6 7 8 9 10 11
2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462
Channel
Center
Frequency
(GHz)
5 MHz
802.11b (Cont’d)
• Any 802.11b signal occupies approximately 30
MHz.
• Thus, 802.11b signal overlaps with several
adjacent channel frequencies.
• Only three channels (channels 1, 6, and 11 for
the U.S.) that can be used without causing
interference between access points.
• Any given area can therefore support at most 3
access points (operating on different channels)
at once. Equivalently, it can at most support
three local ad-hoc connections.
802.11b (Cont’d)
2
1
3
Access
Point
Neighboring AP’s use different channels to reduce
interference. “Reuse cluster” size is equal to 3.
802.11b (Cont’d)
• Ideally, 802.11b supports wireless connections
between an access point and a wireless device
at four possible data rates: 1 Mbps, 2 Mbps, 5.5
Mbps, and 11 Mbps.
• Specifically, as terminal travels farther from its
AP, the connection will remain intact but
connection speed decreases (falls back).
802.11b (Cont’d)
11 Mbps
5.5 Mbps
2 Mbps
802.11b Spread Spectrum
• When a 802.11b radio is operating at 1 Mbps
and wishes to transmit a bit 1, it has to do so in
0.000001 seconds.
• The way 802.11b does is this by actually
transmitting a fixed sequence of 11 shorter bits
(01001000111) to represent a single bit “1”.
These 11 “shorter bits” (which represent one
information bit) are sent in 1/11 the time, i.e.,
0.0000000909 seconds.
• These shorter bits are called “chips.”
802.11b Spread Spectrum
(Cont’d)
• When the radio wishes to transmit a 0
information bit, it uses the 0.000001 seconds to
transmit a different fixed sequence of chips,
01001000111.
• The chip sequence used for “1” is the
complement of the chip sequence used for
sending a “0”.
802.11b Spread Spectrum
• Assume the original signal (the information
stream of 1’s and 0’s) occupies a frequency
bandwidth of W Hz.
• When we use N chips to transmit 1 bit, the
bandwidth of the resulting signal now occupies
N
W Hz.
• The new signal has a larger spectrum, i.e., the
information signal of bandwidth W has been
spread to a bandwidth of N
W. For this reason,
this process is called spread spectrum.
Spread Spectrum
W Hz
Frequency representation of transmitted signal,
before and after spreading.
N
W Hz
Before After
Both signals contain the same information. The second signal uses
less power/Hz (height is less). This helps meet FCC mandates in
unlicensed bands.
802.11b (Cont’d)
• The above procedure is used to get 1 Mbps.
• What about the higher data rates?
• This is achieved by using more complex
modulation schemes and/or changing the chip
sequence.
• Recall modulation scheme is the scheme used
to encode a bit stream into high-frequency sine
waves, i.e., radio waves.
802.11a
• 802.11a specification operates at radio
frequencies between 5.15 and 5.825 GHz, i.e.
802.11a utilizes 300 MHz bandwidth
• The FCC has divided total 300 MHz in this band
into three distinct 100 MHz bands: low, middle,
and high, each with different legal maximum
power.
Band Channel Max Power
High band 5.725-5.825 GHz 9-12 1000 mW
Middle band 5.25-5.35 GHz 5-8 250 mW
Low band 5.15-5.25 GHz 1-4 50 mW
802.11a (Cont’d)
• Because of high power output, high band used
for building-to-building products. Lower two
bands suitable for in-building wireless products.
• In 802.11a, radio signals are generated using a
method called Orthogonal Frequency Division
Multiplexing (OFDM).
• OFDM is defined over the lower two bands (low
and middle).
802.11a (Cont’d)
• The low and middle bands have a total of 200
MHz of frequency.
• This 200 MHz supports 8 non-overlapping
channels.
• Each channel is split in 52 bands, each
approximately 300 kHz wide.
• Each of these smaller bands is called a sub
carrier in OFDM terminology.
• In OFDM, a transmitter can select some number
of sub carriers to transmit a signal over.
802.11a (Cont’d)
• Depending on the number of sub carriers
chosen, the transmitter can achieve
transmission rates of 6, 9, 12,18, 24, 36, 48, or
54 Mbps.
• Since there are eight non-overlapping channels,
802.11a can support 8 different access-point to
wireless device links in a given location. Or
equivalently, it can support at most 8 ad hoc
connections simultaneously.
• This is an improvement over 802.11b, where
only 3 could be supported.
802.11a (Cont’d)
1
2
3
Access
Point
4
5
6
7
8
Neighboring AP’s use different channels to reduce
interference. “Reuse cluster” size is equal to 8.
802.11a (Cont’d)
• The various data rates are supported in 802.11a
by varying the number of subcarriers, the
modulation scheme, etc.
• 802.11a (like 11b) has a rate fall back
mechanism, i.e., as the distance between the
transmitter and receiver increases, the
supported data rate decreases.
802.11a (Cont’d)
54 Mbps
48 Mbps
36 Mbps
24 Mbps
12 Mbps
2 Mbps
5.5 Mbps
11 Mbps
802.11a 802.11b
802.11g
• 802.11g offers throughput of 802.11a with
backward compatibility of 802.11b.
• 802.11g operates over 3 non-overlapping
channels.
• 802.11g operates in 2.4 GHz band but it
delivers data rates from 6 Mbps to 54 Mbps.
• 802.11g also uses OFDM but supports spread-
spectrum capabilities if any one component of
the system has older equipment, i.e., 802.11b
equipment.
802.11g
• Once again, 802.11g’s "backward compatibility"
with 802.11b means that when a mobile 802.11b
device joins an 802.11g access point, all
connections on that access point slow down to
802.11b speeds.
• So both 11a and 11g offer the same data rates.
Which is better?
Comparing 11a and 11g
• 802.11a operates in underused 5 GHz band;
802.11g operates in heavily used 2.4 GHz band.
• 11g systems experience interference from
other 2.4 GHz devices such as cordless phones,
microwave ovens, satellites, etc.
• Both 802.11a and 802.11g offers up to 54Mbps
speeds in the lab.
Comparing 11a and 11g
(Cont’d)
• In the field, 802.11a delivers about 20Mbps.
• 802.11b's 11Mpbs theoretical speed is more
often 4Mbps in practice.
• The realistic data rates quoted for 802.11g thus
far range from 6 Mbps to 20 Mbps.
• 11g has to contend with more interference in the
2.4 GHz range as compared to 11a in the 5 GHz
band.
Comparing 11a and 11g
(Cont’d)
• Higher number of channels in 11a allows more
flexibility in avoiding interference.
• Range will depend on antenna gain, transmit
power applied to the antenna, the receive
sensitivity of the radio card and the obstacles
between path ends.
• 802.11a has range 150-300 ft in practical
scenarios. 11g has range comparable to 11b
(approximately 1000 ft).
• 11a range is smaller than 11b and 11g. This is
because 11a operates at a much higher
frequency band.
Comparing 11a and 11g
(Cont’d)
• Generally, 802.11a is the most expensive of the
three options.
• 802.11b is the cheapest and most popular
WLAN option.
• 802.11g is more expensive than 11b but
cheaper than 11a.
• Because of its smaller range, 11a requires more
Access Points to a region, thereby increasing
cost.
What does a typical 802.11
Packet look like?
• Typical 802.11 packet:
• Preamble is used to synchronize the receiver, so
it can tell when the packet starts. It contains 96
bits.
• PLCP (Physical Layer Convergence Procedure)
indicates how many bytes in data portion, what
is the data rate of the transmission, etc. This
portion contains about 192 bits.
Preamble PLCP Header Data CRC
802.11 Packet (Cont’d)
• Data is the actual data transmitted by the
source. This contains source/destination
addresses, the information conveyed between
the two, whether WEP is on or not, etc. The
amount of data bits can vary. ~200 bits to
~18000 bits.
• CRC is the cyclic redundancy check, which is
way of checking if there was an error in the
received sequence of bits. This is usually 32
bits long.
Preamble PLCP Header Data CRC
How are Multiple Transmitters
Supported?
• Recall the method for supporting multiple
transmitter is called the multiple access method.
• In 802.11 systems, only one user is allowed to
communicate with a receiver at a time (cannot
use another frequency channel support a
second or third additional user).
• The way the one user is selected depends on
the carrier sense multiple access with collision
avoidance (CSMA/CA) random access method.
CSMA
• To help illustrate the operation of CSMA, we will
use an analogy of a dinner table conversation.
• Let’s represent our wireless medium as a dinner
table, and let several people engaged in polite
conversation at the table represent the wireless
nodes.
CSMA (Cont’d)
• The term multiple access covers what we
already discussed above: When one wireless
device transmits, all other devices using the
wireless medium hear the transmission, just as
when one person at the table talks, everyone
present is able to hear him or her.
• Now let's imagine that you are at the table and
you have something you would like to say.
• At the moment, however, I am talking.
CSMA (Cont’d)
• Since this is a polite conversation, rather than
immediately speak up and interrupt, you would
wait until I finished talking before making your
statement.
• This is the same concept described in the CSMA
protocol as carrier sense.
• Before a station transmits, it "listens" to the
medium to determine if another station is
transmitting. If the medium is quiet, the station
recognizes that this is an appropriate time to
transmit.
CSMA/CA
• Carrier-sense multiple access gives us a good
start in regulating our conversation, but there is
one scenario we still need to address.
• Let’s go back to our dinner table analogy and
imagine that there is a momentary silence in the
conversation.
• You and I both have something we would like to
add, and we both "sense the carrier" based on
the silence, so we begin speaking at
approximately the same time. In 802.11
terminology, a collision occurs when we both
spoke at once.
CSMA/CA (Cont’d)
• The collision will result in an unexplained
message to the intended receivers (listeners).
• What we need is a polite contention method to
get access to the medium; this is the collision
avoidance part of CSMA/CA.
• 802.11 has come up with two ways to deal with
this kind of collision.
• One uses a two-way handshake when initiating
a transmission.
• The other uses a four-way handshake.
2 Way Handshake
• Node with packet to send monitors channel.
• If channel idle for specified time interval called
DIFS, then node transmits.
• If channel busy, then
– node continues to monitor until channel idle
for DIFS.
– At this point, terminal backs-off for random
time (collision avoidance) and attempts
transmitting after waiting this random amount
of time.
2 Way Handshake
• If the node does not back-off the random time,
then it will definitely collide with another node
that has something to send.
• Reason for random back-off time is that if I
choose a random time and you choose a
random time, the probability that we choose the
same random time is slim.
• This way we both back-off transmitting and will
therefore will probably not interfere with each
other when we are ready to transmit.
2 Way Handshake (Cont’d)
• First way of the 2 way handshake was for the
transmitter to send its information packet to the
destination node, after following the collision
avoidance method described above.
• If the packet reaches the destination without
problems, the destination sends a short packet
over the wireless medium acknowledging the
correct reception.
• This packet is typically called an ACK packet.
ACK is the second way of the 2 way handshake.
4 Way Handshake
• “Listen before you talk”
• If medium is busy, node backs-off for a random
amount of time after waiting DIFS, just as
before.
• But now, instead of packet, sends a short
message: Ready to Send (RTS). This message
is basically attempting to inform others that “I
have something to send.”
4 Way Handshake (Cont’d)
• RTS contains destination address and duration
of message.
• RTS tells everyone else to back-off for the
duration.
• If RTS reaches the destination okay (no one
else collides with this message), the destination
sends a Clear to Send (CTS) message after
waiting a prescribed amount of time, called
SIFS.
4 Way Handshake (Cont’d)
• After getting the CTS, the original transmitter
sends the information packet to its destination.
• In these systems, the transmitter cannot detect
collisions. The receiver uses the CRC to
determine if the packet reached correctly. If it
does then, it sends out an ACK packet.
• If the information packet not ACKed, then the
source starts again and tries to retransmit the
packet.
4 Way Handshake (Cont’d)
Access
Point Laptop
RTS
CTS
Data
ACK
Wireless LAN Networks
WLAN Architecture—Ad Hoc
Mode
• Ad-Hoc mode: Peer-to-peer setup where
clients can connect to each other directly.
Generally not used for business networks.
Ad Hoc Structure
• Mobile stations communicate to each
other directly.
• It’s set up for a special purpose and for a
short period of time. For example, the
participants of a meeting in a conference
room may create an ad hoc network at the
beginning of the meeting and dissolve it
when the meeting ends.
WLAN Architecture--Mesh
• Mesh: Every client in
the network also acts
as an access or relay
point, creating a “self-
healing” and (in
theory) infinitely
extensible network.
– Not yet in widespread
use, unlikely to be in
homes.
WLAN Architecture—Infrastructure
Mode
To Wired Network
Infrastructure network
• There is an Access Point (AP), which becomes the
hub of a “star topology.”
• Any communication has to go through AP. If a
Mobile Station (MS), like a computer, a PDA, or a
phone, wants to communicate with another MS, it
needs to send the information to AP first, then AP
sends it to the destination MS
• Multiple APs can be connected together and handle
a large number of clients.
• Used by the majority of WLANs in homes and
businesses.
Extended Service Area
Q & A

More Related Content

Similar to Lec 12 Wi-Fi Indoor Wireless Communication

Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)
Darpan Patel
 
Meixia Tao Introduction To Wireless Communications And Recent Advances
Meixia Tao Introduction To Wireless Communications And Recent AdvancesMeixia Tao Introduction To Wireless Communications And Recent Advances
Meixia Tao Introduction To Wireless Communications And Recent Advances
melvincabatuan
 
BICSI Wireless Presentation
BICSI Wireless PresentationBICSI Wireless Presentation
BICSI Wireless Presentation
Cam Lau PMP
 

Similar to Lec 12 Wi-Fi Indoor Wireless Communication (20)

Telecommunications: Introduction to Wireless Networks
Telecommunications: Introduction to Wireless NetworksTelecommunications: Introduction to Wireless Networks
Telecommunications: Introduction to Wireless Networks
 
Wi Fi
Wi FiWi Fi
Wi Fi
 
Digital network lecturer8
Digital network  lecturer8Digital network  lecturer8
Digital network lecturer8
 
Mobile Communication
Mobile CommunicationMobile Communication
Mobile Communication
 
IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11IEEE standards 802.3.&802.11
IEEE standards 802.3.&802.11
 
High performance browser networking ch5,6
High performance browser networking ch5,6High performance browser networking ch5,6
High performance browser networking ch5,6
 
Introduction to cisco wireless
Introduction to  cisco wirelessIntroduction to  cisco wireless
Introduction to cisco wireless
 
Wireless Networks.pptx
Wireless Networks.pptxWireless Networks.pptx
Wireless Networks.pptx
 
Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)Wireless%20networking%20technology(1)
Wireless%20networking%20technology(1)
 
Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture Wireless LANs(IEEE802.11) Architecture
Wireless LANs(IEEE802.11) Architecture
 
Meixia Tao Introduction To Wireless Communications And Recent Advances
Meixia Tao Introduction To Wireless Communications And Recent AdvancesMeixia Tao Introduction To Wireless Communications And Recent Advances
Meixia Tao Introduction To Wireless Communications And Recent Advances
 
Iuwne10 S01 L06
Iuwne10 S01 L06Iuwne10 S01 L06
Iuwne10 S01 L06
 
What is a Wifi?
What is a Wifi?What is a Wifi?
What is a Wifi?
 
Channel
ChannelChannel
Channel
 
Data Transmission Analysis using MW-5000 at 5.8 GHz Frequency
Data Transmission Analysis using MW-5000  at 5.8 GHz Frequency Data Transmission Analysis using MW-5000  at 5.8 GHz Frequency
Data Transmission Analysis using MW-5000 at 5.8 GHz Frequency
 
Wi fi fundamentals
Wi fi fundamentalsWi fi fundamentals
Wi fi fundamentals
 
wlans
wlanswlans
wlans
 
BICSI Wireless Presentation
BICSI Wireless PresentationBICSI Wireless Presentation
BICSI Wireless Presentation
 
wi-fi definition
wi-fi definition wi-fi definition
wi-fi definition
 
WLAN.pptx
WLAN.pptxWLAN.pptx
WLAN.pptx
 

More from DrAdeelAkram2

More from DrAdeelAkram2 (8)

Lec 2 Cell Planning Principles lecture notes
Lec 2 Cell Planning Principles lecture notesLec 2 Cell Planning Principles lecture notes
Lec 2 Cell Planning Principles lecture notes
 
Wireless Ad Hoc Networking Lecture Notes
Wireless Ad Hoc Networking Lecture NotesWireless Ad Hoc Networking Lecture Notes
Wireless Ad Hoc Networking Lecture Notes
 
Grid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptxGrid and Cloud Computing Lecture-2a.pptx
Grid and Cloud Computing Lecture-2a.pptx
 
Grid and Cloud Computing Lecture 1a.pptx
Grid and Cloud Computing Lecture 1a.pptxGrid and Cloud Computing Lecture 1a.pptx
Grid and Cloud Computing Lecture 1a.pptx
 
Lecture on Internet Scale Sensor Systems
Lecture on Internet Scale Sensor SystemsLecture on Internet Scale Sensor Systems
Lecture on Internet Scale Sensor Systems
 
08_-_Masamichi_Tanaka_-_Bigdata_and_AI_in_IOT.pdf
08_-_Masamichi_Tanaka_-_Bigdata_and_AI_in_IOT.pdf08_-_Masamichi_Tanaka_-_Bigdata_and_AI_in_IOT.pdf
08_-_Masamichi_Tanaka_-_Bigdata_and_AI_in_IOT.pdf
 
Amazon Echo Introduction, Capabilities and Vulnerabilities
Amazon Echo Introduction, Capabilities and VulnerabilitiesAmazon Echo Introduction, Capabilities and Vulnerabilities
Amazon Echo Introduction, Capabilities and Vulnerabilities
 
OpenMosix.ppt
OpenMosix.pptOpenMosix.ppt
OpenMosix.ppt
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 

Recently uploaded (20)

demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
BỘ LUYỆN NGHE TIẾNG ANH 8 GLOBAL SUCCESS CẢ NĂM (GỒM 12 UNITS, MỖI UNIT GỒM 3...
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 

Lec 12 Wi-Fi Indoor Wireless Communication

  • 1. Spread Spectrum Wi-Fi Engr. Mian Shahzad Iqbal Lecturer Department of Telecommunication Engineering Wireless Fidelity CSMA Ad-hoc Networks
  • 2. Outline for Today • We learned how to setup a WiFi network. • This time we will learn about the protocols that enable these networks.
  • 3. ‘Wifi’ – What it stands for? “Wi-fi / Wireless-Fidelity, Otherwise known as 802.11 Wireless Network, is an open-standard, open spectrum, open-source, open- hardware, mode of wireless inter-connectivity for participating devices.” . .
  • 4. . . What a wireless network is made up of:- Base stations, Access points, or Gateways Wireless Network cards -Radios which send and receive signals from other radios or access points, usually PCMCIA* cards which fit into Laptop expansion slots, or PCI Bus in case of Desktop computers. (There are other, simpler options using USB). PDAs like PALM, and Pocket PC having a compact flash slot can also connect. * PCMCIA – Personal Computer Memory Card International Association. -The base station sends and receives radio signals to and from the Wi-Fi radio in your laptop or PC, enabling you to share your Internet connection with other users on the network. Access points and gateways have a wide range of features and performance capabilities, but they all provide this basic network connection service.
  • 5. . . Typical Community Wifi Constituents High gain Parabolic grid antennas to beam the signal to over 30km from tower to tower.. Typically 5.7-5.8 GHz, 2' Diameter Parabolic Grid Antenna, 26 dBi gain, 6 degree beam width, N-Female connector Customer Premises equipment (CPE) to access the signal from the towers.. Typically 23dBm Radio+15dBi Antenna = 38dBm Sector antennas to beam the signal from the towers to the community users Typically 2.4-2.5 GHz, 90 degree sector antenna, 17 dBi gain Other components that need to be installed in order to put the above systems together
  • 7. ISM Band ISM stands for industrial, scientific, and medical. ISM bands are set aside for equipment that is related to industrial or scientific processes or is used by medical equipment. Perhaps the most familiar ISM-band device is the microwave oven, which operates in the 2.4-GHz ISM band. The ISM bands are license-free, provided that devices are low-power. You don't need a license to set up and operate a wireless network.
  • 8. Basic Technology Concepts WiFi b-a-g IEEE Standards for Wireless LAN Spread Spectrum Radio Technology (802.11) •802.11b- 2.4GHz @11mbps •802.11a- 5GHz @54mbps •802.11g- 2.4GHz @54mpbs •802.11e- QoS services •802.11i- 802.1x security
  • 9. Basic Technology Concepts WiFi b-a-g Cordless phone Microwave oven Bluetooth Hiperlan devices Cordless phone Microwave oven Bluetooth Interferenc e sources Worldwide US Worldwide availability 54Mbps 54Mbps 11Mbps Max data rate 2.4GHz 5GHz 2.4GHz Frequency band 802.11g 802.11a 802.11b The Rules of Thumb of Radio Higher data rates usually imply shorter transmission range Higher power output increases range, but increases power consumption (less battery life) The higher the frequency, the higher the data rate (but smaller range).
  • 10. Basic Technology Concepts WiFi b-a-g ? 5.5Mbps 11Mbps 36Mbps 54Mbps 802.11g estimates 12Mbps 11Mbps 125 ft 1Mbps 350 ft 2Mbps 250 ft 6Mbps 5.5Mbps 150 ft 36Mbps 11Mbps 100 ft 54Mbps 11Mbps 50 ft 802.11a @40Mw 802.11b @100Mw
  • 11. Spread spectrum in 802.11 • It is a requirement imposed by the regulatory authorities for devices in ISM band in order to reduce interference. • There is also limitations on transmitted power. • We discuss two methods specified in 802.11, FHSS (Frequency Hopping Spread Spectrum) and DSSS ( Direct Sequence Spread Spectrum)
  • 12. DSSS in 802.11 • Direct-Sequence Spread Spectrum (DSSS) • Used by 802.11b • Symbol transmission rate = 1Mbps • Multipath spread of up to 1/1 Mbps = 1 µs does not cause ISI. For indoor applications this ensures that the system does not suffer from ISI. • Chip rate = 11 Mcps • Resolution is on the order of 1/11 Mcps = 90 ns.
  • 13. Frequency-hopping spread spectrum • Frequency-hopping spread spectrum (FHSS) is a method of transmitting radio signals by rapidly switching a carrier among many frequency channels, using a pseudorandom sequence known to both transmitter and receiver.
  • 14. 802.11b • The 802.11b standard defines a total of 14 frequency channels. • FCC allows channels 1 through 11 within the U.S. Most of Europe can use channels 1 through 13. In Japan, only 1 choice: channel 14. • Channel represents a center frequency. Only 5 MHz separation between center frequencies of channels. 2 1 3 4 5 6 7 8 9 10 11 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 Channel Center Frequency (GHz) 5 MHz
  • 15. 802.11b (Cont’d) • Any 802.11b signal occupies approximately 30 MHz. • Thus, 802.11b signal overlaps with several adjacent channel frequencies. • Only three channels (channels 1, 6, and 11 for the U.S.) that can be used without causing interference between access points. • Any given area can therefore support at most 3 access points (operating on different channels) at once. Equivalently, it can at most support three local ad-hoc connections.
  • 16. 802.11b (Cont’d) 2 1 3 Access Point Neighboring AP’s use different channels to reduce interference. “Reuse cluster” size is equal to 3.
  • 17. 802.11b (Cont’d) • Ideally, 802.11b supports wireless connections between an access point and a wireless device at four possible data rates: 1 Mbps, 2 Mbps, 5.5 Mbps, and 11 Mbps. • Specifically, as terminal travels farther from its AP, the connection will remain intact but connection speed decreases (falls back).
  • 19. 802.11b Spread Spectrum • When a 802.11b radio is operating at 1 Mbps and wishes to transmit a bit 1, it has to do so in 0.000001 seconds. • The way 802.11b does is this by actually transmitting a fixed sequence of 11 shorter bits (01001000111) to represent a single bit “1”. These 11 “shorter bits” (which represent one information bit) are sent in 1/11 the time, i.e., 0.0000000909 seconds. • These shorter bits are called “chips.”
  • 20. 802.11b Spread Spectrum (Cont’d) • When the radio wishes to transmit a 0 information bit, it uses the 0.000001 seconds to transmit a different fixed sequence of chips, 01001000111. • The chip sequence used for “1” is the complement of the chip sequence used for sending a “0”.
  • 21. 802.11b Spread Spectrum • Assume the original signal (the information stream of 1’s and 0’s) occupies a frequency bandwidth of W Hz. • When we use N chips to transmit 1 bit, the bandwidth of the resulting signal now occupies N W Hz. • The new signal has a larger spectrum, i.e., the information signal of bandwidth W has been spread to a bandwidth of N W. For this reason, this process is called spread spectrum.
  • 22. Spread Spectrum W Hz Frequency representation of transmitted signal, before and after spreading. N W Hz Before After Both signals contain the same information. The second signal uses less power/Hz (height is less). This helps meet FCC mandates in unlicensed bands.
  • 23. 802.11b (Cont’d) • The above procedure is used to get 1 Mbps. • What about the higher data rates? • This is achieved by using more complex modulation schemes and/or changing the chip sequence. • Recall modulation scheme is the scheme used to encode a bit stream into high-frequency sine waves, i.e., radio waves.
  • 24. 802.11a • 802.11a specification operates at radio frequencies between 5.15 and 5.825 GHz, i.e. 802.11a utilizes 300 MHz bandwidth • The FCC has divided total 300 MHz in this band into three distinct 100 MHz bands: low, middle, and high, each with different legal maximum power. Band Channel Max Power High band 5.725-5.825 GHz 9-12 1000 mW Middle band 5.25-5.35 GHz 5-8 250 mW Low band 5.15-5.25 GHz 1-4 50 mW
  • 25. 802.11a (Cont’d) • Because of high power output, high band used for building-to-building products. Lower two bands suitable for in-building wireless products. • In 802.11a, radio signals are generated using a method called Orthogonal Frequency Division Multiplexing (OFDM). • OFDM is defined over the lower two bands (low and middle).
  • 26. 802.11a (Cont’d) • The low and middle bands have a total of 200 MHz of frequency. • This 200 MHz supports 8 non-overlapping channels. • Each channel is split in 52 bands, each approximately 300 kHz wide. • Each of these smaller bands is called a sub carrier in OFDM terminology. • In OFDM, a transmitter can select some number of sub carriers to transmit a signal over.
  • 27. 802.11a (Cont’d) • Depending on the number of sub carriers chosen, the transmitter can achieve transmission rates of 6, 9, 12,18, 24, 36, 48, or 54 Mbps. • Since there are eight non-overlapping channels, 802.11a can support 8 different access-point to wireless device links in a given location. Or equivalently, it can support at most 8 ad hoc connections simultaneously. • This is an improvement over 802.11b, where only 3 could be supported.
  • 28. 802.11a (Cont’d) 1 2 3 Access Point 4 5 6 7 8 Neighboring AP’s use different channels to reduce interference. “Reuse cluster” size is equal to 8.
  • 29. 802.11a (Cont’d) • The various data rates are supported in 802.11a by varying the number of subcarriers, the modulation scheme, etc. • 802.11a (like 11b) has a rate fall back mechanism, i.e., as the distance between the transmitter and receiver increases, the supported data rate decreases.
  • 30. 802.11a (Cont’d) 54 Mbps 48 Mbps 36 Mbps 24 Mbps 12 Mbps 2 Mbps 5.5 Mbps 11 Mbps 802.11a 802.11b
  • 31. 802.11g • 802.11g offers throughput of 802.11a with backward compatibility of 802.11b. • 802.11g operates over 3 non-overlapping channels. • 802.11g operates in 2.4 GHz band but it delivers data rates from 6 Mbps to 54 Mbps. • 802.11g also uses OFDM but supports spread- spectrum capabilities if any one component of the system has older equipment, i.e., 802.11b equipment.
  • 32. 802.11g • Once again, 802.11g’s "backward compatibility" with 802.11b means that when a mobile 802.11b device joins an 802.11g access point, all connections on that access point slow down to 802.11b speeds. • So both 11a and 11g offer the same data rates. Which is better?
  • 33. Comparing 11a and 11g • 802.11a operates in underused 5 GHz band; 802.11g operates in heavily used 2.4 GHz band. • 11g systems experience interference from other 2.4 GHz devices such as cordless phones, microwave ovens, satellites, etc. • Both 802.11a and 802.11g offers up to 54Mbps speeds in the lab.
  • 34. Comparing 11a and 11g (Cont’d) • In the field, 802.11a delivers about 20Mbps. • 802.11b's 11Mpbs theoretical speed is more often 4Mbps in practice. • The realistic data rates quoted for 802.11g thus far range from 6 Mbps to 20 Mbps. • 11g has to contend with more interference in the 2.4 GHz range as compared to 11a in the 5 GHz band.
  • 35. Comparing 11a and 11g (Cont’d) • Higher number of channels in 11a allows more flexibility in avoiding interference. • Range will depend on antenna gain, transmit power applied to the antenna, the receive sensitivity of the radio card and the obstacles between path ends. • 802.11a has range 150-300 ft in practical scenarios. 11g has range comparable to 11b (approximately 1000 ft). • 11a range is smaller than 11b and 11g. This is because 11a operates at a much higher frequency band.
  • 36. Comparing 11a and 11g (Cont’d) • Generally, 802.11a is the most expensive of the three options. • 802.11b is the cheapest and most popular WLAN option. • 802.11g is more expensive than 11b but cheaper than 11a. • Because of its smaller range, 11a requires more Access Points to a region, thereby increasing cost.
  • 37. What does a typical 802.11 Packet look like? • Typical 802.11 packet: • Preamble is used to synchronize the receiver, so it can tell when the packet starts. It contains 96 bits. • PLCP (Physical Layer Convergence Procedure) indicates how many bytes in data portion, what is the data rate of the transmission, etc. This portion contains about 192 bits. Preamble PLCP Header Data CRC
  • 38. 802.11 Packet (Cont’d) • Data is the actual data transmitted by the source. This contains source/destination addresses, the information conveyed between the two, whether WEP is on or not, etc. The amount of data bits can vary. ~200 bits to ~18000 bits. • CRC is the cyclic redundancy check, which is way of checking if there was an error in the received sequence of bits. This is usually 32 bits long. Preamble PLCP Header Data CRC
  • 39. How are Multiple Transmitters Supported? • Recall the method for supporting multiple transmitter is called the multiple access method. • In 802.11 systems, only one user is allowed to communicate with a receiver at a time (cannot use another frequency channel support a second or third additional user). • The way the one user is selected depends on the carrier sense multiple access with collision avoidance (CSMA/CA) random access method.
  • 40. CSMA • To help illustrate the operation of CSMA, we will use an analogy of a dinner table conversation. • Let’s represent our wireless medium as a dinner table, and let several people engaged in polite conversation at the table represent the wireless nodes.
  • 41. CSMA (Cont’d) • The term multiple access covers what we already discussed above: When one wireless device transmits, all other devices using the wireless medium hear the transmission, just as when one person at the table talks, everyone present is able to hear him or her. • Now let's imagine that you are at the table and you have something you would like to say. • At the moment, however, I am talking.
  • 42. CSMA (Cont’d) • Since this is a polite conversation, rather than immediately speak up and interrupt, you would wait until I finished talking before making your statement. • This is the same concept described in the CSMA protocol as carrier sense. • Before a station transmits, it "listens" to the medium to determine if another station is transmitting. If the medium is quiet, the station recognizes that this is an appropriate time to transmit.
  • 43. CSMA/CA • Carrier-sense multiple access gives us a good start in regulating our conversation, but there is one scenario we still need to address. • Let’s go back to our dinner table analogy and imagine that there is a momentary silence in the conversation. • You and I both have something we would like to add, and we both "sense the carrier" based on the silence, so we begin speaking at approximately the same time. In 802.11 terminology, a collision occurs when we both spoke at once.
  • 44. CSMA/CA (Cont’d) • The collision will result in an unexplained message to the intended receivers (listeners). • What we need is a polite contention method to get access to the medium; this is the collision avoidance part of CSMA/CA. • 802.11 has come up with two ways to deal with this kind of collision. • One uses a two-way handshake when initiating a transmission. • The other uses a four-way handshake.
  • 45. 2 Way Handshake • Node with packet to send monitors channel. • If channel idle for specified time interval called DIFS, then node transmits. • If channel busy, then – node continues to monitor until channel idle for DIFS. – At this point, terminal backs-off for random time (collision avoidance) and attempts transmitting after waiting this random amount of time.
  • 46. 2 Way Handshake • If the node does not back-off the random time, then it will definitely collide with another node that has something to send. • Reason for random back-off time is that if I choose a random time and you choose a random time, the probability that we choose the same random time is slim. • This way we both back-off transmitting and will therefore will probably not interfere with each other when we are ready to transmit.
  • 47. 2 Way Handshake (Cont’d) • First way of the 2 way handshake was for the transmitter to send its information packet to the destination node, after following the collision avoidance method described above. • If the packet reaches the destination without problems, the destination sends a short packet over the wireless medium acknowledging the correct reception. • This packet is typically called an ACK packet. ACK is the second way of the 2 way handshake.
  • 48. 4 Way Handshake • “Listen before you talk” • If medium is busy, node backs-off for a random amount of time after waiting DIFS, just as before. • But now, instead of packet, sends a short message: Ready to Send (RTS). This message is basically attempting to inform others that “I have something to send.”
  • 49. 4 Way Handshake (Cont’d) • RTS contains destination address and duration of message. • RTS tells everyone else to back-off for the duration. • If RTS reaches the destination okay (no one else collides with this message), the destination sends a Clear to Send (CTS) message after waiting a prescribed amount of time, called SIFS.
  • 50. 4 Way Handshake (Cont’d) • After getting the CTS, the original transmitter sends the information packet to its destination. • In these systems, the transmitter cannot detect collisions. The receiver uses the CRC to determine if the packet reached correctly. If it does then, it sends out an ACK packet. • If the information packet not ACKed, then the source starts again and tries to retransmit the packet.
  • 51. 4 Way Handshake (Cont’d) Access Point Laptop RTS CTS Data ACK
  • 53. WLAN Architecture—Ad Hoc Mode • Ad-Hoc mode: Peer-to-peer setup where clients can connect to each other directly. Generally not used for business networks.
  • 54. Ad Hoc Structure • Mobile stations communicate to each other directly. • It’s set up for a special purpose and for a short period of time. For example, the participants of a meeting in a conference room may create an ad hoc network at the beginning of the meeting and dissolve it when the meeting ends.
  • 55. WLAN Architecture--Mesh • Mesh: Every client in the network also acts as an access or relay point, creating a “self- healing” and (in theory) infinitely extensible network. – Not yet in widespread use, unlikely to be in homes.
  • 57. Infrastructure network • There is an Access Point (AP), which becomes the hub of a “star topology.” • Any communication has to go through AP. If a Mobile Station (MS), like a computer, a PDA, or a phone, wants to communicate with another MS, it needs to send the information to AP first, then AP sends it to the destination MS • Multiple APs can be connected together and handle a large number of clients. • Used by the majority of WLANs in homes and businesses.
  • 59. Q & A