Advanced Computer Networks WLAN

Similar documents
Advanced Computer Networks. WLAN, Cellular Networks

Data Communications. Data Link Layer Protocols Wireless LANs

Computer Networks. Wireless LANs

Local Area Networks NETW 901

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

MAC in /20/06

Mobile Communications Chapter 7: Wireless LANs

Wireless Communication Session 4 Wi-Fi IEEE standard

Mobile Communications Chapter 7: Wireless LANs

ICE 1332/0715 Mobile Computing (Summer, 2008)

Computer Communication III

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Chapter 7: Wireless LANs

Data and Computer Communications. Chapter 13 Wireless LANs

Chapter 7: Wireless LANs

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

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

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

Mobile Communications Chapter 7: Wireless LANs

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

Guide to Wireless Communications, Third Edition. Objectives

3.1. Introduction to WLAN IEEE

Lecture 16: QoS and "

Wireless Local Area Networks (WLANs) Part I

Investigation of WLAN

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

Mobile Communications Chapter 7: Wireless LANs

Wireless# Guide to Wireless Communications. Objectives

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

Introduction to IEEE

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

Mohammad Hossein Manshaei 1393

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

Wireless Local Area Networks. Networks: Wireless LANs 1

Wireless Networked Systems

Wireless LAN -Architecture

Unit 7 Media Access Control (MAC)

IEEE Wireless LANs

Chapter 6 Medium Access Control Protocols and Local Area Networks

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

MAC. Fall Data Communications II 1

IEEE MAC Sublayer (Based on IEEE )

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

Wireless Communication and Networking CMPT 371

Hands-On Exercises: IEEE Standard

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

Wireless Communication and Networking CMPT 371

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

Analysis of IEEE e for QoS Support in Wireless LANs

ECE442 Communications Lecture 3. Wireless Local Area Networks

MSIT 413: Wireless Technologies Week 8

Mohamed Khedr.

Wireless Communications

Outline. Wireless Channel Characteristics. Multi-path Fading. Opportunistic Communication - with a focus on WLAN environments -

Wireless Protocols. Training materials for wireless trainers

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

Internet Protocol Stack

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

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

Wireless and WiFi. Daniel Zappala. CS 460 Computer Networking Brigham Young University

IEEE Wireless LANs Part I: Basics

Functions of physical layer:

Wireless and Mobile Networks 7-2

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

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

Multiple Access Links and Protocols

Medium Access Control. MAC protocols: design goals, challenges, contention-based and contention-free protocols

Transmission Control Protocol over Wireless LAN

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

Wireless LANs. ITS 413 Internet Technologies and Applications

Wireless and Mobile Networks

Wireless Networks. CSE 3461: Introduction to Computer Networking Reading: , Kurose and Ross

Wireless Local Area Network (IEEE )

EE 597: Wireless Networks (Spring 12)

Chapter 4 WIRELESS LAN

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

Enabling Technologies

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

Wireless Networks (MAC)

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

Wireless# Guide to Wireless Communications. Objectives

Wireless Networks (MAC) Kate Ching-Ju Lin ( 林靖茹 ) Academia Sinica

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

Delivering Voice over IEEE WLAN Networks

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

Optional Point Coordination Function (PCF)

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

Wireless Local Area Part 2

CHAPTER 8: LAN Standards

CHAPTER 11 WIRELESS LAN TECHNOLOGY AND THE IEEE WIRELESS LAN STANDARD

Wireless Networking & Mobile Computing

IEEE Integrated Communication Systems Group Ilmenau University of Technology

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

IEEE Technical Tutorial. Introduction. IEEE Architecture

Multimedia Communication Services Traffic Modeling and Streaming

CSC 4900 Computer Networks: Wireless Networks

Chapter 6 Wireless and Mobile Networks

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

Multiple Access in Cellular and Systems

Transcription:

Advanced Computer Networks 263 3501 00 WLAN Patrick Stuedi Spring Semester 2014 1 Oriana Riva, Department of Computer Science ETH Zürich

Last week Outlook Medium Access COPE Short Range Wireless Networks: Bluetooth Today 802.11 2

Overview of Wireless Networks Wireless Personal Area Networks (WPANs) IEEE 802.15.1 (Bluetooth), IrDa, Zigbee, sensor networks, etc. Wireless Local Area Networks (WLANs) IEEE 802.11, a, b, g, etc. (infrastructure and ad hoc) Cellular Networks GSM, UMTS, LTE, etc. 3

WLAN IEEE 802.11 4

802.11 Architecture: Infrastructure vs. ad hoc networks Infrastructure Network Communication through access point Ad Hoc Network Direct communication between nodes 5

802.11 Architecture of an infrastructure-based WLAN Station (STA) Terminal with access mechanisms to the wireless medium Basic Service Set (BSS) Group of stations using the same frequency Access point Fixed station communicating with the terminals Portal Bridge to other (wired) networks Distribution System Interconnection network to form one logical network (ESS: Extended Service Set) based on several BSS 6

802.11 Architecture of an infrastructure-less WLAN An ad hoc network is built by an 'Independent basic service set' (IBSS) same frequency Stations in different IBSSs cannot communicate with each other 7

802.11 Protocol Architecture 802.11 standard only covers physical layer and MAC layer 802.11 fits seamlessly into other 802.x networks (wired LAN) Behaves like a slow wired LAN 8

802.11 Protocol Architecture (2) PMD (Physical Medium Dependent Sublayer) Coding, modulation PLCP (Physical Layer Convergence Protocol) Carrier sensing, common PHY interface independent of the actual transmission technology MAC: medium access, fragmentation, etc PHY Management.: channel selection MAC Management.: LLC Synchronization, power MAC Station Management: PLCP coordination of all management functions PMD PHY DLC 9 MAC Management PHY Management S at iot

802.11 Protocol Architecture (2) PMD (Physical Medium Dependent Sublayer) Coding, modulation PLCP (Physical Layer Convergence Protocol) Carrier sensing, common PHY interface independent of the actual transmission technology MAC: medium access, fragmentation, etc PHY Management.: channel selection MAC Management.: LLC Synchronization, power MAC Station Management: PLCP coordination of all management functions PMD PHY DLC 10 Remember: advantages of layers MAC Management PHY Management S at iot

Physical Layer of different 802.11 Generations 802.11a Up to 54 Mbit/s, standard released 1999, 5GHz band PHY: Orthogonal frequency-division multiplexing (OFDM), Modulation (BPSK, QPSK, 16-QAM) 802.11b 1, 2. 5.5, 11 Mbit/s, standard released 1999, 2.4 GHz band PHY: Direct-sequence spread spectrum(dsss), Differential QPSK (DQPSK) 802.11g Up to 54 Mbit/s, standard released 2003, 2.4 GHz band OFDM, DBPSK, DSSS 802.11n 54 Mbit/s to 600 Mbit/s (in theory), standard released 2009, 2.4GHz and 5GHz band OFDM, Modulation (BPSK, QPSK, 16-QAM, 64-QAM), MIMO 802.11ac OFDM, multi-user MIMO, 256-QAM, 80 or 160 MHz channels 802.11ad Additional 60Ghz band Different generations have different physical layers, but MAC schemes and management functions are common 802.11g, n most commonly used today 11

Inter Symbol Interference 2.5 us symbol duration 1 us symbol between rays symbols at 400 ksps on first ray symbols at 400 ksps on second ray time Inter-symbol interference due to 40% overlap Department of Computer Science 12

Orthogonal frequency division multiplexing (OFDM) Idea: split the high bit rate stream into many lower bit rate streams, each stream sent using an independent carrier frequency If n symbols have to be transmitted, each subcarrier transmits n/c symbols with c being the number of subcarriers One symbol could, for example, represent 2 bits as in QPSK Each subcarrier uses its own modulation depending on the noise Primary advantage: robustness in the case of narrowband interference and frequency-selective fading due to multipath Department of Computer Science 13

Inter Symbol Interference with OFDM 10 us symbol duration 1 us symbol between rays symbols on first ray 4 sub-carriers 100 kbps persubcarrier f1 f2 f3 f4 symbols on second ray 4 sub-carriers 100 kbps persubcarrier f1 f2 f3 f4 time Reduced inter-symbol interference due to overlap of 10% overlap Department of Computer Science 14

OFDMA Orthogonal Frequency Division Multiple Access Each user (U1-U7 in figure) has a subset of subcarriers for a few time slots OFDMA systems use TDMA 2D scheduling: time+frequency Department of Computer Science 15

802.11 Channels 802.11b, g: 14 Channels defined (each 22 MHz wide) Most European countries only allow 13 channels to be used 802.11n: Additional 40MHz wide channels in the 5GHz band Typically an 802.11 access point chooses one particular channel to operate on All mobile devices connected to the access point have to transmit on the channel of the access point 16

Multi-rate Most 802.11 PHY standards allow support different data rates 802.11b supports 4 rates between 1-11Mbits 802.11g supports 11 rates between 1-54Mbits Bit-error rate (BER) depends on channel conditions (e.g. SINR) and data-rate Idea: sender chooses data rate dependent on channel conditions for optimal BER Basic loss estimation and rate change algorithm of Robust Rate Adaptation for 802.11 Wireless Networks, Mobicom'06: - Measure loss ratio over a window of packets - Adjust the data rate accordingly Department of Computer Science 17

802.11 Preambles Two different preamble formats Long: original, 144bits mandatory (802.11a,b) Short preamble: new, better for short packets and realtime traffic, 72bits, mandatory in 802.11g and newer Different parts of a packet are sent with different data rates Problem if stations with short preamble support and stations without short preamble support are mixed up in a BSS Department of Computer Science 18

Access methods: 802.11 MAC Distributed Coordination Function (DCF) - mandatory - CSMA/CA (carrier sense and backoff algorithm) DCF + RTS/CTS - optional - Avoids hidden/exposed terminal problem Point coordination function (PCF) - optional - Access point polls terminals according to a list DCF works in infrastructure and and ad hoc mode, PCF only in infrastructure mode 19

Inter-frame intervals (IFS) Three inter-frame intervals used by stations to access the medium (access priorities) SIFS (Short Inter Frame Spacing) - Highest priority: waittime used before short control messages (ACKs, polling response) in DCF mode PIFS (PCF inter-frame spacing) - Medium priority, used in PCF mode DIFS: lowest priority, waittime used before data packet in DCF mode 20

802.11 CSMA/CA Station ready to send starts sensing the medium If the medium is free for the duration of DIFS, the station can start sending if the medium is busy, the station has to wait for a free DIFS, then the station must additionally wait a random back-off time (multiple of slot-time) if another station occupies the medium during the back-off time of the station, the back-off timer stops (fairness) 21

Simple Scenario 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 22 bo r residual backoff time

How Collisions Get Detected in CSMA/CA? CSMA/CA = Collision Avoidance not Collision Detection Unicast packets Detection via missing ACK Broadcast packets No mechanism Typically have a much higher loss rate 23

Sending unicast packets CSMA/CA (2) A station has to wait for DIFS before sending data Receivers acknowledge at once (after waiting for SIFS) if the packet was received correctly Automatic retransmission of data packets in case of transmission errors (max. number of retransmissions limited) sender receiver other stations DIFS data SIFS waiting time 24 ACK DIFS contention data t

DCF with RTS/CTS After DIFS waittime, stations can send RTS with reservation parameter (specifies the amount of time the data packet needs the medium Receiver sends ACK after SIFS, sender sends data after SIFS Other nodes store medium reservations in network allocation vector (NAV), earliest time to access medium again 25

NAV Vector in PCF Mode 26 Access point splits time into super frame periods consisting of contention and contention-free periods Contention period uses CSMA/CA Contention-free period uses polling, PIFS < DIFS Access points communicates superframe time boundaries to stations (t0-t4) Stations set their NAV vector accordingly so that they don't issue DCF packets during contention-free period Start of contention free period gets shifted to t1 because of ongoing DCF traffic Contention free period ends early (t2) so AP signals CF-end

Power Management in 802.11 802.11 access points periodically send a beacon with a timestamp to synchronize all stations Power management implemented using beacons: beacons may contain a TIM or DTIM TIM = Traffic Indication Map, announces a set of unicast packet transmissions Contains the list of destinations of the buffered packets DTIM announces broadcast packet Stations always awake to receive 'T' and 'D' Stations stay awake if they are listed as receiver in 'D' or 'T' packet PS Poll = Power Saving Poll, request for unicast packet 27

References Robust Rate Adaptation for 802.11 Wireless Networks, Starsky Wong, Hao Yang, Songwu Lu, Vaduvur Bharghavan, Mobicom'06 28