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

Similar documents
Lecture 25: CSE 123: Computer Networks Alex C. Snoeren. 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

Wireless Local Area Network (IEEE )

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

IEEE Medium Access Control. Medium Access Control

Introduction to IEEE

Mohamed Khedr.

Mobile & Wireless Networking. Lecture 7: Wireless LAN

CMPE 257: Wireless and Mobile Networking

Local Area Networks NETW 901

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

Internet Protocol Stack

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

Wireless LANs. ITS 413 Internet Technologies and Applications

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

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless Local Area Networks. Networks: Wireless LANs 1

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

Chapter 7: Wireless LANs

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

Rahman 1. Application

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

Chapter 7: Wireless LANs

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

Mobile Communications Chapter 7: Wireless LANs

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

Unit 7 Media Access Control (MAC)

CMPE 257: Wireless and Mobile Networking

Multiple Access in Cellular and Systems

Hands-On Exercises: IEEE Standard

MAC in /20/06

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

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

Data Communications. Data Link Layer Protocols Wireless LANs

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

Wireless Networking & Mobile Computing

Advanced Computer Networks WLAN

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

Computer Communication III

MAC. Fall Data Communications II 1

Data and Computer Communications. Chapter 13 Wireless LANs

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

Lesson 2-3: The IEEE x MAC Layer

Mohammad Hossein Manshaei 1393

IEEE Technical Tutorial. Introduction. IEEE Architecture

CSE 6811 Ashikur Rahman

EE 122: Ethernet and

Mobile Communications Chapter 7: Wireless LANs

Lecture 17: Wireless Networking

Mobile Communications Chapter 7: Wireless LANs

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

Multiple Access Links and Protocols

Chapter 6 Wireless and Mobile Networks

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

IEEE MAC Sublayer (Based on IEEE )

Wireless & Mobile Networking

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

Nomadic Communications WLAN MAC Fundamentals

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

Link Layer. (continued)

Link Layer: Retransmissions

CSE 461: Multiple Access Networks. This Lecture

Investigation of WLAN

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

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

SENSOR-MAC CASE STUDY

Wireless MACs: MACAW/802.11

Media Access Control in Ad Hoc Networks

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

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

Wireless Local Area Networks (WLANs) Part I

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

MSIT 413: Wireless Technologies Week 8

Strengthening Unlicensed Band Wireless Backhaul

Chapter 12 Multiple Access 12.1

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

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.

IEEE WLAN (802.11) Copyright. Nomadic Communications

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

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

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

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

Aloha and slotted aloha

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 Wireless LANs

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

CS/ECE 439: Wireless Networking. MAC Layer Road to Wireless

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

Transcription:

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

About the final Similar in style to midterm Some combination of easy questions, short answer and more in-depth questions Sample final from 2010 on the Web site Closed book/notes, but one note sheet is fine Will focus more on second half of class Up until link-state lecture, material will probably only appear in TF or short-answer questions Link-state and on is fair game for more in-depth questions (esp TCP) Review session: Saturday at 2pm Pepper Canyon 122 2

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

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 4

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 5

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 6

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] 7

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 8

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 9

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. 10

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 11

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 12

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

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 14

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 15

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

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

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

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

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

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

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 22

That s all folks Remember to turn in Project 2 See you at the final 23