Docsity

Wireless LANs: Understanding IEEE 802.11 Standards and Topologies, Study notes of Wireless Networking

Toggle sidebar
bg1
Wireless Local Area NetworksWireless Local Area Networks
David Tipper
AitPfAitPf
A
ssoc
i
a
t
e
P
ro
f
essor
A
ssoc
i
a
t
e
P
ro
f
essor
Graduate Telecommunications and Networking Program
University of Pittsburgh
Wireless Neteworks Slides 15
Wireless LANs
•Wireless Local Area Networks
– Support communication to mobile data users via
wireless channel
– Types of WLA N
1. Infrastructure based (most popular)
Connect users to a wired infrastructurenetwork
Telcom 2700 2
Connect
users
to
a
wired
infrastructure
network
Wireless access network like cellular phone system
IEEE 802.11, a, b, g , n, etc.
2. Ad-Hoc based networks
– Provide peer to peer communication –mobiles communicate
between each other directly
– Rapid Deployment (conference room)
– Bluetooth, IEEE 802.11, a, b, g, n Proprietary
3. Point – to –Point (cable replacement)
WLAN Topologies
ad-hoc based architecture
ESS
Infrastructure based architecture
Point-to-point
Telcom 2700 3
BSS 1 BSS 2
BSS 3
AP 1
AP 2
AP 3
WT 1
WT 2 WT 3
WT 4
WT 5
Wired-distribution network
Basic Service Area (BSA)
Communication link
BSS = Basic Service Set
ESS = Extended Service Set
AP = Access Point
WT = Wireless Terminal
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18

Partial preview of the text

Download Wireless LANs: Understanding IEEE 802.11 Standards and Topologies and more Study notes Wireless Networking in PDF only on Docsity!

Wireless Local Area NetworksWireless Local Area Networks

David Tipper

AAAssociate ProfessorAssociate Professor i ti t PP ff

Graduate Telecommunications and Networking Program University of Pittsburgh Wireless Neteworks Slides 15

Wireless LANs

• Wireless Local Area Networks

  • Support communication to mobile data users via

wireless channel

  • Types of WLAN
    1. Infrastructure based (most popular) Connect users to a wired infrastructure network

Telcom 2700

2

Connect users to a wired infrastructure network Wireless access network like cellular phone system IEEE 802.11, a, b, g , n, etc.

  1. Ad-Hoc based networks
    • Provide peer to peer communication – mobiles communicate between each other directly
    • Rapid Deployment (conference room)
    • Bluetooth, IEEE 802.11, a, b, g, n Proprietary
  2. Point – to –Point (cable replacement)

WLAN Topologies

ad-hoc based architecture

Infrastructure based architecture ESS

Point-to-point

Telcom 2700

3

BSS 1 (^) BSS 2

BSS 3

AP 1 AP 2

AP 3

WT 1 WT 2 WT 3

WT 4 WT 5

Wired-distribution network

Basic Service Area (BSA) Communication link

BSS = Basic Service SetESS = Extended Service Set APWT = Wireless Terminal = Access Point

Wireless LANsWireless LANs

  • Wireless LAN market
    • Medical: hospitals doctors and nurses have PDA’s
    • Education: universities/colleges have campus wide network
    • Manufacturing – factories, storage, etc
    • Retail/Small Business – Superstores, grocery stores, W l t t d f i t t

Telcom 2700

4

Walmart, etc. used for inventory management

  • Public Access (Hotels, airports, coffee shops)
    • (T-Mobile has > 2300 in U.S. coffee shops and bookstores, Wayport > 500 hotels, BT 5000 in U.K.)
  • Wireless ISPs in many cities and housing developments
  • Homes – mobility in and around house
  • Market over $4.8 billion in 2005 *source researchmarkets

Spectrum for Wireless LANS

  • Licensed Vs. Unlicensed
    • Private yard Vs. Public park
  • Industrial Scientific and Medical bands
    • 902-928 MHz
    • 2.4 – 2.4835 GHz
    • 5.725 – 5.875 GHz

(Unlicensed National Information Infrastr ct re

Telcom 2700

5

  • (Unlicensed - National Information Infrastructure

Bands) U-NII bands (5-6 GHz) region

  • Three bands of 100 MHz each
    • Band 1: 5.15 - 5.25 GHz
    • Band 2: 5.25 - 5.35 GHz
    • Band 3: 5.725 - 5.825 GHz
  • 18-19 GHz licensed available in U.S.
  • 17 GHz, 40 GHz and 60 GHz under study

Summary of (U-NII) Bands

Band of operation

Maximum Tx Power

Max. Power with antenna gain of 6 dBi

Maximum PSD

Applications: suggested and/or mandated

Other Remarks

5.15 - 5.25 GHz 50 mW 200 mW 2.5 mW/MHz Restricted to indoor applications

Antenna must be an integral part of the d i

6

device

5.25 - 5.35 GHz 250 mW 1000 mW 12.5 mW/MHz Campus LANs Compatible with HyperLAN II

5.725-5.825 GHz 1000 mW 4000 mW 50 mW/MHz Community networks

Longer range in low-interference (rural) environs.

Infrastructure Network Topology

  • A wired infrastructure supports communications

between mobile hosts (MHs) and between MHs and

fixed hosts

  • Star topology
    • The BS or AP is the hub
    • Any communication from a MH to another has to

be sent through the BS or AP

Telcom 2700

10

g

  • The AP manages user access to the network
  • APs typically mounted on wall or ceiling
  • AC power maybe a problem, power over Ethernet

option delivers AC power over UTP Ethernet cable

  • Designed for multiple APs interconnected to cover larger areas to form ESS

Infrastructure based

Architecture

Access Point (AP)

Basic Service Set (BSS)

Members of thecell covered by one AP

Telcom 2700

11

Access Point (AP)

Basic Service Area (BSA)

a.k.acell

Infrastructure-based Architecture

Extended Service Set (ESS)

Distribution System

Portal

12

AP 1

Extended Service Area (ESA): Disjoint or connected

AP 3 AP^2

Distribution System

Ad hoc network topology

  • Independent Basic Service Set

(IBSS)

  • Distributed topology
  • MHs communicate between each

other directly (like walkie-talkies)

  • No need for a wired infrastructure

S i bl f id d l

Telcom 2700

13

  • Suitable for rapid deployment
  • Use in conference rooms
  • No support for multi-hop ad hoc

networking - non standard

freeware and proprietary systems

available that support multi-hop

The image cannot be displayed. Your computer may not haveenough memory to open the image, or the image may have beencorrupted. Restart your computer, and then open the file again. Ifthe red x still appears, you may have to delete the image and theninsert it again.

IEEE standard 802.

mobile terminal

access point

server

fixed terminal

infrastructure network

Telcom 2700

14

application TCP

802.11 PHY

802.11 MAC

IP

802.3 MAC 802.3 PHY

application TCP

802.3 PHY

802.3 MAC

IP

802.11 MAC 802.11 PHY

LLC LLC LLC

IEEE 802.11 Protocol Architecture

LLC

Statio

Data Link

Layer

MAC layer independent of Physical Layer

Physical varies with standard (802.11, 802.11a, etc.)

PLCP: Physical Layer Convergence Protocol

PMD: Physical Medium Dependent

15

MAC

PHY

Management

MAC

Management

n Management

Layer

Physical

Layer

PLCP

PMD

Physical and Virtual Carrier Sensing

  • The physical layer performs a “real” sensing of the air

interface to determine if the channel is busy or idle

  • Detects carrier by RSS
  • The MAC layer performs a “virtual” carrier sensing
  • Analyzes detected packets
  • The “length” in DURATOIN field in MAC control frame is used to set a network allocation vector (NAV)

Telcom 2700

19

set a network allocation vector (NAV)

  • The NAV indicates a prediction of future traffic based on duration information. In effect the amount of time that must elapse before the medium can be expected to be free again.
  • The channel will be sampled only after the NAV time elapses
  • The channel is marked busy if either of the physical or

virtual carrier sensing mechanisms indicate that the

medium is busy

Idle Channel

Data

DIFS

Telcom 2700

20

  • If the medium is idle, every MS has to wait for a period

DIFS (DCF inter-frame spacing) to send DATA

  • After waiting for DIFS, if the medium is still idle, the MS

can transmit its data frame

Medium is idle Medium isstill idle

How does it help?

Data

DIFS

MS 1 DIFS

21

  • If a second MS senses the medium to be idle after the

first MS, it will find the medium to be busy after DIFS

  • It will not transmit => collision is avoided

Medium is idle Medium isstill idle Medium is idle Medium isnot idle

MS 2

Acknowledgements

Data

DIFS

MS 1

SIFS

ACK

Telcom 2700

22

  • A short inter-frame spacing (SIFS) is used
  • SIFS is the absolute minimum duration that any MS should wait before transmitting anything
  • It is used ONLY for acknowledgements (which will be sent by a receiving MS or AP alone)
  • ACKs receive highest priority!
  • ACKs will almost always be sent on time

Medium is idle Medium isstill idle

Data Transmission And ACKs

D

DIFS

Medium isnot idle

Medium is idle

Telcom 2700

MS AP^23

Data

SIFS

ACK

DIFS

Medium isnot idle

Medium is idle

Busy Channel

Medium is idle

Data

DIFS

Medium is still idle

MS 1

DIFS

Contention Window

24

  • Each MS has to still wait for a period of DIFS
  • Each MS chooses a random time of back-off within a contention window
  • Each MS decrements the back-off. Once the back-off value becomes zero, if the medium is idle, the MS can transmit
  • The MS with the smallest back-off time will get to transmit
  • All other MSs freeze their back-off timers that are “decremented” and start decrementing the timer in the next contention window from that point

Medium is idle Medium isstill idle

RTS/CTS Mechanism

  • RTS-Request to Send (20 bytes)
  • CTS-Clear to Send (14 bytes)
  • They can be used only prior to transmitting data
  • After successful contention for the channel, a MS can send an RTS to the AP

SIFS

DIFS RTS

CTS

SIFS

Telcom 2700

28

  • It gets a CTS in reply after SIFS
  • CTS is received by all MSs in the BSS
  • They defer to the addressed MS while it transfers data
  • If there is a collision, no CTS is received and there is contention again

MS AP

S S

Data

SIFS

ACK

Large Frames

  • Large frames that need fragmentation are transmitted

sequentially without new contention

  • The channel is automatically reserved till the entire

frame is transmitted

  • The sequence of events is:
    • Wait for DIFS & CW; Get access to channel S d fi t f t i l d b f f t i th fi ld

Telcom 2700

29

  • Send first fragment; include number of fragments in the field
  • All other MSs update their NAV based on the number of fragments
  • ACK is received after SIFS
  • The next fragment is transmitted after SIFS
  • If no ACK is received, a fresh contention period is started
  • If RTS/CTS is used it is need only for the first fragment

Point Coordination Function (PCF)

  • Optional capability to provide “time-bounded” services
  • It sits on top of DCF and needs DCF in order to

successfully operate

  • A point coordinator (the AP) polls each station and

enables them to transmit without contention

  • Ad hoc networks cannot use this function
  • Time (a super time slot) is divided into two parts

30

Time (a super time slot) is divided into two parts

  • Contention Free Period (CFP)
  • Contention Period (CP)
  • A MS must be CFP-aware to access the CFP
  • Point coordination function IFS (PIFS)
  • Midlength IFS
  • Used by centralized controller in PCF scheme when polling MHs
  • Replies to polling can occur after SIFS

PCF Continued

D1 + P1 D2 + P2 D3 + P3 D4 + P

SIFS SIFS SIFS SIFS SIFS SIFS

AP

MS

Busy Medium

Telcom 2700

31

PIFS PIFS

MS 1

MS 2

MS 3

MS 4

Data

Poll

Data

ACK

Poll

Data

ACK

Poll

Data

Poll

Data

ACK

Data

ACK

Data

ACK

802.11 - Frame format

  • Types of messages in 802.
    • control frames, management frames, data frames
  • Sequence numbers
    • important against duplicated frames due to lost ACKs
  • Addresses
    • receiver, transmitter (physical), BSS identifier, sender (logical)
  • Miscellaneous
    • sending time, checksum, frame control, data

Telcom 2700

34

Frame Control

Duration/ ID

Address 1

Address 2

Address 3

Sequence Control

Address 4 Data^ CRC

bytes 2 2 6 6 6 2 6 0-2312 4

Protocol version Type^ Subtype^

To DS

More Frag Retry

Power Mgmt

More Data WEP

2 2 4 1 From DS

1 Order

bits 1 1 1 1 1 1

Special Frames: ACK, RTS, CTS

  • Acknowledgement
  • Request To Send Frame Control Duration^

Receiver Address

Transmitter Address CRC

bytes 2 2 6 6 4

Frame Control Duration^

Receiver Address CRC

bytes 2 2 6 4

ACK

RTS

35

  • Clear To Send

Control Address Address

Frame Control Duration^

Receiver Address CRC

bytes (^2 2 6 )

CTS

Association and Disassociation

  • Association is procedure by which a MS “registers” with an AP
  • Only after association can a MS send packets through an AP
  • After powering up a mobile listens for Beacons in a passive scanning mode and attempts to associate ith i t AP - The dissociation service is used to terminate an association - It may be invoked by either party to an association (AP/MS) - It is a notification and not a t It t b f d

Telcom 2700

40

with appropriate AP

  • A MS can be associated with only one AP
  • How the association information is maintained in the distribution system is NOT specified by the standard

request. It cannot be refused

  • MSs leaving a BSS will send a dissociation message to the AP
  • Re-association – used for mobility

Mobility

  • Types
    • No Transition
      • MS is static or moving within a BSA
    • BSS Transition
      • The MS moves from one BSS to another within the same ESS (i.e., changes APs on the same network)
      • Re-association service is used when a MS moves from one BSS to another within the same ESS. It is always initiated by the MS with a Probe message

Telcom 2700

41

  • Probe: request from MS contains ESSID, Capabilities, Supported Rates
  • Probe Response: same as beacon except for TIM
  • After receiving probe response mobile picks new AP sends re-association request
  • Re-association Request: MS capability, listen interval, ESSID, supported rates, old AP address
  • Re-association Response: Capability, status code, station ID, supported rates
  • ESS Transition
  • The MS moves from one BSS to another BSS that is part of a new ESS
  • Upper layer connections may break (needs Mobile IP)

Handoff in 802.

8. IAPP indicates reassociation to old AP

AP^ AP^2 1 AP 3

42

Beacon periodically

1. Strong signal **2. Weak signal; start scanning for handoff

  1. Probe Request
  2. Choose AP with strongest response**

AP 1 AP 3

IAPP: Inter Access Point Protocol

Handoff Procedure in IEEE 802.11 LANs

Mobile Station

Access Point A (new)

Access Point B (old)

Re-association procedure Handover procedure

IEEE 802.11 IAPP

  • 802.11f group standardized IAAP protocol for extended roaming
  • APs register with a “Registration Service” in the distribution system –Use the IAPP-INITIATE and IAPP-TERMINATE to register and deregister
  • 802.11r group fast handoff between APs – (cars, trains, etc.)

Telcom 2700

43

Reassociation-request

HANDOVER.request

HANDOVER.response

Reassociation-response

The image cannot be displayed. Your computer may not haveenough memory to open the image, or the image may have beencorrupted. Restart your computer, and then open the file again. Ifthe red x still appears, you may have to delete the image and theninsert it again.

Inter-AP Protocol 802.11f

  • APs register with a “Registration Service” in the distribution system
    • They use the IAPP-INITIATE and IAPP-TERMINATE to register and deregister
  • An MS in 802.11 can be associated with only one AP
  • When the MS sends a re-association request and obtains an association frame, the new AP sends an IAPP-MOVE-notify

Telcom 2700

44

, y packet to the old AP

  • The old AP address is obtained from the registration service
  • If the registration service cannot be located, the AP will issue an IAPP-ADD-notify packet to the broadcast MAC address on the LAN
  • The old AP sends an IAPP-MOVE-response packet with any context information it had for the MS and cached packets

802.11 Security

  • Authentication
    • Establishes identity of mobile stations to APS and vice a versa
    • Most 802.11 networks don’t use any type of authentication!
      • APs accept connections from all MSs
    • Open system authentication
      • Exchange of identities using Service Set Identifier (SSID) of network
      • SSID can be advertised by AP or entered manually into mobiles

45

SSID can be advertised by AP or entered manually into mobiles

  • Shared Key authentication
    • Uses a version of challenge/response protocol
    • Either 40 or 104 bit shared key
    • Keys are static and manually configured
  • De-authentication
    • Invoked when existing authentication is terminated

Improving 802.11 Security

  • Wi-Fi Protected Access (WPA) Industry group developing techniques for existing networks
    • Use access control list with approved MAC addresses
    • Use 128 bit proprietary implementation of WEP key (doesn’t scale well) with temporal key integrity protocol (prevents replay)
    • Use VPNs (IPSec or SSL)
    • Security architecture based on 802.1x and EAP (Extensible Authentication Protocol)
      • Allows many protocols within a common framework Example

Telcom 2700

49

  • Example
    • Use a RADIUS server
    • Authenticate the access point using a variation of SSL
    • Authenticate the MS using passwords (CHAP)
  • IEEE 802.11i is the new security standard
  • Use AES instead of RC4 for better security
  • Push button security – easy configuration
  • WPA2 implements IEEE 802.11i – no longer backwards compatible

802.11 Physical Layers

Below MAC layer 802.11 has physical layer PHY

PHY has two sublayers

PLCP: Physical Layer Convergence Protocol

PMD: Physical Medium Dependent

Telcom 2700

50

Physical Sub-Layers

  • PLCP maps the MAC frame into an appropriate PHY frame - Reduces MAC dependence on PMD
  • PLCP frame includes information for synchronization, length of transmission header error - The PMD layer specifies the modulation, demodulation, and coding - Together the two physical sub-layers provide the MAC layer a “clear channel assignment” signal to indicate the busy/idle nature of the channel

51

transmission, header error check, frame delimiters, etc.

  • The PLCP forms the PMD frame which is different for different physical layers

of the channel

  • The Physical Management layer fine tunes the channel, modulation, etc. and manages the physical layer MIBs

Physical Layer

  • 802.11 Supports different physical layers at various data

rates and frequencies

  • Diffused infrared (802.11)
    • PPM , 1, 2 Mbps, ARQ with CRC, 10m range, cheap
  • Frequency hopping spread spectrum (802.11)
    • Random 2.5 hops per second, GMSK modulation, ARQ with CRC, 1, 2 Mbps in 915MHz band
  • Direct sequence spread spectrum (802.11)
    • 11 bit spreading Barker code, DBPSK – 1Mbps, DQPSK – 2Mbps, ARQ

Telcom 2700

52

with CRC, in 915MHz band

  • Direct sequence spread spectrum (802.11b)
    • Complementary Code Keying 1,2, 5.5, 11 Mbps
    • Spreading done in modulation channel symbols, error control ARQ with CRC in 20MHz band – 20MHz channels
    • Rate depends on RSS
  • Orthogonal Frequency Division Multiplexing (OFDM) (802.11a, g)
    • Parallel sub-channels with adaptive modulation based on SNR – higher data rates up to 54Mbps - 20MHz channels
  • OFDM and Multiple Input Multiple Output (802.11n)
    • Multiple antenna and receivers together with OFDM – higher data rates > 100Mbps

Channels in the 802.11b

Telcom 2700

53

5 MHz

Three non-overlapping channels

Physical Layer 802.11a,g

  • OFDM: Orthogonal Frequency Division Multiplexing Problem with increasing speed on WLANs is inter-symbol interference due to multipath propagation environment
  • Transmits single high-rate data stream over multiple parallel low-rate data streams.

54

  • Using several parallel sub-

channels and reducing the data rate on each channel, the symbol duration in each channel is increased

Adaptive Modulation on

Parallel Channels

SNR (dB) (^) BW Efficiency

4 bits

Telcom 2700

58

Number of Subcarriers

1 bit

2 bits

3 bits

Adaptive OFDM Algorithm

Channel Quality Estimator

Ad ti

Channel Quality Information, e.g. SNR

Telcom 2700

59

Adaptive Algorithm

Bits And Power

Subcarrier 1

Subcarrier 2

Subcarrier 3

Subcarrier N

Allocation

Modulation Scheme Selection

802.11a,g

  • Each subcarrier uses same modulation – adapts

modulation and convolutional FEC as function of SIR to

provide variety of data rates

Data rate Modulation FEC Coding Rate

Data bits per channel symbol 6Mbps BPSK 1/2 24

9Mbps BPSK 3/4 36

61

9Mbps BPSK 3/4 36 12Mbps QPSK 1/2 48

18Mbps QPSK 3/4 72 24Mbps 16QAM 1/2 96

36Mbps 16QAM 3/4 144 48Mbps 64QAM 2/3 192

54Mbps 64QAM 3/4 216

802.11n

  • Still in draft standard state – approved Dec 2008?
  • Works in 2.4 and 5GHz bands 4x to 5x data rates of

802.11a,g Î 200-300Mbps

  • Main Changes
    1. Physical layer uses Multiple Input Multiple Output (MIMO) OFDM
      • Has multiple antennas at each end of the channel – provides spatial diversity
      • OFDM part about the same as 802.11a,g – uses 64QAM with 5/6 FEC rate

Telcom 2700

62

  1. Channel Bonding
    • Combines 2 of the 20MHz 802.11a,g channels to achieve higher data rates
  2. Packet Aggregation
    • Reduce overhead by aggregating multiple packets from a single application/user into a common frame.
  • Pre-n equipment available now based on Draft 2

Design Issues in WLAN

Conventional Wired LAN

Cable length, speed

Compare WLAN with wired LAN

Telcom 2700

63

Typical Wireless LAN

  • Tx power level
  • Frequency channel
  • Location of access point

WLAN Deployment scenarios

  1. Small network scenario

Ex:

  • small office, home office (SOHO)
  • coffee shop ~17% of market in 05

64