Wireless Local Area Network. Internet Protocol Suite

Similar documents
UNIT 5 P.M.Arun Kumar, Assistant Professor, Department of IT, Sri Krishna College of Engineering and Technology, Coimbatore.

Introduction to Bluetooth Wireless Technology

Bluetooth: Short-range Wireless Communication

Local Area Networks NETW 901

Computer Networks. Wireless LANs

CS4/MSc Computer Networking. Lecture 13: Personal Area Networks Bluetooth

original standard a transmission at 5 GHz bit rate 54 Mbit/s b support for 5.5 and 11 Mbit/s e QoS

e-pg Pathshala Quadrant 1 e-text

Wireless Communications

Advanced Computer Networks WLAN

Wireless LANs/data networks

Lecture 16: QoS and "

4.3 IEEE Physical Layer IEEE IEEE b IEEE a IEEE g IEEE n IEEE 802.

Local Area Networks NETW 901

Hands-On Exercises: IEEE Standard

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Guide to Wireless Communications, Third Edition. Objectives

Mobile Communications Chapter 7: Wireless LANs

Wireless Local Area Networks. Networks: Wireless LANs 1

Wireless# Guide to Wireless Communications. Objectives

Data Communications. Data Link Layer Protocols Wireless LANs

A Guide. Wireless Network Library Bluetooth

CHAPTER 12 BLUETOOTH AND IEEE

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

MSIT 413: Wireless Technologies Week 8

Ad Hoc Nets - MAC layer. Part II TDMA and Polling

CS263: Wireless Communications and Sensor Networks

Wireless Sensor Networks

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Mobile Communications Chapter 7: Wireless LANs

Investigation of WLAN

Solving the Interference Problem due to Wireless LAN for Bluetooth Transmission Using a Non- Collaborative Mechanism. Yun-Ming, Chiu 2005/6/09

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Mobile Communications Chapter 7: Wireless LANs

Simulation of Bluetooth Network

Wireless Local Area Networks (WLANs) Part I

3.1. Introduction to WLAN IEEE

Bluetooth Demystified

Chapter 6 Wireless and Mobile Networks. Csci 4211 David H.C. Du

Guide to Wireless Communications, 3 rd Edition. Objectives

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

IEEE MAC Sublayer (Based on IEEE )

Embedded Systems. 8. Communication

Wireless Communication Session 4 Wi-Fi IEEE standard

Page 1. Wireless LANs: Design Requirements. Evolution. EEC173B/ECS152C, Winter Wireless LANs

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

Bluetooth. Renato Lo Cigno

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Vehicle Networks. Wireless Local Area Network (WLAN) Univ.-Prof. Dr. Thomas Strang, Dipl.-Inform. Matthias Röckl

Amarjeet Singh. February 7, 2012

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

Announcements : Wireless Networks Lecture 11: * Outline. Power Management. Page 1

ICE 1332/0715 Mobile Computing (Summer, 2008)

Wireless Local Area Part 2

BASEBAND SPECIFICATION

Enabling Technologies

Introduction to IEEE

Bluetooth Baseband. Chingwei Yeh 2001/9/10

Data and Computer Communications. Chapter 13 Wireless LANs

CSC344 Wireless and Mobile Computing. Department of Computer Science COMSATS Institute of Information Technology

Functions of physical layer:

Mohamed Khedr.

Mobile Communications Chapter 7: Wireless LANs

Overview of Wireless LANs

Chapter 7: Wireless LANs

Chapter 6 Medium Access Control Protocols and Local Area Networks

Chapter 7: Wireless LANs

ENRNG3076 : Oral presentation BEng Computer and Communications Engineering

By N.Golmie Presented by: Sushanth Divvela

Chapter 3.1 Acknowledgment:

IEEE WLANs (WiFi) Part II/III System Overview and MAC Layer

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

Introduction to Wireless Networking ECE 401WN Spring 2009

LECTURE 10. Wireless Local Area Networks and Bluetooth

12/2/09. Mobile and Ubiquitous Computing. Bluetooth Networking" George Roussos! Bluetooth Overview"

MAC in /20/06

Wireless LANs. ITS 413 Internet Technologies and Applications

Multimedia Communication Services Traffic Modeling and Streaming

IEEE Technical Tutorial. Introduction. IEEE Architecture

Mobile Radio Communications

Dominique Chomienne & Michel Eftimakis NewLogic

MOBILE COMPUTING. Jan-May,2012. ALAK ROY. Assistant Professor Dept. of CSE NIT Agartala.

Computer Communication III

Extending or Interconnecting LANS. Physical LAN segment. Virtual LAN. Forwarding Algorithm 11/9/15. segments. VLAN2, Port3. VLAN1, Port1.

WPAN-like Systems. UWB Ultra Wide Band. IrDA Infrared Data Association. Bluetooth. Z-Wave. WPAN Wireless Personal Area Network

Implementing A Bluetooth Stack on UEFI

Bluetooth. Basic idea

Computer Networks II Advanced Features (T )

Junseok Kim Wireless Networking Lab (WINLAB) Konkuk University, South Korea

By FaaDoOEngineers.com

WIRELESS LANS. By: M. Habibullah Pagarkar Mandar Gori Rajesh Jaiswal

The IEEE standard

Wireless Data Networking IEEE & Overview of IEEE b

WLAN 1 IEEE Basic Connectivity. Manuel Ricardo. Faculdade de Engenharia da Universidade do Porto

WIRELESS TECHNOLOGIES

BLUETOOTH AND IEEE WIRELESS PROTOCOLS:A SURVEY AND A COMPARISON (*)

WLAN 1 IEEE Manuel Ricardo. Faculdade de Engenharia da Universidade do Porto

02/21/08 TDC Branch Offices. Headquarters SOHO. Hot Spots. Home. Wireless LAN. Customer Sites. Convention Centers. Hotel

Multiple Access Links and Protocols

Mohammad Hossein Manshaei 1393

Transcription:

Wireless Local Area Network Internet Protocol Suite Application layer File transfer protocol Telnet Hypertext transfer protocol Transport layer Network layer Host-tonetwork layer User datagram protocol Transmission control protocol Internet protocol IEEE 802.11 Ethernet Data link layer Physical layer Logical link Medium Access 1

IEEE 802 LAN Family IEEE Institute of Electrical and Electronic Engineering Layers IEEE 802.2 LLC Logical link IEEE 802.3 Ethernet IEEE 802.4 Token bus IEEE 802.5 Token ring IEEE 802.11 Wireless Medium access Physical IEEE 802.11 WLAN IEEE Standard for Wireless LAN Medium Access (MAC) and Physical Layer (PHY) Specifications (1997) FHSS 2.4 GHz 1-2 Mbps DSSS 2.4 GHz 1-2 Mbps MAC IR 1-2 Mbps OFDM 5 GHz 6-54 Mbps (802.11a) DSSS/HR 2.4 GHz 1-11 Mbps (802.11b) 2

802.11 Network Topology (a) Independent Basic Service Set (IBSS) Ad hoc or peer-to-peer network (b) Infrastructure Basic Service Set (BSS) Access Point (i.e. Base Station) (a) (b) MT MT MT MT AP MT MT MT MT Physical layers in 802.11 The original PHY layers FHSS DSSS IR Extensions IEEE 802.11a OFDM IEEE 802.11b HR/DSSS 3

IEEE 802.11 PHY DSSS Direct Sequence Spread Spectrum ISM-band 2.45 GHz 1 Mbps uses DBPSK (Differential Binary Phase Shift Keying) 2 Mbps uses DQPSK (Differential Quadrature Phase Shift Keying) Spreading sequence: Barker word 11-bit Barker = {+1,-1,+1,+1,-1,+1,+1,+1,-1,-1,-1} Transmitted power 10 mw (Japan), 100 mw (Europe), 1000 mw (USA) IEEE 802.11 PHY FHSS Frequency Hopping Spread Spectrum ISM-band 2.45 GHz 1 Mbps uses GFSK (Gaussian Frequency Shift Keying) M = 2 2 Mbps uses GFSK (Gaussian Frequency Shift Keying) M = 4 79 frequency channels (Europe and US) and 23 frequency channels (Japan) 1 MHz channels Minimum 2.5 hops/second The same transmitting power as DSSS 4

IEEE 802.11 PHY Infrared Near-visible light as the transmission media Relies on light energy, reflected off objects or line of sight 1 Mbps uses 16-PPM (Pulse Position Modulation) 2 Mbps uses 4-PPM IEEE 802.11b PHY HR/DSSS ISM-band 2.45 GHz MSps = Mega Symbols per Second, CCK = Complementary Code Keying Data Rate Code Length Modulation Symbol Rate Bits/Symbol 1 Mbps 11 (Barker) DBPSK 1MSps 1 2 Mbps 11 (Barker) DQPSK 1MSps 2 5.5 Mbps 8 (CCK) DQPSK 1.375 MSps 4 11 Mbps 8 (CCK) DQPSK 1.375 MSps 8 5

IEEE 802.11a OFDM Orthogonal Frequency Division Multiplexing (also used by HiperLAN/2) Transfer rates 6, 9, 12, 18, 24, 36, 48 and 54 Mbps Multi-carrier technique 1960 s Used both in wireless and wired systems Wired systems Discrete Multi-Tone OFDM How it works Divide available frequency spectrum into narrower sub-carriers Transmitting simultaneously over a number of subcarriers IEEE 802.11a uses 52 channels for each transmission (48 data sub carriers and 4 pilot sub carriers) 6

OFDM How it works cont OFDM uses an over-lapping modulation technique (b) not usually used in multicarrier (a) systems Saving bandwidth (a) (b) Ch. 1....... Ch. 5 Frequency Frequency Saving of bandwidth Different Transfer Rates in OFDM Transfer rates 6 Mbps 9 Mbps 12 Mbps 18 Mbps 24 Mbps 36 Mbps 48 Mbps 54 Mbps Modulation BPSK BPSK QPSK QPSK 16-QAM 16-QAM 64-QAM 64-QAM Coding rate 1/2 3/4 1/2 3/4 1/2 3/4 2/3 3/4 7

IEEE 802.11 Medium Access Control All the five physical layers described earlier use the same Medium Access Control Layer Two different modes of gaining access Distributed Coordination Function (DCF) Point Coordination Function (PCF) Only in infrastructure BSS (i.e. network with AP) Priority-based access Time deterministic by using a polling scheme IEEE 802.11 MAC Responsibilities Controlling access to medium Reliable data delivery Fragmentation of frames (256-2346 byte) Roaming and authentication Power save functionality Control functions Addressing, frame check generation etc 8

IEEE 802.11 MAC DCF Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) Physical and virtual carrier sense (NAV) is used when a node wants to transmit Contention-based access Not time deterministic Acknowledgement used for every frame Backoff is used if medium is busy or frame is lost Medium reservation with RTS/CTS MAC Frame format Management, control and data frames Byte 2 6 18 2 6 0-2312 4 Frame Duration control ID Address Sequen Address field ce control field MAC Header Frame body FCS MAC Trail Duration ID = NAV (Virtual Carrier Sense) FCS = Frame Check Sequence (32-bit Cyclic Redundancy Check) 9

Timing in Packet Transmission SIFS = Short InterFrame Space DIFS = Distributed IFS PIFS = Priority IFS SIFS, DIFS, PIFS and Slot time PHY dependent Packet Transmission 10

Fragmented Packet Transmission Hidden node problem Coverage area cell Coverage area MT 1 MT 1 AP MT 2 Coverage area MT 2 RTS/CTS clears the cell 11

Packet Transmission with RTS/CTS Backoff/Defer Access When medium sensed busy or a packet/frame loss Backoff time based on the slot time Draw an integer from a uniform distribution between 0 and CW (Contention Window) The CW also PHY dependant Multiply the randomised number with the slot time Backoff time 12

Packet Transmission with Backoff Times Link adaptation Not specified in the IEEE 802.11 standard Uses signal strength/error rates on previous packet/frame transmissions 802.11a has eight rates Every rate has limited operating range Cell size fluctuates with the rate (lower rates have more robust coding schemes) Link adaptation is also called Dynamic Rate Shifting 13

MAC Management Synchronization In Infrastructured mode, MT synchronized with AP In ad hoc mode, MT synchronized with each other Power Management Wireless terminals have limited battery capacity Power safe features necessary Roaming MTs may enter a new BSS MTs must change AP (roam between cells) Handover in GSM Synchronization All STA in an infrastructure BSS are synchronized The AP maintains a clock The AP transmits periodic frames called Beacons containing a clock value Time between two beacons are called Beacons interval All STAs hearing the beacon updates their clock accordingly This prevents clock drifting The Beacon is transmitted using normal CSMA/CA Beacons may be delayed significantly 14

Synchronization cont Beacon interval Access Point B B B B Channel Time Stamp B Beacon Busy Time Power Management A MT may enter sleeping mode and turn of radio The AP maintains a list of MTs sleeping Packets destined for a MT are buffered at AP, these are sent when MT wakes up MT must wake up periodically to receive Beacons Beacons tell sleeping stations that they have buffered data MTs are required to stay awake for receiving buffered data 15

Alphabet soup in IEEE 802.11 802.11 (1997) Three different PHY layers (DSSS, FHSS, IR) 2.45 GHz MAClayer 802.11a (1999) PHY layer (OFDM) 5 GHz 802.11b (1999) PHY layer (HR/DSSS) 2.45 GHz Alphabet soup in IEEE 802.11 cont 802.11d (ongoing) Supplement to the MAC layer For supporting different output powers in different countries 802.11e (ongoing) Supplement to the MAC layer For providing QoS for time-sensitive traffic 802.11f (ongoing) Supplement to the MAC layer For achieving interoperability between different vendors 16

Alphabet soup in IEEE 802.11 cont 802.11g (ongoing) PHY standard 2.4 GHz and 5 GHz (dual band) 802.11h (ongoing) Supplement to the MAC layer For complying with the European regulations for 5 GHz Dynamic Frequency Selection (DFS) and Transmit Power Control (TPC) 802.11i (ongoing) Supplement to the MAC layer For increasing the security in the standard Cell size vs. Transfer rate 17

Range vs. Transfer rate Bluetooth 18

Introduction Universal short-range wireless capability Uses 2.4-GHz band Gaussian Frequency Shift Keying (GFSK) Available globally for unlicensed users Raw bit rate 1 Mbps Up to 720 kbps of information carrying capacity Supports open-ended list of applications Data, audio, graphics, video Introduction Data and voice access points Real-time voice and data transmissions Cable replacement Eliminates need for numerous cable attachments for connection Ad hoc networking Device with Bluetooth radio can establish connection with another when in range 19

Introduction Bluetooth is a layered protocol architecture Core protocols Cable replacement and telephony control protocols Adopted protocols Core protocols Radio Baseband Link manager protocol (LMP) Logical link control and adaptation protocol (L2CAP) Service discovery protocol (SDP) Introduction Cable replacement protocol RFCOMM Telephony control protocol Telephony control specification binary (TCS BIN) Adopted protocols PPP TCP/UDP/IP OBEX WAE/WAP 20

Introduction Network configurations Piconet Piconet Basic unit of Bluetooth networking Master and one to seven slave devices Master determines channel and phase slave 1 slave 3 master slave 2 21

Network configurations Scatternet slave 1 slave 3 master slave 4 master slave 5 slave 2 Inter-Piconet Jumping X Y SLAVE Ay SLAVE By SLAVE Ax MASTER X SLAVE Cxy native MASTER Y offset y SLAVE Bx offset x SLAVE Dy 22

Robust Operation Frequency hopping High interference protection 1600 hops/s 79 (or 23) channels 1 MHz spacing 220 µs switching time Fast acknowledge FEC CVSD voice Radio Classes Classes of transmitters Class 1: Outputs 100 mw (20dBm) Power control mandatory Provides greatest distance Class 2: Outputs 2.4 mw (4dBm) Power control optional Class 3: Output is 1 mw (0dBm) Lowest power 23

Addressing Bluetooth Device Address (BD_ADDR) 48-bit IEEE 802 address 24-bit lower address part (LAP) 8-bit upper address part (UAP) Active Member Address (AM_ADDR) 3-bit active slave address all-zero broadcast address Parked Member Address (PM_ADDR) 8-bit parked slave address Frequency Hopping Sequence Master BD_ADDR sequence Master CLOCK phase slave 1 slave 2 master slave 3 slave 4 24

Hop Selection Mechanism HOP SELECTION NATIVE CLK phase HOP sequence offset MASTER BD_ADDR FH/TDD Channel f(2k) f(2k+1) f(2k+2) master t slave t 625 µs 25

Multi-slot Packets 625 µs f(k) f(k+1) f(k+2) f(k+3) f(k+4) f(k+5) f(k) f(k+3) f(k+4) f(k+5) f(k) f(k+5) Packet Format 72 54 0-2745 access code packet header payload 26

Access Code 34 24 6 BCH LAP BRK 4 64 4 PREAMBLE SYNC WORD TRAILER LSB MSB Access Code Types Device Access Code (DAC): unit identifier derived from unit LAP Channel Access Code (CAC): channel identifier derived from master LAP Inquiry Access Code (IAC): reserved identifier derived from reserved address 27

Packet Header 3 4 1 1 1 8 AM_ADDR TYPE FLOW ARQN SEQN HEC parameter AM_ADDR TYPE FLOW ARQN SEQN HEC information slave active member address payload type LC flow control ACK/NAK retransmit ordering header error check Error Correction Forward-Error Correction (FEC) 1/3 rate: bit-repeat code 2/3 rate: (15,10) shortened Hamming code Automatic Retransmission Query (ARQ) 1-bit fast ACK/NAK 1-bit sequence number header piggy-backing 28

ARQ (I) RX CRC check TX ACK/NAK ACK/NAK retransmission new ARQ (II) MASTER A B B X C SLAVE 1 G F H SLAVE 2 Z Z NAK ACK 29

Physical Link Definition (I) Purpose: multi-media support Mixing: circuit switching packet switching Physical Link Definition (II) Synchronous Connection-Oriented (SCO) Link circuit switching symmetric, synchronous services slot reservation at fixed intervals Asynchronous Connection-Less (ACL) Link packet switching (a)symmetric, asynchronous services polling access scheme 30

Mixed Link Example MASTER SCO ACL SCO ACL ACL SCO SCO ACL SLAVE 1 SLAVE 2 SLAVE 3 Packet Types SEGMENT TYPE SCO link ACL link 1 2 3 4 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 NULL POLL FHS DM1 HV1 HV2 HV3 DV NULL POLL FHS DM1 DH1 AUX1 DM3 DH3 DM5 DH5 31

Link Control Packets ID packet IQ packet NULL packet POLL packet FHS packet Data Rates (kb/s) TYPE symmetric asymmetric DM1 108.8 108.8 108.8 DH1 172.8 172.8 172.8 DM3 256.0 384.0 54.4 DH3 384.0 576.0 86.4 DM5 286.7 477.8 36.3 DH5 432.6 721.0 57.6 32

State Transition Diagram Page Scan unit clock k k+1 k+2 1.28s scanf(k) sleep f(k+1) f(k+2) 11.25 ms 33

Page Transmission f(k) f(k+1) f (k) f (k+1) f(k+2) f(k+3) ID TX RX TX t 312.5 µs 1250 µs Page Trains A f(k-8) f(k-7) f(k) f(k+1) f(k+7) B f(k-16) f(k-15) f(k-9) f(k+8) f(k+15) 34

Page Response f(k) f(k+1) f (k) f (k+1) f(k+2) f(k+2) f(m) MASTER FHS ID ID ID ID f(k+1) SLAVE 625 µs Inquiry 1.25ms INQUIRER train A A A A A B A A A 10 ms STANDBY scan f(k) A sleep RAND1 f(k) f(k+1) f(k+1) f(k+2) A A sleep RAND2 A A 11.25 ms FHS FHS 35

Inquiry Response f(k) f(k+1) f (k) f (k+1) f(k+4) IQ IQ IQ f(k+1) FHS 625 µs Connection Setup 1.25ms MASTER train A A A A B B 10 ms FHS CONNECTION SLAVE scan f(k) B sleep f(k+1) B 11.25 ms 36

Low Energy Consumption Stand-by modes Low-voltage RF duty cycle % 100 90 80 70 60 50 40 30 20 10 0 RX sleep Operational States Stand-by, Scan Page, Inquiry Connection -active - hold -sniff - park 37

Active Park Standby master active slave parked slave standby Sniff Example MASTER ACL ACL ACL lost SLAVE 1 SNIFF INTERVAL SLAVE 2 38

Park Mode BEACON PM_ADDR active slave master parked slaves Park Example PARK INTERVAL MASTER BC ACL ACL BC SLAVE X SLAVE 2 SLAVE Y 39