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

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

Lecture 16: QoS and "

Lecture 17: Wireless Networking"

Mobile Communications Chapter 7: Wireless LANs

CSE 461: Wireless Networks

Computer Networks. Wireless LANs

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Wireless Local Area Network (IEEE )

Introduction to IEEE

CMPE 257: Wireless and Mobile Networking

IEEE Medium Access Control. Medium Access Control

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Mohamed Khedr.

Local Area Networks NETW 901

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

Internet Protocol Stack

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

Wireless Local Area Networks. Networks: Wireless LANs 1

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

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

Chapter 7: Wireless LANs

Wireless LANs. ITS 413 Internet Technologies and Applications

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

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Chapter 7: Wireless LANs

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

Unit 7 Media Access Control (MAC)

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

CMPE 257: Wireless and Mobile Networking

Multiple Access in Cellular and Systems

Mobile Communications Chapter 7: Wireless LANs

Hands-On Exercises: IEEE Standard

Chapter 6 Medium Access Control Protocols and Local Area Networks

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Rahman 1. Application

Lecture 17: Wireless Networking

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Computer Communication III

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

MAC. Fall Data Communications II 1

Data Communications. Data Link Layer Protocols Wireless LANs

Data and Computer Communications. Chapter 13 Wireless LANs

Logical Link Control (LLC) Medium Access Control (MAC)

MAC in /20/06

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

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

Lesson 2-3: The IEEE x MAC Layer

IEEE Technical Tutorial. Introduction. IEEE Architecture

EE 122: Ethernet and

Wireless Networking & Mobile Computing

Mobile Communications Chapter 7: Wireless LANs

Advanced Computer Networks WLAN

Mobile Communications Chapter 7: Wireless LANs

Mohammad Hossein Manshaei 1393

Link Layer: Retransmissions

Chapter 6 Wireless and Mobile Networks

IEEE MAC Sublayer (Based on IEEE )

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

Link Layer. (continued)

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

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

Multiple Access Links and Protocols

Investigation of WLAN

Wireless & Mobile Networking

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

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

Nomadic Communications WLAN MAC Fundamentals

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

CSE 6811 Ashikur Rahman

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

Wireless Local Area Networks (WLANs) Part I

MSIT 413: Wireless Technologies Week 8

Outline. Introduction to Networked Embedded Systems - Embedded systems Networked embedded systems Embedded Internet - Network properties

Strengthening Unlicensed Band Wireless Backhaul

Chapter 12 Multiple Access 12.1

WLAN Performance Aspects

Wireless LAN -Architecture

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

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

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

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

Wireless MACs: MACAW/802.11

Lecture 4: Wireless MAC Overview. Hung-Yu Wei National Taiwan University

Media Access Control in Ad Hoc Networks

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

Aloha and slotted aloha

SENSOR-MAC CASE STUDY

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

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

IEEE WLAN (802.11) Copyright. Nomadic Communications

IEEE Wireless LANs

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

CSE 461: Multiple Access Networks. This Lecture

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

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

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

Wireless and Mobile Networks

Transcription:

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

Lecture 25 Overview 802.11 Wireless PHY layer overview Hidden Terminals Basic wireless challenge RTS/CTS Virtual carrier sense CSMA/CA Limits of half-duplex radios 2

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 3

802.11 Frame Format 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 Length future use, 00: 802.11 compliant q payload length HEC (Header Error Check) protection of signal, service and length, x 16 +x 12 +x 5 +1 128 16 8 8 16 16 variable bits synchronization SFD signal service length HEC payload PLCP preamble PLCP header 4

WLAN: 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 5

Physical Channels 12 channels available for use in the US Each channel is 22 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] 6

Carrier Sense Multiple Access CSMA: listen before transmit: If channel sensed idle: transmit entire pkt 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 7

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

CSMA/CA Cannot detect collision w/half-duplex radios 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. 9

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 10

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 Similar in spirit to Ethernet backoff 11

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

802.11 MAC Modes Distributed Coordination Function (DCF) CSMA/CA collision avoidance via randomized back-off mechanism minimum distance between consecutive packets ACK packet for acknowledgements (not for broadcasts) DCF w/ RTS/CTS Distributed Foundation Wireless MAC avoids hidden terminal problem Point Control Fuction (PCF) - optional Access point polls terminals according to a list We re not going to discuss 13

IEEE 802.11 DCF DCF is CSMA/CA protocol Uses a Network Allocation Vector (NAV) to implement collision avoidance (pkt specifies duration in header) Optionally uses RTS/CTS exchange to avoid hidden terminal problem Any node overhearing a CTS cannot transmit for the duration of the transfer Uses ARQ to provide reliability 14

IEEE 802.11 RTS = Request-to-Send RTS A B C D E F Pretending a circular range 15

IEEE 802.11 NAV = remaining duration to keep quiet RTS = Request-to-Send RTS A B C D E NAV = 10 F 16

IEEE 802.11 CTS = Clear-to-Send CTS A B C D E F 17

IEEE 802.11 CTS = Clear-to-Send CTS A B C D E F NAV = 8 18

IEEE 802.11 DATA packet follows CTS. Successful data reception acknowledged using ACK. DATA A B C D E F 19

IEEE 802.11 Reserved area ACK A B C D E F 20

802.11 Summary Common technology for local-area wireless Uses CSMA/CA Needs to handle hidden terminal problem Challenges due to asymmetric ranges But totally works! Modern versions work up > 1Gbps 21

That s all folks No more new material Remember to turn in Project 2 on time! Espresso Prize awarded at Final Letter grade for each day late Final review on Friday During regular class period 22