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

Similar documents
Data Communications. Data Link Layer Protocols Wireless LANs

Wireless Protocols. Training materials for wireless trainers

Introduction to IEEE

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

MAC in /20/06

Optional Point Coordination Function (PCF)

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Guide to Wireless Communications, Third Edition. Objectives

Computer Communication III

Data and Computer Communications. Chapter 13 Wireless LANs

Chapter 6 Medium Access Control Protocols and Local Area Networks

IEEE Wireless LANs

Lecture 16: QoS and "

Wireless# Guide to Wireless Communications. Objectives

Mohamed Khedr.

Internet Protocol Stack

Computer Networks. Wireless LANs

Wireless Communication Session 4 Wi-Fi IEEE standard

Advanced Computer Networks WLAN

ABHELSINKI UNIVERSITY OF TECHNOLOGY

Wireless Networked Systems

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

MSIT 413: Wireless Technologies Week 8

Local Area Networks NETW 901

Unit 7 Media Access Control (MAC)

IEEE Technical Tutorial. Introduction. IEEE Architecture

CSE 461: Wireless Networks

Mobile Communications Chapter 7: Wireless LANs

Wireless Communication and Networking CMPT 371

Wireless LANs. ITS 413 Internet Technologies and Applications

3.1. Introduction to WLAN IEEE

Wireless LAN -Architecture

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

Multiple Access Links and Protocols

Chapter 7: Wireless LANs

Chapter 7: Wireless LANs

Chapter 6 Wireless and Mobile Networks

CSMC 417. Computer Networks Prof. Ashok K Agrawala Ashok Agrawala Set 5. November 16 CMSC417 Set 5 1

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

MAC. Fall Data Communications II 1

Wireless Communication and Networking CMPT 371

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

CHAPTER 8: LAN Standards

Wireless Local Area Networks (WLANs) Part I

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

IEEE Wireless LANs Part I: Basics

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

Lesson 2-3: The IEEE x MAC Layer

Last Lecture: Data Link Layer

Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. IEEE Computer Society

Enabling Technologies

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Wireless and Mobile Networks 7-2

IEEE Draft MAC PICS Proforma

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

IEEE MAC Sublayer (Based on IEEE )

CMPE 257: Wireless and Mobile Networking

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

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

Mobile Communications Chapter 7: Wireless LANs

Mohammad Hossein Manshaei 1393

CSC 4900 Computer Networks: Wireless Networks

Nomadic Communications WLAN MAC Fundamentals

Multiple Access in Cellular and Systems

Lecture (08) Wireless Traffic Flow and AP Discovery

Wireless Local Area Networks. Networks: Wireless LANs 1

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

INTRODUCTION TO WIRELESS LAN, MAC PROTOCOLS and INTERFERENCE. Choong Seon Hong, KHU

Mohammad Hossein Manshaei 1393

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

Mobile Communications Chapter 7: Wireless LANs

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

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

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

Transmission Control Protocol over Wireless LAN

Topic 4. Wireless LAN IEEE

ECE442 Communications Lecture 3. Wireless Local Area Networks

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

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

IEEE Medium Access Control. Medium Access Control

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

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

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

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

Wireless LANs. Outline. Outline II. Benefits Applications Technologies Issues Configurations Overview of Standard

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

ECE 435 Network Engineering Lecture 8

Wireless Security Protocol Analysis and Design. Artoré & Bizollon : Wireless Security Protocol Analysis and Design

CS263: Wireless Communications and Sensor Networks

Wireless Communications

Wireless and Mobile Networks

Wireless Intro : Computer Networking. Wireless Challenges. Overview. TCP on wireless links Wireless MAC Assigned reading.

Wireless Local Area Network (IEEE )

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

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

Introduction to Wireless LAN

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Master thesis 60 credits

Transcription:

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

The Medium Access Control Sublayer November 18 Nov 6, 2018 2

Wireless Networking Technologies November 18 Nov 6, 2018 3

Computer Network Types by Spatial Scope Nanoscale Near-field (NFC) Body (BAN) Personal (PAN) Near-me (NAN) Local (LAN) Home (HAN) Storage (SAN) Wireless (WLAN) Campus (CAN) Backbone Metropolitan (MAN) Wide (WAN) Cloud (IAN) Internet Interplanetary Internet Fall 2018 CMSC417 Set 1 WikiPedia NFC 4

Technologies IEEE 802.11 -- WiFi Bluetooth Zigbee Z Wave UWB RFID NFC Cellular GSM LTE WiMAX Fall 2018 CMSC417 Set 1 5

Characteristics Frequency ISM 900 MHz 2.4 GHz 5 Ghz Others Data Rates Range Infrastructure Fall 2018 CMSC417 Set 1 6

WiFi MAC Retry Counters Short retry counter Long retry counter Lifetime timer Basic Access Mechanism CSMA/CA Binary exponential back-off NAV Network Allocation Vector Timing Intervals: SIFS, Slot Time, PIFS, DIFS, EIFS DCF Operation PCF Operation November 18 Nov 6, 2018 7

Contention and Contention-Free Access The original 802.11 standard defined two general approaches for channel access Point Coordinated Function (PCF) for contention-free service an AP controls stations in the Basic Service Set (BSS) to insure that transmissions do not interfere with one another For example, an AP can assign each station a separate frequency In practice, PCF is never used Distributed Coordinated Function (DCF) for contention-based service arranges for each station in a BSS to run a random access protocol Wireless networks can experience a hidden station problem where two stations can communicate but a third station can only receive the signal from one of them 802.11 networks use CSMA/CA which requires a pair to exchange Ready To Send (RTS) and Clear To Send (CTS) messages before transmitting a packet November 6, 2018 8

WiFi Protocol CSMA-CA Fall 2018 CMSC417 Set 1 9

DCF Operation November 18 Nov 6, 2018 10

PCF Operation Poll eliminates contention PC Point Coordinator Polling List Over DCF PIFS (less than DIFS ~ 30 ms) CFP Contention Free Period Alternate with DCF Periodic Beacon contains length of CFP CF-Poll Contention Free Poll NAV prevents during CFP CF-End resets NAV November 18 Nov 6, 2018 11

802.11 MAC (2) Virtual channel sensing with the NAV and optional RTS/CTS (often not used) avoids hidden terminals Nov 6, 2018

The 802.11 MAC Sublayer Protocol (3) A fragment burst. November 18 Nov 6, 2018 13

Other MAC Operations Fragmentation Sequence control field In burst Medium is reserved NAV is updated by ACK Privacy WEP bit set when encrypted. Only the frame body. Medium is reserved NAV is updated by ACK Symmetric variable key WEP Details Two mechanism Default keys Key mapping WEP header and trailer KEYID in header ICV in trailer dot11undecryptablecount Indicates an attack. dot11icverrorcount Attack to determine a key is in progress. November 18 Nov 6, 2018 14

MAC Management Interference by users that have no concept of data communication. Ex: Microwave Interference by other WLANs Security of data Mobility Power Management November 18 Nov 6, 2018 15

Authentication Authentication Prove identity to another station. Open system authentication Shared key authentication A sends B responds with a text A encrypt and send back B decrypts and returns an authentication management frame. May authenticate any number of station. Security Problem A rogue AP SSID of ESS Announce its presence with beaconing A active rogue reach higher layer data if unencrypted. November 18 Nov 6, 2018 16

Association Association Transparent mobility After authentication Association request to an AP After established, forward data To BSS, if DA is in the BSS. To DS, if DA is outside the BSS. To AP, if DA is in another BSS. To portal, if DC is outside the ESS. Portal : transfer point : track mobility. (AP, bridge, or router) transfer 802.1h New AP after reassociation, communicates with the old AP. November 18 Nov 6, 2018 17

Address Filtering More than one WLAN Three Addresses Receiver examine the DA, BSSID Privacy MAC Function WEP Mechanism November 18 Nov 6, 2018 18

Power Management Independent BSS Distributed Data frame handshake Wake up every beacon. Awake a period of ATIM after each beacon. Send ACK if receive ATIM frame & awake until the end of next ATIM. Estimate the power saving station, and delay until the next ATIM. Multicast frame : No ACK : optional Overhead Sender Announcement frame Buffer Power consumption in ATIM Receiver Awake for every Beacon and ATIM November 18 Nov 6, 2018 19

Power Management Infrastructure BSS Centralized in the AP. Greater power saving Mobile Station sleeps for a number of beacon periods. Awake for multicast indicated in DTIM in Beacon. AP buffer, indicate in TIM Mobile requests by PS-Poll November 18 Nov 6, 2018 20

Synchronization Timer Synchronization in an Infrastructure BSS Beacon contains TSF Station updates its with the TSF in beacon. Timer Synchronization in an IBSS Distributed. Starter of the BSS send TSF zero and increments. Each Station sends a Beacon Station updates if the TSF is bigger. Small number of stations: the fastest timer value Large number of stations: slower timer value due to collision. Synchronization with Frequency Hopping PHY Layers Changes in a frequency hopping PHY layer occurs periodically (the dwell period). Change to new channel when the TSF timer value, modulo the dwell period, is zero November 18 Nov 6, 2018 21

Scanning & Joining Scanning Passive Scanning : only listens for Beacon and get info of the BSS. Power is saved. Active Scanning: transmit and elicit response from APs. If IBSS, last station that transmitted beacon responds. Time is saved. Joining a BSS Syncronization in TSF and frequency : Adopt PHY parameters : The BSSID : WEP : Beacon Period : DTIM November 18 Nov 6, 2018 22

Combining Management Tools Combine Power Saving Periods with Scanning Instead of entering power saving mode, perform active scanning. Gather information about its environments. Preauthentication Scans and initiate an authentication Reduces the time November 18 Nov 6, 2018 23

Coordination Among Access Points To what extent do APs need to coordinate? Many early AP designs were complex The access points coordinated to provide seamless mobility similar to the cellular phone system That is, the APs communicated amongst themselves to insure smooth handoff as a wireless computer moved from the region to another Some designs measured signal strength and attempted to move a wireless node to a new AP when the signal received at the new AP exceeded the signal strength at the existing AP November 6, 2018 24

Coordination Among Access Points Some vendors began to offer lower cost, less complex APs that do not coordinate The vendors argue that signal strength does not provide a valid measure of mobility a mobile computer can handle changing from one AP to another and that the wired infrastructure connecting APs has sufficient capacity to allow more centralized coordination A less complex AP design is appropriate in situations where an installation consists of a single AP November 6, 2018 25

Hidden Terminal A wireless LAN. (a) A and C are hidden terminals when transmitting to B. November 18 Nov 6, 2018 26

Exposed Terminal A wireless LAN. (b) B and C are exposed terminals when transmitting to A and D. November 18 Nov 6, 2018 27

RTS/CTS The MACA protocol. (a) A sending an RTS to B. (b) B responding with a CTS to A. November 18 Nov 6, 2018 28

Contention and Contention-Free Access November 6, 2018 29

Contention and Contention-Free Access Physical separation among stations and electrical noise makes it difficult to distinguish between weak signals, interference, and collisions Wi-Fi networks do not employ collision detection That is, the hardware does not attempt to sense interference during a transmission Instead, a sender waits for an acknowledgement (ACK) message If no ACK arrives, the sender assumes the transmission was lost and employs a backoff strategy similar to the strategy in wired Ethernet In practice, 802.11 networks that have few users and do not experience electrical interference seldom need retransmission However, other 802.11 networks experience frequent packet loss and depend on retransmission November 6, 2018 30

November 18 Nov 6, 2018 31

November 18 Nov 6, 2018 32