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

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

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

Outline / Wireless Networks and Applications Lecture 9: Wireless LANs Aloha and 802 Wireless. Regular Ethernet CSMA/CD

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

Wireless Communication and Networking CMPT 371

Data and Computer Communications. Chapter 13 Wireless LANs

Wireless LAN -Architecture

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

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

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

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

Wireless LANs. ITS 413 Internet Technologies and Applications

Local Area Networks NETW 901

Mohamed Khedr.

Wireless Local Area Networks (WLANs) Part I

Wireless Communication and Networking CMPT 371

3.1. Introduction to WLAN IEEE

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

Data Communications. Data Link Layer Protocols Wireless LANs

15-441: Computer Networking. Wireless Networking

Chapter 6 Medium Access Control Protocols and Local Area Networks

Computer Networks. Wireless LANs

Wireless Local Area Networks. Networks: Wireless LANs 1

Lecture 16: QoS and "

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

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

Introduction to IEEE

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

Multiple Access in Cellular and Systems

Wireless Protocols. Training materials for wireless trainers

Wireless and Mobile Networks 7-2

Advanced Computer Networks WLAN

Mobile Communications Chapter 7: Wireless LANs

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

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Guide to Wireless Communications, Third Edition. Objectives

Chapter 6 Wireless and Mobile Networks

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

IEEE Wireless LANs

Mohammad Hossein Manshaei 1393

MSIT 413: Wireless Technologies Week 8

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

Lesson 2-3: The IEEE x MAC Layer

ECE442 Communications Lecture 3. Wireless Local Area Networks

IEEE MAC Sublayer (Based on IEEE )

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

CSE 461: Wireless Networks

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

Last Lecture: Data Link Layer

Wireless Communications

Wireless# Guide to Wireless Communications. Objectives

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

Mobile Communications Chapter 7: Wireless LANs

Multiple Access Links and Protocols

Wireless and Mobile Networks

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

Analysis of IEEE e for QoS Support in Wireless LANs

Shared Access Networks Wireless. 1/27/14 CS mywireless 1

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

MAC in /20/06

Computer Communication III

MAC. Fall Data Communications II 1

Wireless Local Area Network (IEEE )

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

Unit 7 Media Access Control (MAC)

Investigation of WLAN

Wireless LAN. Access Point. Provides network connectivity over wireless media

Hands-On Exercises: IEEE Standard

Topic 2b Wireless MAC. Chapter 7. Wireless and Mobile Networks. Computer Networking: A Top Down Approach

Wireless Communication Session 4 Wi-Fi IEEE standard

Data and Computer Communications

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

Wireless MACs: MACAW/802.11

Overview of Wireless LANs

Wireless LANs. Wireless Network

Introduction. Giuseppe Bianchi, Ilenia Tinnirello

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

IEEE Wireless LANs Part I: Basics

ECE 4450:427/527 - Computer Networks Spring 2017

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

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

CMPE 257: Wireless and Mobile Networking

Wireless Networking & Mobile Computing

IT220 Network Standards & Protocols. Unit 6: Chapter 6 Wireless LANs

Wireless Networks (MAC)

Transmission Control Protocol over Wireless LAN

IEEE Technical Tutorial. Introduction. IEEE Architecture

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

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Wireless Networking based on Chapter 15 of CompTIA Network+ Exam Guide, 4th ed., Mike Meyers

Lecture (08) Wireless Traffic Flow and AP Discovery

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

Optional Point Coordination Function (PCF)

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

Master thesis 60 credits

Mobile and Sensor Systems

Transcription:

Overview 15-441 15-441: Computer Networking 15-641 Lecture 21: Wireless Justine Sherry Peter Steenkiste Fall 2017 www.cs.cmu.edu/~prs/15-441-f17 Link layer challenges and WiFi WiFi Basic WiFi design Some deployment issues WiFi version Mobility Cellular 2 Spectrum Allocation in US Spectrum Use Comments Each country is in charge of spectrum allocation and use internally Federal Communication Commission (FCC) and National Telecommunication and Information Administration in the US Spectrum allocation differs quite a bit implications for mobile users? Broadly speaking two types of spectrum Licensed spectrum: allocated to licensed user(s) Unlicensed spectrum: no license needed but device must respect rules 3 4 1

Some IEEE 802.11 Standards IEEE 802.11a PHY Standard : 8 channels : up to 54 Mbps : some deployment IEEE 802.11b PHY Standard : 3 channels : up to 11 Mbps : widely deployed. IEEE 802.11d MAC Standard : support for multiple regulatory domains (countries) IEEE 802.11e MAC Standard : QoS support : supported by many vendors IEEE 802.11f Inter-Access Point Protocol : deployed IEEE 802.11g PHY Standard: 3 channels : OFDM and PBCC : widely deployed (as b/g) IEEE 802.11h Suppl. MAC Standard: spectrum managed 802.11a (TPC, DFS): standard IEEE 802.11i Suppl. MAC Standard: Alternative WEP : standard IEEE 802.11n MAC Standard: MIMO : significant improvements in throughput IEEE 802.11ac Support for multi-user MIMO IEEE 802.11ad WiFi in the 60 GHz band Frequency Bands Industrial, Scientific, and Medical (ISM) bands Unlicensed, 22 MHz channel bandwidth Extremely Low Audio Very Low 902-928 MHz 26 MHz Short Wave Radio AM Broadcast Low Medium High Very Ultra High High FM Broadcast Television Infrared wireless LAN Cellular (840MHz) NPCS (1.9GHz) Super High 2.4-2.4835 GHz 83.5 MHz (IEEE 802.11b and later) Infrared Visible Light Ultraviolet 5 GHz IEEE 802.11a and later X-Rays IEEE 802.11 Overview Features of 802.11 MAC protocol Adopted in 1997 with goal of providing Access to services in wired networks High throughput Highly reliable data delivery Continuous network connection, e.g. while mobile The protocol defines MAC sublayer MAC management protocols and services Several physical layers: IR, FHSS, DSSS, OFDM Wi-Fi Alliance is industry group that certifies interoperability of 802.11 products Supports MAC functionality Addressing CSMA/CA Error detection (FCS) Error correction (ACK frame) Flow control: stop-and-wait Fragmentation (More Frag) Collision Avoidance (RTS-CTS) 2

Infrastructure and Ad Hoc Mode 802.11: Infrastructure Mode Infrastructure mode: stations communicate with one or more access points which are connected to the wired infrastructure What is deployed in practice Two modes of operation: Distributed Control Functions - DCF Our Focus Point Control Functions PCF PCF is rarely used - inefficient Alternative is ad hoc mode: multi-hop, assumes no infrastructure Rarely used, e.g. military Hot research topic! STA 1 ESS 802.11 LAN 802.x LAN BSS 1 Access Portal Point Distribution System BSS 2 Access Point STA 2 802.11 LAN STA 3 Station (STA) terminal with access mechanisms to the wireless medium and radio contact to the access point Access Point station integrated into the wireless LAN and the distribution system Basic Service Set (BSS) group of stations using the same AP Portal bridge to other (wired) networks Distribution System interconnection network to form one logical network (ESS: Extended Service Set) based on several BSS Wireless Collision Avoidance Problem: two nodes, hidden from each other, transmit complete frames to base station Collision detection not feasible Rely on ACKs instead to detect packet loss Collisions waste bandwidth for long duration! Plus also exponential back off before retransmissions Solution: CA using small reservation packets Nodes track reservation interval with internal network allocation vector (NAV) This is called virtual carrier sense Note that nodes still do physical carrier sense Listen before you talk often works and is cheap 11 Collision Avoidance: RTS-CTS Exchange Explicit channel reservation Sender: send short RTS: request to send Receiver: reply with short CTS: clear to send CTS reserves channel for sender, notifying (possibly hidden) stations RTS and CTS short: collisions less likely, of shorter duration end result similar to collision detection Avoid hidden station collisions Not widely used (not used really) Overhead is too high Not a serious problem in typical deployments 12 3

IEEE 802.11 MAC Protocol DCF mode transmission without RTS/CTS RTS/CTS implemented using NAV: Network Allocation Vector NAV is also used with data packets 802.11 data frame has transmission time field Others (hearing data header) defer access for NAV time units But why do you need NAV if you can hear the header? Fading? Header is sent at lower bit rate 13 DIFS source destination other Data NAV SIFS Must defer access Ack DIFS CW Random backoff Not used in Ethernet WiFi is more concerned about collisions Exponential Backoff Now What about PCF? Force stations to wait for random amount of time to reduce the chance of collision Backoff period increases exponential after each collision Similar to Ethernet Also used when the medium is sensed as busy: Wait for medium to be idle for a DIFS (DCF IFS) period Pick random number in contention window (CW) = backoff counter Decrement backoff timer until it reaches 0 But freeze counter whenever medium becomes busy When counter reaches 0, transmit frame If two stations have their timers reach 0; collision will occur; After every failed retransmission attempt: increase the contention window exponentially 2 i 1 starting with CW min up to CW max e.g., 7, 15, 31, IEEE 802.11 combines random access with a taking turns protocol DCF (Distributed Coordination Mode) Random access CP (Contention Period): CSMA/CA is used PCF (Point Coordination Mode) Polling CFP (Contention-Free Period): AP polls hosts Basestation can control who access to medium Can offer bandwidth guarantees CFP CP Super-frame Extend CP FrameCFP Shortened CFP 4

PCF Operation Overview Overview PC Point Coordinator Uses polling eliminates contention Polling list ensures access to all registered stations Over DCF but uses a PIFS instead of a DIFS gets priority CFP Contention Free Period Alternate with DCF Periodic Beacon contains length of CFP NAV prevents transmission during CFP CF-End resets NAV CF-Poll Contention Free Poll by PC Stations can return data and indicate whether they have more data CF-ACK and CF-POLL can be piggybacked on data Link layer challenges and WiFi WiFi Basic WiFi design Some deployment issues WiFi version Mobility Cellular 18 Association Management Stations must associate with an AP before they can use the wireless network AP must know about them so it can forward packets Often also must authenticate Association is initiated by the wireless host involves multiple steps: 1. Scanning: finding out what access points are available 2. Selection: deciding what AP (or ESS) to use 3. Association: protocol to sign up with AP involves exchange of parameters 4. Authentication: needed to gain access to secure APs manyoptions possible Disassociation: station or AP can terminate association Static Channel Bitrate Adaptation Lower signal rates enable coverage of large additional area 11 Mbps 5.5 Mbps 2 Mbps 1 Mbps 5

Mobile Channel Pedestrian Infrastructure Deployments Frequency Reuse in Space 54 Mbps 48 Mbps 36 Mbps 24 Mbps 18 Mbps 11 Mbps 5.5 Mbps 2 Mbps 1 Mbps Set of cooperating cells with a base stations must cover a large area Cells that reuse frequencies should be as distant as possible to minimize interference and maximize capacity Minimizes hidden and exposed terminals 3D problem! Lots of measurements Frequencies are Precious Centralized Control 2.4 Ghz: 3 non-overlapping channels Plus lots of competition: microwaves and other devices 5 GHz: 20+ channels, but with constraints Power constraints, indoor/outdoor,.. Exact number and rules depend on the country 802.11n and ac: bonding of 2-8 channels And the world is not flat! Many WiFi deployments have centralized control APs report measurements Signal strengths, interference from other cells, load, Controller makes adjustments Changes frequency bands Adjusts power Redistributes load Can switch APs on/off Very sophisticated! Controller 6

Overview Link layer challenges and WiFi WiFi Basic WiFi design Some deployment issues WiFi version Mobility Cellular IEEE 802.11 Family Protocol Release Data Freq. Rate (typical) Rate (max) Range (indoor) Legacy 1997 2.4 GHz 1 Mbps 2Mbps? 802.11a 1999 5 GHz 25 Mbps 54 ~30 m Mbps 802.11b 1999 2.4 GHz 6.5 Mbps 11 ~30 m Mbps 802.11g 2003 2.4 GHz 25 Mbps 54 ~30 m Mbps 802.11n 2008 2.4/5 GHz 20/40 MHz 200 Mbps 600 Mbps ~50 m 802.11ac 2013 5 GHz 20 160 MHz 100s Mbps per user 1.3 Gbps ~50 m 802.11ad 2016 60 GHz Gbps 7 Gbps Short - room 25 802.11b Channels Going Faster: 802.11g In the UK and most of EU: 13 channels, 5MHz apart, 2.412 2.472 GHz In the US: only 11 channels Each channel is 22MHz Significant overlap Non-overlapping channels are 1, 6 and 11 1, 2, 5.5 and 11 Mbps rates using DSSS technology 802.11g basically extends bit rates of 802.11b Use the same technology DSSS for old rates (1,2, 5.5, 11) Uses OFDM technology for new rates (6 Mbs and up) OFDM is also used in 802.11a (next) so cards typically support both a and g (in addition to b) 802.11g creates an interoperability problem since 802.11b cards cannot interpret OFDM signals Solutions: send CTS using CCK before OFDM packets in hybrid environments, or use (optional) hybrid packet format Preamble Payload Header CCK CCK CCK OFDM OFDM CCK OFDM 7

802.11a Physical Channels 802.11a Discussion 36 40 44 48 52 56 60 64 channel# 5150 5180 5200 5220 5240 5260 5280 5300 5320 5350 [MHz] 149 153 157 161 channel# 5725 5745 5765 5785 5805 5825 [MHz] Point-Point Indoor center frequency = 5000 + 5*channel number [MHz] Uses OFDM in the 5.2 and 5.7 GHz bands OFDM is optimized for wireless channels: fights multi-path effects and frequency selective fading What are the benefits of 802.11a compared with 802.11b? Greater bandwidth (up to 54Mb) 54, 48, 36, 24, 18, 12, 9 and 6 Mbs Less potential interference (5GHz) More non-overlapping channels Less contention due to competition 802.11n uses MIMO to further Increase Transmission Rates Multiple-input and multiple-output Practically: nodes use multiple antennas (e.g., rabbit ears) N transmit antennas M receive antennas Can increase throughput significantly since you have multiple parallel channels between the nodes Use signal processing on sender and receiver to overcome the effects of mutual interference You need to learn the quality of the channels 31 MIMO Some Intuition M Input Streams Pre-processing M Output Streams N x M sub channels Fading on channels is largely independent Assuming antennas are separate ½ wavelength or more At any point in time, some channels will be good while others will be back adaptively give higher weigh to the good ones than the bad ones Pre and post processing undoes effects of the MxN channels Very effective if there is no direct line of sight Post-processing 8

Mechanisms Supported by MIMO 802.11ac Multi-user MIMO Extends beyond 802.11n MIMO: up to 8 x 8 channels (vs. 4 x 4) More bandwidth: up to 160 MHz by bonding up to 8 channels (vs. 40 MHz) More aggressive signal coding: 8 bit symbols instead of 6 bits Uses RTS-CTS for clear channel assessment Multi-gigabit rates (depends on configuration) Support for multi-user MIMO on the downlink Can support different frames to multiple clients at the same time Receiver extracts its packet from the signal Especially useful for smaller devices, e.g., smartphones And the Letter Zoo Continues: ad 802.11ad operates in the 60 GHz band Lots of spectrum available lots of bandwidth But range is limited and must have line of sight Some background: attenuation for wireless Loss = P t / P r = (4 d) 2 / (G r G t 2 ) = (4 f d) 2 / (G r G t c 2 ) Increases ^2 with distance and frequency! Loss due to obstacles also increases 60 GHz has short range; contained to rooms Does reflect off walls, etc. 802.11ad There is Good News There is lots of spectrum available @60 GHz Unlicensed band: 57-64 GHz Remember Shannon? 802.11ad does very aggressive beam forming Some background: Antenna arrays can be used to concentrate transmit power into beams to specific receivers Higher frequencies -> smaller antennas and narrower beams Also: larger arrays -> fine grain control over narrow beams Extends range and increases throughput How do we find the right beams? Iterative search process 36 37 9