Mobile Communications Chapter 7: Wireless LANs

Similar documents
Computer Networks. Wireless LANs

Data Communications. Data Link Layer Protocols Wireless LANs

Chapter 7: Wireless LANs

Chapter 7: Wireless LANs

ICE 1332/0715 Mobile Computing (Summer, 2008)

Mobile Communications Chapter 7: Wireless LANs

Mobile & Wireless Networking. Lecture 7: Wireless LAN

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

Mobile Communications Chapter 7: Wireless LANs

Mobile Communications Chapter 7: Wireless LANs

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

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

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

Local Area Networks NETW 901

Wireless Communication Session 4 Wi-Fi IEEE standard

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

MAC in /20/06

Computer Communication III

Chapter 4 WIRELESS LAN

Mohammad Hossein Manshaei 1393

Wireless LANs. Characteristics Bluetooth. PHY MAC Roaming Standards

Advanced Computer Networks WLAN

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

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

Introduction to IEEE

Lecture 16: QoS and "

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

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

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

Internet Protocol Stack

WIRELESS LAN (WLAN) Efthyvoulos C. Kyriacou (PhD) Assoc. Prof. Computer Science and Engineering Department

Wireless LANs. ITS 413 Internet Technologies and Applications

IEEE Technical Tutorial. Introduction. IEEE Architecture

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

Wireless Local Area Networks (WLANs) Part I

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

3.1. Introduction to WLAN IEEE

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

Data and Computer Communications. Chapter 13 Wireless LANs

Topic 4. Wireless LAN IEEE

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

Guide to Wireless Communications, Third Edition. Objectives

MSIT 413: Wireless Technologies Week 8

Mobile Communications I

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

MAC. Fall Data Communications II 1

Chapter 3.1 Acknowledgment:

IEEE Wireless LANs Part I: Basics

Lesson 2-3: The IEEE x MAC Layer

Wireless Local Area Network (IEEE )

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

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

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

Wireless Protocols. Training materials for wireless trainers

Nomadic Communications WLAN MAC Fundamentals

Wireless LAN -Architecture

Wireless# Guide to Wireless Communications. Objectives

Mohamed Khedr.

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

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

IEEE MAC Sublayer (Based on IEEE )

Wireless Communication and Networking CMPT 371

Wireless and Mobile Networks

Wireless Local Area Networks. Networks: Wireless LANs 1

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

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

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

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

Advanced Computer Networks. WLAN, Cellular Networks

Investigation of WLAN

CHAPTER 8: LAN Standards

IEEE WLAN (802.11) Copyright. Nomadic Communications

Local Area Networks. Lecture 17 Fall Token Ring and FDDI

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

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

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

Multiple Access Links and Protocols

Wireless Communication and Networking CMPT 371

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

Hands-On Exercises: IEEE Standard

CHAPTER 11 WIRELESS LAN TECHNOLOGY AND THE IEEE WIRELESS LAN STANDARD

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

Functions of physical layer:

Mohammad Hossein Manshaei

Internet Structure. network edge:

Wireless Networking & Mobile Computing

Chapter 3: Overview 802 Standard

Chapter 6 Wireless and Mobile Networks

Wireless Communications

Introduction to Wireless LAN

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

Laboratory of Nomadic Communication. Quick introduction to IEEE

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

IEEE Integrated Communication Systems Group Ilmenau University of Technology

Enabling Technologies

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

Data and Computer Communications

Last Lecture: Data Link Layer

WIRELESS LANS. By: M. Habibullah Pagarkar Mandar Gori Rajesh Jaiswal

Transcription:

Mobile Communications Chapter 7: Wireless LANs Characteristics IEEE 802.11 (PHY, MAC, Roaming,.11a, b, g, h, i, n z) Bluetooth / IEEE 802.15.x IEEE 802.16/.20/.21/.22 RFID Comparison Prof. Jó Ueyama courtesy from Prof. Dr. Jochen Schiller 7.1

Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN 802.11 Personal wireless nw WPAN 802.15 WiFi 802.11a 802.11b ZigBee 802.15.4 802.15.1 802.15.2 Bluetooth Wireless distribution networks WMAN 802.16 (Broadband Wireless Access) 802.11h 802.11i/e/ /n/ /z 802.11g 802.15.4a/b/c/d/e 802.15.5,.6 (WBAN) 802.15.3 WiMAX + Mobility [802.20 (Mobile Broadband Wireless Access)] 802.16e (addition to.16 for mobile devices) 802.15.3b/c 2

Main features of the existing wireless technologies 3

Why is 802.11n faster? MIMO technology Multiple Output Multiple Input Signal processing smart antenna Transmits multiple data streams through multiple antennas The result? Up to five times the performance Achieves twice the range to that of 802.11g Simultaneous dual band: 2.4/5 GHz frequencies Range 175 feet Typically up to 450 Mbps 4

Why is 802.11n faster? MIMO is also employed in WiMax 802.11g typically achieves up to 54Mbps MIMO can simultaneously transmit three streams of data and receive two Three non overlapping channels at 2.4 GHz (1, 6 and 11) Payload optimization: more data being transmitted in each packet 802.11n is ideal for video streaming If your 802.11n working with 802.11g laptop will result in slower 802.11g speeds 5

Characteristics of wireless LANs Advantages very flexible within the reception area Ad-hoc networks without previous planning possible (almost) no wiring difficulties (e.g. historic buildings, firewalls) more robust against disasters like, e.g., earthquakes, fire - or users pulling a plug... Disadvantages typically very low bandwidth compared to wired networks (1-450 Mbit/s) due to shared medium many patented proprietary solutions, especially for higher bit-rates, standards take their time (e.g. IEEE 802.11n) products have to follow many national restrictions such as frequencies that are permitted within a country (e.g. police, aircraft control, etc.) 6

Design goals for wireless LANs global, seamless operation low power for battery use (e.g. WSNs and cell phones) no special permissions or licenses needed to use the LAN robust transmission technology simplified spontaneous cooperation at meetings easy to use for everyone, simple management protection of investment in wired networks (i.e. interoperable with wired LANs) security (no one should be able to read my data), privacy (no one should be able to collect user profiles), safety (low radiation) transparency concerning applications and higher layer protocols, but also location awareness if necessary 7

Comparison: infrared vs. radio transmission Infrared uses IR diodes, multiple reflections (walls, furniture etc.) Advantages simple, cheap, available in many mobile devices no licenses needed simple shielding possible Disadvantages interference by sunlight, heat sources etc. many things absorb IR light low bandwidth Example IrDA (Infrared Data Association) interface available everywhere Radio typically using the license free ISM band at 2.4 GHz Advantages experience from wireless WAN and mobile phones can be used coverage of larger areas possible (radio can penetrate walls, furniture etc.) Disadvantages very limited license free frequency bands shielding more difficult, interference with other electrical devices Example Many different products 8

Comparison: infrastructure vs. ad-hoc networks infrastructure network AP AP: Access Point AP wired network AP ad-hoc network 9

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 (EES: Extended Service Set) based on several BSS 10

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

IEEE standard 802.11 mobile terminal fixed terminal application access point infrastructure network application TCP IP LLC LLC Logical Link Control interface between different medias LLC TCP IP LLC 802.11 MAC 802.11 MAC 802.3 MAC 802.3 MAC 802.11 PHY 802.11 PHY 802.3 PHY 802.3 PHY 12

802.11 - Layers and functions MAC access mechanisms, fragmentation, encryption MAC Management synchronization, roaming, MIB, power management DL C P HY LLC MAC PLCP PMD MAC Management PHY Management PHY Management includes PLCP Physical Layer Convergence Protocol clear channel assessment signal (carrier sense) Medium currently idle? S t a t i on Manag emen t PMD Physical Medium Dependent modulation, coding, transforms bits into signals Station Management coordination of all management functions 13

802.11 - Physical layer (legacy) 3 versions: 2 radio (typ. 2.4 GHz), 1 IR data rates 1 or 2 Mbit/s FHSS (Frequency Hopping Spread Spectrum) only up to 2Mbs spreading, despreading Frequency multiplexing DSSS (Direct Sequence Spread Spectrum) 802.11b/g/n Multiplexes by code (i.e. using a chipping code) Implementation is more complex than FHHS chipping sequence: +1, -1, +1, +1, -1, +1, +1, +1, -1, -1, -1 (Barker code) DATA XOR chipping code Infrared Wavelength around 850-950 nm, diffuse light, typ. 10 m range uses near visible light carrier detection, up to 4Mbits/s data rate 14

802.11 DSSS, how does it work? 15

FHSS PHY packet format (legacy) Synchronization synch with 010101... pattern SFD (Start Frame Delimiter) 0000110010111101 start pattern PLW (PLCP_PDU Length Word) length of payload incl. 32 bit CRC of payload, PLW < 4096 PSF (PLCP Signaling Field) data rate of the payload (0000 -> the lowest data rate 1Mbs) HEC (Header Error Check) checksum with the standard ITU-T polynomial generator 80 16 12 4 16 variable bits synchronization SFD PLW PSF HEC payload PLCP preamble PLCP header 16

DSSS PHY packet format (legacy) Synchronization synch., gain setting, energy detection, frequency offset compensation SFD (Start Frame Delimiter) 1111001110100000 Signal data rate of the payload (0A: 1 Mbit/s) Service future use, 00: 802.11 compliant Length length of the payload HEC (Header Error Check) protected by checksum using ITU-T standard polynomial error check 128 16 8 8 16 16 variable bits synchronization SFD signal service length HEC payload PLCP preamble PLCP header 17

802.11 - MAC layer I - DFWMAC MAC layer has to fulfill several tasks including: control medium access support for roaming authentication power conservation In summary, it has two key tasks: traffic services access control 18

802.11 - MAC layer I - DFWMAC Traffic services (two implementations) 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 DFWMAC-DCF CSMA/CA (mandatory) collision avoidance via randomized back-off mechanism minimum distance between consecutive packets ACK packet for acknowledgements (not for broadcasts) DFWMAC-DCF w/ RTS/CTS (optional) Distributed Foundation Wireless MAC avoids hidden terminal problem DFWMAC- PCF (optional) access point polls terminals according to a list 19

802.11 - MAC layer II Priorities defined through different inter frame spaces no guarantee, hard priorities SIFS (Short Inter Frame Spacing) highest priority, for ACK, CTS, polling response DSSS SIFS 10 micro seconds PIFS (PCF IFS) medium priority, for time-bounded service using PCF DIFS (DCF Inter frame spacing) lowest priority, for asynchronous data service DIFS DIFS medium busy PIFS SIFS direct access if medium is free >= DIFS contention next frame t 20

802.11 - CSMA/CA access method I 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 backoff time of the station, the back-off timer stops (fairness) DIFS medium busy DIFS contention window (randomized back-off mechanism) next frame direct access if medium is free >= DIFS slot time (20µs) t 21

802.11 - competing stations - simple version DIFS DIFS bo e bo r DIFS bo e bo r DIFS bo e busy station 1 station 2 bo e busy station 3 busy bo e busy bo e bo r station 4 bo e bo r bo e busy bo e bo r station 5 t busy medium not idle (frame, ack etc.) bo e elapsed backoff time packet arrival at MAC bo r residual backoff time 22

802.11 - CSMA/CA access method II Sending unicast packets station has to wait for DIFS before sending data receivers acknowledge at once (after waiting for SIFS), if the packet was received correctly (CRC) automatic retransmission of data packets in case of transmission errors sender DIFS data receiver SIFS ACK other stations waiting time DIFS contention data t 23

802.11 Access scheme details (NAV-net allocat. vect.) Sending unicast packets 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 DIFS RTS data sender receiver SIFS CTS SIFS SIFS ACK other stations NAV (RTS) NAV (CTS) defer access DIFS contention data t 24

Fragmentation (advantages?) 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 25

DFWMAC-PCF I (almost never used) The two previous mechanisms cannot guarantee QoS. Why not? PCF on top of the standard DCF (random backoff) Using PCF AP controls medium access and polls single nodes Super frame comprises contention-free + contention period Contention period can be used for the two mechanisms t 0 t 1 SuperFrame medium busy point coordinator PIFS D 1 SIFS SIFS D 2 SIFS SIFS wireless stations U 1 U 2 stations NAV D downstream data U upstram data NAV 26

DFWMAC-PCF II As PIFS is smaller than DIFS no station can start sending earlier Node 3 has nothing to answer and AP will not receive a packet after SIFS D downstream data U upstram data t 2 t 3 t 4 PIFS SIFS CFend point coordinator D 3 D 4 SIFS wireless stations U 4 stations NAV NAV contention free period contention period t 27

802.11 - Frame format Types control, management (e.g. beacon) and data frames Sequence numbers important against duplicated frames due to lost ACKs Addresses receiver, transmitter (physical), BSS identifier, sender (logical) Miscellaneous bytes sending time, checksum, frame control, data 2 2 6 6 6 6 Duration/ ID Address 1 Address 2 Address 3 Sequence Control Frame Control Protocol version Type Subtype To DS More Frag Power Retry Mgmt 2 0-2312 4 Address Data 4 bits 2 2 4 1 1 1 1 1 1 1 1 From DS More Data WEP Order CRC 28

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 RA: Receiver Address TA: Transmitter Address Address1 destination Address2 source (ACK will be sent to) Address3 filter (often it will carry BSSID addr) Address4 Address of the source Access Point 29

Special Frames: ACK, RTS, CTS Acknowledgement ACK bytes 2 2 6 4 Frame Duration Receiver CRC Control Address Request To Send RTS bytes 2 2 6 6 4 Frame Duration Receiver Transmitter CRC Control Address Address Clear To Send CTS bytes 2 2 6 4 Frame Duration Receiver CRC Control Address 30

Any question? Read Chapter 7 31