I Bwir
I Bwir
I Bwir
Raj Jain Washington University Saint Louis, MO 63131 Jain@cse.wustl.edu These slides are available on-line at: http://www.cse.wustl.edu/~jain/cse473-05/
Washington University in St. Louis CSE473s 2005 Raj Jain
11-1
Overview
Mobile vs Wireless Spread Spectrum and Code Division Multiple Access Wireless LANs IEEE 802.11 Features, MAC, Architecture, Priorities, Power Management, Frame Format 802.11 PHYs: 802.11, 802.11a, 802.11b, 802.11g
11-2
Mobile vs Wireless
Mobile Wireless
Mobile vs Stationary Wireless vs Wired Wireless media sharing issues Mobile routing, addressing issues
11-3
Time
Pseudo-random frequency hopping Spreads the power over a wide spectrum Spread Spectrum Developed initially for military Patented by actress Hedy Lamarr Narrowband interference can't jam
CSE473s 2005 Raj Jain
11-5
Spectrum
Signal
Noise
Signal
CSE473s
11-6
Two bits/symbol 4 frequencies/symbol (Multi FSK) Two-bit PN Sequence 4 Carrier Channels Two symbols/Hop Slow Frequency hopping
CSE473s 2005 Raj Jain
11-7
2 bits/symbol Two-bit pseudo-random number sequence Two hops/symbol Fast Frequency hopping
CSE473s 2005 Raj Jain
11-8
01001011011011010010 5s Time
Spreading factor = Code bits/data bit, 10-100 commercial (Min 10 by FCC), 10,000 for military Signal bandwidth >10 data bandwidth Code sequence synchronization Correlation between codes Interference Orthogonal
CSE473s 2005 Raj Jain
11-9
DS Spectrum
Time Domain Frequency Domain
Time
(a) Data
Frequency
(b) Code
Washington University in St. Louis CSE473s
Frequency
2005 Raj Jain
11-10
Multiplexing Technique used with spread spectrum Start with data signal rate D Called bit data rate Break each bit into k chips according to fixed pattern specific to each user Users code New channel has chip data rate kD chips per second E.g. k=6, three users (A,B,C) communicating with base receiver R Code for A = <1,-1,-1,1,-1,1> Code for B = <1,1,-1,-1,1,1> Code for C = <1,1,-1,1,1,-1>
CSE473s 2005 Raj Jain
11-11
CDMA Example
CSE473s
11-12
CSE473s
11-13
11-15
Wireless LANs
Infrared Line of Diffuse Sight Radio Spread Spectrum
Narrowband InfraLAN Photonics Motorola Collaborative ALTAIR 5.7GHz 2.4 GHz 902 MHz Proxim DS FH FH DS Windata RangeLAN Freeport NCR WaveLAN Proxim Telesystems RangeLAN2 ArLAN
Washington University in St. Louis CSE473s 2005 Raj Jain
11-16
Infrared LANs
Directed-beam IR: Point-to-point links Range depends on power - Can be kilometers Used for building interconnect within line of sight Omni-directional: Single base station within line of sight of all other stations Typically, mounted on ceiling. Acts as a repeater Other transceivers use directional beam aimed at base Diffused configuration: Reflections from walls wave Visible
Infrared
CSE473s
Ultraviolet x-rays
2005 Raj Jain
109 1010 1011 1012 1013 1014 1015 1016 1017 1018
Washington University in St. Louis
11-17
11-18
C cannot hear A. It may start transmitting while A is also transmitting A and C can't detect collision. Only the receiver can help avoid collisions
11-19
4-Way Handshake
Access Access Point Point Mobile Mobile Node Node
Ready to send
CSE473s
11-20
CSE473s
11-21
11-22
11-23
Architecture
Basic Service Area (BSA) = Cell Each BSA may have several wireless LANs Distribution System (DS) - wired backbone Extended Service Area (ESA) = Multiple BSAs interconnected via Access Points (AP) Basic Service Set (BSS) = Set of stations associated with an AP Extended Service Set (ESS) = Set of stations in an ESA Ad-hoc networks coexist and interoperate with infrastructurebased networks.
CSE473s 2005 Raj Jain
11-24
Time Carrier Sensed Initial interframe space (IFS) Highest priority frames, e.g., Acks, use short IFS (SIFS) Medium priority time-critical frames use Point Coordination Function IFS (PIFS) Asynchronous data frames use Distributed coordination function IFS (DIFS)
Washington University in St. Louis CSE473s 2005 Raj Jain
11-25
11-26
Power Management
A station can be in one of three states: Transmitter on Receiver only on Dozing: Both transmitter and receivers off. Access point (AP) buffers traffic for dozing stations. AP announces which stations have frames buffered. Traffic indication map included in each beacon. All multicasts/broadcasts are buffered. Dozing stations wake up to listen to the beacon. If there is data waiting for it, the station sends a poll frame to get the data.
11-27
Frame Format
Frame Duration/ Address 1 Address 2 Control ID 2B 2B 6B 6B Sequence Address 3 Address 4 Control 2B 6B 6B
Info
CRC-32 4B
Frame Control: Type of frame (Control, management, or data) Includes whether frame is to or from DS, fragmentation information, and privacy information
CSE473s 2005 Raj Jain
11-28
Duration/Connection ID: If used as duration field, indicates time (in s) channel will be allocated for successful transmission of MAC frame In some control frames, contains association or connection identifier Sequence Control: 4-bit fragment number subfield For fragmentation and reassembly 12-bit sequence number Number frames between given transmitter and receiver
CSE473s
11-29
To DS 0 0 1 1
From DS 0 1 0 1
BSSID SA DA DA
SA
2005 Raj Jain
11-30
Station Location
DS needs to know where destination station is Identity of AP to which message should be delivered Station must maintain association with AP within current BSS Three services relate to this requirement: Association: Establishes initial association between station and AP To make identity and address known AP then communicates information to other APs within ESS Re-association: Transfer established association to another AP Allows station to move from one BSS to another Disassociation: when station leaves ESS or shuts down
CSE473s 2005 Raj Jain
11-31
11-32
U.S.
Europe
CSE473s
Japan
11-33
FHSS Phy
2.4 GHz ISM Band. 1 and 2 Mbps Three sets of frequency hopping patterns. Each set has 22 hopping sequences (22 Channels). Total 66 channels. 12 in Japan. Consecutive frequencies in each sequence are at least 6 MHz apart to avoid a narrowband interferer. Adjacent or overlapping cells use different patterns. Many channels FH systems better than DS in dense (overlapping cells) environment.
11-34
DSSS Phy
2.4 GHz band 11 chip spreading factor 11 DS center frequencies (11 Channels) Only 3 channels without overlap. 10 mW to 100 mW transmitted power 1 and 2 Mbps DBPSK for 1 Mbps. DQPSK for 2 Mbps.
CSE473s
11-35
Infrared Phy
Baseband transmission 850 to 950 nm range of IR 1 Mbps or 2 Mbps Diffuse IR Up to 10 m in typical offices Could be 20 m with better receivers. For 1 Mbps, 4-bits are mapped to 16 pulse position modulation (ppm) symbol For 2 Mbps, 2 bits are mapped to 4 ppm symbol
11-36
Issued in four stages First part in 1997: IEEE 802.11 Includes MAC layer and three physical layer specifications Two in 2.4-GHz band and one infrared All operating at 1 and 2 Mbps Two additional parts in 1999 IEEE 802.11a 5-GHz band up to 54 Mbps IEEE 802.11b 2.4-GHz band at 5.5 and 11 Mbps Most recent in 2002 IEEE 802.g extends IEEE 802.11b to higher data rates
CSE473s 2005 Raj Jain
11-37
CSE473s
11-38
802.11a
5-GHz band Uses orthogonal frequency division multiplexing (OFDM) Data rates 6, 9, 12, 18, 24, 36, 48, and 54 Mbps Up to 52 subcarriers modulated using BPSK, QPSK, 16-QAM, or 64-QAM Depending on rate Sub-carrier frequency spacing 0.3125 MHz Convolutional code at rate of 1/2, 2/3, or 3/4 provides forward error correction
CSE473s
11-39
802.11b
Extension of 802.11 DS-SS scheme 5.5 and 11 Mbps Chipping rate 11 MHz Same as original DS-SS scheme Same occupied bandwidth Complementary code keying (CCK) modulation to achieve higher data rate in same bandwidth at same chipping rate CCK modulation complex
CSE473s
11-40
802.11g
Higher-speed extension to 802.11b Combines physical layer encoding techniques used in 802.11a and 802.11b to provide service at a variety of data rates
CSE473s
11-41
Summary
Frequency hopping and Direct Sequence CDMA Ad-Hoc vs Infrastructure-based BSS, ESS, AP SIFS, PIFS, DIFS Frame Format: 4 address fields 802.11 PHYs: 802.11, 802.11a, 802.11b, 802.11g
11-42
Reading Assignment
Read Chapters 9 and Chapter 17 of 7th Edition of Stallings Try to answer the questions in these two chapters
CSE473s
11-43
Homework
Tim e Dat a Fre q PN 001 110 011 001 001 F1 F3 F23 F22 F8 F10 F1 F3 F2 F2 0 1 1 1 1 1 1 0 0 0 1 0 0 1 1 1 1 0 1 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Problem 1: The above table illustrates the operation of an FHSS system. A. The system makes use of a form of FSK what form of FSK is it? B. What is the number of bits per symbol? C. How many symbols/hop? D. Is this a slow or fast FH system? E. What is the total number of possible carrier channels?
11-44