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

Similar documents
Data and Computer Communications. Chapter 13 Wireless LANs

Wireless Local Area Networks. Networks: Wireless LANs 1

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

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

Multiple Access Links and Protocols

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

Mohamed Khedr.

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

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

Unit 7 Media Access Control (MAC)

Wireless LANs. ITS 413 Internet Technologies and Applications

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

Data Communications. Data Link Layer Protocols Wireless LANs

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

Chapter 12 Multiple Access 12.1

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

MSIT 413: Wireless Technologies Week 8

Lecture 16: QoS and "

Computer Networks. Wireless LANs

CMPE 257: Wireless and Mobile Networking

Mobile & Wireless Networking. Lecture 7: Wireless LAN

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

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

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

Wireless Communications

Computer Communication III

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

Local Area Networks NETW 901

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

IEEE Medium Access Control. Medium Access Control

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

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

Wireless and Mobile Networks

Chapter 6 Wireless and Mobile Networks

MAC in /20/06

Wireless Local Area Networks (WLANs) Part I

ECEN 5032 Data Networks Medium Access Control Sublayer

Outline. EEC-484/584 Computer Networks. Multiple Access Protocols. Wireless LAN Protocols. Lecture 9. Wenbing Zhao

EEC-484/584 Computer Networks

IEEE MAC Sublayer (Based on IEEE )

Wireless Communication and Networking CMPT 371

Wireless Local Area Network (IEEE )

Introduction to IEEE

Wireless Networking & Mobile Computing

Guide to Wireless Communications, Third Edition. Objectives

Multiple Access in Cellular and Systems

Wireless Communication and Networking CMPT 371

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

Wireless# Guide to Wireless Communications. Objectives

Data and Computer Communications

Mobile Communications Chapter 7: Wireless LANs

Wireless and Mobile Networks 7-2

Mobile Communications Chapter 7: Wireless LANs

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

Outline / Wireless Networks and Applications Lecture 9: Wireless LANs Aloha and 802 Wireless. Regular Ethernet CSMA/CD

Wireless LAN -Architecture

IEEE Wireless LANs Part I: Basics

CMPE 257: Wireless and Mobile Networking

Medium Access Control Sublayer

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

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

IEEE Wireless LANs

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Lesson 2-3: The IEEE x MAC Layer

Outline. EEC-682/782 Computer Networks I. Multiple Access Protocols. IEEE 802 Standards

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

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

Wireless MACs: MACAW/802.11

The MAC layer in wireless networks

Last Lecture: Data Link Layer

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

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 Technical Tutorial. Introduction. IEEE Architecture

CSC 4900 Computer Networks: Wireless Networks

Multiple Access Links and Protocols

Lecture 23 Overview. Last Lecture. This Lecture. Next Lecture ADSL, ATM. Wireless Technologies (1) Source: chapters 6.2, 15

Mohammad Hossein Manshaei 1393

Wireless LANs. The Protocol Stack The Physical Layer The MAC Sublayer Protocol The Frame Structure Services 802.

Internet Protocol Stack

MAC. Fall Data Communications II 1

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

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

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

Optional Point Coordination Function (PCF)

Nomadic Communications WLAN MAC Fundamentals

CSC 498R: Internet of Things 2

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

Link Layer II: MACA and MACAW

Advanced Computer Networks WLAN

The MAC layer in wireless networks

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

IEEE WLAN (802.11) Copyright. Nomadic Communications

15-441: Computer Networking. Wireless Networking

Announcements / Wireless Networks and Applications Lecture 9: Wireless LANs Wireless. Regular Ethernet CSMA/CD.

Mohammad Hossein Manshaei 1393

Transcription:

Wireless networks 1

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

Wireless Networks Autonomous systems of mobile hosts connected by wireless links Nodes are autonomous and independent mobile, battery powered communicate mainly via radio frequncies Two modes of operations wireless networking with a base station: wired access points ad hoc networking: no centralized coordinators 3

Wireless networking with a BS Base station To wired network 4

Wireless networking with a BS (2) Base station To wired network s d Intracell communication 5

Wireless networking with a BS (3) Base station Base station s d Intercell communication 6

Ad hoc networking 7

Ad hoc networking (2) d s 8

Ad hoc networking (3) d s 9

Ad hoc networking (4) Multihop communication d s 10

Wireless networks: challanges Limited knowledge a terminal cannot head all the others multipath fading effects Mobility/Failure of terminals terminals move in the range of different BS terminals move away from each other Limited terminals battery life, memory, processing and transmission range Privacy eavesdropping of ongoing communications 11

Wireless networks: some problems Access to a shared wireless channel CSMA/CD cannot be used hidden-exposed terminal problem Hand-off moving a terminal into the range of a different BS Routing deciding a path from source to destination in multi hop networks dealing with arbitrary changes in neighborhood 12

Wireless networks: protocol stack Application layer Transport layer Network layer Data link layer Physical layer App1 App2 App3 TCP UDP Routing : AODV DSR MAC : CSMA/CA RF Infrared 13

Wired networks MAC protocols Basic assumptions: a single channel is available for all communications all stations can transmit on it and receive from it if frames are send simultaneously on the channel the resulting segnal is garbles (a collision) all stations can detect collisions Different protocols ALOHA, slotted ALOHA, CSMA, CSMA/CD 14

CSMA/CD Carries Sense Multiple Accesses with Collision Detection Basic idea of CSMA: When a station has a frame to send listens to the channel to see if anyone else is transmitting if the channel is busy, the station waits until it becomes idle when channel is idle, the station transmits the frame if a collision occurs the station waits a random amount of time and repeats the procedure. 15

CSMA/CD (2) CSMA with Collision Detection a station aborts its transmission as soon as it detects a collision if two stations sense the channel idle simultaneously and start transmitting, they quickly abort the frame as soon as collision is detected it is widely used on LANs in MAC sub-layer IEEE 802.3 Ethernet 16

CSMA/CD (3) CSMA/CD behavior contention slot (2*T) Frame Frame Frame transmission period contention period idle period 17

Binary Exponential Backoff Used in IEEE 802.3 Time after a collision is divided in contention slots length of a contention slot is equal to worst case round propagation time (2T if T is the time to reach the most distant stations) After the first collision each station waits 0 or 1 slot before trying again 18

Binary Exponential Backoff (2) After collision i chooses x at random in 0, 1, 2,,2 i -1 skips x slots before retrying After 10 collisions: the randomization interval is frozen at 0..1023 After 16 collisions failure is reported back to upper levels 19

Wireless networks: MAC Hidden terminal problem what matters is interference at the receiver not at the sender 20

The hidden terminal problem Radio range A B C D 21

The hidden terminal problem (2) A B C D A is sending to B 22

Hidden terminal problem (3) A B C D A is sending to B C senses the medium: it will NOT hear A, out of range 23

Hidden terminal problem (4) A B C D A is sending to B C senses the medium: it will NOT hear A, out of range C starts to sent to B -- COLLISION OCCURS at B 24

Wireless networks: MAC Hidden terminal problem what matters is interference at the receiver not at the sender in the example: C is not able to detect a potential competitor because it is out of range and collision happens at B (the receiver) Exposed terminal problem a station can hear a transmission and be able to transmit without interfere with it 25

The exposed terminal problem A B C D 1. B is transmitting to A, C wants to transmit to D 26

The exposed terminal problem (2) A B C D 1. B is transmitting to A, C wants to transmit to D 2. C senses the medium, hears B and concludes: cannot transmit to D 27

The exposed terminal problem (3) Interference zone A B C D 1. B is transmitting to A, C wants to transmit to D 2. C senses the medium, concludes: cannot transmit to D 3. The two transmissions can actually happen in parallel. 28

Wireless networks: MAC (2) what matters is interference at the receiver not at the sender this cannot be established sensing the carrier at the sender Multiple transmissions can occur simultaneously if destinations are out of range of each other a station can hear a transmission and be able to transmit without interfere with it Need different MAC protocols from wired LANs 29

The MACA protocol Multiple Accesses with Collision Avoidance Basic idea: stimulate the receiver into transmitting a short frame then transmitting a (long) data frame stations hearing the short frame refrain from transmitting during the transmission of the subsequent data frame 30

The MACA protocol C A B D E C is within range of A but not within range of B and D D is within range of B but not within range of A and C E is within range of both A and B 31

The MACA protocol (2) C A RTS B D E 1. A wants to transmit to B, sends a Request To Send to B 32

The MACA protocol (2) C A RTS B D E 1. A wants to transmit to B, sends a Request To Send to B RTS is a short frame including the length of the data frame that will eventually follow 33

The MACA protocol (3) C A RTS B D E 1. A wants to transmit to B, sends an RTS to B 34

The MACA protocol (4) C A CTS B D E 1. A wants to transmit to B, sends an RTS to B 2. If B wants to receive the message replies with a Clear To Send CTS is a short frame with data length copied from RTS 35

The MACA protocol (5) C A CTS B D E 1. A wants to transmit to B, sends an RTS to B 2. If B wants to receive the message replies with a CTS 36

The MACA protocol (6) C A B D E 1. A wants to transmit to B, sends an RTS to B 2. If B wants to receive the message replies with a CTS 3. Upon receipt of the CTS frame, A transmits the data frame 37

The MACA protocol (7) C A B D E C hears RTS, but not CTS it is free to transmit after A has received the CTS from B 38

The MACA protocol (8) C A B D E D hears CTS, but not RTS it should stay silent until data frame transmission completes 39

The MACA protocol (9) C A B D E D hears CTS and RTS it should stay silent until data frame transmission completes 40

The MACA protocol: collisions C RTS A RTS B D E C and B send RTS simultaneously to A 41

The MACA protocol: collisions (2) C A B D E C and B send RTS simultaneously to A The two messages collide No CTS is generated 42

The MACA protocol: collisions (3) C RTS A B D E C and B use Binary Exponential Backoff (same as Ethernet) to retry RTS 43

MACAW: MACA for Wireless Fine tunes MACA to improve performance introduces an ACK frame to acknowledge a successful data frame added Carrier Sensing to keep a station from transmitting RTS when a nearby station is also doing so to the same destination exponential backoff is run for each separate pair source/destination and not for the single station mechanisms to exchange information among stations and recognize temporary congestion problems CSMA/CA used in IEEE 802.11 is based on MACAW 44

IEEE 802.11 family IEEE 802.11 (Legacy mode) First released in 1997 and clarified in 1999 rarely used today 1-2 Mbps data rate implemented via infrared (IR) signals, radio frequencies in the 2.4GHz band (ISM -- Industrial Scientific Medical Frequency band) many degrees of freedom: interoperability was challenging among different products rapidly supplemented (and popularized) by 802.11b most used today 802.11a/b/g emerging 802.11n 45

IEEE 802.11 family (2) IEEE 802.11b Released 1999 Operating frequency: 2.4GHz band (ISM band) potential interference with other appliances : cordless telephones, microwave ovens etc Throughput (typ): 4.3 Mbps Data rate (max): 11 Mbps Modulation technique: DSSS 46

IEEE 802.11 family (3) IEEE 802.11a Released 1999 Operating frequency: 5 GHz band (Unlicensed National Information Infrastructure U-NII band) Throughput (typ): 23 Mbps Data rate (max): 54 Mbps Modulation technique: OFDM 47

IEEE 802.11 family (4) IEEE 802.11g Released 2003 Operating frequency: 2.4GHz band (ISM band) Throughput (typ): 19 Mbps Data rate (max): 54 Mbps Modulation technique: OFDM 48

IEEE 802.11 family (5) IEEE 802.11n To be released 2009 Operating frequency: 2.4GHz band and 5GHz band Throughput (typ): 74 Mbps Data rate (max): 248 Mbps Modulation technique: MIMO using multiple antennas 49

IEEE 802.11: protocol stack Upper Layers Logical Link Control MAC Sublayer Data link layer 802.11 legacy 802.11n MIMO 802.11a OFDM 802.11b HR- DSSS 802.11g OFDM Physical layer 50

IEEE 802.11: Architecture A group of stations operating under a given coordination function may use or not a base station (Access Point) is using APs a station communicates with another channeling all the traffic through a centralized AP AP can provide connectivity with other APs and other groups of stations via fixed infrastructure 51

IEEE 802.11: Architecture (2) Supports ad hoc networks the IEEE 802.11 view a group of stations that are under the direct control of a single coordination function without the aid of an infrastructure network a station can communicate directly with another without channeling all the traffic through AP 52

The physical layer All techniques make it possible to deliver a MAC frame from one station to another Technology used and speed differ We give a short list of keyword 53

The physical layer: IR Features: Diffused transmission at 0.85-0.95 microns Two speeds: 1Mbps 2Mbps encoding gray code at 1Mbps : 4 bits on 16 bits containing fifteen 0s and a single 1 at 2Mbps : 2 bits on 4 bits 0001,0010,0100, 1000 cannot penetrate walls, swamped by sun not very popular 54

The physical layer: FHSS Frequency Hopping Spread Spectrum 79 channels, 1MHz wide each starting at the low end of the 2.4 GHz bandwidth: 1MBps Frequency hopping pseudo-random generator drives hopping same seed on all stations, synchronization dwell time (time spent in each frequency) less than 400msec makes eavesdropping harder solves multipath fading over long distances 55

The physical layer: DSSS Discrete Sequence Spread Spectrum bandwidth: 1-2MBps????? 56

IEEE 802.11:MAC Sublayer Two modes of operations: DCF : Distributed Coordination Function completely decentralized thought for best effort asynchronous traffic PCF : Point Coordination Function uses base station to control all activity in its cell thought for delay-sensitive traffic BS polls stations to ask for transmissions based on DCF DCF must be implemented by all stations DCF and PCF can be active at the same time in the same cell 57

IEEE 208.11 MAC architecture Used for contention services Distributed Coordination Function (DCF) 58

IEEE 208.11 MAC architecture (2) Used for contention free services and based on DCF Point Coordination Function (PCF) Distributed Coordination Function (DCF) 59

IEEE 802.1: DCF Must be implemented by all stations Completely decentralized Best effort asynchronous traffic Stations must contend for the channel for each frame using CSMA/CA 60

IEEE 802.1: DCF (2) Carrier sensing is performed at two levels: physical CS detects the presence of other IEEE 802.11 WLAN users by analyzing all the detected packets detects any activity in the channel due to other sources virtual CS performed sending duration information in the header of an RTS, CTS and data frame duration information is used to adjust station s NAV (network allocation vector) that indicates channel busy and the time that must elapse before sampling again the channel for idle status A channel is marked busy if either the physical or the virtual CS indicate busy 61

IEEE 802.1: DCF (3) Priority access to the medium is controlled through the use of interframe space (IFS) time intervals IFS: mandatory periods of idle time on the transmission medium Three IFS specified by the standard: short IFS (SIFS) point coordination function IFS (PIFS) DCF-IFS (DIFS) SIFS < PIFS < DIFS stations only required to wait a SIFS have the highest priority 62

DCF basic access method source Senses channel idle and waits for DIFS destination other 63

DCF basic access method (2) DIFS source If idle starts transmitting data destination other 64

DCF basic access method (3) DIFS source data First bytes in frame specify duration (data + ACK) destination other 65

DCF basic access method (3) DIFS source data First bytes in frame specify duration (data + ACK) destination other Hearing duration sets NAV for virtual CS NAV 66

DCF basic access method (4) DIFS source data Waits SIFS before ack successful transmission destination SIFS ACK other NAV 67

DCF basic access method (5) DIFS data source SIFS ACK Stations must again wait DIFS before transmitting destination DIFS other NAV 68

DCF basic access method: collision DIFS source destination DIFS other data data When collision occurs stations continue to transmit the entire frame Band wasted for large data frames 69

DCF basic access method: collision (2) DIFS source data Backoff to resend destination DIFS other data Backoff to resend 70

DCF RTS/CTS 20 bytes DIFS RTS SIFS data source SIFS CTS 14 bytes SIFS ACK destination other NAV/RTS NAV/CTS NAV/data 71

DCF: RTS/CTS Three choices: never use RTS/CTS: lightly loaded medium use RTS/CTS for long messages: when length exceeds RTS_Threshold always use RTS/CTS 72

DCF: Fragmentation Fragmentation of large data frames may improve reliability: performed only if data is larger than Fragmentation_Theshold (size of each fragment except last) all fragments are sent in sequence channel is not released until the complete data has been transmitted or the source station fails to receive an acknowledgement for the transmitted fragment 73

DCF Fragmentation (2) SIFS source Frag0 SIFS Frag1 SIFS ACK0 SIFS ACK1 destination other NAV/RTS/CTS NAV/Frag0 NAV/Frag1 74

DCF: Fragmentation (3) When an ACK is not received in time, the source station re-contends the channel after getting the channel again it starts from the last unacknowledged fragment if RTS/CTS is used the duration in RTS/CTS account only for the transmission of the first fragment the subsequent duration information are extracted in the duration information of each fragment 75

More on random backoff Time is slotted slots of Slot_time different for each PHY layer used To get a channel after a collision a station senses the channel if the channel is not busy it waits until the channel is idle for a DIFS period after DIFS idle it computes a random backoff time randomly chooses a number x of slots to be waited (init. 0--7) decrements x until channel becomes busy or x reaches 0 if x==0, the station sends the frame if x>0 and channel becomes busy the station freezes the timer, and starts to decrement it after it becomes idle again for DIFS 76

More on random backoff (2) To get a channel after a collision (contd.) if two stations reach 0 at the same time a new collision occurs after the i collisions, x is chosen in range 0 2 (2+i) *ranf() where ranf() is a uniform random var. in (0,1) The idle period after a DIFS idle period is called contention window (CW) 77

IEEE 802.11: Frames Three types of frames: management: station association/disassociation with the AP, synchronization, authentication control: handshaking and acknowledgement data: data transmission, can be combined with polling and ACK in PCF 78

IEEE 802.11: Frame format bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS Last Frag Retry Power mgt More data W O Version: more than one protocol can coexist in the same cell 79

IEEE 802.11: Frame format (2) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS Last Frag Retry Power mgt More data W O Type of the frame: management, control, data Subtype of the frame: eg. RTS, CTS,ACK 80

IEEE 802.11: Frame format (3) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS Last Frag Retry Power mgt More data W O Is the frame going to or coming from the intercell distribution system? eg. To/From Ethernet interconnecting AS 81

IEEE 802.11: Frame format (4) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS More Frag Retry Power mgt More data W O More fragments will follow? Marks retransmission of a frame sent earlier 82

IEEE 802.11: Frame format (5) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS More Frag Retry Power mgt More data W O Used to put the receiver into sleep or take out from sleep Sender has additional frames for the receiver 83

IEEE 802.11: Frame format (6) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC bits 2 2 4 1 1 1 1 1 1 1 1 Prot. Vers. Type Subtype To DS From DS More Frag Retry Power mgt More data W O Has the frame been encripted using WEP? Order: a sequence of frames with this bit on must be processed in order 84

IEEE 802.11: Frame format (7) bytes 2 2 Frame control Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC Time (microsecs): how long the frame/fragment and its acknowledgement will occupy the channel 85

IEEE 802.11: Frame format (8) bytes 2 2 Frame ctrl Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC Standard IEEE 48-bit MAC addresses: source, destination, source and destionation AP for inter-cell traffic 86

IEEE 802.11: Frame format (9) bytes 2 2 Frame ctrl Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC Sequence: allows fragments to be numbered. 12 bits identify the frame and 4 identify fragments 87

IEEE 802.11: Frame format (10) bytes 2 2 Frame ctrl Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC Payload + (optional) bytes encription/decription for WEP (Wired Equivalent Privacy) protocol 88

IEEE 802.11: Frame format (11) bytes 2 2 Frame ctrl Duration conn ID 6 6 6 2 6 0--2312 4 Addr Addr Addr Seq Addr Data CRC Cyclic Redundancy Check: 32 bit hash code of the data for transmission error detection (NOT recovery) 89

IEEE 802.11: PCF Optional capability: connection oriented provides contention-free frame transfer acts under the control of the point coordinator (PC) that performs polling and enables stations to transmit without contending for the channel the method by which polling tables are maintained and polling sequence is determined is left to the implementor it is required to coexist with DCS 90

IEEE 802.11: PCF (2) Starting contention-free period AP sends a Beacon Frame (BF) stations synchronize using BF PCF occurs periodically CFP_rate specifies the repetition interval in each repetition interval a portion of the time is allotted for contention-free traffic and the remaining for contention based traffic CFP_rate corresponds to an integral number of BF 91

IEEE 802.11: PCF (3) Length of PCF period CFP_Max_Duration determines the maximum size of a contention free period AP decides the actual length, can be smaller if PCF traffic is light or DCF traffic is heavy 92

Coexistence of PCF and DCF PCF repetition interval BF PCF DCF BF PCF DCF CF Period NAV-PCF All stations At the beginning of each period all stations update their NAV to the maximum length of PCF (CFP_max_duration) 93

Coexistence of PCF and DCF (2) PCF repetition interval BF PCF DCF BF PCF DCF CF Period NAV-PCF All stations During PCF stations can only respond to a poll from the PC or for transmission of an ACK in the SIFS after receiving a data frame 94

Coexistence of PCF and DCF (3) PCF repetition interval BF PCF CFE DCF BF PCF CFE DCF CF Period NAV-PCF All stations PCF is always closed by PC sending a Contention Free End frame (CFE) 95

Running PCF PC senses the medium. If idle for PIFS (SIFS < PIFS < DIFS) it sends the beacon frame PIFS BF PC All stations NAV-PCF 96

Running PCF (2) Then waits for SIFS and sends a data and/or CF-poll frame PIFS BF SIFS D1+poll PC All stations NAV-PCF 97

Running PCF (3) PIFS BF SIFS D1+poll SIFS PC All stations NAV-PCF U1+ACK After SIFS, the destination can send a CF-ACK or data+cf-ack frame 98

Running PCF (4) After SIFS, the PC can send a CF-ACK or data or CF-poll frame PIFS BF SIFS D1+poll SIFS SIFS D2+ACK+poll PC U1+ACK All stations NAV-PCF 99

Running PCF (5) When polled a station can send data directly to another station PC D1+poll SIFS stn-to-stn SIFS ack All stations NAV-PCF 10

Running PCF (6) PC waits PIFS following and ACK frame to be sure transmission is finished before polling again PC D1+poll SIFS PIFS D2+poll stn-to-stn SIFS ack All stations NAV-PCF 10

Running PCF (7) With this model PC can decide to send to a non-pcf aware station (one that only has DCF) interaction works well as this station will respond with and ACK messages can be fragmented as in DCF 10