introduction to ieee 802.11. ieee 802.11 a standard for wireless lans an excellent book: – matthew...

20
Introduction to IEEE 802.11

Upload: alicia-marshall

Post on 11-Jan-2016

242 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Introduction to IEEE 802.11

Page 2: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

IEEE 802.11

A standard for wireless LANs

An excellent book:– Matthew S. Gast, Mike Loukides,

802.11 Wireless Networks: The Definitive Guide , O’Reilly & Associates, Inc.

Page 3: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The
Page 4: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

History of IEEE 802.11

802.11 standard first ratified in 1997– 802.3 LAN emulation– 1 & 2 Mbps in the 2.4 GHz band

Two high rate PHY’s ratified in 1999– 802.11a: 6 to 54 Mbps in the 5 GHz band– 802.11b: 5.5 and 11 Mbps in the 2.4 GHz band

Page 5: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

The Beat Goes On

802.11c: support for 802.11 frames 802.11d: new support for 802.11 frames 802.11e: QoS enhancement in MAC 802.11f: Inter Access Point Protocol 802.11g: 2.4 GHz extension to 22 Mbps 802.11h: channel selection and power control 802.11i: security enhancement in MAC 802.11j: 5 GHz globalization

Page 6: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

IEEE 802 Standards

802.3 MEDIUMACCESS

(Ethernet)

PHYSICAL

802.4 MEDIUMACCESS

(token bus)

PHYSICAL

802.5 MEDIUMACCESS

(token ring)

PHYSICAL

802.11 MEDIUMACCESS

(WLAN)

PHYSICAL

802.12MEDIUMACCESS

(Gigabit

LAN)PHYSICAL

. . .

802.1 BRIDGING

802.2 LOGICAL LINK CONTROL

PHYSICAL

LAYER

DATA

LINK

LAYER

802.

1 M

AN

AG

EM

EN

T

Page 7: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

802.11

802.11 MAC

802.11FHSS

802.11DSSS

802.11aOFDM

802.11bDSSS

Page 8: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

802.11 BSS

Basic Service Set (BSS) --- a basic LAN Infrastructure BSS Independent BSS (Ad Hoc LAN)

Access point

Page 9: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

802.11 ESS

Extended Service Set (ESS)

Distributed System

Page 10: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Major Protocols

MAC Management Operations

– Scanning– Authentication– Association– Power Saving– Timing Synchronization

Page 11: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Power Saving

sleep

Beacon window ATIM window

Beacon interval

timesleep

Page 12: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

When to stay awake?

ATIM: Announcement traffic indication map.

IBSS: If a node has an outgoing data frame for B, it sends B a traffic announcement in the ATIM window.

A node stays awake for an entire beacon interval if it has incoming and/or outgoing traffic.

Page 13: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Beacons

Beacons carry information about the BSS.– To allow new stations to join in– Timing synchronization

Every station must listen to Beacons. Infrastructure BSS: AP sends beacons. IBSS: every station contends for beacon

generation in the beacon window.

Page 14: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Beacon Contention/Generation

Each station:– determines a random number k;– waits for exactly k idle slots to pass;– transmits a beacon (if no one else has done so).

Beacon: several slots in length.

window

beacon interval

Page 15: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Timing Sync Needed for Power Saving

sleep

Beacon window ATIM window

Beacon interval

timesleep

Page 16: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Timing Sync Needed for Frequency Hopping

f1

f2

f4

f3

f5

Page 17: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

802.11 Timers (Clocks)

Timer: 64 bits, ticking in microseconds. Accuracy: within + 0.01%, or +100 ppm. Time synchronization needed for:

– Frequency hopping– Power management

∆ = max tolerable difference between clocks.

– Desired value: 25 s

Page 18: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

802.11’s Time Sync Function

Beacon contains a timestamp. On receiving a beacon, STA adopts beacon’s

timing if T(beacon) > T(STA). Clocks move only forward.

faster adopts

12:01 12:00

slower not adopts

12:01 12:0212:01

Page 19: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The

Is IEEE 802.11 TSF Scalable?

Why or Why Not?

Page 20: Introduction to IEEE 802.11. IEEE 802.11 A standard for wireless LANs An excellent book: – Matthew S. Gast, Mike Loukides, 802.11 Wireless Networks: The