IEEE 802.11 Wireless LAN Part II Access Point, Power Management, Polling, and Frame Format 14-1.

Slides:



Advertisements
Similar presentations
Contents IEEE MAC layer operation Basic CSMA/CA operation
Advertisements

Introduction to IEEE Wireless LAN Standard Huafeng Lü Sep 10, 2002.
Lecture 5: IEEE Wireless LANs (Cont.). Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN a.
Wireless LAN (not assessed) Dr Sandra I. Woolley.
– Wireless PHY and MAC Stallings Types of Infrared FHSS (frequency hopping spread spectrum) DSSS (direct sequence.
© Kemal AkkayaWireless & Network Security 1 Department of Computer Science Southern Illinois University Carbondale CS591 – Wireless & Network Security.
1 CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards.
14.1 Chapter 14 Wireless LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3. PS in Ad.
1 CSE401n:Computer Networks Lecture 16 Wireless Link & LANs WS: ch-14 KR: 5.7.
1 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3. PS in Ad.
CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards 1.
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
Power Management in Presented by Sweta Sarkar June 17 th, 2002.
1 QoS Schemes for IEEE Wireless LAN – An Evaluation by Anders Lindgren, Andreas Almquist and Olov Schelen Presented by Tony Sung, 10 th Feburary.
110/15/2003CS211 IEEE Standard Why we study this standard: overall architecture physical layer spec. –direct sequence –frequency hopping MAC layer.
1 IEEE Management Frames Gast ’ s Book (Chapter 4) Prof. Yu-Chee Tseng CS, NCTU.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Voice Traffic Performance over Wireless LAN using the Point Coordination Function Wei Supervisor: Prof. Sven-Gustav Häggman Instructor: Researcher Michael.
Network Security Wireless LAN. Network Security About WLAN  IEEE standard  Use wireless transmission medium such as radio, microwave, infrared.
Wireless Ethernet IEEE Standard Overview Dirk Grunwald Assoc. Professor Dept. of Computer Science University of Colorado, Boulder.
protocol continued. DCF The basic idea is non-persistent. Can do an optimization: For a new packet (Q len = 0), the sender needs only wait for.
Lecture #2 Chapter 14 Wireless LANs.
CWNA Guide to Wireless LANs, Second Edition Chapter Five IEEE Media Access Control and Network Layer Standards.
Wireless LAN Advantages 1. Flexibility 2. Planning 3. Design
MAC layer Taekyoung Kwon. Media access in wireless - start with IEEE In wired link, –Carrier Sense Multiple Access with Collision Detection –send.
IEEE Project started by IEEE for setting standard for LAN. This project started in (1980, February), Name given to project is year and month.
1 IEEE Management Frames Gast ’ s Book (Chapter 4) Prof. Yu-Chee Tseng CSIE, NCTU.
1 Dynamic Adaption of DCF and PCF mode of IEEE WLAN Abhishek Goliya Guided By: Prof. Sridhar Iyer Dr. Leena-Chandran Wadia MTech Dissertation.
Ethernet. Problem In an Ethernet, suppose there are three stations very close to each other, A, B and C. Suppose at time 0, all of them have a frame to.
IEEE High Rate WPAN - MAC functionalities & Power Save Mode Mobile Network Lab. 정상수, 한정애.
Computer and Data Communications Semester Mohd Nazri Mahmud Session 4a-12 March 2012.
CWNA Guide to Wireless LANs, Second Edition
IEEE Wireless LAN Standard
IEEE Wireless LAN Standard. Medium Access Control-CSMA/CA IEEE defines two MAC sublayers Distributed coordination function (DCF) Point coordination.
F ACULTY OF C OMPUTER S CIENCE & E NGINEERING Chapter 05. MAC and Physical Layers.
1 Chapter 8 Power Management in IEEE Yu-Chee 1. Possible Access Sequences for a STA in PS Mode 2. PS in Infrastructure Network 3.
Wireless LANs Prof. F. Tobagi MAC Management 1.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
IEEE Wireless LAN Part I Introduction, Physical layer, basic MAC 13-1.
Submission doc.: IEEE /569r1 November 2001 M. Benveniste -- AT&T Labs, ResearchSlide 1 An Access Mechanism for Periodic Contention-Free Sessions.
Doc.: IEEE /0102r2 SubmissionLiwen Chu Etc.Slide 1 TGah Power Saving Date: Authors: Date: Jan, 2012.
IEEE WLAN.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
An Introduction to Wireless LANs
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
An Energy Efficient MAC Protocol for Wireless LANs, E.-S. Jung and N.H. Vaidya, INFOCOM 2002, June 2002 吳豐州.
Wi-Fi. Basic structure: – Stations plus an access point – Stations talk to the access point, then to outside – Access point talks to stations – Stations.
SMAC: An Energy-efficient MAC Protocol for Wireless Networks
Introduction to IEEE
Chapter 14 Wireless LANs.
MAC Sublayer MAC layer tasks: – Control medium access – Roaming, authentication, power conservation Traffic services – DCF (Distributed Coordination.
1/49 Power Management in IEEE Yu-Chee Tseng.
1/23 Power Management in IEEE Yu-Chee Tseng.
MAC for WLAN Doug Young Suh Last update : Aug 1, 2009 WLAN DCF PCF.
Submission doc.: IEEE 11-11/1204r1 ZTE CorporationSlide 1 Power saving mechanism consideration for ah framework Date: Authors: Sept 2011.
Distributed-Queue Access for Wireless Ad Hoc Networks Authors: V. Baiamonte, C. Casetti, C.-F. Chiasserini Dipartimento di Elettronica, Politecnico di.
ECEN 489, Prof. Xi Zhang Medium Access Control Protocols, Local Area Networks, and Wireless Local Area Networks Lecture Note 11.
DSSS PHY packet format Synchronization SFD (Start Frame Delimiter)
Copyright © 2003 OPNET Technologies, Inc. Confidential, not for distribution to third parties. Wireless LANs Session
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
EA C451 (Internetworking Technologies)
Lecture 27 WLAN Part II Dr. Ghalib A. Shah
An Access Mechanism for Periodic Contention-Free Sessions
IEEE : Wireless LANs ALOHA, Slotted ALOHA
Power Management in IEEE
Chapter 6 Medium Access Control Protocols and Local Area Networks
Protocol Details John Bellardo UCSD.
Presentation transcript:

IEEE Wireless LAN Part II Access Point, Power Management, Polling, and Frame Format 14-1

Access Points Used in the infrastructure mode. Functions like a bridge between an IEEE wireless network and an Ethernet. An infrastructure mode station must associate with an access point. –All frame transfer must pass through the AP even if frames can be directly sent to other stations using the ad hoc mode. The AP, acting like a central controller, thus can provide some management (e.g., Power management) and QoS (e.g., PCF) services that cannot be achieved by DCF

Beacon Generation The AP periodically generate and broadcast beacon frames. (In an ad hoc network where no AP is present, stations take turns to generate beacons.) The beacons act as a one-way communication channel. They convey and announce important information to all associated stations. For example: –By listening to the air and searching beacons, a station can know whether there is an AP nearby. –The beacons can announce the AP’s identity, capability, and current timestamp. –They can be used to synchronize the clocks of all stations. They can also be used to support contention free frame transfers. (provide better QoS) 14- 3

Beacon Format 14- 4

Beacon Generation in an Infrastructure Network Beacons should be generated and transmitted at the “beacon interval.” Before they are sent, they should follow the basic access method defined in DCF. I.e., they need to wait for a DIFS idle period. They may be delayed if the medium is busy at that time

Beacon Generation in an Infrastructure Network The AP and each station maintains a clock. The AP acts as the timer master, all stations that receive the beacons generated by the AP should set their clocks to the AP’s clock. Why synchronizing stations’ clocks? –Frequency hopping needs time synchronization. –Periodic wakeup in the power save mode also requirea that all doze-mode stations wake up at the same time

Beacon Generation in an Ad Hoc Network Stations use a distributed algorithm to take turns to generate beacons. TBTT TBTT: target beacon transmission time

At TBTT, the backoff timer for any pending non- beacon frame is suspended. Calculate a random delay between [0, 2*Cwmin] Wait for the period of the random delay to expire. If a beacon arrives before the random delay timer expires, the remaining timer is canceled. We do not need to transmit a beacon. Otherwise, if the random delay timer has expired and no beacon has arrived during this period, we send a beacon. The Distributed Algorithm Used in the Beacon Generation in an Ad Hoc Network 14- 8

Scanning AP Procedure When a station is powered up, it needs to find out in which frequency channel there is a desired AP. (If there is one, the station wants to get associated with it.) The process of finding AP is called scanning. There are two different types of scanning: –Passive scanning Listen to each channel for some time to see whether we can hear some beacons. –Active scanning Sending probe request frames actively on each channel. AP, on receiving a probe request frame, must return a probe response frame. The station thus can more quickly know where there is an AP

Active Scanning Procedure On hearing a broadcast probe request frame, before sending back their response frames, APs should use the DCF method to avoid collisions

Start or Join a BSS With the information gathered from the passive or active scanning, a station can decide to: –Start a BSS by itself (if there are no existing BSSs) It can form an ad hoc network. –Then the ID of the new formed BSS is a locally administered MAC address that is randomly chosen. It can act as an AP and form an infrastructure network. –Then the ID of the new BSS should be the MAC address of the AP. –Join an already existing BSS If the BSS is an infrastructure network, the station needs to send association request to the AP

Point Coordination Function PCF provides contention free frame transfer. Through its polling mechanism, QoS may be achieved. PCF works only in an infrastructure network and the PC reside in the access point. PCF frames have a high priority than normal DCF frames. Thus PCF can control the use of the medium. –PCF frames need to wait PIFS time before they are sent. –PIFS is shorter than DIFS, which is used by normal data frame transfer. PCF is an option. So far, no product in the market supports it

Point Coordination Function The PCF divides the time into a series of CFP intervals. Each CFP interval is further divided into a contention free period (CFP) and contention period (CP). Inside the CFP, the PC polls stations to give them a guaranteed chance to send out their frames. Need to wait only PIFS. Therefore, the PC can reserve the medium. All stations should set their NAV so that they are not allowed to use DCF to use the medium during this period

CFP Starts and Repeats at DTIM A DTIM (delivery traffic indication message) interval in this case is composed of 4 beacons. A CFP repetition interval (contention-free period) in this case is composed of 3 DTIM. CFP_Dur_Remaining is updated in each successive beacon. BB NAV reserves the medium

Shortened CF MaxDuration Because beacon generation and transmission may be delayed by unfinished DCF traffic (they use SIFS.), the contention free period may need to be shortened. This change will be announced in beacon frames

Polling In a CPF, the PC sends poll frames to stations asking whether they have frames to send. If a polled station has a frame to send to the AP, it can send it to the AP now

Polling To reduce polling frame overhead, the AP should piggyback the data, poll, and ACK as mush as it can onto a frame. Inside the CFP, frames are exchanged with a SIFS gap. This allows them to finish without being interrupted by traffic from other stations. ACK

Polling If there is no response from a polled station, the PC starts polling again after PIFS. The PC can end the CPF earlier by sending out CF- END if there is no more station to poll. All other stations should also update their NAV

Polling Is Not Always Needed Actually in a CFP, the PC does not need to always poll stations. Polling stations give stations a chance to send (uplink) their frames to the AP. However, if there is no uplink traffic and the AP has many frames to send to stations (downlink), it can send these frames to stations without polling them. Therefore, to just receive frames from the PC, stations need not be CF-pollable

Polling Policy Polling list processing: –The PC should send a poll to at least one station during each CFP when there are entries in the polling list. –The PC should issue polls to stations based on their AID (association ID) in ascending order. –In a CFP, if all stations in the list have been polled and time still remains, the PC can issue polls to any station on the list. –Or, the PC can send data or management frames to any station. Still a research issue

Power Management Wireless NIC usually are used by mobile devices. (for mobility) Mobile devices usually uses battery power, which cannot last too long. Wireless NIC can consume a lot of power while waiting for frames to arrive. (CISCO Aironet: Transmit: 450 mA, Receive: 270 mA, Sleep mode: 15 mA ) Therefore, to save power, IEEE defines a power save mechanism by which wireless stations can sleep most of the time and be waked up when it has a frame to receive

Power Saving Scheme The general idea is as follows: –A station indicates in its transmitted frame to the AP that it will sleep after this frame transmission. –Then the station goes to sleep. –In the mean time, if there is a frame that the AP needs to forward to the station, the frame will be buffered at the AP. –In the beacons generated by the AP, there is information showing that there is a frame buffered for the station. –Because the sleeping station needs to wake up periodically to receive the AP’s beacons, it will notice this. –It then sends a power-save poll request frame to the AP. –Then the AP will send the buffered frame to the station. –Then the station can sleep again

Power Save in Infrastructure Network Every beacon contains a TIM (traffic indicator message). The station notices from the TIM that it has frame buffered at the AP. It then sends a PS-Poll to the AP. The AP then sends the buffered frame to the station

Power Save in Infrastructure Network The AP will not send a broadcast or multicast frame if there is one station in the power-save mode. DTIM (delivery TIM) is a special TIM where the AP will send broadcast or multicast frames regardless of the power-save states of stations

Power Save in Ad Hoc Network

Power Save in Ad Hoc Network Similar to the power save mechanism in infrastructure mode An ad hoc station needs to buffer a frame if the frame’s destination station is in the power-save mode. (how to know? Interesting research issue!) After every beacon and within the ATIM (ad hoc TIM) window, the ad hoc source station sends a ATIM frame to the destination station to notify it. Because every ad hoc station is required to wake up at each beacon time (actually can wake up at every N’th beacon) and last UP for ATIM window, it will get this notification. Then the ad hoc source station can send a frame to the destination station directly

Two Points We see that in order for every station to wake up at the same time to receive beacons (its TIM) and ATIM, the clocks of these stations need to be synchronized. –This is why in either ad hoc or infrastructure networks, beacon transmission is still needed to synchronize the times of stations. –Since frequency hopping is no longer used for the 11 Mbps PHY, power management seems to be the only main reason why stations’ clocks need to be precisely synchronized. When to start sleeping and wake up, how long to sleep and wake up? How should a station do so that it can save the most power while remaining very responsive is still an interesting research problem

(Roaming) Switch to a Different AP A station needs to switch to a different AP when it detects that the quality of the communication channel between it and the current AP is becoming worse. At this time, it should start scanning other available APs. How to determine when to start and stop searching for a better AP is interesting, especially when the station is at the interception of overlapping cells. One technique is to use a high and low watermark thresholds to avoid too much association and disassociation request overhead. (I.e., we should use damping to avoid flapping)

Control Frame Format Duration = Txtime(data) + Txtime(CTS) + Txtime(ACK) + 3 * SIFS

Control Frame Format Duration = the duration in the just received RTS frame – Txtime(CTS) – SIFS

Control Frame Format Duration = 0 if the “more fragment” bit is 0 in the just received data frame. Otherwise, duration = the duration in the just received fragment – Txtime(Ack) – SIFS

Control Frame Format BSSID is the address of the AP. TA is the transmitter’s address. AID is the association ID assigned to this station

Control Frame Format The BSSID is the address of the AP. RA is the broadcast address. Duration is

Control Frame Format Piggyback CF-END and CF-ACK together. The BSSID is the address of the AP. RA is the broadcast address. Duration is

Data Frame Format

Management Frame Format BSSID: the ID of the BSS that this frame belongs to

Management Frame Format Beacon

Management Frame Format SSID: specify which BSS the station wants to join. Listen interval: indicate to the AP how often this station will wake up to listen to its beacons. (unit is beacons) Capability: indicate to the AP whether this station can accept PCF

Management Frame Format Capability: indicate to the station the capability of the AP. (e.g., whether the AP can do PCF or power management)

Management Frame Format A station sends this request to a new AP. Current AP address: the new AP can use this information to ask the old AP to forward the station’s data frames to it

Management Frame Format

Management Frame Format Used in active scanning. SSID: can be a broadcast address meaning that the station can accept any AP

Management Frame Format Disassociation: it is just a notification. An approval is not needed. Used when a station switches to a different AP, or an AP decides to power down

Management Frame Format The results of doing active scanning. Like the beacon format

Management Frame Format Because a station can be associated with an AP, it must be authenticated first. One authentication algorithm is OPEN, which mean “always succeed”

Management Frame Format

Management Frame Format ESS = 1 IBSS = 0 : Infrastructure mode ESS = 0 IBSS = 1 : Ad hoc mode

(Element ID, Length, Information) is a general format. Information Element

Information Element Current channel: The station will use this information to set its channel to join an AP

Information Element CFP count: indicate how many DTIM appear before the next CFP starts. CFP period: indicate the number of DTIM interval between the start of CFPs. CFP Maxduration: indicate the maximum duration of the CFP that may be generated by this PCF. CFP DurRemaining: indicate the time remaining in the current CFP

Information Element DTIM count: indicate how many beacons appear before the next DTIM. DTIM period: indicate the number of beacon intervals between successive DTIM. Partial virtual bitmap: each bit indicates whether there is a buffered frame at the AP for a particular station

Conclusions wireless LAN is becoming more and more popular. When its cost comes down like Ethernet, it will get even wider uses. Thus, knowing the standard in detail will be good for you for a long time