45
Wireless LAN and WPAN S.M. Riazul Islam, PhD

Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Wireless LAN and WPAN

S.M. Riazul Islam, PhD

Page 2: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

What is a Wireless LAN

A wireless local area network(LAN) is a flexible data communications system implemented as an extension to, or as an alternative for, a wired LAN.

◦ Using radio frequency (RF) technology, wireless LANs transmit and receive data over the air, minimizing the need for wired connections.

Thus, combining data connectivity with user mobility.

Page 3: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Productivity, convenience, and cost

advantages

◦ Installation speed and simplicity.

◦ Installation flexibility.

◦ Reduced cost-of-ownership.

◦ Mobility.

◦ Scalability.

Page 4: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Installation speed and simplicity

◦ No cable to pull.

◦ Eliminates current architecture obstacles.

◦ Few transmitters/receivers for multiple for

users.

Page 5: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Installation flexibility

◦ The network goes where wires cannot.

◦ Not constrained by expensive walls.

◦ Easy to add more computers and devices.

Page 6: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Reduced cost-of-ownership

◦ Mobile devices are less expensive than

computer workstations.

◦ Can “Run Errands” and stay in touch.

◦ No need to build wiring closets.

Page 7: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Mobility

◦ Access to real-time information.

◦ Supports productivity.

◦ Provides service opportunities.

◦ Promotes flexibility.

Page 8: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of Wireless LAN

Scalability

◦ Spans a variety of topologies.

◦ Configurations are easily changed.

◦ Works over great distances.

◦ Effective for wide range of user communities.

Small number of users with local needs.

Full infrastructure networks roaming over a broad area.

http://www.WirelessLAN.com

Page 9: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Disadvantage of Wireless LAN

Cost

◦ Wireless network cards cost 4 times more

than wired network cards.

◦ The access points are more expensive than

hubs and wires.

Signal Bleed Over

◦ Access points pick up the signals of adjacent

access points or overpower their signal.

Page 10: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Disadvantage of Wireless LAN

Environmental Conditions

◦ Susceptible to weather and solar activity.

◦ Constrained by buildings, trees, terrain.

Less Capacity

◦ Slower bandwidth.

◦ Limit to how much data a carrier wave can transmit without lost packets impacting performance.

http://www.Compaq.com

Page 11: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Practical Use of Wireless LAN

Corporate

◦ Mobile networking for e-mail, file sharing, and

web browsing.

Education

◦ Connectivity to the University Network for

collaborative class activities.

◦ Ability to access research sources without

requiring a hard point.

Page 12: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Practical Use of Wireless LAN

Finance

◦ Traders can receive up-to-the-second pricing

information.

◦ Facilitates electronic payments for goods and

services.

◦ Improve the speed and quality of trades.

Page 13: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Practical Use of Wireless LAN

Hospitality and Retail

◦ Electronic food orders for pickup or from

table. (Then Pay Electronically)

◦ Setting up temporary registers for special

events.

◦ Check public transportation.

◦ Send notice to hotel of arrival.

Page 14: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Practical Use of Wireless LAN

Manufacturing

◦ Link factory floor workstations to servers.

◦ Remote data collections.

◦ Tracking of goods.

Healthcare

◦ Emergency medical information readily available.

◦ Access to schedule information.

Page 15: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11 Wireless LAN

Standard

In response to lacking standards, IEEE

developed the first internationally recognized

wireless LAN standard – IEEE 802.11

IEEE published 802.11 in 1997, after seven years

of work

Most prominent specification for WLANs

Scope of IEEE 802.11 is limited to Physical and

Data Link Layers.

Page 16: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Benefits of 802.11 Standard

Appliance Interoperability

Fast Product Development

Stable Future Migration

Price Reductions

The 802.11 standard takes into account the

following significant differences between

wireless and wired LANs:Power Management

Security

Bandwidth

Page 17: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11 Terminology

Access point (AP): A station that provides access to the DS.

Basic service set (BSS): A set of stations controlled by a single AP.

Distribution system (DS): A system used to interconnect a set of BSSs to create an ESS.

DS is implementation-independent. It can be a wired 802.3 Ethernet LAN, 802.4 token bus, 802.5 token ring or another 802.11 medium.

Extended service set (ESS):Two or more BSS interconnected by DS

Portal: Logical entity where 802.11 network integrates with a non 802.11 network.

Page 18: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

WLAN Topology

Ad-Hoc Network

Page 19: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

WLAN TopologyInfrastructure

Page 20: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11 Services: Distribution

of Messages

Distribution service (DS)

Used to exchange MAC frames from station in

one BSS to station in another BSS

Integration service

Transfer of data between station on IEEE 802.11

LAN and station on integrated IEEE 802.x LAN

Page 21: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Association Related Services

Association

Establishes initial association between station and

AP

Re-association

Enables transfer of association from one AP to

another, allowing station to move from one BSS

to another

Disassociation

Association termination notice from station or

AP

Page 22: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Re-Association

Page 23: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Access and Privacy Services

Authentication

Establishes identity of stations to each other

De-authentication

Invoked when existing authentication is

terminated

Privacy

Prevents message contents from being read by

unintended recipient

Page 24: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11 Medium Access

Control

MAC layer covers three functional areas:

Reliable data delivery

Access control

Security

Page 25: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Reliable Data Delivery

Loss of frames due to noise, interference, and propagation effects

Frame exchange protocol

Source station transmits data

Destination responds with acknowledgment (ACK)

If source doesn’t receive ACK, it retransmits frame

Four frame exchange for enhanced reliability

Source issues request to send (RTS)

Destination responds with clear to send (CTS)

Source transmits data

Destination responds with ACK

Page 26: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Access Control

Distributed Coordination Function (DCF)

Distributed access protocol

Contention-Based

Makes use of CSMA/CA rather than CSMA/CD

Suited for ad hoc network and ordinary asynchronous traffic

Point Coordination Function (PCF)

Alternative access method on top of DCF

Centralized access protocol

Contention-Free

Works like polling

Suited for time bound services like voice or multimedia

Page 27: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

CSMA/CD vs. CSMA/CA

CSMA/CD – CSMA/Collision detection

For wire communication

No control BEFORE transmission

Generates collisions

Collision Detection-How?

CSMA/CA – CSMA/Collision Avoidance

For wireless communication

Collision avoidance BEFORE transmission

Why avoidance on wireless?

Difference in energy/power for transmit & receive

Difficult to distinguish between incoming weak signals, noise,

and effects of own transmission

Page 28: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Interframe Space (IFS)

Defined length of time for control

SIFS - Short Inter Frame Spacing

Used for immediate response actions e.g ACK, CTS

PIFS - Point Inter Frame Spacing

Used by centralized controller in PCF scheme

DIFS - Distributed Inter Frame Spacing

Used for all ordinary asynchronous traffic

DIFS (MAX) > PIFS > SIFS (MIN)

Page 29: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

RTS-CTS-DATA-ACK

DIFS: Distributed IFSRTS: Request To SendSIFS: Short IFSCTS: Clear To SendACK: AcknowledgementNAV: Network Allocation VectorDCF: Distributed Coordination Function

Page 30: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

MAC Frame Format

Frame

Control

Duration

IDAddr 1 Addr 2 Addr 3 Addr 4Sequence

ControlCRC

Frame

Body

2 2 6 6 6 62 0-2312 4

802.11 MAC Header

Protocol

VersionType SubType

To

DSRetry

Pwr

Mgt

More

DataWEP Order

Frame Control Field

Bits: 2 2 4 1 1 1 1 1 1 1 1

DS

From More

Frag

Page 31: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

MAC Layer Frames

Data Frames

Control Frames

RTS,CTS,ACK and PS-POLL

Management Frames

Authentication and De-Authentication

Association, Re-Association, and Disassociation

Beacon and Probe frames

Page 32: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11 Security

Authentication provided by open system or shared key authentication (Authentication is used instead of wired media physical connection)

Privacy provided by WEP (Privacy is used to provide the confidential aspects of closed wired media)

An Integrity check is performed using a 32-bit CRC

Page 33: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Authentication

Page 34: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

WEP Encryption/Decryption

Page 35: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Is WLAN Secure ?

The Parking Lot attack

Man in the middle attack

Freely available tools like Air Snort, WEP crack to snoop into a WLAN

Page 36: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Physical Media Defined by

Original 802.11 Standard

Frequency-hopping spread spectrum

Operating in 2.4 GHz ISM band

Lower cost, power consumption

Most tolerant to signal interference

Direct-sequence spread spectrum

Operating in 2.4 GHz ISM band

Supports higher data rates

More range than FH or IR physical layers

Infrared

Lowest cost

Lowest range compared to spread spectrum

Doesn’t penetrate walls, so no eavesdropping

Page 37: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Frequency Hopping Spread

Spectrum

Signal is broadcast over seemingly random series of radio frequencies

Signal hops from frequency to frequency at fixed intervals

Receiver, hopping between frequencies in synchronization with transmitter, picks up message

Advantages

Efficient utilization of available bandwidth

Eavesdropper hear only unintelligible blips

Attempts to jam signal on one frequency succeed only at knocking out a few bits

Page 38: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Direct Sequence Spread

SpectrumEach bit in original signal is represented by

multiple bits in the transmitted signal

Spreading code spreads signal across a wider frequency band

DSSS is the only physical layer specified for the 802.11b specification

802.11a and 802.11b differ in use of chipping method

802.11a uses 11-bit barker chip

802.11b uses 8-bit complimentary code keying (CCK) algorithm

Page 39: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

IEEE 802.11a and IEEE

802.11b

IEEE 802.11a

Makes use of 5-GHz band

Provides rates of 6, 9 , 12, 18, 24, 36, 48, 54 Mbps

Uses orthogonal frequency division multiplexing (OFDM)

IEEE 802.11b

802.11b operates in 2.4 GHz band

Provides data rates of 5.5 and 11 Mbps

Complementary code keying (CCK) modulation scheme

For more information:

http://home.no.net/coverage/rapport/80211.htm

Page 40: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

WLAN Standards 802.11xy

Page 41: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Other Standards

Japan has introduced Millimeter Wave Wireless LAN (MWWL).

Europe has introduced HIPERLAN (High Performance Radio Local Area Network)

Features,capabilities, and technology similar to those of IEEE 802.11 used in US

Developed by ETSI (European Telecommunications standards institute)

Provides high speed communications (20Mbps)

Has technical advantages such as inclusion of Quality of Service

Page 42: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

HIPERLAN-reference model

Medium Access Control

(MAC) Sublayer

Channel Access Control

(CAC) Sublayer

Physical (PHY) Layer

Application Layer

Presentation Layer

Session Layer

Transport Layer

Network Layer

Data Link Layer

Physical Layer

higher layer protocols

OSI

Reference Model

HIPERLAN

Reference Model

For more information: http://www.hiperlan.uk.com/http://www.netplan.dk/hip.htm

Page 43: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Future of WLAN

WLANs move to maturity

Higher Speeds

Improved Security

Seamless end-to-end protocols

Better Error control

Long distances

New vendors

Better interoperability

Global networking

Anywhere, anytime,any-form connectivity…

Page 44: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

Wireless Personal Area Network

a computer network used for data transmission among devices such as computers, telephones and personal digital assistants

Technologies: IrDA, Wireless USB, Bluetooth, BLE, BAN, WiFi

WPAN using UWB

Standard: IEEE 802.15, ECMA-368

Page 45: Wireless LAN and WPAN - S.M. Riazul Islam, PhD - Homelecture.riazulislam.com/uploads/3/9/8/5/3985970/wlan_wpan.pdf · What is a Wireless LAN A wireless local area network(LAN) is

References

Geier, Jim (1999). Wireless LANs. Macmillan

Technical Publishing.

Held, Gil (2001). Data over Wireless

Networks. McGraw Hill.

Stallings, William (2001). Wireless

Communications and Networks. Prentice

Hall.

http://www.wlana.org/

http://www.intel.com/network/connectivity/r

esources/doc_library/documents/pdf/np1692

-01.pdf