Wireless LANs - Lecture Slides - Networking Projects | EEC 173B, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Professor: Chuah; Class: Projects in Com Networks; Subject: Engineering Electrical & Compu; University: University of California - Davis; Term: Winter 2006;

Typology: Study notes

Pre 2010

Uploaded on 07/30/2009

koofers-user-t6z
koofers-user-t6z 🇺🇸

3.3

(3)

10 documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Page 1
ChuahWinter2006
EEC173B/ECS152C,Winter2006
Wireless LANs
802.11Frameformat
802.11MACmanagement
Synchronization,Handoffs,Power
Acknowledgment: Selected slides from Prof. Schiller
2
KeyPointsfromLastLecture
MACmethods:DCF&PCF
CSMA/CAwithpositiveACK
Exponentialbackoff
“Prioritized” accessviadifferentIFSvalues
Hidden/exposedterminalproblems
RTS/CTSclearing
VirtualsensingusingreceivedNAV
3
802.11‐ Frameformat
FrameTypes
Data:unicast(ACKed);broadcast/multicast(notACKed)
Control:RTS/CTS,ACKs
Management(beacon,proberequest/response,
authentication,association,etc)
Sequencenumbers
ImportantagainstduplicatedframesduetolostACKs
Addresses
Receiver,transmitter(physical),BSSidentifier,sender
(logical)
Miscellaneous
Sendingtime,checksum,framecontrol,data
4
802.11‐ Frameformat
Frame
Control Duration/
ID Address
1Address
2Address
3Sequence
Control Address
4Data CRC
22666 6240-2312
bytes
Protocol
version Type Subtype To
DS More
Frag Retry Power
Mgmt More
Data WEP
224 1
From
DS
1
Order
bits 111111
pf3
pf4
pf5

Partial preview of the text

Download Wireless LANs - Lecture Slides - Networking Projects | EEC 173B and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Chuah Winter 2006

EEC173B/ECS152C, Winter 2006

Wireless LANs

802.11 Frame format

802.11 MAC management

‐ Synchronization, Handoffs, Power

Acknowledgment: Selected slides from Prof. Schiller

2

Key Points from Last Lecture

ƒ MAC methods: DCF & PCF

ƒ CSMA/CA with positive ACK

‐ Exponential backoff ‐ “Prioritized” access via different IFS values

ƒ Hidden/exposed terminal problems

‐ RTS/CTS clearing ‐ Virtual sensing using received NAV

3

802.11 ‐ Frame format

ƒ Frame Types

‐ Data: unicast (ACKed); broadcast/multicast (not ACKed) ‐ Control: RTS/CTS, ACKs ‐ Management (beacon, probe request/response, authentication, association, etc)

ƒ 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

4

802.11 ‐ Frame format

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

5

MAC Address Format

scenario to DS from DS

address 1 address 2 address 3 address 4

ad-hoc network 0 0 DA SA BSSID - infrastructure network, from AP

0 1 DA BSSID SA -

infrastructure network, to AP

1 0 BSSID SA DA -

infrastructure network, within DS

1 1 RA TA DA SA

DS: Distribution System AP: Access Point DA: Destination Address SA: Source Address BSSID: Basic Service Set Identifier RA: Receiver Address TA: Transmitter Address

6

Special Frames: ACK, RTS, CTS

ƒ Acknowledgement

ƒ Request To Send

ƒ Clear 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

Frame Control Duration^

Receiver Address CRC

bytes (^2 2 6 ) ACK

RTS

CTS

7

802.11 ‐ MAC Management Sublayer

ƒ Registration/Synchronization

‐ Try to find a LAN, try to stay within a LAN ‐ Timer, etc.

ƒ Handoff: Association/Reassociation

‐ Integration into a LAN ‐ Roaming, i.e. change networks by changing access points ‐ Scanning, i.e. active search for a network

ƒ Power management

‐ Sleep‐mode without missing a message ‐ Periodic sleep, frame buffering, traffic measurements

ƒ Security

ƒ MIB ‐ Management Information Base

‐ Managing, read, write 8

Registration

ƒ A management frame called beacon is transmitted periodically by the AP to establish the timing synchronization function (TSF) ƒ TSF contains: BSS id, timestamp, traffic indication map (TIM), power management, and roaming information ƒ RSS measurements are done on the beacon message ƒ Association: process by which an MS registers with an AP

13

Management Operations: Scanning

ƒ Passive scanning

‐ Listen to BS beacons

ƒ Active scanning

‐ MS sends probe request ‐ BS responds to probe

14

Power Management (1)

ƒ How to power‐off during idle periods? ƒ Idea: switch the transceiver off if not needed ƒ States of a station: sleep and awake ƒ IEEE 802.11 buffers data at the AP, and sends the data when the MS is awakened ƒ Timing Synchronization Function (TSF) ‐ Using TSF, all MSs are synchronized – they wake up at the same time to listen to beacon ƒ With every beacon a Traffic Indication Map (TIM) is sent that has a list of stations having buffered data ƒ An MS learns that it has buffered data by checking beacon and TIM

15

Power management (2)

ƒ Infrastructure ‐ Traffic Indication Map (TIM)

  • List of unicast receivers transmitted by AP ‐ Delivery Traffic Indication Map (DTIM)
  • List of broadcast/multicast receivers transmitted by AP ƒ Ad‐hoc ‐ Ad‐hoc Traffic Indication Map (ATIM)
  • Announcement of receivers by stations buffering frames
  • More complicated ‐ no central AP
  • Collision of ATIMs possible (scalability?)

16

Power saving with wake‐up patterns (infrastructure)

TIM interval

t

medium

access point busy

D

busy busy busy

T T D

T (^) TIM D (^) DTIM

DTIM interval

B B

B (^) broadcast/multicast

station awake

p PS poll

p

d

d

d data transmissionto/from the station

17

Power saving with wake‐up patterns (ad‐hoc)

awake

A transmit ATIM D transmit data

t

station 1 B^1 B^1

B (^) beacon frame

station 2 B^2 B^2

random delay

A

a

D

d

ATIM window beacon interval

a acknowledge ATIM d acknowledge data

18

Wifi ‐ IEEE 802.11b (1)

ƒ Data rate ‐ 1, 2, 5.5, 11 Mbit/s, depending on SNR ‐ User data rate max. approx. 6 Mbit/s ƒ Transmission range ‐ 300m outdoor, 30m indoor ‐ Max. data rate ~10m indoor ƒ Frequency ‐ Free 2.4 GHz ISM‐band ƒ Security ‐ Limited, WEP insecure, SSID ƒ Cost ‐ $20‐$100 base station, dropping ƒ Availability ‐ Many products, many vendors

19

Wifi ‐ IEEE 802.11b (2)

ƒ Connection set‐up time ‐ Connectionless/always on ‐ Typ. Best effort, no guarantees (unless polling is used, limited support in products) ƒ Quality of Service ƒ Manageability ‐ Limited (no automated key distribution, sym. Encryption) ƒ Special Advantages ‐ Many installed systems, lot of experience, available worldwide, free ISM‐band, many vendors, integrated in laptops, simple system ƒ Disadvantages ‐ Heavy interference on ISM‐band, no service guarantees, slow relative speed only

20

Channel Selection (Non‐overlapping)

2400 [MHz]

2412 2442 2472 2483.

channel 1 channel 7 channel 13

Europe (ETSI)

US (FCC)/Canada (IC)

2400 [MHz]

2412 2437 2462 2483.

channel 1 channel 6 channel 11

22 MHz

22 MHz

25

OFDM in IEEE 802.11a

ƒ Orthogonal FDM with 52 used subcarriers (64 in total)

ƒ 48 data + 4 pilot

ƒ (plus 12 virtual subcarriers)

ƒ 312.5 kHz spacing

subcarrier number

-26 -21 -7 -1 1 7 21 26 channel center frequency

pilot 312.5 kHz

26

Concluding Remarks

ƒ IEEE 802.11 WLAN is becoming real popular

these days

ƒ There is still a big room to improve the current

802.11 systems

ƒ Important to consider how any improved system

co‐exists with legacy systems

27

Characteristics of Wireless LANs

ƒ Advantages

‐ Very flexible within the reception area ‐ Ad‐hoc networks without previous planning possible ‐ (Almost) no wiring difficulties (e.g. historic buildings, firewalls) ‐ More robust against disasters like, e.g., earthquakes, fire ‐ or users pulling a plug...

28

Characteristics of Wireless LANs

ƒ Disadvantages

‐ Typically very low bandwidth compared to wired networks (1‐ 10 Mbit/s) ‐ Many proprietary solutions, especially for higher bit‐ rates, standards take their time (e.g. IEEE 802.11) ‐ Products have to follow many national restrictions if working wireless, it takes a vary long time to establish global solutions like, e.g., IMT‐ 2000