Wireless Communication Session 4 Wi-Fi IEEE standard

Similar documents
Data Communications. Data Link Layer Protocols Wireless LANs

Computer Networks. Wireless LANs

Mohammad Hossein Manshaei 1393

MAC in /20/06

Mobile & Wireless Networking. Lecture 7: Wireless LAN

Computer Communication III

Mobile Communications Chapter 7: Wireless LANs

Introduction to IEEE

Mobile Communications Chapter 7: Wireless LANs

Chapter 7: Wireless LANs

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

Advanced Computer Networks WLAN

Chapter 7: Wireless LANs

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

Mobile Communications Chapter 7: Wireless LANs

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

ICE 1332/0715 Mobile Computing (Summer, 2008)

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

Mobile Communications Chapter 7: Wireless LANs

Local Area Networks NETW 901

Internet Structure. network edge:

Lecture 16: QoS and "

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

Internet Protocol Stack

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

Chapter 4 WIRELESS LAN

Guide to Wireless Communications, Third Edition. Objectives

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

MAC. Fall Data Communications II 1

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

Wireless# Guide to Wireless Communications. Objectives

Optional Point Coordination Function (PCF)

3.1. Introduction to WLAN IEEE

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

Mohamed Khedr.

Wireless Protocols. Training materials for wireless trainers

Wireless Networked Systems

Wireless Local Area Networks (WLANs) Part I

Advanced Computer Networks. WLAN, Cellular Networks

Mohammad Hossein Manshaei

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

IEEE Integrated Communication Systems Group Ilmenau University of Technology

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

WLAN. Right, Gentlemen. The aim of our presentation is to give you detailed information on the topic WLAN (Wireless Local Area Network).

Wireless Communication and Networking CMPT 371

IEEE Technical Tutorial. Introduction. IEEE Architecture

Multiple Access Links and Protocols

Data and Computer Communications. Chapter 13 Wireless LANs

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

Wireless Local Area Networks. Networks: Wireless LANs 1

Wireless and Mobile Networks

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

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

Wireless LANs. ITS 413 Internet Technologies and Applications

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

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

MSIT 413: Wireless Technologies Week 8

IEEE Mobile Communication Networks (RCSE) Winter Semester 2011/12. Integrated Communication Systems Group Ilmenau University of Technology

Wireless Communication and Networking CMPT 371

ECE442 Communications Lecture 3. Wireless Local Area Networks

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

Wireless Local Area Network (IEEE )

IEEE Wireless LANs

Nomadic Communications WLAN MAC Fundamentals

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

Introduction to Wireless LAN

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

CSE 461: Wireless Networks

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

Unit 7 Media Access Control (MAC)

Wireless and Mobile Networks 7-2

IEEE MAC Sublayer (Based on IEEE )

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

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

IEEE Characteristics System Architecture Protocol Architecture Physical Layer. Power Management Roaming Current Developments

IEEE Wireless LANs Part I: Basics

Lesson 2-3: The IEEE x MAC Layer

Hands-On Exercises: IEEE Standard

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

Investigation of WLAN

Wireless LAN -Architecture

IEEE Medium Access Control. Medium Access Control

Mobile Communications I

Wireless Communications

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

Topic 4. Wireless LAN IEEE

Lecture (08) Wireless Traffic Flow and AP Discovery

Chapter 3.1 Acknowledgment:

Enabling Technologies

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

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

The IEEE standard

CSC 4900 Computer Networks: Wireless Networks

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

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

Transmission Control Protocol over Wireless LAN

CHAPTER 8: LAN Standards

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

Transcription:

Wireless Communication Session 4 Wi-Fi IEEE802.11 standard M. Daneshvar Farzanegan Soourosh.blogfa.com smdanesh@yahoo.com 1

Reminder on frequencies and wavelenghts twisted pair coax cable optical transmission 1 Mm 300 Hz 10 km 30 khz 100 m 3 MHz 1 m 300 MHz 10 mm 30 GHz 100 m 3 THz 1 m 300 THz VLF LF MF HF VHF UHF SHF EHF infrared visible light UV VLF = Very Low Frequency LF = Low Frequency MF = Medium Frequency HF = High Frequency VHF = Very High Frequency UHF = Ultra High Frequency SHF = Super High Frequency EHF = Extra High Frequency UV = Ultraviolet Light Frequency and wave length: = c/f wave length, speed of light c 3x10 8 m/s, frequency f 2

Frequencies for mobile communication VHF-/UHF-ranges for mobile radio simple, small antenna for handset deterministic propagation characteristics, reliable connections SHF and higher for directed radio links, satellite communication small antenna large bandwidth available Wireless LANs use frequencies in UHF to SHF spectrum some systems planned up to EHF limitations due to absorption by water and oxygen molecules (resonance frequencies) Weather-dependent fading, signal loss caused by heavy rainfall etc. 3

Frequency allocation Europe USA Japan Mobile phones Cordless telephones Wireless LANs Dig. Dividend 800MHz GSM 890-915 MHz, 935-960 MHz; 1710-1785 MHz, 1805-1880 MHz UMTS 1920-1980 MHz 2110-2170 MHz LTE 800 and 2600MHz CT1+ 885-887 MHz, 930-932 MHz; CT2 864-868 MHz DECT 1880-1900 MHz IEEE 802.11 2400-2483 MHz 5725 5875 MHz AMPS, TDMA, CDMA 824-849 MHz, 869-894 MHz; TDMA, CDMA, GSM 1850-1910 MHz, 1930-1990 MHz; UMTS 1850-1910 MHz 1930-1990 MHz PACS 1850-1910 MHz, 1930-1990 MHz PACS-UB 1910-1930 MHz IEEE 802.11 2400-2483 MHz 5725 5875 MHz PDC 810-826 MHz, 940-956 MHz; 1429-1465 MHz, 1477-1513 MHz UMTS 1749.9-1784.9 1844.9-1879.9 PHS 1895-1918 MHz JCT 254-380 MHz IEEE 802.11 2471-2497 MHz 5725 5875 MHz Note: in the coming years, frequencies will become technology-neutral 4

Characteristics of Wireless LANs Advantages flexibility (almost) no wiring difficulties (e.g., historic buildings) more robust against disasters like, e.g., earthquakes, fire - or users pulling a plug... Disadvantages lower bitrate compared to wired networks More difficult to secure 5

Scope of Various WLAN and WPAN Standards Power consumption Complexity 802.11a 802.11n 802.11g 802.11 802.11b WLAN 802.15.I Bluetooth 802.15.4 WPAN WPAN: Wireless Personal Area Network Data rate 6

Design goals for wireless LANs low power no special permissions or licenses needed to use the LAN robust transmission technology easy to use for everyone, simple management protection of investment in wired networks (internetworking) security, privacy, safety (low radiation) transparency concerning applications and higher layer protocols location awareness if necessary 7

Infrastructure vs. ad hoc networks infrastructure network AP: Access Point AP AP wired network AP Ad hoc network 8

IEEE 802.11 - Architecture of an infrastructure network STA 1 ESS 802.11 LAN BSS 1 Access Point BSS 2 Portal Distribution System Access Point 802.x LAN STA 2 802.11 LAN STA 3 Station (STA) terminal with access mechanisms to the wireless medium and radio contact to the access point Basic Service Set (BSS) group of stations using the same radio frequency Access Point station integrated into the wireless LAN and the distribution system Portal bridge to other (wired) networks Distribution System interconnection network to form one logical network (ESS: Extended Service Set) based on several BSS 9

802.11 - Architecture of an ad-hoc network STA 1 BSS 1 802.11 LAN STA 2 STA 3 Direct communication within a limited range Station (STA): terminal with access mechanisms to the wireless medium Basic Service Set (BSS): group of stations using the same radio frequency 802.11 LAN BSS 2 STA 5 STA 4 10

Interconnection of IEEE 802.11 with Ethernet mobile station fixed terminal server infrastructure network access point application application TCP TCP IP IP 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

PHY Station Management 802.11 - Layers and functions MAC access mechanisms, fragmentation, encryption MAC Management synchronization, roaming, MIB, power management PLCP (Physical Layer Convergence Protocol) clear channel assessment signal (carrier sense) PMD (Physical Medium Dependent) modulation, coding PHY Management channel selection, MIB Station Management coordination of all management functions IP MAC PLCP PMD MAC Management PHY Management 12

802.11b - Physical layer 2 versions: DSSS and FHSS (both typically at 2.4 GHz) data rates 1, 2, 5 or 11 Mbit/s DSSS (Direct Sequence Spread Spectrum) DBPSK modulation (Differential Binary Phase Shift Keying) or DQPSK (Differential Quadrature PSK) chipping sequence: +1, -1, +1, +1, -1, +1, +1, +1, -1, -1, -1 (Barker code) max. radiated power 1 W (USA), 100 mw (EU), min. 1mW FHSS (Frequency Hopping Spread Spectrum) spreading, despreading, signal strength min. 2.5 frequency hops/s, two-level GFSK modulation (Gaussian Frequency Shift Keying) 13

Traffic services 802.11 - MAC layer principles (1/2) Asynchronous Data Service (mandatory) exchange of data packets based on best-effort support of broadcast and multicast Time-Bounded Service (optional) implemented using PCF (Point Coordination Function) Access methods (called DFWMAC: Distributed Foundation Wireless MAC) DCF CSMA/CA (mandatory) collision avoidance via randomized back-off mechanism minimum distance between consecutive packets ACK packet for acknowledgements (not for broadcasts) DCF with RTS/CTS (optional) avoids hidden terminal problem PCF (optional and rarely used in practice) access point polls terminals according to a list DCF: Distributed Coordination Function PCF: Point Coordination Function 14

Priorities 802.11 - MAC layer principles (2/2) defined through different inter frame spaces no guaranteed, hard priorities SIFS (Short Inter Frame Spacing) highest priority, for ACK, CTS, polling response PIFS (PCF IFS) medium priority, for time-bounded service using PCF DIFS (DCF, Distributed Coordination Function IFS) lowest priority, for asynchronous data service DIFS medium busy DIFS PIFS SIFS contention next frame direct access if medium is free DIFS time slot t Note : IFS durations are specific to each PHY 15

802.11 - CSMA/CA principles DIFS DIFS contention window (randomized back-off mechanism) medium busy direct access if medium has been free for at least DIFS time slot next frame t station ready to send starts sensing the medium (Carrier Sense based on CCA, Clear Channel Assessment) if the medium is free for the duration of an Inter-Frame Space (IFS), the station can start sending (IFS depends on service type) if the medium is busy, the station has to wait for a free IFS, then the station must additionally wait a random back-off time (collision avoidance, multiple of slot-time) if another station occupies the medium during the back-off time of the station, the back-off timer stops (to increase fairness) 16

DIFS 802.11 CSMA/CA broadcast = DIFS DIFS DIFS bo e bo r bo e bo r bo e busy station 1 station 2 bo e busy station 3 busy bo e busy (detection by upper layer) station 4 bo e bo r bo e busy (detection by upper layer) station 5 t Here St4 and St5 happen to have the same back-off time busy medium not idle (frame, ack etc.) bo e elapsed backoff time packet arrival at MAC bo r residual backoff time The size of the contention window can be adapted (if more collisions, then increase the size) Note: broadcast is not acknowledged 17

Sending unicast packets 802.11 - CSMA/CA unicast station has to wait for DIFS before sending data receiver acknowledges 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 DIFS data SIFS waiting time ACK DIFS Contention window data t The ACK is sent right at the end of SIFS (no contention) See file B1-802-11-Traces.pdf 18

Sending unicast packets 802.11 DCF with RTS/CTS station can send RTS with reservation parameter after waiting for DIFS (reservation determines amount of time the data packet needs the medium) acknowledgement via CTS after SIFS by receiver (if ready to receive) sender can now send data at once, acknowledgement via ACK other stations store medium reservations distributed via RTS and CTS sender receiver DIFS RTS SIFS CTS SIFS data SIFS ACK other stations NAV (RTS) NAV (CTS) defer access DIFS Contention window data t NAV: Net Allocation Vector RTS/CTS can be present for some packets and not for other 19

Fragmentation mode sender receiver DIFS 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 ) DIFS contention data t Fragmentation is used in case the size of the packets sent has to be reduced (e.g., to diminish the probability of erroneous frames) Each frag i (except the last one) also contains a duration (as RTS does), which determines the duration of the NAV By this mechanism, fragments are sent in a row In this example, there are only 2 fragments 20

802.11 - MAC frame format Types control frames, management frames, data frames Sequence numbers important against duplicated frames due to lost ACKs Addresses receiver, transmitter (physical), BSS identifier, sender (logical) Miscellaneous sending time, checksum, frame control, data bytes 2 2 6 6 6 6 Duration ID Address 1 Address 2 Address 3 Sequence Control Frame Control 2 0-2312 4 Address Data 4 CRC version, type, fragmentation, security,... detection of duplication 21

MAC address format 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 - infrastructure BSS : MAC address of the Access Point - ad hoc BSS (IBSS): random number RA: Receiver Address TA: Transmitter Address 22

802.11 - MAC management Synchronization Purpose for the physical layer (e.g., maintaining in sync the frequency hop sequence in the case of FHSS) for power management Principle: beacons with time stamps Power management sleep-mode without missing a message periodic sleep, frame buffering, traffic measurements Association/Reassociation integration into a LAN roaming, i.e. change networks by changing access points scanning, i.e. active search for a network MIB - Management Information Base managing, read, write 23

Synchronization (infrastructure case) beacon interval access point medium B B B B busy busy busy busy value of the timestamp B beacon frame t The access point transmits the (quasi) periodic beacon signal The beacon contains a timestamp and other management information used for power management and roaming All other wireless nodes adjust their local timers to the timestamp 24

Synchronization (ad-hoc case) beacon interval station 1 B 1 B 1 station 2 B 2 B 2 medium busy busy busy busy t value of the timestamp B beacon frame random delay (back-off) Each node maintains its own synchronization timer and starts the transmission of a beacon frame after the beacon interval Contention back-off mechanism only 1 beacon wins All other stations adjust their internal clock according to the received beacon and suppress their beacon for the current cycle 25

Power management Idea: switch the transceiver off if not needed States of a station: sleep and awake Timing Synchronization Function (TSF) stations wake up at the same time Infrastructure case Traffic Indication Map (TIM) list of unicast receivers transmitted by AP Delivery Traffic Indication Map (DTIM) Ad-hoc case list of broadcast/multicast receivers transmitted by AP Ad-hoc Traffic Indication Map (ATIM) announcement of receivers by stations buffering frames more complicated - no central AP collision of ATIMs possible (scalability?) 26

Power saving (infrastructure case) Here the access point announces data addressed to the station TIM interval DTIM interval access point medium D B busy T T d D busy busy busy B station T TIM D DTIM p awake d t B broadcast/multicast d data transmission to/from the station p Power Saving poll: I am awake, please send the data 27

Power saving (ad-hoc case) ATIM window beacon interval B station 1 A D B 1 1 station 2 B 2 B 2 a d B beacon frame random delay A transmit ATIM t D transmit data awake a acknowledge ATIM d acknowledge data ATIM: Ad hoc Traffic Indication Map (a station announces the list of buffered frames) Potential problem: scalability (high number of collisions) 28

802.11 - Roaming No or bad connection? Then perform: Scanning scan the environment, i.e., listen into the medium for beacon signals or send probes into the medium and wait for an answer Reassociation Request station sends a request to one or several AP(s) Reassociation Response success: AP has answered, station can now participate failure: continue scanning AP accepts Reassociation Request signal the new station to the distribution system the distribution system updates its data base (i.e., location information) typically, the distribution system now informs the old AP so it can release resources 29