Wireless Networked Systems

Similar documents
MAC in /20/06

Optional Point Coordination Function (PCF)

Certified Wireless Network Administrator (CWNA) PW Chapter Medium Access. Chapter 8 Overview

Data Communications. Data Link Layer Protocols Wireless LANs

Computer Communication III

Mobile & Wireless Networking. Lecture 7: Wireless LAN

IEEE e Enhanced QoS

EVALUATION OF EDCF MECHANISM FOR QoS IN IEEE WIRELESS NETWORKS

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

IEEE e QoS for Wireless LAN:

Mohamed Khedr.

Advanced Computer Networks WLAN

Wireless Local Area Networks (WLANs) Part I

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

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

Introduction to IEEE

Unit 7 Media Access Control (MAC)

Lecture 16: QoS and "

Analysis of IEEE e for QoS Support in Wireless LANs

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

MAC. Fall Data Communications II 1

Mobile Communications Chapter 7: Wireless LANs

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

Wireless Communication Session 4 Wi-Fi IEEE standard

Local Area Networks NETW 901

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

. 14 Byte for Acks. Due to this fact, the overhead is more relevant if the data contained in packets is sent to high rates:

Department of Electrical and Computer Systems Engineering

Multiple Access Links and Protocols

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Data and Computer Communications. Chapter 13 Wireless LANs

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

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

CHAPTER 4 CALL ADMISSION CONTROL BASED ON BANDWIDTH ALLOCATION (CACBA)

Wireless Networks and Protocols

IEEE Wireless LANs

IEEE P Wireless Local Area Networks

A Novel Framework for Radio Resource Management in IEEE Wireless LANs

QoS Enhancement in IEEE Wireless Local Area Networks

QualNet Wireless Model Library

3.1. Introduction to WLAN IEEE

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

CSE 461: Wireless Networks

ECE442 Communications Lecture 3. Wireless Local Area Networks

Wireless Networks and Protocols

IEEE MAC Sublayer (Based on IEEE )

Computer Networks. Wireless LANs

IEEE Draft MAC PICS Proforma

IEEE Medium Access Control. Medium Access Control

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

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

Fairness and Transmission Opportunity Limit in IEEE802.11e Enhanced Distributed Channel Access

A new Traffic Separation Mechanism (TSm) in Wireless e Networks: A simulation study

Table of Contents 1 WLAN QoS Configuration 1-1

A Survey of QoS Techniques and Enhancements for IEEE Wireless LANs

Performance Evaluation of IEEE e

Lesson 2-3: The IEEE x MAC Layer

A Tool for Simulating IEEE e Contention-based Access

Quality of Service (QoS) Settings on AP541N Access Point

Simulating coexistence between y and h systems in the 3.65 GHz band An amendment for e

WLAN QoS. Mathilde Benveniste a

Institutionen för systemteknik Department of Electrical Engineering

Guide to Wireless Communications, Third Edition. Objectives

Wireless Communication

Mobile and Sensor Systems. Lecture 3: Infrastructure, Ad-hoc and Delay Tolerant Mobile Networks Dr Cecilia Mascolo

An energy-efficient MAC protocol for infrastructure WLAN based on modified PCF/ DCF access schemes using a bidirectional data packet exchange

On the Performance Enhancement of Wireless LAN - A Multi-polling Mechanism with Hidden Terminal Solution

Call Admission Control for IEEE Contention Access Mechanism

International Journal of Advanced Research in Computer Science and Software Engineering

Wireless Protocols. Training materials for wireless trainers

Wireless# Guide to Wireless Communications. Objectives

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

Performance evaluation of IEEE e

QualNet 4.0 Model Library: Wireless

Internet Protocol Stack

A SCHEME FOR IMPROVED DELAY AND FRAME DROP PROBABILITIES IN e NETWORKS

802.11MAC Fundamentals

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

Wireless LAN s (WLANs)

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

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

IEEE Wireless LANs Part I: Basics

Notes on the Inefficiency of e HCCA

Chapter 6 Medium Access Control Protocols and Local Area Networks

Mobile Communications I

Energy Efficiency in IEEE standard WLAN through MWTPP

Wireless Networks (MAC)

Expanding the use of CTS-to-Self mechanism to improving broadcasting on IEEE networks

Abstract. 1 Introduction. 2 Wireless LAN

A Proposal of Real-Time Publish-Subscribe Scheme Compatible with e Wireless Networks

Rahman 1. Application

Wireless Networks and Protocols

MAC. OSI Layer 2 (Data Link) OSI Layer 1 (Physical)

University of Nairobi. School of Computing and Informatics

Delivering Voice over IEEE WLAN Networks

ABHELSINKI UNIVERSITY OF TECHNOLOGY

Wireless Local Area Networks. Networks: Wireless LANs 1

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

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

CSE 6811 Ashikur Rahman

Transcription:

Wireless Networked Systems CS 795/895 - Spring 2013 Lec #6: Medium Access Control QoS and Service Differentiation, and Power Management Tamer Nadeem Dept. of Computer Science

Quality of Service (802.11e) & Service Differentiation Page 2 Spring 2013 CS 795/895 - Wireless Networked Systems

QoS (Quality of Service) QoS means in practice that real-time traffic experiences small delays and small delay variation (jitter) in the network. Streaming applications assume guaranteed bandwidth. Router Router AP IEEE 802.11 WLAN QoS support in the WLAN (especially radio interface) Router IP network (Internet) QoS support in IP networks One of the QoS solutions for IP networks is DiffServ. Traffic is divided into different priority classes. The priority class is indicated in the IP header. DiffServ-capable routers handle the traffic in different priority classes differently. Page 3 Spring 2013 CS 795/895 - Wireless Networked Systems

QoS solutions in 802.11 networks All 802 MAC schemes are Best Effort. But, Voice traffic : rather loss than delay Data traffic : no loss, less stringent delay Since traffic routing in WLAN networks is not based on IP, there must be different QoS solutions available: The 802.11 standard defines the Point Coordination Function (PCF) for carrying real-time traffic. This solution has not been widely implemented. There are proprietary solutions that try to differentiate realtime and non-real-time traffic in the WLAN. A number of advanced QoS solutions have been defined in the 802.11e standard (approved in 2005). Page 4 Spring 2013 CS 795/895 - Wireless Networked Systems

PCF (Point Coordination Function) Included in the 802.11 specifications, PCF was especially designed for delay-sensitive real-time services MAC extent Point Coordination Function (PCF) Intended for non-real-time traffic (Web browsing, file transport ) Distributed Coordination Function (DCF) based on CSMA/CA Page 5 Spring 2013 CS 795/895 - Wireless Networked Systems

PCF Operation CFP repetition interval (superframe) CFP CP (DCF) CFP repetition interval CFP CP (DCF) B Busy medium B B B = Beacon frame (sent by AP to indicate start of CFP) CPF = Contention-Free Period (reserved for real-time traffic) CP = Contention Period (normal DCF operation) Note the foreshortening of the CFP due to the busy medium (it is not possible to cut off active DCF transmissions) Page 6 Spring 2013 CS 795/895 - Wireless Networked Systems

PCF Operation (cont d) CFP CP (DCF) CFP CP (DCF) B Busy medium B B NAV NAV Undisturbed CFP operation is guaranteed in two ways: The NAV value in the beacon signal = length of CFP Usage of PIFS within CFP (instead of DIFS), PIFS < DIFS Page 7 Spring 2013 CS 795/895 - Wireless Networked Systems

PCF is based on polling, not CSMA/CA Poll WS1 Poll WS2 Poll WS3 + data CFP end PC (AP) Other CFP B CP SIFS SIFS SIFS PIFS SIFS SIFS NAV Set by beacon frame Page 8 Spring 2013 CS 795/895 - Wireless Networked Systems

Why 802.11e? The PCF option has never become popular in the industry. The PCF although designed for real-time applications does not offer extensive QoS. The shortcomings of PCF are: Differentiation between traffic classes is not possible No mechanisms for wireless stations to communicate QoS requirements to the access point The contention free period (CPF) length cannot be dynamically changed according to traffic needs Different maximum packet lengths cannot be enforced. Page 9 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e The major enhancement of 802.11e Traffic differentiation Concept of Transmission Opportunity (TXOP) Enhanced DCF (contention-based) HCF controlled channel access (contention free) Burst ACK (optional) Direct link protocol (DLP) Page 10 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e The 802.11e standard defines a new Hybrid Coordination Function (HCF) that offers two modes of operation: DCF HCF PCF EDCF HCCA Enhanced DCF (EDCF) is like DCF, but introduces different priority levels for different services. HCF Controlled Channel Access (HCCA) is a CSMA/CAcompatible polling-based access method (like PCF but without the shortcomings listed on the previous slide). Page 11 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e EDCF EDCF is based on dividing the traffic in the WLAN into different priority levels. Channel access is controlled by using four differentiating parameters: Minimum contention window size (CWmin) Maximum contention window size (CWmax) Arbitration Interframe Space (AIFS) = variable DIFS Transmission Opportunity (TXOP) specifies the time (maximum duration) during which a wireless station can transmit a series of frames. Page 12 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e EDCF The IEEE 802.1D standard defines four Access Categories (AC) for differentiating users corresponding to 8 priority levels Priorities are numbered from 0 (the lowest priority) to 7 (the highest priority) Page 13 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e EDCF The Access Categories can be implemented in the WLAN by using the corresponding parameter values (in addition to using different TXOP values) AC Application CWmin CWmax AIFSN 3 Background CWmin CWmax 2 2 Best Effort CWmin CWmax 1 1 Video (CWmin+1)/2-1 CWmin 1 0 Voice (CWmin+1)/4-1 (CWmin+1)/2-1 1 AIFS [AC] = AIFSN [AC] * aslottime + SIFS Page 14 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e EDCF AIFS[AC3] AIFS[AC2] AIFS[AC1] Voice Video SIFS SIFS AIFSN 2 slots 0 ~ 3 slots AIFSN 2 slots 0 ~ 7 slots AIFS[AC0] Assumptions: WME Default Parameters BackOff[AC3] + Frame Backoff values shown are for initial CW equal to CWmin = 15 BackOff[AC2] + Frame BackOff[AC1] + Frame ACK BackOff[AC0] + Frame Best Effort SIFS 3 slots AIFSN 0 ~ 15 slots Background SIFS 7 slots Minimum Wait AIFSN 0 ~ 15 slots Random Backoff Wait Page 15 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e EDCF Access category (AC) as a virtual DCF AC0 AC1 AC2 AC3 Multiple ACs contend independently The winning AC transmits frames B a c k o f f A I F S [ 0 ] B O [ 0 ] B a c k o f f A I F S [ 1 ] B O [ 1 ] B a c k o f f A I F S [ 2 ] B O [ 2 ] B a c k o f f A I F S [ 3 ] B O [ 3 ] Virtual Collision Handler Transmission Attempt Page 16 Spring 2013 CS 795/895 - Wireless Networked Systems

IEEE 802.11e HCCA HCCA is based on a Contention-Free Period (CFP) during which the access point uses polling for controlling the traffic in the WLAN, like PCF. The differences between HCCA and PCF are the following: HCCA can poll stations also during the Contention Period (CP). Stations can communicate their QoS requirements (data rate, delay, packet size ) to the access point. HCCA supports scheduling of packets based on the QoS requirements. HCCA grants a polled TXOP with duration specified in a QoS CF Poll frame. Page 17 Spring 2013 CS 795/895 - Wireless Networked Systems

MAC Enhancements in 802.11e The 802.11e standard also offers MAC enhancements: Contention Free Bursts (CFB) allows stations to send several frames in a row without contention, if the allocated TXOP permits. New ACK rules. For instance in applications where retransmission cannot be used due to the strict delay requirements, the ACK frame need not be used. Direct Link Protocol (DLP) enables communication between wireless stations directly without involving the access point (802.11z). Page 18 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Page 19 Spring 2013 CS 795/895 - Wireless Networked Systems

Motivation Mobile devices are battery powered Enhancement of battery life enhances network lifetime Idle/receive state dominates LAN adapter power consumption over time Power consumption of ORiNOCO WLAN Card Transmit mode Receive mode Idle mode Doze mode 1400mW 900mW 700mW 60mW Page 20 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Approaches Power management modes Active mode (AM) Power Save mode (PS) Power management in 802.11 Infrastructure vs. ad hoc network PCF vs. DCF Page 21 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Infrastructure DCF Allow idle station to go to sleep Stations state are stored in AP AP or source hosts buffer packets for hosts in PS mode. AP announces which station have frames buffered AP or sources send TIM periodically in Beacon. TIM = traffic indication map (a partial virtual bitmap associated with station id) TIM is associated with beacon. Power Saving stations wake up periodically Listen for Beacons to monitor TIM Page 22 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Infrastructure DCF If TIM indicates frame buffered station sends PS-Poll and stays awake to receive data else station sleeps again Broadcast/multicast frames are also buffered at AP These frames are sent only at delivery traffic indication map (DTIM) DTIM = time when multicast frames are to be delivered by AP, determined by AP - This time is indicated in the Beacon frames as DTIM Power Saving stations wake up prior to expected DTIM TSF assures AP and Power save stations are synchronized TSF timer keeps running when stations are sleeping Page 23 Spring 2013 CS 795/895 - Wireless Networked Systems

Infrastructure Power Management Operation Beacon-Interval DTIM Interval Time axis AP activity TIM (in Beacon): AP activity: Busy medium: DTIM: Broadcast: Poll PS station Page 24 Spring 2013 CS 795/895 - Wireless Networked Systems

Traffic Indication Map (TIM) To inform stations that frames are buffered, APs periodically assemble a TIM and transmit it in Beacon frames. The TIM is a virtual bitmap compose of 2,008 bits. Offsets are used to transmit only a small portion of the virtual bit-map. Each bit in the TIM corresponds to a particular AID. Setting the bit indicates that the AP has buffered unicast frames for the corresponding station. Stations must wake up to listen for Beacon frames to receive the TIM. By examining the TIM, a station can determine if the AP has buffered traffic on its behalf. To retrieve buffered frames, MSs use PS-Poll control frames. Page 25 Spring 2013 CS 795/895 - Wireless Networked Systems

Traffic Indication Map (TIM) When multiple stations have buffered frames, stations use the random backoff algorithm before transmitting the PS-Poll. The buffered frames must be positively acknowledged before it is removed from buffer. If multiple frames are buffered for a station, then the More Data bit in the Frame Control field is set to 1. Stations can then issue additional PS-Poll to AP until More Data bit is set to 0. After transmitting the PS-Poll, a mobile station must remain awake until either The polling transaction has concluded or The bit corresponding to its AID is no longer set in the TIM Page 26 Spring 2013 CS 795/895 - Wireless Networked Systems

Delivery TIM (DTIM) for Multicast/ Broadcast Frames are buffered whenever any station associated with the AP is sleeping. Buffered broadcast and multicast frames are saved used AID = 0. APs set the first bit in the TIM to 0. At a fixed number of Beacon intervals, a DTIM is sent. Buffered broadcast and multicast traffic is transmitted after a DTIM Beacon. Page 27 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Infrastructure PCF AP broadcasts beacon with TIM. Stations in PS mode checks TIM for their IDs. If there are buffered packets in AP, the host must remain in Active Mode until being polled. O/w, the station goes back to PS mode. Then AP polls those PS stations. When being polled, the station (in PS mode) sends PS-Poll to AP. Then AP sends buffered packets to the station. (See next page.) AP must poll stations in PS mode first. Page 28 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Infrastructure PCF Beacon_ Interval TIM TIM AP TIM Poll Data Poll Data STA 1 in PS mode PS-poll ACK STA 2 in PS mode PS-poll ACK Page 29 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Infrastructure PCF All CF-pollable stations need be in Active Mode when AP broadcasts DTIM. Immediately after DTIM, AP sends out the buffered broadcast/ multicast packets. AP DTIM Broadcast Data Beacon_ Interval TIM TIM STA 1 in PS mode STA 2 in PS mode Page 30 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Ad Hoc (IBSS) Power management is less efficient. Far more of the burden is placed on the sender to ensure that the receiver is active. Receiver must also be more available and cannot sleep for the same lengths of time. The Announcement TIM (ATIM) frame is a message to keep the transceiver on because there is a pending data frame. All stations in an IBSS listen for ATIM frames during specified periods after Beacon transmissions. In ATIM window, each source station having buffered packets to be sent contends to send out its ATIM. Stations that do not receive ATIM frames are free to conserve power. 31/49 Page 31 Spring 2013 CS 795/895 - Wireless Networked Systems

Power Management Ad Hoc (IBSS) ATIM Window Beacon Interval Beacon Receive ACK Receive ACK Station A Transmit ATIM Transmit Frame Receive ATIM Receive Frame Station B Transmit ACK Transmit ACK Page 32 Spring 2013 CS 795/895 - Wireless Networked Systems

ATIM Window Only certain control and management frames can be transmitted during the ATIM window. Beacons, RTS, CTS, ACK and ATIM frames. ATIM frames may be transmitted only during the ATIM window. ACKs are required for unicast ATIM frames. ACKs are not required for multicast ATIM frames. Buffered broadcast and multicast frames are transmitted after the conclusion of the ATIM window. After that, a station may attempt to transmit unicast frames announced with an ATIM and for which an ACK was received. Then, stations may transmit unbuffered frames to others that are known to be active. Page 33 Spring 2013 CS 795/895 - Wireless Networked Systems

Questions Page 34 Spring 2013 CS 795/895 - Wireless Networked Systems