Optional Point Coordination Function (PCF)

Similar documents
MAC in /20/06

Data Communications. Data Link Layer Protocols Wireless LANs

Wireless Networked Systems

Introduction to IEEE

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Lecture 16: QoS and "

Wireless Protocols. Training materials for wireless trainers

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

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

Computer Communication III

IEEE Draft MAC PICS Proforma

Lecture (08) Wireless Traffic Flow and AP Discovery

Mobile Communications Chapter 7: Wireless LANs

Introduction to Wireless LAN

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

Enabling Technologies

Wireless Communication Session 4 Wi-Fi IEEE standard

ABHELSINKI UNIVERSITY OF TECHNOLOGY

Wireless LANs. ITS 413 Internet Technologies and Applications

IEEE MAC Sublayer (Based on IEEE )

Internet Protocol Stack

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

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

Introduction to IEEE Yu-Chee Tseng CS.NCTU. ieee802.11:1 WirelessNet Tseng

Mohamed Khedr.

IEEE P Wireless Local Area Networks

CSE 461: Wireless Networks

Multiple Access Links and Protocols

IEEE Medium Access Control. Medium Access Control

Computer Networks. Wireless LANs

Data and Computer Communications. Chapter 13 Wireless LANs

Nomadic Communications WLAN MAC Fundamentals

IEEE Technical Tutorial. Introduction. IEEE Architecture

Chapter 7: Wireless LANs

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Lesson 2-3: The IEEE x MAC Layer

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Basic processes in IEEE networks

Guide to Wireless Communications, Third Edition. Objectives

Chapter 7: Wireless LANs

Data and Computer Communications

Local Area Networks NETW 901

Wireless# Guide to Wireless Communications. Objectives

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

MAC. Fall Data Communications II 1

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

March 1996 doc.: IEEE P /49C Tutorial MAC Entity: MAC Basic Access Mechanism Privacy and Access Control. MAC Layer Management

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

Appendix A Pseudocode of the wlan_mac Process Model in OPNET

Wireless and Mobile Networks

IEEE WLAN (802.11) Copyright. Nomadic Communications

Unit 7 Media Access Control (MAC)

Advanced Computer Networks WLAN

3.1. Introduction to WLAN IEEE

IEEE Wireless LANs

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

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

ECE442 Communications Lecture 3. Wireless Local Area Networks

Overview. Wireless networks basics IEEE (Wi-Fi) a/b/g/n ad Hoc MAC protocols ad Hoc routing DSR AODV

IEEE Wireless LANs Part I: Basics

Wireless Networking & Mobile Computing

Wireless Local Area Networks (WLANs) Part I

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

Functions of physical layer:

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

Wireless LAN s (WLANs)

MSIT 413: Wireless Technologies Week 8

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

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

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

Master thesis 60 credits

Introduction. Giuseppe Bianchi, Ilenia Tinnirello

CHAPTER 8: LAN Standards

QualNet Wireless Model Library

Topic 4. Wireless LAN IEEE

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

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

ECE 435 Network Engineering Lecture 8

CSNT 180 Wireless Networking. Chapter 7 WLAN Terminology and Technology

Engineering Swarm- Services CS

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

Mohammad Hossein Manshaei 1393

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

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

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

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

Comments on the Draft standard version b2

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

IEEE Performance in an Ad-Hoc Environment 1

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless Networks (MAC)

IEEE e Enhanced QoS

WLAN Technology: LAN: a review WLAN: applications & key parameters. protocol architectures

Transcription:

Optional Point Coordination Function (PCF) Time Bounded / Async Contention Free Service PCF Optional DCF (CSMA/CA ) Async Contention Service MAC PHY Contention Free Service uses Point Coordination Function (PCF) on a DCF Foundation. PCF can provide lower transfer delay variations to support Time Bounded Services. Async Data, Voice or mixed implementations possible. Point Coordinator resides in AP. Coexistence between Contention and optional Contention Free does not burden the implementation. NCHU CSE CSMA/CA - 1

Point Coordination Function(PCF) The PCF provides contention free services. It is an option for a station to become the Point Coordinator(PC), which generates the Superframe (SF). The SF consists of a Contention Free (CF) period and a Contention Period. The length of a SF is a manageable parameter and that of the CF period may be variable on a per SF basis. 超級訊框 免競爭訊框 需競爭訊框 NCHU CSE CSMA/CA - 2

PCF Burst Contention Free Burst CFP repetition interval Busy Medium PIFS D1 U1 D2 U2 D3 No Up D4 U4 CF_End Contention Period Dx = AP-Frame SIFS Ux = Station-Frame Reset NAV NAV Min Contention Period CF-Burst by Polling bit in CF-Down frame. Immediate response by Station on a CF_Poll. Stations to maintain NAV to protect CF-traffic Responses can be variable length. Reset NAV by last (CF_End) frame from AP. "ACK Previous Frame" bit in Header. (piggyback) NCHU CSE CSMA/CA - 3

Valid Type/Subtype combinations 1/2 Type value b3 b2 Type description Subtype Value b7 b6 b5 b4 Subtype description 00 Management 0000 Association request 00 Management 0001 Association response 00 Management 0010 Reassociation request 00 Management 0011 Reassociation response 00 Management 0100 Probe request 00 Management 0101 Probe response 00 Management 0110-0111 Reserved 00 Management 1000 Beacon 00 Management 1001 Announcement traffic indication message (ATIM) 00 Management 1010 Disassociation 00 Management 1011 Authentication 00 Management 1100 Deauthentication 00 Management 1101-1111 Reserved Bits: 2 2 4 1 1 1 1 1 1 1 1 Protocol Version Type SubType To DS From DS More Frag Retry Pwr Mgt More Data WEP Order / rsrv Frame Control Field NCHU CSE CSMA/CA - 4

Valid Type/Subtype combinations 2/2 Type value Subtype Value Type description b3 b2 b7 b6 b5 b4 Subtype description 01 Control 000-1001 Reserved 01 Control 1010 Power Save (PS-Poll) 01 Control 1011 RTS 01 Control 1100 CTS 01 Control 1101 ACK 01 Control 1110 CF-End 01 Control 1111 CF-End + CF-Ack 10 Data 0000 Data 10 Data 0001 Data + CF-Ack 10 Data 0010 Data + CF-Poll 10 Data 0011 Data + CF-Ack + CF-Poll 10 Data 0100 Null function (no data) 10 Data 0101 CF-Ack (no data) 10 Data 0110 CF-Poll (no data) 10 Data 0111 CF-Ack + CF-Poll (no data) 10 Data 1000-1111 Reserved 11 Reserved 0000-1111 Reserved NCHU CSE CSMA/CA - 5

Point Coordination Function -- CFP structure and timing (1/2) The PC generates CFPs at the contention-free repetition rate (CFPRate), which is defined as a number of DTIM intervals. PCF Defers for Busy Medium CFP repetition interval CFP repetition interval Contention Free Period B PCF (Optional) Contention Period DCF Busy medium B PCF Variable Length "Reset NAV" Foreshortened CFP NAV CFP_Dur_remaining Value in beacon Beacons CFP Repetition Interval CFP CP DTIM DTIM DTIM CFP NCHU CSE CSMA/CA - 6

Infrastructure Beacon Generation Beacon Interval "Actual time" stamp in Beacon X X X X Time Axis Beacon Busy Medium APs send Beacons in infrastructure networks. Beacons scheduled at Beacon Interval. Transmission may be delayed by CSMA deferral. subsequent transmissions at expected Beacon Interval next Beacon sent at Target Beacon Transmission Time (TBTT) not relative to last Beacon transmission Timestamp contains timer value at transmit time. NCHU CSE CSMA/CA - 7

Point Coordination Function -- CFP structure and timing (2/2) The length of the CFP is controlled by the PC, with maximum duration specified by the value of the CFP- MaxDuration Parameter Set at the PC. (broadcast by Beacon & probe response) Because the transmission of any beacon may be delayed due to a medium busy, a CFP may be foreshortened by the amount of the delay. The CFPDurRemaining value in the beacon shall let the CFP end time no later than TBTT plus the value of CF MaxDuration. Target Beacon Transmission Time CF MaxDuration Beacon Frame DCF Traffic B Nominal CF repetition interval Contention Period Max RTS+CTS+ MPDU+ACK Contention-Free Period (foreshortened) NCHU CSE CSMA/CA - 8

PCF Access Procedure (1/2) The PCF protocol is based on a polling scheme controlled by one special STA per BSS called the Point Coordinator (PC). The PC gains control of the medium at the beginning of the CF and maintains control for the entire CF period by waiting a shorter time between transmissions. At the beginning of the CF, the PCF shall sense the medium. If it is free the PCF shall wait a PIFS time and transmit a Data frame with the CF-Poll Subtype bit set, to the next station on the polling list, or a CF-End frame, if a null CF period is desired. NCHU CSE CSMA/CA - 9

PCF Access Procedure (2/2) The PCF uses the PCF priority level protocol. The shorter PIFS gap causes a burst traffic with inter-frame gaps that are shorter than the DIFS gap needed by stations using the Contention Period. Each station, except the station with the PCF, shall preset it's NAV to the maximum CF-Period length at the beginning of every SF. The PCF shall transmit a CF-End or CF-End+Ack frame, at the end of the CF-Period, to reset the NAV of all stations in the BSS. NCHU CSE CSMA/CA - 10

PCF Transfer Procedure PCF Transfers When the PCF Station is Transmitter or Recipient Stations shall respond to the CF-Poll immediately when a frame is queued, by sending this frame after an SIFS gap. This results in a burst of Contention Free traffic (CF-Burst). For services that require MAC level ack, the ack is preferably done through the CF-Ack bit in the Subtype field of the responding CF-Up frame. SIFS D1+Poll SIFS CFP Super Frame Ack+Poll D2+Ack+Poll SIFS PIFS D4+Poll CF-End+Ack SIFS CP Busy PIFS B CF-D1 CF-U1 SIFS U1+Ack CF-D2 CF-D3 CF-U2 SIFS U2+Ack CF-D4 CF-End CF-U4 SIFS U4+Ack Reset NAV CF_Max_Duration NAV Dx = Down Traffic Ux = Up Traffic NCHU CSE CSMA/CA - 11

MAC Management Layer Synchronization finding and staying with a WLAN Synchronization functions» TSF Timer, Beacon Generation Power Management sleeping without missing any messages Power Management functions» periodic sleep, frame buffering, Traffic Indication Map Association and Reassociation Joining a network Roaming, moving from one AP to another Scanning Management Information Base Timing Synchronization Function (TSF) NCHU CSE CSMA/CA - 12

Synchronization in 802.11 Timing Synchronization Function (TSF) Used for Power Management» Beacons sent at well known intervals» All station timers in BSS are synchronized Used for Point Coordination Timing» TSF Timer used to predict start of Contention Free burst Used for Hop Timing for FH PHY» TSF Timer used to time Dwell Interval» All Stations are synchronized, so they hop at same time. NCHU CSE CSMA/CA - 13

Synchronization Approach All stations maintain a local timer. Timing Synchronization Function keeps timers from all stations in synch AP controls timing in infrastructure networks distributed function for Independent BSS Timing conveyed by periodic Beacon transmissions Beacons contain Timestamp for the entire BSS Timestamp from Beacons used to calibrate local clocks Not required to hear every Beacon to stay in synch Beacons contain other management information» also used for Power Management, Roaming NCHU CSE CSMA/CA - 14

Beacon Generation (*) In Infrastructure AP defines the abeaconperiod for transmitting beacons abeaconperiod is broadcast by beacon and probe response may delayed by using CSMA/CA for transmitting data of others In IBSS all members participate in beacon generation The IBSS initiator defines the abeaconperiod At each TBTT, STA shall» suspend the decrementing backoff timer for any non-beacon or non-atim transmission» calculate a random delay from [0, 2*(CWmin*Slot_time)]» backoff the selected random delay» If a beacon is detected, give up sending beacon and decrementing backoff timer» otherwise, transmit beacon NCHU CSE CSMA/CA - 15

Power Management Mobile devices are battery powered. Power Management is important for mobility. Current LAN protocols assume stations are always ready to receive. Idle receive state dominates LAN adapter power consumption over time. How can we power off during idle periods, yet maintain an active session? 802.11 Power Management Protocol: allows transceiver to be off as much as possible is transparent to existing protocols is flexible to support different applications» possible to trade off throughput for battery life NCHU CSE CSMA/CA - 16

Power Management Approach Allow idle stations to go to sleep station power save mode stored in AP APs buffer packets for sleeping stations. AP announces which stations have frames buffered Traffic Indication Map (TIM) sent with every Beacon Power Saving stations wake up periodically listen for Beacons TSF assures AP and Power Save stations are synchronized stations will wake up to hear a Beacon TSF timer keeps running when stations are sleeping synchronization allows extreme low power operation Independent BSS also have Power Management similar in concept, distributed approach NCHU CSE CSMA/CA - 17

Infrastructure Power Management TIM-Interval DTIM interval Time-axis TIM AP activity Busy Medium TIM DTIM TIM TIM DTIM Broadcast Broadcast Broadcast frames are also buffered in AP. all broadcasts/multicasts are buffered broadcasts/multicasts are only sent after DTIM» DTIM : Delivery Traffic Indication Message DTIM interval is a multiple of TIM interval NCHU CSE CSMA/CA - 18

Infrastructure Power Management TIM-Interval DTIM interval Time-axis TIM AP activity Busy Medium TIM DTIM TIM TIM DTIM Broadcast Broadcast PS Station Broadcast frames are also buffered in AP. all broadcasts/multicasts are buffered broadcasts/multicasts are only sent after DTIM DTIM interval is a multiple of TIM interval Stations wake up prior to an expected (D)TIM. NCHU CSE CSMA/CA - 19

Infrastructure Power Management TIM-Interval DTIM interval Time-axis TIM AP activity Busy Medium TIM DTIM TIM TIM DTIM Broadcast Broadcast PS Station Broadcast frames are also buffered in AP. all broadcasts/multicasts are buffered broadcasts/multicasts are only sent after DTIM DTIM interval is a multiple of TIM interval Stations wake up prior to an expected (D)TIM. If TIM indicates frame buffered station sends PS-Poll (with AID) and stays awake to receive data else station sleeps again PS-Poll Tx operation NCHU CSE CSMA/CA - 20

IBSS Power Management ATIM: Ad Hoc (Announced) Traffic Indication Message. If a STA is PS, it shall enter the Awake state prior to each TBTT. If received a ATIM, a STA shall remain in the Awake state until the end of the next ATIM window. If a STA transmits a Beacon or an ATIM management frame, it shall remain in the Awake state until the end of the next ATIM window. Use RTS/CTS to detect if a STA is in PS-mode. A STA shall transmit no frame types other than RTS, CTS, and ACK Control frames, and Beacon, ATIM management frames in ATIM window. Transmission is begin following the ATIM window, backoff, DCF is used. NCHU CSE CSMA/CA - 21

IBSS Power Management Target Beacon Time Beacon Interval Beacon Interval ATIM Window ATIM Window ATIM Window Beacon Xmit ATIM Rcv ACK Xmit Frame Rcv ACK Station A Rcv ATIM Xmit ACK Rcv Frame Xmit ACK Station B Station C Power-Saving State NCHU CSE CSMA/CA - 22

IBSS Beacon Transmission NCHU CSE CSMA/CA - 23

Scanning Scanning required for many functions. finding and joining a network finding a new AP while roaming initializing an Independent BSS (ad hoc) network 802.11 MAC uses a common mechanism for all PHY. single or multi channel passive or active scanning Passive Scanning Find networks simply by listening for Beacons Active Scanning On each channel» Send a Probe, Wait for a Probe Response Beacon or Probe Response contains information necessary to join new network. NCHU CSE CSMA/CA - 24

Channel Scanning A STA shall operate in either a Passive Scanning mode or an Active Scanning mode. Passive scanning: the STA shall scan for Beacon frames containing the desired SSID (or broadcast SSID). The STA shall listen to each channel scanned for no longer than a maximum duration defined by the ChannelTime parameter. Active scanning: the STA shall transmit Probe request containing the desired SSID (also can use broadcast SSID). If a STA s scanning does not result in finding a BSS with the desired SSID, or does not result in finding any BSS, the STA may start an IBSS. A STA may start its own BSS without first scanning for a BSS to join. NCHU CSE CSMA/CA - 25

Active Scanning Example Steps to Association: Access Point A Access Point C Station sends Probe Request. APs send Probe Response. Station selects best AP. Station sends Association Request to selected AP. AP sends Association Response. Initial connection to an Access Point - Reassociation follows a similar process NCHU CSE CSMA/CA - 26

Active Scanning For each channel to be scanned, Send a Probe request with the broadcast destination, SSID, and broadcast BSSID. Start a ProbeTimer. If the response has not been received before the Min_Probe_Response_time, then clear NAV and scan the next channel, else when ProbeTimer reaches Max_Probe_response_time, process all received probe responses and scan the next channel. Min_Probe_Response_Time Max_Probe_Response_Time Scanning STA PROBE ACK ACK Responder 1 Responder 2 P RESPONSE DIFS P RESPONSE DIFS SIFS SIFS NCHU CSE CSMA/CA - 27

Wireless LAN Infrastructure Network Access Point B Station 1 Station 2 Station 5 Station 6 Access Point A Access Point C Station 3 Station 4 Station 7 Each Station is Associated with a particular AP Stations 1, 2, and 3 are associated with Access Point A Stations 4 and 5 are associated with Access Point B Stations 6 and 7 are associated with Access Point C NCHU CSE CSMA/CA - 28

Roaming Access Point B Station 2 Station 5 Station 6 Access Point A Access Point C Station 3 Station 4 Reassocication Station 7 Mobile stations may move Station 1 beyond the coverage area of their Access Point but within range of another Access Point Reassociation allows station to continue operation NCHU CSE CSMA/CA - 29

Roaming Approach Station decides that link to its current AP is poor Station uses scanning function to find another AP or uses information from previous scans Station sends Reassociation Request to new AP If Reassociation Response is the successful then station has roamed to the new AP else station scans for another AP If AP accepts Reassociation Request AP indicates Reassociation to the Distribution System Distribution System information is updated Normally old AP is notified through Distribution System NCHU CSE CSMA/CA - 30