Introduction. Giuseppe Bianchi, Ilenia Tinnirello

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

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Data Communications. Data Link Layer Protocols Wireless LANs

Wireless Protocols. Training materials for wireless trainers

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

Wireless LANs. ITS 413 Internet Technologies and Applications

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

Guide to Wireless Communications, Third Edition. Objectives

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

Introduction to IEEE

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

ECE442 Communications Lecture 3. Wireless Local Area Networks

3.1. Introduction to WLAN IEEE

Computer Networks. Wireless LANs

Introduction to Wireless LANs

IEEE MAC Sublayer (Based on IEEE )

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

Wireless# Guide to Wireless Communications. Objectives

Data and Computer Communications. Chapter 13 Wireless LANs

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

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

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Wireless Local Area Networks (WLANs) Part I

Mohamed Khedr.

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

IEEE Wireless LANs Part I: Basics

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

Lecture 3.0. Introduction to Wireless LANs

Introduction to Wireless LAN

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

Local Area Networks NETW 901

IEEE Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

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

Lecture 16: QoS and "

MSIT 413: Wireless Technologies Week 8

Nomadic Communications WLAN MAC Fundamentals

Optional Point Coordination Function (PCF)

IEEE Technical Tutorial. Introduction. IEEE Architecture

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Wireless LAN -Architecture

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

Lesson 2-3: The IEEE x MAC Layer

Wireless and Mobile Networks

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

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

Internet Protocol Stack

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

Wireless Communication and Networking CMPT 371

Last Lecture: Data Link Layer

Basic processes in IEEE networks

Multiple Access in Cellular and Systems

IEEE WLAN (802.11) Copyright. Nomadic Communications

ABHELSINKI UNIVERSITY OF TECHNOLOGY

Mobile Communications Chapter 7: Wireless LANs

MAC in /20/06

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

Wireless Communication Session 4 Wi-Fi IEEE standard

Wireless and Mobile Networks 7-2

Chapter 7: Wireless LANs

Wireless Communication and Networking CMPT 371

Table of Contents 1 WLAN Service Configuration 1-1

Chapter 7: Wireless LANs

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

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

Wireless Networked Systems

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

ECE 435 Network Engineering Lecture 8

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

Multiple Access Links and Protocols

Mohammad Hossein Manshaei 1393

Advanced Computer Networks WLAN

CMPE 257: Wireless and Mobile Networking

Wireless Local Area Networks. Networks: Wireless LANs 1

Lecture (08) Wireless Traffic Flow and AP Discovery

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

Analysis of IEEE e for QoS Support in Wireless LANs

Master thesis 60 credits

Computer Communication III

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

Laboratory of Nomadic Communication. Quick introduction to IEEE

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

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

CSNT 180 Wireless Networking. Chapter 7 WLAN Terminology and Technology

Chapter 6 Wireless and Mobile Networks

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

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

Wireless technology Principles of Security

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

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

Topic 4. Wireless LAN IEEE

CSC 4900 Computer Networks: Wireless Networks

Wireless Networks (MAC)

CS698T Wireless Networks: Principles and Practice

15-441: Computer Networking. Wireless Networking

Hands-On Exercises: IEEE Standard

Enabling Technologies

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

Transcription:

IEEE 802.11 Wireless LANs Introduction

WLAN History Ł Original goal: Deploy wireless Ethernet First generation proprietary solutions (end 80, begin 90) WaveLAN (AT&T)) HomeRF (Proxim) Abandoned by major chip makers (e.g. Intel: dismissed in april 2001) Ł IEEE 802.11 Committee formed in 1990 Charter: specification of MAC and PHY for WLAN First standard: june 1997 1 and 2 Mbps operation Reference standard: september 1999 Multiple Physical Layers Two operative Industrial, Scientific & Medical unlicensed bands» 2.4 GHz: Legacy; 802.11b/g» 5 GHz : 802.11a Ł 1999: Wireless Ethernet Compatibility Alliance (WECA) certification Later on named Wi-Fi Boosted 802.11 deployment!!

Why so much talking about of 802.11 today? Ł 802.11: no more just a WLAN Ł Hot-spots Where the user goes, the network is available: home, school, office, hotel, university, airport, convention center Freedom to roam with seamless connectivity in every domain, with single client device Ł May compete (complement) with 3G for Wireless Internet access Mesh networks, community networks, etc.

WLAN vs. PCS Ł Public Cellular Systems: Global coverage: network level for addressing a node within the whole national-wide network Circuit services: each user may receive a dedicated channel (time slot, frequency, code..) radio resources are assigned Resource reuse thanks to complex planning and management operations performed by network providers Ł Wireless Local Area Networks: Local coverage: hotspots; no network level; addressing in guaranteed only within the hotspot; Other network levels (e.g. IP) can be used for going outside the hotspot Data services: one shared channel among all users, in which each user acquired the right to transmit for a limited amount of time No coordination: no central planning for coordinating different hot-spots and very limited management operation

One shared channel: On which bandwidths? Ł Classical approach: narrow frequency band, much power as possible into the signal Authority must impose rulse on how RF spectrum is used. Licenses restrict frequencies and transmission power Ł However.. Several bands have been reserved for unlicensed use To allow consumer market for home use, bands for industrial, scientific and medical equipment (ISM bands): e.g. 2.4 Ghz, 5 Ghz Limitations only on transmitted power unlicensed does not mean plays well with others WIFI WORKS ON UNLICENSED BANDWIDTHS!

The 2.4 (wifi) GHz spectrum Ł 2.4 GHz bandwidth: 2.400-2.483,5 Ł Europe (including Italy): 13 channels (each 5 MHz) - 2.412 2.417-2.422 2.427 2.472 Channel spectrum: (11 MHz chip clock) about 22 MHz Max speed related to bandwidth 2412 2437 2462

DSSS Frequency Channel Plan

The 5.0 (OFDM) GHz spectrum Ł US regulation: 3 x 100 MHz channels 5.150-5.250 (40 mw) 5.250-5-350 (200 mw) 5.725-5.825 (800 mw) Operating 20 MHz channels 5.180, 5.200, 5.220, 5.240 5.260, 5.280, 5.300, 5.320 5.745, 5.765, 5.785, 5.805 20 MHz / 64 subcarriers = 0.3125 MHz per subcarriers (52 used)

WLAN data rates Ł Legacy 802.11 Work started in 1990; standardized in 1997 1 mbps & 2 mbps Ł The 1999 revolution: PHY layer impressive achievements 802.11a: PHY for 5 GHz Published in 1999 Products available since early 2003 802.11b: higher rated PHY for 2.4 GHz Published in 1999 Products available since 1999 Interoperability tested (wifi) Ł 2003: extend 802.11b 802.11g: OFDM for 2.4 GHz Published in june 2003 Products available, though no extensive interoperability testing yer Backward compatiblity with 802.11b Wi-Fi Standard Transfer Method 802.11 legacy FHSS, DSSS, IR 802.11b DSSS, HR-DSSS "802.11b+" non-standard DSSS, HR- DSSS, (PBCC) Frequenc y Band 2.4 GHz, IR 802.11a OFDM 5.2, 5.5 GHz 802.11g DSSS, HR- DSSS, OFDM Data Rates Mbps 1, 2 2.4 GHz 1, 2, 5.5, 11 2.4 GHz 1, 2, 5.5, 11, 22, 33, 44 6, 9, 12, 18, 24, 36, 48, 54 2.4 GHz 1, 2, 5.5, 11; 6, 9, 12, 18, 24, 36, 48, 54

Why multiple rates? Adaptive coding/modulation Example: 802.11a case

PHY distance/rate tradeoffs (open office) Distance (m) 140.0 120.0 100.0 80.0 60.0 40.0 5 GHz OFDM (.11a) 2.4 GHz OFDM (.11g) 2.4 GHz (.11b) 20.0 0.0 1Mbps 5.5Mbps 6Mbps 11Mbps 12Mbps 24Mbps 36Mbps 54Mbps

Coverage performance Cisco Aironet 350 Access Point 11 Mb/s DSS da ~30 a ~45 metri Configurable TX power: 50, 30, 20, 5, 1 mw (100 mw outside Europe) 5.5 Mb/s DSS da ~45 a ~76 metri 2 Mb/s DSS da ~76 a ~107 metri Greater TX power, faster battery consumptions!!

WLAN NIC addresses Ł Same as Ethernet NIC 48 bits = 2 + 46 Ł Ethernet & WLAN addresses do coexist Undistinguishable, in a same (Layer-2) network Role of typical AP = bridge» To be precise: when the AP acts as portal in 802.11 nomenclature 802 IEEE 48 bit address 1 bit = individual/group 1 bit = universal/local 46 bit adress C:> arp a 192.168.1.32 00.0a.e6.f7.03.ad dinamico 192.168.1.43 00.06.00.32.1a dinamico 192.168.1.52 00.82.00.11.22.33

Protocol stack Ł 802.11: just another 802 link layer J

802.11 MAC Data Frame MAC header: -28 bytes (24 header + 4 FCS) or - 34 bytes (30 header + 4 FCS) PHY IEEE 802.11 Data 0-2312 FCS Frame Control Duration / ID Address 1 Address 2 Address 3 Sequence Control Address 4 2 2 6 6 6 2 6 0-2312 4 Data Frame check sequence Protocol version Type Sub Type info 2 2 12 Fragment number Sequence number 4 12 Sub Type To DS From DS More Frag Retry Pwr MNG More Data WEP Order 4 1 1 1 1 1 1 1 1 Details and explanation later on!

IEEE 802.11 WLAN Wireless LAN Networks and related Addressing

Basic Service Set (BSS) group of stations that can communicate with each other Ł Infrastructure BSS or, simply, BSS Stations connected through AP Ł Independent BSS or IBSS Stations connected in ad-hoc mode Network infrastructure AP

Frame Forwarding in a BSS Network infrastructure AP BSS: AP = relay function No direct communication allowed! IBSS: direct communication between all pairs of STAs

Why AP = relay function? Ł Management: Mobile stations do NOT neet to maintain neighbohr relationship with other MS in the area But only need to make sure they remain properly associated to the AP Association = get connected to (equivalent to plug-in in a wire to a bridge J ) Ł Power Saving: APs may assist MS in their power saving functions by buffering frames dedicated to a (sleeping) MS when it is in PS mode Ł Obvious disadvantage: use channel bandwidth twice

Extended Service Set BSS1 AP1 BSS2 BSS3 BSS4 AP2 AP3 AP4 ESS: created by merging different BSS through a network infrastructure (possibly overlapping BSS to offer a continuous coverage area) Stations within ESS MAY communicate each other via Layer 2 procedures APs acting as bridges MUST be on a same LAN or switched LAN or VLAN (no routers in between)

The concept of Distribution System Distribution system (physical connectivity + logical service support) AP1 AP2 AP3 MSs in a same ESS need to 1) communicate each other 2) move through the ESS No standard implementation, but set of services: Association, disassociation, reassociation, Integration, distribution Basically. DS role: - track where an MS is registrered within an ESS area - deliver frame to MS

Association and DS AP1 AP2 AP3 IAPP IAPP Association Ł Typical implementation (media) Switched ethernet backbone But alternative distribution medium are possible E.g. wireless distribution system (WDS) DS implementation: - an AP must inform other APs of associated MSs MAC addresses - proprietary implementation no interoperability - standardized protocol IAPP (802.11f) in june 2003 Current trend: - Centralized solutions (Cisco, Aruba)- CAPWAP?

Wireless Distribution System AP1 AP2 AP3 DS medium: - not necessarily an ethernet backbone! - could be the 802.11 technology itself Resulting AP = wireless bridge

Addresses Ł At least three addresses Receiving station Transmitting station BSS address To make sure a frame is valid within the considered BSS For filtering purpose (filter frame within a BSS)

BSSID Ł Address of a BSS Infrastructure mode: AP MAC address Ad-hoc mode: Random value» With universal/local bit set to 1 Generated by STA initiating the IBSS 802 IEEE 48 bit addresses 1 bit = individual/group 1 bit = universal/local 46 bit address

Addressing in an IBSS SA DA Frame Control Duration / ID Address 1 DA Address 2 SA Address 3 BSSID Sequence Control Address 4 --- Data FCS SA = Source Address DA = Destination Address

Addressing in a BSS? AP SA X DA

Addressing in a BSS! AP Distribution system SA DA Frame must carry following info: 1) Destined to DA 2) But through the AP What is the most general addressing structure?

Addressing in a BSS (to AP) AP BSSID Distribution system Address 2 = wireless Tx Address 1 = wireless Rx Address 3 = dest SA DA Frame Control Duration / ID Address 1 BSSID Address 2 SA Address 3 DA Sequence Control Address 4 --- Data FCS Protocol version Type 2 2 Sub Type 1 0 To DS From DS More Frag Retry Pwr MNG More Data WEP Order 4 1 1 1 1 1 1 1 1

Addressing in an ESS Distribution System AP AP BSSID DA DA SA Idea: DS will be able to forward frame to dest (either if fixed or wireless MAC) Frame Control Duration / ID Address 1 BSSID Address 2 SA Address 3 DA Sequence Control Address 4 --- Data FCS Protocol version Type 2 2 Sub Type 1 0 To DS From DS More Frag Retry Pwr MNG More Data WEP Order 4 1 1 1 1 1 1 1 1

Addressing in a BSS (from AP) AP BSSID Distribution system Address 2 = wireless Tx Address 1 = wireless Rx Address 3 = src SA DA Frame Control Duration / ID Address 1 DA Address 2 BSSID Address 3 SA Sequence Control Address 4 --- Data FCS Protocol version Type 2 2 Sub Type 0 1 To DS From DS More Frag Retry Pwr MNG More Data WEP Order 4 1 1 1 1 1 1 1 1

From AP: do we really need 3 addresses? Distribution system AP BSSID SA DA DA correctly receives frame, and send 802.11 ACK to BSSID (wireless transmitted) DA correctly receives frame, and send higher level ACK to SA (actual transmitter)

Addressing within a WDS Wireless Distribution System AP TA AP RA SA Address 4: initially forgotten DA Frame Control Duration / ID Address 1 RA Address 2 TA Address 3 DA Sequence Control Address 4 SA Data FCS Protocol version Type 2 2 Sub Type 1 1 To DS From DS More Frag Retry Pwr MNG More Data WEP Order 4 1 1 1 1 1 1 1 1

Addressing: summary Receiver Transmitter Function To DS From DS Address 1 Address 2 Address 3 Address 4 IBSS 0 0 RA = DA SA BSSID N/A From AP 0 1 RA = DA BSSID SA N/A To AP 1 0 RA = BSSID SA DA N/A Wireless DS 1 1 RA TA DA SA Ł Ł Ł Ł Ł BSS Identifier (BSSID) unique identifier for a particular BSS. In an infrastructure BSSID it is the MAC address of the AP. In IBSS, it is random and locally administered by the starting station. (uniqueness) Transmitter Address (TA) MAC address of the station that transmit the frame to the wireless medium. Always an individual address. Receiver Address (RA) to which the frame is sent over wireless medium. Individual or Group. Source Address (SA) MAC address of the station who originated the frame. Always individual address. May not match TA because of the indirection performed by DS of an IEEE 802.11 WLAN. SA field is considered by higher layers. Destination Address (DA) Final destination. Individual or Group. May not match RA because of the indirection.

Service Set IDentifier (SSID) Ł Ł Ł Name of the WLAN network Plain text (ascii), up to 32 char Assigned by the network administrator All BSS in a same ESS have same SSID Typically (but not necessarily) is transmitted in periodic management frames (beacon) Typical: 1 broadcast beacon every 100 ms (configurable by sysadm) Beacon may transmit a LOT of other info Beacon example

IEEE 802.11 WLAN Medium Access Control Protocols: DCF

Wireless Ethernet Ł 802.3 (Ethernet) CSMA/CD Carrier Sense Multiple Access Collision Detect Ł 802.11(wireless LAN) CSMA/CA (Distributed Coordination Function) Carrier Sense Multiple Access Collision Avoidance A B C Ł Both A and C sense the channel idle at the same time they send at the same time. Ł Collision can be detected at sender in Ethernet. Ł Why this is not possible in 802.11? 1. Either TX or RX (no simultaneous RX/TX) 2. Large amount of power difference in Tx and Rx (even if simultaneous txrx, no possibility in rx while tx-ing) 3. Wireless medium = additional problems vs broadcast cable!!

Hidden Terminal Problem Ł Large difference in signal strength; physical channel impairments (shadowing) It may result that two stations in the same area cannot communicate Ł Hidden terminals A and C cannot hear each other A transmits to B C wants to send to B; C cannot receive A;C senses idle medium (Carrier Sense fails) Collision occurs at B. A cannot detect the collision (Collision Detection fails). A is hidden to C. A B C

802.11 MAC approach Ł Still based on Carrier Sense: Listen before talking Ł But collisions can only be inferred afterwards, at the receiver Receivers see corrupted data through a CRC error Transmitters fail to get a response Ł Two-way handshaking mechanism to infer collisions DATA-ACK packets TX packet ACK RX

Channel Access details Ł A station can transmit only if it senses the channel IDLE for a DIFS time DIFS = Distributed Inter Frame Space Packet arrival TX DIFS DATA RX SIFS ACK What about a station arriving in this frame time? Ł SIFS = Short Inter Frame Space

DIFS & SIFS in wi-fi Ł DIFS = 50 s Ł SIFS = 10 s

STA1 DIFS Why backoff? DATA SIFS ACK STA2 DIFS STA3 Collision! RULE: when the channel is initially sensed BUSY, station defers transmission; But when it is sensed IDLE for a DIFS, defer transmission of a further random time (BACKOFF TIME)

Slotted Backoff STA2 STA3 DIFS w=7 Extract random number in range (0, W-1) Decrement every slot-time w=5 Note: slot times are not physically delimited on the channel! Rather, they are logically identified by every STA Slot-time values: 20s for DSSS (wi-fi) Accounts for: 1) RX_TX turnaround time 2) busy detect time 3) propagation delay

Backoff freezing Ł When STA is in backoff stage: It freezes the backoff counter as long as the channel is sensed BUSY It restarts decrementing the backoff as the channel is sensed IDLE for a DIFS period STATION 1 DIFS DATA SIFS ACK DIFS STATION 2 DIFS SIFS ACK 6 5 BUSY medium Frozen slot-time 4 DIFS 3 2 1

Backoff rules Ł First backoff value: Extract a uniform random number in range (0,CW min ) Ł If unsuccessful TX: Extract a uniform random number in range (0,2 (CW min +1)-1) Ł If unsuccessful TX: Extract a uniform random number in range (0,2 2 (CW min +1)-1) Ł Etc up to 2 m (CW min +1)-1 Exponential Backoff! CWmin = 31 CWmax = 1023 (m=5)

RTS/CTS Ł Request-To-Send / Clear-To-Send Ł 4-way handshaking Versus 2-way handshaking of basic access mechanism Ł Introduced for two reasons Combat hidden terminal Improve throughput performance with long packets

RTS/CTS and hidden terminals Packet arrival TX DIFS RTS DATA RX SIFS CTS SIFS SIFS ACK others NAV (RTS) NAV (CTS) TX RTS CTS RX CTS hidden (Update NAV) RTS/CTS: carry the amount of time the channel will be BUSY. Other stations may update a Network Allocation Vector, and defer TX even if they sense the channel idle (Virtual Carrier Sensing)

Frame formats DATA FRAME (28 bytes excluded address 4) Frame Control Duration / ID Address 1 Address 2 Address 3 Sequence Control Address 4 Data FCS RTS (20 bytes) Frame Control Duration RA TA FCS CTS / ACK (14 bytes) Frame Control Duration RA FCS

Fragmentation Ł Ł Splits message (MSDU) into several frames (MPDU) Same fragment size except the last one Fragmentation burst Fragments separated by SIFS Channel cannot be captured by someone else Each fragment individually ACKed Ł Ł Each fragment reserves channel for next one NAV updated fragment by fragment Missing ACK for fragment x Release channel (automatic) Backoff Restart from transmission of fragment x

Why Fragmentation? Ł High Bit Error Rate (BER) Increases with distance The longer the frame, the lower the successful TX probability High BER = high rts overhead & increased rtx delay Backoff window increases: cannot distinguish collisions from tx error!

Frame Control Fragment and sequence numbers DATA FRAME (28 bytes excluded address 4) Duration / ID Address 1 Address 2 Address 3 Sequence Control Address 4 Data FCS More Frag Retry 1 1 Ł Ł Ł Ł Fragment number Sequence number 4 12 Fragment number Increasing integer value 0-15 (max 16 fragments since 4 bits available) Essential for reassembly More fragment bit (frame control field) set to: 1 for intermediate fragments 0 for last fragment Sequence Number Used to filter out duplicates Unlike Ethernet, duplicates are quite frequent! Retransmissions are a main feature of the MAC Retry bit: helps to distinguish retransmissions Set to 0 at transmission of a new frame

IEEE 802.11 WLAN Lecture 3bis Medium Access Control Protocols: PCF

PCF vs DCF PCF DCF PHY PCF deployed on TOP of DCF Backward compatibility

PCF Ł Token-based access mechanism Polling Ł Channel arbitration enforced by a point Coordinator (PC) Typically the AP, but not necessarily Ł Contention-free access No collision on channel Ł PCF deployment: minimal!! Optional part of the 802.11 specification As such, almost never deployed But HCCA (PCF extension in 802.11e) is getting considerable attention

PCF frame transfer SIFS Polling strategy: very elementary!! - send polling command to stations with increasing Association ID value - (regardless whether they might have or not data to transmit)

IEEE 802.11 WLAN Network Management

Management Operations Ł Wireless is not always an advantage Medium unreliable, lack of physical boundaries, power consumption Ł How to join, build, connect, move nodes, save energies, All these issues are faced by the management procedures, which can be customized Different vendor offers: very simple products vs. feature-rich products

Scanning Ł Before joining a network, you have to find it!! The discovery operation is called scanning Ł Several parameters can be specified by the user BSSType (independent, infrastucture, both) BSSID (individual, Broadcast) SSID (network name) ScanType (active, passive) Channel List Probe Delay (to start the active scanning in each channel) MinChannelTime, MaxChannelTime

Passive Scanning Ł Saves battery, since it requires listening only Ł Scanning report based on beacon frames heard while sweeping channel to channel AP2 AP1 Found AP1, AP3 AP3

Active Scanning Ł Probe Request Frames used to solicit responses from a network, when the ProbeDelay time expires If the medium is detected busy during the MinChannelTime, wait until the MaxChanneltime expires One station in each BSS is responsible to send Probe Responses (station which transmitted the last beacon frame)

Joining Ł A scan report is generated after each scan, reporting BSSID, SSID, BSSType, Beacon Interval DTIM period Timing Parameters (Timestamp) PHY Parameters, BSSBasicRateSet Ł Joing: before associating, select a network (often it requires user action) Ł and after? autentication

Association Ł After that we choose a network and we authenticate, we can finally send an association message The message is required for tracking the host position in the ESS Not used for ad hoc networks Re-association after hand-over

And to be found? Ł It is required to periodically transmit a beacon! In infrastructure: beacon transmissions managed by the AP In ad-hoc: each station contend for the beacon and leave the contention after the first observed beacon Ł The beacon frames are periodically scheduled, but contend as normal frames Deterministic scheduling Random transmission delays

What information is carried by beacons? Ł Ł Ł Ł Timestamp (8 bytes): in Transmission Units TU (=1024 us) to synchronize stations Beacon Interval (2 bytes): beacon scheduling interval Capability Info (2 bytes): bit map to activate/deactivate some network features SSID (variable size): network name set by the operators Element ID, Length, Information for every variable size field OPTIONAL: Ł FH ParameterSet (7 bytes) Ł DS ParameterSet (2 bytes) Ł CF ParameterSet (8 bytes) Ł IBSS ParameterSet (4 bytes) Ł Traffic Indicator Map TIM (variable size): to indicate which stations have buffered frames; some TIM are Delivery TIM for broadcast traffic

Why Timestamps for Synchronization? "#$% &'