Mobile & Wireless Networking. Lecture 7: Wireless LAN

Similar documents
Data Communications. Data Link Layer Protocols Wireless LANs

Computer Networks. Wireless LANs

MAC in /20/06

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

Mobile Communications Chapter 7: Wireless LANs

Introduction to IEEE

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

Chapter 7: Wireless LANs

Chapter 7: Wireless LANs

Wireless Communication Session 4 Wi-Fi IEEE standard

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

Lecture 16: QoS and "

ICE 1332/0715 Mobile Computing (Summer, 2008)

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

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

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

Local Area Networks NETW 901

Computer Communication III

Internet Protocol Stack

Advanced Computer Networks WLAN

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

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

Mohammad Hossein Manshaei 1393

3.1. Introduction to WLAN IEEE

Chapter 6 Medium Access Control Protocols and Local Area Networks

Guide to Wireless Communications, Third Edition. Objectives

Data and Computer Communications. Chapter 13 Wireless LANs

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

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

Optional Point Coordination Function (PCF)

Chapter 4 WIRELESS LAN

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

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

ECE442 Communications Lecture 3. Wireless Local Area Networks

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

Wireless Networked Systems

MAC. Fall Data Communications II 1

Wireless Local Area Networks (WLANs) Part I

Wireless LANs. ITS 413 Internet Technologies and Applications

Wireless# Guide to Wireless Communications. Objectives

Mohamed Khedr.

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

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

IEEE Integrated Communication Systems Group Ilmenau University of Technology

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

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

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

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

IEEE Wireless LANs

IEEE Technical Tutorial. Introduction. IEEE Architecture

IEEE MAC Sublayer (Based on IEEE )

IEEE Wireless LANs Part I: Basics

Wireless and Mobile Networks

Mobile Communications I

Wireless Protocols. Training materials for wireless trainers

Wireless LAN -Architecture

outline background & overview mac & phy wlan management security

Wireless Communication and Networking CMPT 371

Introduction to Wireless LAN

Wireless Local Area Network (IEEE )

Lesson 2-3: The IEEE x MAC Layer

Topic 4. Wireless LAN IEEE

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

Nomadic Communications WLAN MAC Fundamentals

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

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

Wireless Communications

MAC. OSI Layer 2 (Data Link) OSI Layer 1 (Physical)

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

Wireless Networking & Mobile Computing

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

Wireless Local Area Networks. Networks: Wireless LANs 1

CHAPTER 8: LAN Standards

Multiple Access Links and Protocols

Certified Wireless Network Administrator (CWNA) PW Chapter Medium Access. Chapter 8 Overview

Wireless and Mobile Networks 7-2

CSE 461: Wireless Networks

Analysis of IEEE e for QoS Support in Wireless LANs

MSIT 413: Wireless Technologies Week 8

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

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

Functions of physical layer:

Investigation of WLAN

Unit 7 Media Access Control (MAC)

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

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Overview. Wireless networks basics IEEE (Wi-Fi) a/b/g/n ad Hoc MAC protocols ad Hoc routing DSR AODV

Introduction to Wireless Networking CS 490WN/ECE 401WN Winter Lecture 4: Wireless LANs and IEEE Part II

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

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

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

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

Wireless Local Area Part 2

Lecture (08) Wireless Traffic Flow and AP Discovery

Outline. CS5984 Mobile Computing. IEEE 802 Architecture 1/7. IEEE 802 Architecture 2/7. IEEE 802 Architecture 3/7. Dr. Ayman Abdel-Hamid, CS5984

Introduction. Giuseppe Bianchi, Ilenia Tinnirello

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

Wireless Communication

Transcription:

192620010 Mobile & Wireless Networking Lecture 7: Wireless LAN [Schiller, Section 7.3] [Reader, Part 6] [Optional: "IEEE 802.11n Development: History, Process, and Technology", Perahia, IEEE Communications Magazine, July 2008] Geert Heijenk

Outline of Lecture 9 q Wireless LAN q General Characteristics / IEEE 802.11 standard q IEEE 802.11 Physical Layers q Medium Access Control l CSMA/CA l CSMA with RTS/CTS l MAC Quality of Service Enhancements q MAC Frame Format q MAC Management q IEEE 802.11: Important Developments 2

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

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

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

IEEE 802.11 - Architecture of an ad-hoc network 802.11 LAN Direct communication within a limited range STA 1 IBSS 1 STA 3 q Station (STA): terminal with access mechanisms to the wireless medium STA 2 q Independent Basic Service Set (IBSS): group of stations using the same radio frequency IBSS 2 STA 5 Exception: q IEEE 802.11p for Vehicular Networks: communication without setting up a basic service set. STA 4 802.11 LAN 6

IEEE standard 802.11 mobile terminal fixed terminal application TCP IP LLC access point LLC infrastructure network application TCP 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

IEEE 802.11 - Layers and functions MAC q access mechanisms, fragmentation, encryption MAC Management q synchronization, roaming, authentication, MIB, power management PLCP Physical Layer Convergence Protocol q clear channel assessment signal (carrier sense) PMD Physical Medium Dependent q modulation, coding PHY Management q channel selection, MIB Station Management q coordination of all management functions PHY DLC LLC MAC PLCP PMD MAC Management PHY Management Station Management 8

The Physical Layer q IEEE 802.11 l Direct Sequence Spread Spectrum (DSSS) PHY 2.4 GHz : RF : 1 2 Mbps l Frequency Hopping Spread Spectrum (FHSS) PHY 2.4 GHz : RF : 1-2 Mbps l Infrared (IR) PHY Indoor : IR : 1 and 2 Mbps q IEEE 802.11b l High Rate DSSS PHY 2.4 GHz : 5.5 Mbps 11 Mbps q IEEE 802.11a l OFDM PHY 5 GHz : 6-54 Mbps q IEEE 802.11g l OFDM PHY 2.4 GHz : 6-54 Mbps q IEEE 802.11n l OFDM PHY + MIMO (up to 4x4) + 40 MHz channel (instead of 20 MHz) Extension of a/g: 6.5 600 Mbps q IEEE 802.11ac l OFDM PHY + MIMO (up to 8x8) + Multi-User MIMO (up to 4 simultaneous users) + 80 MHz + 256 QAM extension of n in 5GHz: up to 4 x 1.69 Gbit/s q IEEE 802.11ad l WiGig in 60 GHz, upto 7 Gbps

IEEE 802.11a Data rate q 6, 9, 12, 18, 24, 36, 48, 54 Mbit/s, depending on SNR q User throughput (1500 byte packets): 5.3 (6), 18 (24), 24 (36), 32 (54) q 6, 12, 24 Mbit/s mandatory Transmission range q 100m outdoor, 10m indoor Frequency l 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 q Free 5 GHz ISM-band Special Advantages/Disadvantages q Advantage: fits into 802.x standards, free ISM-band, available, simple system, uses less crowded 5 GHz band q Disadvantage: stronger shading due to higher frequency 10

IEEE 802.11g Frequency q Free 2.4 GHz ISM-band q But shared with many legacy WLANs and other systems, e.g. Bluetooth Backward compatible with IEEE 802.11b Data rate (as 802.11a) q 6, 9, 12, 18, 24, 36, 48, 54 Mbit/s, depending on SNR q User throughput significantly lower in presence of 802.11b stations Transmission range q Somewhat higher than 802.11a Special Advantages/Disadvantages q Advantage: backward compatibility, better propagation conditions q Disadvantage: crowded band, lower speed due to backward compatibility 11

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

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

802.11 - MAC layer I Access methods q DCF CSMA/CA (mandatory) l collision avoidance via randomized back-off mechanism l minimum distance between consecutive packets l ACK packet for acknowledgements (not for broadcast) q DCF w/ RTS/CTS (optional) l reduces hidden terminal problem q PCF (optional) l access point polls terminals according to a list q HCF EDCA (optional) l CSMA/CA with priority levels q HCF CCA (optional) l Improved polling 14

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

802.11 - CSMA/CA access method (DCF) I DIFS DIFS contention window (randomized back-off mechanism) medium busy direct access if medium is free DIFS slot time next frame t q station ready to send starts sensing the medium (Carrier Sense based on CCA, Clear Channel Assessment) q if the medium is free for the duration of an Inter-Frame Space (IFS), the station can start sending (IFS depends on service type) q 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) q if another station occupies the medium during the back-off time of the station, the back-off timer stops (fairness) 16

802.11 - competing stations - simple version DIFS DIFS bo e bo r DIFS bo e bo r DIFS bo e busy station 1 bo e busy station 2 station 3 busy bo e busy bo e bo r station 4 bo e bo r bo e busy bo e bo r station 5 t busy medium not idle (frame, ack etc.) bo e elapsed backoff time packet arrival at MAC bo r residual backoff time 17

802.11 - Binary Exponential Backoff q Stations choose their backoff time randomly from contention window q Ideal contention window size is trade-of between acceptable load and experienced delay q Initial contention window size (CW min ) is 7 slots (backoff time between 0 and 7) q After collision (no ack), contention window is doubled until CW max = 255 is reached: 7 -> 15 -> 31 -> 63 -> 127 -> 255 18

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

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

Fragmentation sender receiver DIFS RTS SIFS CTS SIFS frag 1 SIFS ACK SIFS 1 frag 2 SIFS ACK2 other stations NAV (RTS) NAV (CTS) NAV (frag 1 ) NAV (ACK 1 ) DIFS contention data t 21

802.11e - MAC services (QoS support) Distributed Coordination Function Point Coordination Function (not implemented) + Hybrid Coordination Function (HCF) backward compatible with DCF HCF: HCF Controlled Channel Access (HCCA) Enhanced Distributed Channel Access (EDCA) Differentiation priority levels 4 access categories with separate queues in each STA 22

EDCA Multiple Access Categories with their own transmission queue Differentiation by means of: Arbitray Inter Frame Spacing (AIFS) Initial Contention Window (CW min ) Maximum Contention Window (CW max ) Transmission Opportunity Limit (TXOP Limit) 23

DCF Summary Immediate access when medium is free >=DIFS DIFS DIFS PIFS Contention Window SIFS Busy Medium Backoff-Window Next Frame Slot Time Defer Access Select Slot and Decrement Backoff as long as medium is idle 24

EDCA Operation (AIFS) AIFS[j] Immediate access when Medium is free >= DIFS/AIFS[i] DIFS/AIFS PIFS AIFS[i] DIFS Contention Window SIFS Busy Medium Backoff Slots Next Frame Slot Time Defer Access Select Slot and Decrement Backoff as long as medium is idle 25

802.11 MAC Frame format q q q q q Types q control frames, management frames, data frames Duration /ID q for NAV during RTS/CTS and fragmentation, and CFP Sequence control q important against duplicated frames due to lost ACKs Addresses q receiver, transmitter (physical), BSS identifier, sender (logical) Miscellaneous q checksum, frame control, data bytes 2 2 6 6 6 6 Duration/ Address Address Address Sequence ID 1 2 3 Control Frame Control Protocol version Type Subtype To DS More Frag Retry Power Mgmt 2 0-2312 4 Address Data 4 bits 2 2 4 1 1 1 1 1 1 1 1 From DS More Data WEP Order CRC 26

MAC address format scenario to DS from address 1 address 2 address 3 address 4 DS ad-hoc network 0 0 DA SA BSSID - infrastructure 0 1 DA BSSID SA - network, from AP infrastructure 1 0 BSSID SA DA - network, to AP 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 27

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

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

Synchronization using a Beacon (infrastructure) beacon interval access point medium B B B B busy busy busy busy value of the timestamp B beacon frame t 30

Synchronization using a Beacon (ad-hoc) beacon interval station 1 B 1 B 1 station 2 medium B 2 B 2 busy busy busy busy t value of the timestamp B beacon frame random delay 31

Power management Idea: switch the transceiver off if not needed States of a station: sleep and awake Timing Synchronization Function (TSF) q stations wake up at the same time Infrastructure Ad-hoc q Traffic Indication Map (TIM) l list of unicast receivers transmitted by AP q Delivery Traffic Indication Map (DTIM) l list of broadcast/multicast receivers transmitted by AP q Ad-hoc Traffic Indication Map (ATIM) l announcement of receivers by stations buffering frames l more complicated - no central AP l collision of ATIMs possible (scalability?) 32

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

Power saving with wake-up patterns (ad-hoc) ATIM window beacon interval station 1 B 1 A D B 1 station 2 B 2 B 2 a d B beacon frame random delay A transmit ATIM t D transmit data awake a acknowledge ATIM d acknowledge data 34

802.11 - Roaming No or bad connection? Then perform: Scanning q 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 q station sends a request to one or several AP(s) Reassociation Response q success: AP has answered, station can now participate q failure: continue scanning AP accepts Reassociation Request q signal the new station to the distribution system q the distribution system updates its data base (i.e., location information) q typically, the distribution system now informs the old AP so it can release resources 35

IEEE 802.11 standards and amendments 802.11e: MAC Enhancements QoS 802.11h: Spectrum Managed 802.11a (DCS, TPC) 802.11i: Enhanced Security Mechanisms IEEE 802.11-2007: new release of the standard that includes a, b, d, e, g, h, i & j. 802.11n: > 100 Mbps (MIMO) 802.11p: inter-vehicle communications 802.11s: Mesh Networking IEEE 802.11-2012: new release of the standard that includes k z. 802.11ac: 1 Gbps in 5 GHz band (> bw, > mimo-channels, 256 QAM) 802.11ad: 7 Gbps in 60 GHz band (a.o. beamforming) 36