ICE 1332/0715 Mobile Computing (Summer, 2008)

Similar documents
Computer Networks. Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

Data Communications. Data Link Layer Protocols Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Lecture 16: QoS and "

Chapter 7: Wireless LANs

MAC in /20/06

Chapter 7: Wireless LANs

Chapter 6 Medium Access Control Protocols and Local Area Networks

Mobile Communications Chapter 7: Wireless LANs

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

Mobile Communications Chapter 7: Wireless LANs

Data and Computer Communications. Chapter 13 Wireless LANs

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

IEEE Technical Tutorial. Introduction. IEEE Architecture

Wireless Communication Session 4 Wi-Fi IEEE standard

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

Local Area Networks NETW 901

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

Advanced Computer Networks WLAN

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

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

Introduction to IEEE

IEEE MAC Sublayer (Based on IEEE )

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

Guide to Wireless Communications, Third Edition. Objectives

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

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

Wireless# Guide to Wireless Communications. Objectives

Wireless Networking & Mobile Computing

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

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

Internet Protocol Stack

Wireless LANs. ITS 413 Internet Technologies and Applications

Chapter 4 WIRELESS LAN

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

MAC. Fall Data Communications II 1

Unit 7 Media Access Control (MAC)

Multiple Access Links and Protocols

Chapter 3.1 Acknowledgment:

Lesson 2-3: The IEEE x MAC Layer

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

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

Nomadic Communications WLAN MAC Fundamentals

Mohammad Hossein Manshaei 1393

IEEE WLAN (802.11) Copyright. Nomadic Communications

Topic 4. Wireless LAN IEEE

Investigation of WLAN

Wireless Local Area Network (IEEE )

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

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

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

MSIT 413: Wireless Technologies Week 8

Mohamed Khedr.

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

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

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

Wireless LAN -Architecture

IEEE Wireless LANs

Transmission Control Protocol over Wireless LAN

Wireless Communication and Networking CMPT 371

Computer Communication III

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

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

ECE442 Communications Lecture 3. Wireless Local Area Networks

Data and Computer Communications

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

Solutions to Exercise Session 4,

3.1. Introduction to WLAN IEEE

Appendix A Pseudocode of the wlan_mac Process Model in OPNET

Wireless Communication and Networking CMPT 371

Basic processes in IEEE networks

CHAPTER 8: LAN Standards

Wireless Protocols. Training materials for wireless trainers

CSE 461: Wireless Networks

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Laboratory of Nomadic Communication. Quick introduction to IEEE

Hands-On Exercises: IEEE Standard

Introduction to Wireless LAN

Optional Point Coordination Function (PCF)

Wireless Local Area Networks (WLANs) Part I

CHAPTER 11 WIRELESS LAN TECHNOLOGY AND THE IEEE WIRELESS LAN STANDARD

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

Wireless Local Area Networks. Networks: Wireless LANs 1

IEEE Wireless LANs Part I: Basics

Wireless Data Networking IEEE & Overview of IEEE b

Multimedia Communication Services Traffic Modeling and Streaming

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

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

Mobile Communications I

Functions of physical layer:

Architecture. Copyright :I1996 IEEE. All rights reserved. This contains parts from an unapproved draft, subject to change

Master thesis 60 credits

Lecture (08) Wireless Traffic Flow and AP Discovery

Wireless & Mobile Networking

Transcription:

ICE 1332/0715 Mobile Computing (Summer, 2008) IEEE 802.11 Prof. Chansu Yu http://academic.csuohio.edu/yuc/ Contents Overview of IEEE 802.11 Frame formats MAC frame PHY frame IEEE 802.11 IEEE 802.11b IEEE 802.11 MAC algorithm (DFWMAC) 2 1

IEEE 802.11 Standard 3 IEEE 802.11 Standard Final draft approved in 1997 Operates in the 2.4 GHz industrial, scientific and medical (ISM) band Standard defines the physical (PHY) and medium access control (MAC) layers Note that the 802.11 MAC layer also performs functions that we usually associated with higher layers (e.g., fragmentation, error recovery, mobility management) Initially defined for operation at 1 and 2 Mbps DSSS, FHSS or infrared Extensions (IEEE 802.11b, IEEE 802.11a, etc.) allow for operation at higher data rates and (in the case of 802.11a) different frequency bands 4 2

Reference Model (1) Data Link Layer Medium Access Control (MAC) sublayer MAC sublayer management Physical Layer Physical Layer Convergence Procedure (PLCP) sublayer Physical Medium Dependent (PMD) sublayer PHY sublayer management Station management 5 Reference Model (2) Physical Medium Dependent (PMD) sublayer Defines a method for transmitting and receiving data through the medium, including modulation and coding Dependent on whether DSSS, FHSS or IR is used Physical Layer Convergence Procedure (PLCP) sublayer Maps MAC layer PDUs into a packet suitable for transmission by the PMD sublayer Performs carrier sensing MAC sublayer Defines access mechanism, based on CSMA Performs fragmentation and encryption of data packets 6 3

IEEE 802.11b Standard released in 1999 2.4 2.483 GHz band Uses DSSS Data rates of up to 11 Mbps Data rates are automatically adjusted for noisy conditions, so can operate at 1, 2, 5.5 or 11 Mbps Modes of operation Infrastructure-based Ad-hoc Most widely implemented to date 7 802.11 - Physical Layer 8 4

IEEE 802.11/a/b Physical layer 9 Infrastructure Mode (1) Wired LAN Access Point Basic Service Set (BSS) Access point serves as a local bridge Mobile Stations Stations communicate through the access point, which relays frames to/from mobile stations 10 5

IEEE 802.11 fixed terminal mobile terminal server infrastructure network Access Point application TCP IP LLC LLC application TCP IP 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 11 Infrastructure Mode (2) Wired LAN Access Points Mobile Stations Extended Service Set (ESS) A set of infrastructure BSSs Access points communicate among themselves to forward frames between BSSs and to facilitate movement of stations between BSSs 12 6

Ad Hoc Mode Server 13 Mobile Stations Independent Basic Service Set (IBSS) or Peer to Peer Stations communicate directly with each other When no direct link is feasible between two station, a third station may act as a relay (multi-hop communications) Distribution Systems The architectural component used to interconnect BSSs is the distribution system (DS) DS enable mobile device support Address-to-destination mapping Seamless integration of several BSSs In practice, an access point implements DS services 14 7

Distribution Systems and Access Points STA 1 BSS 1 ESS STA 2 AP DS BSS 2 STA 3 AP STA 4 15 Integration with Wired LANs STA 1 BSS 1 STA 2 AP DS IEEE 802.x LAN BSS 2 Portal STA 3 AP STA 4 16 8

Terminology Service Set Identifier (SSID) Network name 32 octets long Similar to Domain-ID in the pre-ieee WaveLAN systems One network (ESS or IBSS) has one SSID Basic Service Set Identifier (BSSID) cell identifier 6 octets long (MAC address format) Similar to NWID in pre-ieee WaveLAN systems One BSS has one SSID Value of BSSID is the same as the MAC address of the radio in the Access-Point 17 Association To deliver a message within the DS, must know which AP to access for a given mobile station Before a station is allowed to send a message through an AP, it must associate itself with that AP At any given time, a station must be associated with no more than one AP An AP may be associated with multiple stations As it moves between BSSs, a mobile station may reassociate itself with a different AP 18 9

Authentication 802.11 provides link-level authentication between stations 802.11 also supports shared key authentication Requires that wired equivalent privacy (WEP) be enabled Identity is demonstrated by knowledge of a shared, secret, WEP encryption key Typically, authentication is performed at association with an AP 19 Privacy Default state is in the clear messages are not encrypted Optional privacy mechanism, WEP, is provided Goal is to achieve a level of security at least as good as in a wired LAN Note that encryption provided by WEP is relatively easy to break 20 10

Contents Overview of IEEE 802.11 Frame formats MAC frame PHY frame IEEE 802.11 IEEE 802.11b IEEE 802.11 MAC algorithm (DFWMAC) 21 MAC Frame Format 7 1 6 6 2 0-1500 0-46 4 Preamble Start Delimiter DA SA length Payload Pad Chksum 802.3 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload 4 CRC 802.11 Differences - No preamble, start delimiter and length fields. - Four addresses instead of two addresses. - Larger payload. - Frame control, duration, sequence control. 22 11

All stations filter on this address 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload Four addresses instead of two addresses Transmitter address (ACK frame to) 4 CRC 802.11 Infrastructure network (AP: access point) Destination To AP (DS) AP AP DS Source To_DS From_DS 1 0 23 Addr1 Addr2 Addr3 Addr4 BSSID SA DA -- All stations filter on this address 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload Four addresses instead of two addresses Transmitter address (ACK frame to) 4 CRC 802.11 Infrastructure network (AP: access point) Destination Within DS AP AP DS Source To_DS From_DS 1 1 24 Addr1 Addr2 Addr3 Addr4 RA TA DA SA 12

All stations filter on this address 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload Four addresses instead of two addresses Transmitter address (ACK frame to) 4 CRC 802.11 Infrastructure network (AP: access point) Destination AP AP From AP (DS) DS Source To_DS From_DS 0 1 25 Addr1 Addr2 Addr3 Addr4 DA BSSID SA -- 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload Four addresses instead of two addresses 4 CRC 802.11 Ad-hoc network Destination IBSS Source To_DS From_DS 0 0 26 Addr1 Addr2 Addr3 Addr4 DA SA BSSID -- 13

1 if destined for DS 1 if leaving DS All stations filter on this address Transmitter address (ACK frame to) scenario to DS from address 1 address 2 address 3 address 4 DS ad-hoc network 0 0 DA SA BSSID - infrastructure 0 1 DA BSSID SA - network, from AP infrastructure 1 0 BSSID SA DA - network, to AP infrastructure network, within DS 1 1 RA TA DA SA DS: Distribution System AP: Access Point DA: Destination Address SA: Source Address BSSID: Basic Service Set Identifier RA: Receiver Address TA: Transmitter Address 27 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload 4 CRC 802.11 RTS/CTS Solves Hidden Terminal Problems CTS from B to A is also heard by C, which then waits RTS CTS But, the question is how long? RTS must include some information on how long. CTS A B C For RTS, the value is the time, in microseconds, required to transmit the pending data or management frame, plus one CTS frame, plus one ACK frame, plus three SIFS intervals. 28 14

2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload 4 CRC 802.11 For CTS, the value is the value obtained from the Duration field of the immediately previous RTS frame, minus the CTS frame time and its SIFS interval. For ACK, if the More Fragment bit was set to 0 of the immediately previous directed data or management frame, the duration value is set to 0. If the More Fragment bit was set to 1, the duration value is the value obtained from the Duration field of the immediately previous data or management frame, minus the time, in microseconds, required to transmit the ACK frame and its SIFS interval. 29 2 2 6 6 6 2 6 0-2312 Frame Seq. Duration Addr1 Addr2 Addr3 Addr4 control control Payload 4 CRC 802.11 Sequence control important against duplicated frames due to lost ACKs Frame control Many packet types: control frames, management frames, data frames Registration process Mobility management Power management with synchronization security 30 15

MAC Frame Format 31 Frame Control Field (1) Protocol Version (2 bits) current version of the standard Type (2 bits) differentiates among a management frame (00), control frame (01), or data frame (10) Subtype (4 bits) further defines the type of frame Type 00, subtype 0000 association request Type 00, subtype 0001 association response Type 01, subtype 1011 RTS Type 01, subtype 1100 CTS Type 01, subtype 1101 ACK Type 10, subtype 0000 data Many others 32 16

Valid Type and Subtypes 33 Frame Control Field (2) To/from DS (1 bit each) flags set when the frame is sent to/from the distribution system More Fragment (1 bit) flag set when more fragments belonging to the same frame are to follow Retry (1 bit) indicates that this frame is a retransmission Power Management (1 bit) indicates power management mode (active, power saving) More data (1 bit) more frames buffered by station for the same destination WEP (1 bit) payload encrypted with WEP Order (1 bit) strictly-ordered service 34 17

PHY Frame Format MAC Protocol Data Unit (MPDU) is encapsulated by PLCP Format of PLCP PDU different for IEEE 802.11 (DSSS, FHSS, IR), IEEE 802.11b (long preamble/short preamble), IEEE 802.11a PLCP PDU for IEEE 802.11b with long preamble compatible with PLCP PDU for IEEE 802.11 DHSS 35 802.11 FHSS PHY Packet Format Synchronization : synch with 010101... pattern SFD (Start Frame Delimiter) : 0000110010111101 start pattern PLW (PLCP_PDU Length Word) length of payload incl. 32 bit CRC of payload, PLW < 4096 PSF (PLCP Signaling Field) data of payload (1 or 2 Mbit/s) HEC (Header Error Check) CRC with x 16 +x 12 +x 5 +1 80 16 12 4 16 variable synchronization SFD PLW PSF HEC Payload (MAC frame) PLCP preamble PLCP header 36 18

802.11 DSSS PHY Packet 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 (future use, 00: 802.11 compliant) Length: length of the payload HEC (Header Error Check) protection of signal, service and length, x 16 +x 12 +x 5 +1 128 16 8 8 16 16 variable synchronization SFD signal service length HEC payload PLCP preamble PLCP header 37 802.11 PHY Packet Formats Always 1Mbps with BPSK modulation 128 16 8 8 16 16 Variable (<4KB) synchronization SFD signal service length HEC Payload (MPDU) DSSS PLCP preamble PLCP header Always 1Mbps with GFSK modulation 80 16 12 4 16 Variable (<4KB) synchronization SFD PLW PSF HEC Payload (MPDU) FHSS PLCP preamble PLCP header * MPDU: MAC Protocol Data Units 38 Data rate for MPDU: Up to 11Mbps (802.11b, DSSS) in steps of 100kbps Up to 2Mbps (802.11, DSSS) in steps of 100kbps Up to 2Mbps (802.11, FHSS) in steps of 0.5Mbps 19

802.11b Long Preamble PLCP PDU PLCP PDU (PPDU) 128 16 8 8 16 16 SYNC SFD Signal Service Length CRC MPDU PLCP Preamble PLCP Header Compatible with legacy IEEE 802.11 systems Preamble (SYNC + Start of Frame Delimiter) allows receiver to acquire the signal and synchronize itself with the transmitter Signal identifies the modulation scheme, transmission rate Length specifies the length of the MPDU (expressed in time to transmit it) 39 802.11b Short Preamble PLCP PDU PLCP PDU (PPDU) 58 16 8 8 16 16 SYNC SFD Signal Service Length CRC MPDU PLCP Preamble PLCP Header Not compatible with legacy IEEE 802.11 systems 40 20

Contents Overview of IEEE 802.11 Frame formats MAC frame PHY frame IEEE 802.11 IEEE 802.11b IEEE 802.11 MAC algorithm (DFWMAC) 41 IEEE 802.11 MAC: DFWMAC DFWMAC = Distributed Foundation Wireless MAC Traffic services Asynchronous Data Service (mandatory) exchange of data packets based on best-effort support of broadcast and multicast implemented using DCF (Distributed Coordination Function) RTS/CTS is optional Time-Bounded Service (optional) implemented using PCF (Point Coordination Function) 42 21

DFWMAC Services 43 Why not use CSMA/CD? In IEEE 802.3 (Ethernet), nodes sense the medium, transmit if the medium is idle, and listen for collisions If a collision is detected, after a back-off period, the node retransmits the frame Collision detection is not feasible in WLANs Node cannot know whether the signal was corrupted due to channel impairments in the vicinity of the receiving node IEEE 802.11 uses Carrier Sense Multiple Access (CSMA), but adopts collision avoidance, rather than collision detection 44 22

CSMA Station waits a random amount of time before transmitting, while still monitoring the medium Avoids collisions due to multiple stations transmitting immediately after they sense the medium as idle Loss of throughput due to the waiting period is compensated by fewer retransmissions No explicit collision detection Retransmissions are triggered if ACK is not received Exponential backoff similar to IEEE 802.3 Optionally, transmitting and receiving nodes can exchange control frames to reserve the channel 45 DFWMAC Services 3 basic access mechanisms (802.11 MAC) : should be independent with 802.11 PHY Distributed coordination function (DCF) <= mandatory Based on CSMA/CA without access point (AP) Collision avoidance via randomized back-off mechanism Minimum distance between consecutive packets ACK packet for acknowledgements (not for broadcasts) DCF with RTS/CTS (Request to send/clear to send) <= optional Avoids hidden terminal problem Point coordination function (PCF) <= optional We don t need to care about conflict because the central AP will do Contention-free polling method for time-bounded service such as audio traffic Access point polls terminals according to a list 46 23

802.11 MAC: Priorities Channel Access Priorities Controlled through different inter frame spaces SIFS (Short Inter Frame Spacing) highest priority, for ACK, CTS, polling response PIFS (PCF IFS) medium priority, for time-bounded service using PCF (DCF IFS) lowest priority, for asynchronous data service medium PIFS SIFS 47 contention (10usec) (50usec) Backoff interval (slot=20usec, cw=32~1024) next frame t 802.11 MAC: DCF (CSMA/CA) contention window (randomized back-off mechanism) medium direct access if medium is free slot time next frame t Station ready to send starts sensing the medium (CS) If the medium is free for the duration of an Inter-Frame Space (IFS), the station can start sending (IFS depends on service type) Else (), the station has to wait for a free IFS, Then the station must additionally wait a random back-off time (CA) If another station occupies the medium during the back-off time of the station, the back-off timer stops, waits until it completes, waits another IFS, and waits the remaining backoff time (fairness) 48 24

802.11 MAC: DCF (CSMA/CA) station 1 station 2 station 3 station 4 station 5 medium not idle (frame, ack etc.) elapsed backoff time t packet arrival at MAC 49 bo r residual backoff time 802.11 MAC: DCF (CSMA/CA) bo r station 1 station 2 station 3 station 4 bo r station 5 medium not idle (frame, ack etc.) elapsed backoff time t packet arrival at MAC 50 bo r residual backoff time 25

802.11 MAC: DCF (CSMA/CA) bo r bo r station 1 station 2 station 3 station 4 (Collision) bo r station 5 medium not idle (frame, ack etc.) elapsed backoff time t packet arrival at MAC bo r residual backoff time 51 Why waste? 802.11 MAC: DCF (CSMA/CA) bo r bo r station 1 station 2 station 3 bo r station 4 (Collision) bo r bo r station 5 medium not idle (frame, ack etc.) elapsed backoff time t packet arrival at MAC bo r residual backoff time 52 26

802.11 MAC: DCF (CSMA/CA) Sending unicast packets Station has to wait for before sending data Receivers acknowledge at once (after waiting for SIFS) if the packet was received correctly (CRC) Automatic retransmission of data packets in case of transmission errors sender receiver other stations data waiting time 53 SIFS ACK contention data t Network Allocation Vector (NAV) Counter maintained by each station with amount of time that must elapse until the medium will become free again Contains the time that the station that currently has the medium will require to transmit its frame Station cannot transmit until NAV is zero Each station calculates how long it will take to transmit its frame (based on data rate and frame length); this information is included in the Duration field of the frame header This information is used by all other stations to set their NAV 54 27

802.11 MAC: DCF with RTS/CTS Sending unicast packets Station can send RTS with reservation parameter after waiting for reservation determines amount of time the data packet needs the medium If ready to receive, CTS after SIFS by receiver Sender can now send data at once, acknowledgement via ACK Other stations store medium reservations distributed via RTS and CTS NAV (network allocation vector) is used to solve the hidden terminal problem sender receiver RTS SIFS CTS SIFS data SIFS ACK other stations defer access NAV (RTS) NAV (CTS) 55 contention data t Fragmentation In order to alleviate the high bit error rate problem, make a shorter frame for reducing frame error rate sender receiver RTS SIFS CTS SIFS frag 1 SIFS ACK SIFS 1 frag 2 SIFS ACK2 other stations NAV (RTS) NAV (CTS) NAV (frag 1 ) NAV (ACK 1 ) contention data t 56 28

802.11 MAC: PCF using Polling Contention-free service uses PCF on a DCF foundation PCF can provide lower transfer delay variations to support time-bounded services Point coordinator resides in AP Mixture of stations using PCF and those using DCF is allowed Alternating contention-free and contention operation is under PCF control (via NAV) Superframe = CF period + contention period 57 802.11 PCF using Polling t 0 t 1 SuperFrame = CF-period + contention period AP medium PIFS D 1 SIFS SIFS D 2 SIFS SIFS Nodes U 1 U 2 CF-Poll + Data + CF-Ack (piggyback) CF-Poll + Data: for station2 CF-Ack: for station1 58 Contention-free period => 29

802.11 PCF using Polling t 2 t 4 AP D 3 PIFS D 4 SIFS SIFS CFend Nodes U 4 Contention-free period Contention period t Packet from AP: CF-Poll, CF-Poll+CF-Ack, CF-Poll+CF-Data, CF-Poll+CF-Ack+Data, CF-Ack+CF-end, CF-end Packet from nodes: Data, CF-Ack, Data+CF-Ack, Null 59 802.11 MAC Data Format: Valid Type and Subtypes 60 30

IEEE 802.11e MAC enhancements to support quality of service (QoS) in IEEE 802.11a/b/g Defines different categories of traffic Each QoS-enabled station marks its traffic according to its performance requirements Stations still contend for the medium, but different traffic types are associated with different inter frame spacing and contention window Qualitative, comparative QoS (no guarantees ) 61 Service Differentiation Source: Xtreme Spectrum, Tradeoff Analysis (802.11e versus 802.15.3 QoS mechanism), white paper, July 2002. 62 31

Reading Assignment * See ns-2 manual Chap. 16 Chap. 18 * See 802.11 standard Section 5.1~4 Section 7 Section 9.1~2 Section 11.1~3 63 32