Lecture 17: 802.11 Wireless Networking"



Similar documents
CS6956: Wireless and Mobile Networks Lecture Notes: 2/11/2015. IEEE Wireless Local Area Networks (WLANs)

CSE331: Introduction to Networks and Security. Lecture 6 Fall 2006

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Medium Access Control (MAC) Protocols for Ad hoc Wireless Networks - III

10. Wireless Networks

Lecture 7 Multiple Access Protocols and Wireless

COMP 3331/9331: Computer Networks and Applications

CSMA/CA. Information Networks p. 1

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Chapter 7 Low-Speed Wireless Local Area Networks

Markku Renfors. Partly based on student presentation by: Lukasz Kondrad Tomasz Augustynowicz Jaroslaw Lacki Jakub Jakubiak

MAC Algorithms in Wireless Networks

EECS 122: Introduction to Computer Networks Multiaccess Protocols. ISO OSI Reference Model for Layers

Express Forwarding : A Distributed QoS MAC Protocol for Wireless Mesh

How To Make A Multi-User Communication Efficient

Medium Access Control (MAC) and Wireless LANs

CS263: Wireless Communications and Sensor Networks

... neither PCF nor CA used in practice

IEEE WLAN (802.11) ...Copyright. Renato Lo Cigno

Adaptive DCF of MAC for VoIP services using IEEE networks

CSE 123A Computer Networks

Data Center Networks, Link Layer Wireless (802.11)

Random Access Protocols

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

IEEE Wireless LAN

Wiereless LAN

Wireless LAN Protocol CS 571 Fall Kenneth L. Calvert All rights reserved

Efficient MAC Protocol for Heterogeneous Cellular Networks (HC-MAC)

Protocolo IEEE Sergio Scaglia SASE Agosto 2012

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

Wireless LAN Concepts

Wireless Local Area Networks and the Standard

ECE 428 Computer Networks and Security

IEEE 802 Protocol Layers. IEEE Wireless LAN Standard. Protocol Architecture. Protocol Architecture. Separation of LLC and MAC.

ECE/CS 372 introduction to computer networks. Lecture 13

IEEE Technical Tutorial. Introduction. IEEE Architecture

TCP in Wireless Networks

Collision of wireless signals. The MAC layer in wireless networks. Wireless MAC protocols classification. Evolutionary perspective of distributed MAC

WiFi. Is for Wireless Fidelity Or IEEE Standard By Greg Goldman. WiFi 1

GTER 26 tudo o que você. quer saber sobre n

communication over wireless link handling mobile user who changes point of attachment to network

Introduction to Ad hoc Networks

An Investigation of the Impact of Signal Strength on Wi-Fi Link Throughput through Propagation Measurement. Eric Cheng-Chung LO

Wireless Personal Area Networks (WPANs)

Chapter 6: Wireless and Mobile Networks

WLAN Systems a tutorial. The Leader in Wireless LAN Testing

EPL 657 Wireless Networks

Frequency Hopping Spread Spectrum (FHSS) vs. Direct Sequence Spread Spectrum (DSSS) in Broadband Wireless Access (BWA) and Wireless LAN (WLAN)

Throughput Modeling in IEEE WLAN-based Wireless Networks

A Technical Tutorial on the IEEE Protocol

Wi-Fi Capacity Analysis for ac and n: Theory & Practice

Wireless Local Area Networking For Device Monitoring

Measuring the service level in the 2.4 GHz ISM band

TCOM 370 NOTES LOCAL AREA NETWORKS AND THE ALOHA PROTOCOL

IEEE n Enterprise Class Wireless LAN?

Introduction to IEEE Wireless LAN

Fibonacci Backoff Algorithm for Mobile Ad Hoc Networks

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

IEEE e WLANs / WMM. S.Rajesh (rajeshsweb@gmail.com) AU-KBC Research Centre, BroVis Wireless Networks, smartbridges Pte Ltd.

Performance Evaluation of a Binary Exponential Code Backoff Algorithm for IEEE Kang Sun

Enhanced Power Saving for IEEE WLAN with Dynamic Slot Allocation

Mobile Communications Exercise: Satellite Systems and Wireless LANs. Georg von Zengen, IBR, TU Braunschweig,

The Wireless Network Road Trip

Main Ways to Enhance Throughput

EETS 8316 Wireless Networks Fall 2013

Mustafa Ergen June 2002 Department of Electrical Engineering and Computer Science University of California Berkeley

Networks. Master of Science (Computer Science and Engineering), December 2004, 45 pp.,

Video Transmission over Wireless LAN. Hang Liu

WildPackets Guide to Wireless LAN Analysis

Next Generation Wireless Local Area Networks

An Overview of Wireless LAN Standards IEEE and IEEE e

How To Understand The Latest Wireless Networking Technology

LANs. Local Area Networks. via the Media Access Control (MAC) SubLayer. Networks: Local Area Networks

IEEE Wireless LAN Standard. Updated: 5/10/2011

WI-FI TECHNOLOGY: SECURITY ISSUES

WPAN. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

Chapter 6: Medium Access Control Layer

Hello viewers, welcome to today s lecture on cellular telephone systems.

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

3. TMT for IEEE g Networks

IEEE Ad Hoc Networks: Performance Measurements

Overview of Networks and Standards

Lab Exercise Objective. Requirements. Step 1: Fetch a Trace

Chapter 3: Spread Spectrum Technologies

Lecture 6.1 Introduction. Giuseppe Bianchi, Ilenia Tinnirello

CHAPTER. Wireless Networking

What is it all about? Some simple solutions. Multiple Access. Contexts for the multiple access problem. Outline. Contexts

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 5, September

Performance Evaluation Of Multiband CSMA/CA With RTS/CTS For M2M Communication With Finite Retransmission Strategy

MEDIUM ACCESS CONTROL PROTOCOLS FOR AD-HOC WIRELESS NETWORKS: A SURVEY

PREVENTING WIRELESS LAN DENIAL OF SERVICE ATTACKS

A TCP-like Adaptive Contention Window Scheme for WLAN

TABLE OF CONTENTS. Dedication. Table of Contents. Preface. Overview of Wireless Networks. vii xvii

APPLICATION NOTE. Atmel AT02845: Coexistence between ZigBee and Other 2.4GHz Products. Atmel MCU Wireless. Description. Features

Wireless and Mobile Networks

How To Understand The Power Of A Network On A Microsoft Ipa 2.5 (Ipa) (Ipam) (Networking) 2 (Ipom) 2(2

Performance Evaluation of Priority based Contention- MAC in Mobile Ad-Hoc Networks

In this Lecture" Access method CDMA" Mobile and Sensor Systems Lecture 2: Mobile Medium Access Control Layer and Telecommunications

Based on Computer Networking, 4 th Edition by Kurose and Ross

VoIP on WLAN, QoS issues and VoIP specifics

Transcription:

Lecture 17: 802.11 Wireless Networking" CSE 222A: Computer Communication Networks Alex C. Snoeren Thanks: Lili Qiu, Nitin Vaidya

Lecture 17 Overview" Project discussion Intro to 802.11 WiFi Jigsaw discussion 2

Project update" Second checkpoint due Thursday 1-2 page summary of your progress since last checkpoint Project presentations Tuesday 3/19 Sign up for a 25-minute slot between 8am and 2:30pm» 20 minute presentation (including all project members)» 3-4 minutes for questions You will be expected to attend at least 5 presentations and actively participate in discussion Reports due Thursday 3/21 by midnight 3

Infrastructure vs. Ad hoc" infrastructure network AP AP wired network AP: Access Point AP ad-hoc network 4

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

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

802.11 Physical Layers "" 802.11b - 2.4 GHz ISM band FHSS (Frequency hopping spread spectrum); deprecated DSSS (Direct sequence spread spectrum) Up to 11 Mbps 802.11a/g - 2.4 GHz ISM band / 5.0 GHz UNII band OFDM (Orthogonal frequency domain multiplexing) Up to 54 Mbps 802.11n 2.4/5.0 GHz bands Adds MIMO and other tricks to 802.11g Up to 300-500 Mbps! Each backwards compatible with the previous ones 7

IEEE 802.11b" Data rate 1, 2, 5.5, 11 Mbit/s User data rate max. approx. 6 Mbit/s Transmission range 300m outdoor, 30m indoor Max. data rate ~10m indoor Frequency Free 2.4 GHz ISM-band 8

802.11b Physical Channels" 12 channels available for use in the US Each channel is 20+2 MHz wide Only 3 orthogonal channels Using any others causes interference US (FCC)/Canada (IC) channel 1 channel 6 channel 11 2400 2412 2437 2462 2483.5 22 MHz [MHz] 9

Multipath Interference" Motivation for multicarrier modulation RF signals bounce off of objects (e.g., walls) Reflected signals travel different distances to receiver Difference in distance leads to difference in delay Limits effective modulation AirTight Networks rate in 802.11b 10

Orthogonal frequency division multiplexing (OFDM) Avoiding ISI: OFDM" Break data up into multiple separate streams Transmit each stream independently on different frequency Pack frequencies so that they are orthogonal AirTight Networks 11

802.11a/g/n ODFM PHY" Each 20-MHz channel divided into 50 subcarriers OFDM in 802.11 Subcarriers spaced appropriately, 4 used as pilots AirTight Networks 12

802.11n: MIMO" Use multiple physical antennae simultaneously Spatial multiplexing: split data cross antennae Space-Time Block Coding: same data, encoded differently Transmit beamforming: steer the signal toward the receiver 13

Carrier Sense Multiple Access" CSMA: listen before transmit If channel sensed idle: transmit entire packet If channel sensed busy, defer transmission Persistent CSMA: retry immediately with probability p when channel becomes idle (may cause instability) Non-persistent CSMA: retry after random interval But what about collisions? 14

CSMA/CA" Impossible to hear collision w/half-duplex radio Wireless MAC protocols often use collision avoidance techniques, in conjunction with a (physical or virtual) carrier sense mechanism Collision avoidance Nodes negotiate to reserve the channel. Once channel becomes idle, the node waits for a randomly chosen duration before attempting to transmit. 15

Hidden Terminal Problem" A B C B can communicate with both A and C A and C cannot hear each other Problem When A transmits to B, C cannot detect the transmission using the carrier sense mechanism If C transmits, collision will occur at node B Solution Hidden sender C needs to defer 16

RTS/CTS (MACA)" A B C When A wants to send a packet to B, A first sends a Request-to-Send (RTS) to B On receiving RTS, B responds by sending Clear-to- Send (CTS), provided that A is able to receive the packet When C overhears a CTS, it keeps quiet for the duration of the transfer Transfer duration is included in both RTS and CTS 17

Backoff Interval " Problem: With many contending nodes, RTS packets will frequently collide Solution: When transmitting a packet, choose a backoff interval in the range [0, CW] CW is contention window Wait the length of the interval when medium is idle Count-down is suspended if medium becomes busy Transmit when backoff interval reaches 0 Need to adjust CW as contention varies 18

MILD Algorithm in MACAW" MACAW uses exponential increase linear decrease to update CW When a node successfully completes a transfer, reduces CW by 1 In 802.11 CW is restored to CWmin In 802.11, CW reduces much faster than it increases MACAW can avoid wild oscillations of CW when many nodes contend for the channel 19

Cute Hack" We can use CTS to reserve the channel for ourselves Don t use RTS/CTS handshake, just back half Called a CTS-to-self, simply transmit CTS before our packet Doesn t solve hidden terminal, but does squelch Means stations don t need to be able to decode data frame 802.11g uses CTS-to-self to operate w/802.11b 11g stations always send a CTS before sending packets encoded in a way (ODFM) that 11b stations can t decode Much more efficient than full RTS/CTS 20

Challenge: Reliability" Wireless links are prone to errors. High packet loss rate detrimental to transport-layer performance. Mechanisms needed to reduce packet loss rate experienced by upper layers 21

Link-layer ARQ" When B receives a data packet from A, B sends an Acknowledgement (ACK) to A. If node A fails to receive an ACK, it will retransmit the packet A B C 22

Non-symmetric ranges" Interference range Carrier sense range DATA A B C D E F Transmit range 23

Other MACAW Features" Fairness: Normally, each node wins the channel with equal probability Nodes with multiple streams should be more aggressive Abandoned in 802.11. Why? Conservative collision avoidance Use a Data Sending (DS) packet to reserve the channel 802.11 uses different length intervals and the NAV Request-for-Request-to-Send Assume carrier sense range far larger than transmission range 24

802.11 - MAC management" Association/Reassociation integration into a LAN roaming, i.e. change networks by changing access points scanning, i.e. active search for a network Power management sleep-mode without missing a message periodic sleep, frame buffering, traffic measurements 25

Scanning" Goal: Find a network to connect Passive scanning Not require transmission Move to each channel, and listen for Beacon frames Active scanning Require transmission Move to each channel, and send Probe Request frames to solicit Probe Responses from a network 26

Association in 802.11" 1: Association request 2: Association response Client 3: Data traffic AP 27

Reassociation in 802.11" 1: Reassociation request 3: Reassociation response Client 5: Send buffered frames 6: Data traffic New AP 2: verify previous association Old AP 4: send buffered 28 frames

For Next Class " Read and review ExOR paper Keep going on projects! Checkpoint 2 due Thursday 29