Top Banner
Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand Adapted from lecture slides by Behrouz A. Forouzan © The McGraw-Hill Companies, Inc. All rights reserved Materials taken from lecture slides by Karl and Willig
28

Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] cpj.

Dec 14, 2015

Download

Documents

Brittney Eaton
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Wireless LANs and PANs

01204325: Data Communication and Computer Networks

Asst. Prof. Chaiporn Jaikaeo, [email protected]

http://www.cpe.ku.ac.th/~cpjComputer Engineering Department

Kasetsart University, Bangkok, ThailandAdapted from lecture slides by Behrouz A. Forouzan© The McGraw-Hill Companies, Inc. All rights reservedMaterials taken from lecture slides by Karl and Willig

Page 2: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

2

Outline Electromagnetic spectrum and ISM

bands IEEE 802.11 (Wi-Fi) Bluetooth IEEE 802.15.4

Page 3: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

3

Electromagnetic Spectrum

Government regulations make specific ranges of the electromagnetic spectrum available for communication

A license is required to operate transmission equipment in some parts of the spectrum Some parts are unlicensed

RF range

Page 4: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

4

ISM Bands Industrial, Scientific, and Medical

frequency bands Can operate without FCC licenses Tx output power 1 watt Eliminate cost and time consuming for

licenses

26MHz

902MHz

928MHz

915 MHz*

100 MHz

2.40GHz

2.50GHz

2.45 GHz

150 MHz

5.725GHz

5.875GHz

5.8 GHz

* Region 2 only

Page 5: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Wireless LANs:IEEE 802.11 (Wi-Fi)

Page 6: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

6

IEEE 802.11 IEEE Standard for Wireless LANs Covers both physical and data link

layers

Wi-Fi Access points Wi-Fi Router

Page 7: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

7

WLAN Architectures Basic Service Set (BSS) Extended Service Set (ESS)

Page 8: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

8

Basic Service Set (BSS)

(Ad hoc mode) (Infrastructure mode)

Page 9: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

9

Extended Service Set (ESS)

Page 10: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

10

IEEE 802.11 Physical Layer

IEEE 802.11 MAC

802.11a 802.11b 802.11g 802.11n

6-54 Mbps5 GHzOFDM

1-11 Mbps2.4 GHz

DSSS

6-54 Mbps2.4 GHzOFDMDSSS

7.2-150 Mbps

2.4, 5 GHzOFDM

802.11

1-2 Mbps2.4 GHz

FHSSDSSS

IR

Page 11: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

11

IEEE 802.11b/g Channels

See http://en.wikipedia.org/wiki/List_of_WLAN_channels

Page 12: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

12

IEEE 802.11 MAC Layer

PCF – Point Coordination Function (controlled access)DCF – Distributed Coordination Function (random access)

Page 13: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

13

CSMA/CA Used by 802.11 Basic CSMA/CA not enough

"Hidden Terminal Problem"

A B C

Page 14: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

14

CSMA/CA With RTS/CTS

RTS

CTS

Data

ACK

A B C D

NAVNAV

NAV Network Allocation Vector

(Virtual Carrier Sensing)

Page 15: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

15

IEEE 802.11 and Wi-Fi IEEE 802.11 provides most of the

standards A group of vendors who build

wireless equipment formed the Wi-Fi Alliance A non-profit organization that tests

and certifies wireless equipment using the 802.11 standards

Page 16: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Wireless PANs: Bluetooth

Page 17: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

17

Bluetooth Standard Wireless Personal Area Network

technology Designed for connecting devices with

different functionalities: Telephone, mouse, keyboard, camera,

etc. Standard IEEE 802.15.1

Page 18: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

18

Bluetooth Piconet

Page 19: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

19

Bluetooth Scatternet

Page 20: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

20

Bluetooth Layers

Page 21: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

21

Bluetooth Communication Single slave

Page 22: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

22

Bluetooth Communication Multiple slaves

Page 23: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

Low-Rate Wireless PANs:

IEEE 802.15.4

Page 24: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

24

IEEE 802.15.4 IEEE standard for Low-Rate

WPAN (LR-WPAN) applications Low-to-medium bit rates Moderate delays without too

strict requirements Low cost, low energy

consumption Applications

Home automation and security systems

Smart metering Wireless data collection

Page 25: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

25

868MHz (20 kbps)

2.4 GHz

868.3 MHz

Channel 0 Channels 1-10

Channels 11-26

2.4835 GHz

928 MHz902 MHz

5 MHz

2 MHz

2.4 GHz PHY

IEEE 802.15.4 Physical Operating frequency bands

915 MHz (40 kbps)

2.4 GHz (250 kbps)

Page 26: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

26

IEEE 802.15.4 MAC Single channel at any one time Combines contention-based and

schedule-based schemes Asymmetric: nodes can assume

different roles

Page 27: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

27

IEEE 802.15.4 Devices Full function device (FFD)

Any topology Network coordinator capable Talks to any other device

Reduced function device (RFD) Limited to star topology Cannot become a network coordinator Talks only to a network coordinator Very simple implementation

Page 28: Wireless LANs and PANs 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. chaiporn.j@ku.ac.th cpj.

28

IEEE 802.15.4 Topologies