Chapter 7: Wireless LANs

Similar documents
Chapter 7: Wireless LANs

Computer Networks. Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

Data Communications. Data Link Layer Protocols Wireless LANs

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

MAC in /20/06

Mobile Communications Chapter 7: Wireless LANs

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

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

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

Wireless Communication Session 4 Wi-Fi IEEE standard

Introduction to IEEE

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

Computer Communication III

Lecture 16: QoS and "

Chapter 4 WIRELESS LAN

Internet Protocol Stack

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Local Area Networks NETW 901

Advanced Computer Networks WLAN

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

IEEE Characteristics System Architecture Protocol Architecture Physical Layer. Power Management Roaming Current Developments

Mohammad Hossein Manshaei 1393

CS 348: Computer Networks. - WiFi (contd.); 16 th Aug Instructor: Sridhar Iyer IIT Bombay

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

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala. Fall 2018 CMSC417 Set 1 1

IEEE Integrated Communication Systems Group Ilmenau University of Technology

3.1. Introduction to WLAN IEEE

Guide to Wireless Communications, Third Edition. Objectives

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Wireless LANs. Outline. Outline II. Benefits Applications Technologies Issues Configurations Overview of Standard

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

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

Optional Point Coordination Function (PCF)

Mobile Communications I

Topic 4. Wireless LAN IEEE

IEEE Mobile Communication Networks (RCSE) Winter Semester 2011/12. Integrated Communication Systems Group Ilmenau University of Technology

Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. HW4 due NOW

WIRELESS LAN (WLAN) Efthyvoulos C. Kyriacou (PhD) Assoc. Prof. Computer Science and Engineering Department

IEEE Characteristics System Architecture Protocol Architecture Physical Layer. Power Management Roaming Current Developments

IEEE Technical Tutorial. Introduction. IEEE Architecture

Wireless# Guide to Wireless Communications. Objectives

MSIT 413: Wireless Technologies Week 8

Wireless LANs. ITS 413 Internet Technologies and Applications

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

Lecture 24: CSE 123: Computer Networks Stefan Savage. HW4 due NOW

Chapter 3.1 Acknowledgment:

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

Wireless Protocols. Training materials for wireless trainers

Investigation of WLAN

outline background & overview mac & phy wlan management security

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

Introduction to Wireless LAN

IEEE Wireless LANs Part I: Basics

Chapter 3: Overview 802 Standard

Wireless and Mobile Networks

Wireless Local Area Networks (WLANs) Part I

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

Enabling Technologies

IEEE Wireless LANs

Advanced Computer Networks. WLAN, Cellular Networks

MAC. Fall Data Communications II 1

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

Data and Computer Communications. Chapter 13 Wireless LANs

IEEE MAC Sublayer (Based on IEEE )

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

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

Nomadic Communications WLAN MAC Fundamentals

Wireless Networked Systems

Wireless Local Area Network (IEEE )

Functions of physical layer:

Hands-On Exercises: IEEE Standard

Wireless Local Area Networks. Networks: Wireless LANs 1

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

Media Access Control. Chapter 6. Ad Hoc and Sensor Networks. Roger Wattenhofer 6/1

Data and Computer Communications

Architecture. Copyright :I1996 IEEE. All rights reserved. This contains parts from an unapproved draft, subject to change

Multiple Access Links and Protocols

WLAN. Right, Gentlemen. The aim of our presentation is to give you detailed information on the topic WLAN (Wireless Local Area Network).

Overview of Wireless LANs

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

Mohamed Khedr.

Wireless LAN -Architecture

WLAN (802.11) Nomadic Communications. Renato Lo Cigno - Tel: Dipartimento di Ingegneria e Scienza dell Informazione

Page 1. Outline : Wireless Networks Lecture 11: MAC. Standardization of Wireless Networks. History. Frequency Bands

Lecture (08) Wireless Traffic Flow and AP Discovery

ECE442 Communications Lecture 3. Wireless Local Area Networks

Wireless and Mobile Networks 7-2

Wireless Networking & Mobile Computing

Wireless Communication and Networking CMPT 371

IEEE WLAN (802.11) Copyright. Nomadic Communications

Basic processes in IEEE networks

Internet Structure. network edge:

Multimedia Communication Services Traffic Modeling and Streaming

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Transcription:

Mobile Communications Chapter 7: Wireless LANs Characteristics IEEE 802.11 (PHY, MAC, Roaming,.11a, b, g, h, i, n z) Bluetooth / IEEE 802.15.x IEEE 802.16/.20/.21/.22 RFID Comparison Prof. Jó Ueyama courtesy from Prof. Dr. Jochen Schiller 7.1

Mobile Communication Technology according to IEEE (examples) WiFi Local wireless networks WLAN 802.11 802.11a 802.11h 802.11i/e/ /n/ /z 802.11b 802.11g ZigBee Personal wireless nw WPAN 802.15 802.15.4 802.15.4a/b/c/d/e 802.15.5,.6 (WBAN) 802.15.2 802.15.1 802.15.3 802.15.3b/c Bluetooth Wireless distribution networks WMAN 802.16 (Broadband Wireless Access) WiMAX + Mobility [802.20 (Mobile Broadband Wireless Access)] 802.16e (addition to.16 for mobile devices) 7.2

Main features of the existing wireless technologies 7.3

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... Disadvantages typically very low bandwidth compared to wired networks (1-10 Mbit/s) due to shared medium many proprietary solutions, especially for higher bit-rates, standards take their time (e.g. IEEE 802.11n) 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 7.4

Design goals for wireless LANs global, seamless operation low power for battery use (e.g. WSNs and cell phones) no special permissions or licenses needed to use the LAN robust transmission technology simplified spontaneous cooperation at meetings easy to use for everyone, simple management protection of investment in wired networks (i.e. interoperable with wired LANs) security (no one should be able to read my data), privacy (no one should be able to collect user profiles), safety (low radiation) transparency concerning applications and higher layer protocols, but also location awareness if necessary 7.5

Comparison: infrared vs. radio transmission Infrared uses IR diodes, diffuse light, multiple reflections (walls, furniture etc.) Advantages simple, cheap, available in many mobile devices no licenses needed simple shielding possible Disadvantages interference by sunlight, heat sources etc. many things shield or absorb IR light low bandwidth Example IrDA (Infrared Data Association) interface available everywhere Radio typically using the license free ISM band at 2.4 GHz Advantages experience from wireless WAN and mobile phones can be used coverage of larger areas possible (radio can penetrate walls, furniture etc.) Disadvantages very limited license free frequency bands shielding more difficult, interference with other electrical devices Example Many different products 7.6

Comparison: infrastructure vs. ad-hoc networks infrastructure network AP AP wired network AP: Access Point AP ad-hoc network 7.7

802.11 - Architecture of an infrastructure network Station (STA) 802.11 LAN STA1 802.x LAN Basic Service Set (BSS) BSS1 Portal Access Point station integrated into the wireless LAN and the distribution system Access Point ESS group of stations using the same radio frequency Access Point Distribution System Portal bridge to other (wired) networks BSS2 STA2 terminal with access mechanisms to the wireless medium and radio contact to the access point Distribution System 802.11 LAN STA3 interconnection network to form one logical network (EES: Extended Service Set) based on several BSS 7.8

802.11 - Architecture of an ad-hoc network Direct communication within 802.11 LAN STA1 a limited range Station (STA): terminal with access mechanisms to the wireless medium Independent Basic Service Set (IBSS): group of stations using the same radio frequency STA3 IBSS1 STA2 IBSS2 STA5 STA4 802.11 LAN 7.9

IEEE standard 802.11 fixed terminal mobile terminal infrastructure network access point application application TCP TCP IP LLC LLC Logical Link Control interface between different medias LLC IP LLC 802.11 MAC 802.11 MAC 802.3 MAC 802.3 MAC 802.11 PHY 802.11 PHY 802.3 PHY 802.3 PHY 7.10

802.11 - Layers and functions MAC PHY Management includes access mechanisms, fragmentation, encryption PLCP MAC Management PMD synchronization, roaming, MIB, power management Physical Layer Convergence Protocol clear channel assessment signal (carrier sense) Physical Medium Dependent modulation, coding, transforms bits into signals Station Management DLC LLC MAC MAC Management PHY PLCP PHY Management PMD coordination of all management functions Station Management 7.11

802.11 - Physical layer (legacy) 3 versions: 2 radio (typ. 2.4 GHz), 1 IR data rates 1 or 2 Mbit/s FHSS (Frequency Hopping Spread Spectrum) spreading, despreading Frequency multiplexing DSSS (Direct Sequence Spread Spectrum) Multiplexes by code (i.e. using a chipping code) Implementation is more complex than FHHS chipping sequence: +1, -1, +1, +1, -1, +1, +1, +1, -1, -1, -1 (Barker code) DATA XOR chipping code Infrared Wavelength around 850-950 nm, diffuse light, typ. 10 m range uses near visible light carrier detection, up to 4Mbits/s data rate 7.12

FHSS PHY packet format (legacy) Synchronization synch with 010101... pattern SFD (Start Frame Delimiter) 0000110010111101 start pattern PLW (PLCP_PDU Length Word) length of payload incl. 32 bit CRC of payload, PLW < 4096 PSF (PLCP Signaling Field) data rate of the payload (0000 -> the lowest data rate) HEC (Header Error Check) checksum with the standard ITU-T polynomial generator 80 synchronization 16 12 4 16 variable SFD PLW PSF HEC payload PLCP preamble bits PLCP header 7.13

DSSS PHY packet format (legacy) Synchronization synch., gain setting, energy detection, frequency offset compensation SFD (Start Frame Delimiter) 1111001110100000 Signal data rate of the payload (0A: 1 Mbit/s DBPSK; 14: 2 Mbit/s DQPSK) Service future use, 00: 802.11 compliant Length length of the payload HEC (Header Error Check) protected by checksum using ITU-T standard polynomial error check 128 synchronization 16 SFD PLCP preamble 8 8 16 16 signal service length HEC variable bits payload PLCP header 7.14

802.11 - MAC layer I - DFWMAC MAC layer has to fulfill several tasks including: control medium access support for roaming authentication power conservation In summary, it has two key tasks: traffic services access control 7.15

802.11 - MAC layer I - DFWMAC Traffic services (two implementations) Asynchronous Data Service (mandatory) exchange of data packets based on best-effort support of broadcast and multicast Time-Bounded Service (optional) implemented using PCF (Point Coordination Function) Access methods DFWMAC-DCF CSMA/CA (mandatory) collision avoidance via randomized back-off mechanism minimum distance between consecutive packets ACK packet for acknowledgements (not for broadcasts) DFWMAC-DCF w/ RTS/CTS (optional) Distributed Foundation Wireless MAC avoids hidden terminal problem DFWMAC- PCF (optional) access point polls terminals according to a list 7.16

802.11 - MAC layer II Priorities defined through different inter frame spaces no guaranteed, hard priorities SIFS (Short Inter Frame Spacing) highest priority, for ACK, CTS, polling response PIFS (PCF IFS) medium priority, for time-bounded service using PCF DIFS (DCF Inter frame spacing) lowest priority, for asynchronous data service DIFS medium busy DIFS PIFS SIFS direct access if medium is free DIFS contention next frame t 7.17

802.11 - CSMA/CA access method I station ready to send starts sensing the medium (Carrier Sense based on CCA, Clear Channel Assessment) if the medium is free for the duration of an Inter-Frame Space (IFS), the station can start sending (IFS depends on service type) if the medium is busy, the station has to wait for a free IFS, then the station must additionally wait a random back-off time (collision avoidance, multiple of slot-time) if another station occupies the medium during the back-off time of the station, the back-off timer stops (fairness) DIFS DIFS medium busy direct access if medium is free DIFS contention window (randomized back-off mechanism) next frame t slot time (20µs) 7.18

802.11 - competing stations - simple version DIFS DIFS station1 station2 DIFS boe bor boe busy DIFS boe bor boe boe busy boe bor boe boe busy busy station3 station4 boe bor station5 busy bor t busy medium not idle (frame, ack etc.) boe elapsed backoff time packet arrival at MAC bor residual backoff time 7.19

802.11 - CSMA/CA access method II Sending unicast packets station has to wait for DIFS before sending data receivers acknowledge at once (after waiting for SIFS) if the packet was received correctly (CRC) automatic retransmission of data packets in case of transmission errors DIFS sender data SIFS receiver ACK DIFS other stations waiting time data t contention 7.20

802.11 - DFWMAC Sending unicast packets station can send RTS with reservation parameter after waiting for DIFS (reservation determines amount of time the data packet needs the medium) acknowledgement via CTS after SIFS by receiver (if ready to receive) sender can now send data at once, acknowledgement via ACK other stations store medium reservations distributed via RTS and CTS DIFS sender RTS data SIFS receiver other stations CTS SIFS SIFS NAV (RTS) NAV (CTS) defer access ACK DIFS data t contention 7.21

Fragmentation DIFS sender frag1 RTS SIFS receiver CTS SIFS frag2 SIFS NAV (RTS) NAV (CTS) other stations ACK1 SIFS SIFS NAV (frag1) NAV (ACK1) ACK2 DIFS contention data t 7.22

DFWMAC-PCF I (almost never used) t0 t1 medium busy PIFS D1 point SIFS coordinator wireless stations stations NAV SuperFrame SIFS SIFS D2 SIFS U1 U2 NAV D downstream data U upstram data 7.23

DFWMAC-PCF II D downstream data U upstram data t2 point coordinator wireless stations stations NAV D3 PIFS SIFS D4 t3 t4 CFend SIFS U4 NAV contention free period contention period t 7.24

802.11 - Frame format Types control, management (e.g., beacon) and data frames 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 bytes 2 2 6 6 6 2 6 Frame Duration/ Address Address Address Sequence Address Control ID 1 2 3 Control 4 bits 2 2 4 1 1 1 1 1 1 1 0-2312 4 Data CRC 1 Protocol To From More Power More Type Subtype Retry WEP Order version DS DS Frag Mgmt Data 7.25

MAC address format scenario ad-hoc network infrastructure network, from AP infrastructure network, to AP infrastructure network, within DS to DS from DS 0 0 0 1 address 1 address 2 address 3 address 4 DA DA SA BSSID BSSID SA - 1 0 BSSID SA DA - 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 Address1 destination Address2 source (ACK will be sent to) Address3 filter (often it will carry BSSID addr) Address4 Address of the source Access Point 7.26

Special Frames: ACK, RTS, CTS Acknowledgement ACK Request To Send RTS Clear To Send bytes 2 2 6 Frame Receiver Duration Control Address CRC bytes 2 2 6 6 Frame Receiver Transmitter Duration Control Address Address bytes CTS 4 2 2 6 Frame Receiver Duration Control Address 4 CRC 4 CRC 7.27

802.11 - MAC management Synchronization try to find a LAN, try to stay within a LAN timer etc. Power management sleep-mode without missing a message periodic sleep, frame buffering, traffic measurements Association/Reassociation integration into a LAN roaming, i.e. change networks by changing access points scanning, i.e. active search for a network MIB - Management Information Base managing, read, write 7.28

Synchronization using a Beacon (infrastructure) beacon interval (20ms 1s) access point medium B B busy busy B busy B busy t value of the timestamp B beacon frame 7.29

Synchronization using a Beacon (adhoc) beacon interval station1 B1 B1 B2 station2 medium busy busy value of the timestamp B2 busy B busy beacon frame t random delay 7.30

Power management Idea: switch the transceiver off if not needed States of a station: sleep and awake Timing Synchronization Function (TSF) stations wake up at the same time 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?) APSD (Automatic Power Save Delivery) new method in 802.11e replacing above schemes 7.31

Power saving with wake-up patterns (infrastructure) TIM interval access point DTIM interval D B T busy medium busy T d D B busy busy p station d t T TIM D B broadcast/multicast DTIM awake p PS poll d data transmission to/from the station 7.32

Power saving with wake-up patterns (ad-hoc) ATIM window station1 B1 station2 B beacon frame awake beacon interval A B2 random delay B2 B1 D a d A transmit ATIM t D transmit data a acknowledge ATIM d acknowledge data 7.33

802.11 - Roaming No or bad connection? Then perform: Scanning scan the environment, i.e., listen into the medium for beacon signals or send probes into the medium and wait for an answer Reassociation Request station sends a request to one or several AP(s) Reassociation Response success: AP has answered, station can now participate failure: continue scanning AP accepts Reassociation Request signal the new station to the distribution system the distribution system updates its data base (i.e., location information) typically, the distribution system now informs the old AP so it can release resources Fast roaming 802.11r e.g. for vehicle-to-roadside networks 7.34

WLAN: IEEE 802.11b 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 DSSS, 2.4 GHz ISM-band Security Limited, WEP insecure, SSID Availability Many products, many vendors Connection set-up time Connectionless/always on Quality of Service Typ. Best effort, no guarantees (unless polling is used, limited support in products) Manageability Limited (no automated key distribution, sym. Encryption) Special Advantages/Disadvantages Advantage: many installed systems, lot of experience, available worldwide, free ISMband, many vendors, integrated in laptops, simple system Disadvantage: heavy interference on ISM-band, no service guarantees, slow relative speed only 7.35

IEEE 802.11b PHY frame formats Long PLCP PPDU format 128 16 synchronization SFD 8 8 16 16 signal service length HEC PLCP preamble bits variable payload PLCP header 192 µs at 1 Mbit/s DBPSK 1, 2, 5.5 or 11 Mbit/s Short PLCP PPDU format (optional) 56 short synch. 16 SFD 8 8 16 16 signal service length HEC PLCP preamble (1 Mbit/s, DBPSK) variable bits payload PLCP header (2 Mbit/s, DQPSK) 96 µs 2, 5.5 or 11 Mbit/s 7.36

Channel selection (non-overlapping) Europe (ETSI) channel 1 2400 2412 channel 7 channel 13 2442 2472 22 MHz 2483.5 [MHz] US (FCC)/Canada (IC) channel 1 2400 2412 channel 6 channel 11 2437 2462 22 MHz 2483.5 [MHz] 7.37

WLAN: IEEE 802.11a Data rate 6, 9, 12, 18, 24, 36, 48, 54 Mbit/s, depending on SNR User throughput (1500 byte packets): 5.3 (6), 18 (24), 24 (36), 32 (54) 6, 12, 24 Mbit/s mandatory Transmission range 100m outdoor, 10m indoor E.g., 54 Mbit/s up to 5 m, 48 up to 12 m, 36 up to 25 m, 24 up to 30m, 18 up to 40 m, 12 up to 60 m Frequency Free 5.15-5.25, 5.25-5.35, 5.725-5.825 GHz ISM-band Security Limited, WEP insecure, SSID Availability Connection set-up time Connectionless/always on Quality of Service Typ. best effort, no guarantees (same as all 802.11 products) Manageability Limited (no automated key distribution, sym. Encryption) Special Advantages/Disadvantages Advantage: fits into 802.x standards, free ISM-band, available, simple system, uses less crowded 5 GHz band Disadvantage: stronger shading due to higher frequency, no QoS Some products, some vendors 7.38

IEEE 802.11a PHY frame format 4 1 12 1 rate reserved length parity 6 16 tail service variable 6 variable payload tail pad bits PLCP header PLCP preamble 12 signal 1 6 Mbit/s data variable symbols 6, 9, 12, 18, 24, 36, 48, 54 Mbit/s 7.39

Operating channels of 802.11a in Europe 36 5150 40 44 48 52 56 60 64 channel 5180 5200 5220 5240 5260 5280 5300 5320 5350 [MHz] 16.6 MHz 100 5470 140 channel 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5725 [MHz] 16.6 MHz 104 108 112 116 120 124 128 132 136 center frequency = 5000 + 5*channel number [MHz] 7.40

Operating channels for 802.11a / US U-NII 36 5150 40 44 48 52 56 60 64 5180 5200 5220 5240 5260 5280 5300 5320 channel 5350 [MHz] 16.6 MHz 149 153 157 161 channel center frequency = 5000 + 5*channel number [MHz] 5725 5745 5765 5785 5805 5825 [MHz] 16.6 MHz 7.41

OFDM in IEEE 802.11a OFDM with 52 used subcarriers (64 in total) 48 data + 4 pilot (plus 12 virtual subcarriers) 312.5 khz spacing 312.5 khz pilot -26-21 -7-1 1 7 channel center frequency 21 26 subcarrier number 7.42