Top Banner

of 39

Wireless Data Networks Wireless Data Networks

May 30, 2018

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    1/39

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    2/39

    2

    Motivation

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    3/39

    3

    Wireless Data Networks

    Wireless WANs (Mobile Data Network) Voice-Oriented: GSM, CDMA

    Data-Oriented: Mobitex, D-AMPS

    Voice/Data Mixed: IMT-2000

    Wireless LANS Data-Oriented: IEEE 802.11, Hyperlan

    Wireless Local Loop (IEEE 802.16) Data/Voice-Oriented: WiMax

    Wireless PANS (IEEE 802.15) Data/Voice-Oriented: Bluetooth

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    4/39

    4

    Wireless Data Services

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    5/39

    5

    Wireless Data NetworkCategories

    Infrared (IR) LANs (1-10 Mbps) Direct beam and diffused

    Spread spectrum LANs (1-54 Mbps) IEEE802.11, 802.15(PAN),Bluetooth

    Narrowband microwave (100 Mbps) IEEE802.16 (WiMAX)

    Applications: LAN Extension -WLAN Wireless Broadband Access Nomadic Access Ad hoc Networking

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    6/39

    6

    Data vs. Voice

    voice traffic changes into data traffic

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    7/397

    Wireless LAN Configuration

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    8/398

    IEEE802 Standard Series

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    9/399

    IEEE802 Standard Series 802.1: Higher level interface (HILI)

    802.2: Logical Link Control 802.3: CSMA/CD Ethernet (10Mbps) 802.4: Token Bus 802.5: Token Ring 802.6: MAN 802.7: Broadband Technical Advisory Group 802.8: Fiber Optics Technical Advisory Group 802.9: Integrated Service LAN Interface 802.10: Standard for Interoperable LAN Security

    802.11: Wireless LANs 802.12: Demand Priority 802.14: Cable TV Based Broadband Communication

    Networks

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    10/3910

    Challenges in WLANs

    Multiple devices need to share the ether

    channel efficiently Problems: interference, contention, access

    control, channel quality varies over space andtime

    Different service requirements Voice (real-time, reservation-based) Data (best effort, reliable deliver)

    Different approaches and trade-offs Centralized vs. Distributed

    Other challenges Mobility

    Power conservation

    Security considerations

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    11/3911

    Challenges in WLANs

    Intrinsic Problems Multi-path

    Hidden terminals

    Burst errors

    Near-far: If two terminals at differentdistances from the receiver start transmission atthe same power simultaneously, the receiverwill get more power from the nearer transmitter.

    The SNR of the farther transmitter may getbelow detection in some cases and as a result,the communication channel may be jammed.

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    12/3912

    Random Access Methods

    Fixed access techniques (FDMA,TDMA and

    CDMA) are inefficient in transmittingbursty data! The random access techniques are used in

    mobile data networks, which can bedivided into two groups:

    ALOHA based access methods: The mobile terminals transmit their contention packet

    without any coordination between them.

    CSMA (Carrier-Sense Multiple Access): The mobile terminals senses the availability of the

    channel before it transmits its packets.

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    13/39

    13

    Pure ALOHA

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    14/39

    14

    Slotted ALOHA

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    15/39

    15

    Reservation Based ALOHA

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    16/39

    16

    CSMA: Listen-before-talk

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    17/39

    17

    CSMA/CA

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    18/39

    18

    Performance of Random Access Methods

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    19/39

    19

    Hidden Terminals

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    20/39

    20

    History of IEEE802.11

    1987: Started as 802.4L

    1989: Moved to 802.11

    1997: MAC & PHY for 1&2Mbps at2.4GHz

    1999 (a, b): PHY for 11Mbps at 2.4GHz(3 Ch) and 54Mbps at 5GHz (12 ch)

    2000 (c, d): Supplement to 802.1dbridges. Dynamic regulatory domain

    update

    Current (e, g, h, i, j, k, m, n, p, r, s)

    IEEE 802 11 WLAN S d d

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    21/39

    21

    IEEE 802.11 WLAN StandardActivities

    802.11a: 5 GHz, 54 Mbps

    802.11b: 2.4 GHz, 11 Mbps 802.11d: Multiple regulatory domains 802.11e: Quality of Service (QoS) 802.11f: Inter-Access Point Protocol (IAPP) 802.11g: 2.4 GHz, 54 Mbps

    802.11h: Dynamic Frequency Selection (DFS) and Tran Power 802.11i: Security Ratified | WPAv2 Draft 9 802.11j: Japan 5 GHz Channels (4.9-5.1 GHz) 802.11k: Measurement 802.11m: Maintenance

    802.11n: High Throughput 802.11p: Wireless Access for Vehicular Environment 802.11r: Public WLAN Fast Roaming 802.11s: Mesh Networking

    O i f IEEE802 11

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    22/39

    22

    Overview of IEEE802.11Architecture

    Uses CSMA/CD MAC, RTS/CTS with

    optional PCF supporting all threePHYs

    Supports three PHY layers DSSS FHSS DFIR

    Supports WLAN with wiredinfrastructure as well as independentad-hoc WLANs

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    23/39

    23

    Terminologies

    Access Point (AP)

    Provides access to distribution services via the wirelessmedium

    Basic Service Area The coverage area of one access point

    Basic Service Set (BSS) A set of stations controlled by one access point

    Distribution System (DS) The fixed (wired) infrastructure used to connect a set of BSS to

    create an extended service set (ESS)

    Portal(s) The logical point(s) at which non-802.11 packets enter an ESS

    MAC Protocol Data Unit (MPDU) Packets that describe protocol

    MAC Service Data Unit (MSDU) Packets that describe service

    A hit t /R f

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    24/39

    24

    Architecture/ReferenceModel

    IEEE802 11 Protocols in

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    25/39

    25

    IEEE802.11 Protocols inContext

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    26/39

    26

    IEEE 802.11 Protocol Layers

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    27/39

    27

    Sub-layer Responsibilities

    LLC: Provide an interface to higher layers

    and performs flow and error control MAC Sublayer: access mechanism, data

    format MAC Management: roaming in ESS,

    power management, and security. PLCP: carrier sensing assessment, forming

    packets for PHYs PMD: modulation and coding

    PHY Layer Management: channel tuning Station Management: interacts with MAC

    and PHY

    D t il d Vi f P t l

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    28/39

    28

    Detailed View of ProtocolArchitecture

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    29/39

    29

    Physical Layer in 802.11

    Three options Frequency Hopping Spread Spectrum (FHSS)

    Direct Sequence Spread Spectrum (DSSS)

    Diffused Infra Red (DFIR) not widely used.

    Note, same MAC layer but all 802.11,802.11 a and 802.11 b all are incompatibleat the physical layer!

    IEEE 802 11a and IEEE

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    30/39

    30

    IEEE 802.11a and IEEE802.11b

    IEEE 802.11a

    Makes use of 5-GHz band Provides rates of 6, 9 , 12, 18, 24, 36, 48, 54 Mbps Uses orthogonal frequency division multiplexing

    (OFDM) Sub-carrier modulated using BPSK, QPSK, 16-QAM or

    64-QAM

    IEEE 802.11b Provides data rates of 5.5 and 11 Mbps Complementary code keying (CCK) modulation

    scheme based on DSSS

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    31/39

    31

    IEEE 802.11g

    IEEE 802.11g Up to 54 or 108 Mpbs at 2.4GHz Mandatory backward compatibility with IEEE802.11b

    Mandatory OFDM and CCK

    Optional CCK- OFDM and PBCC (Packet Binary

    Convolutional Code)

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    32/39

    32

    MAC Layer Functionality

    MAC Sublayer Format of messages (data and control) Access control/mechanisms

    1. Contention Mode For access to the channel by multiple

    contending devices

    1. Contention-free schemes RTS (Ready To-Send)/CTS (Clear-To-Send)

    tackle the hidden terminal problem DATA and PCF for time bounded access

    MAC Management Roaming support in the ESS, power

    management and security

    MAC Timing: Basic Access

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    33/39

    33

    MAC Timing: Basic AccessMethod

    For CSMA/CA, we have inter-frame spacing IFS.

    As per the priority level of the packet, the IFS isdivided into three categories DCF-IFS (DIFS): used for contention, lowest priority,

    longest delay. PCF-IFS (PIFS): for medium priority and medium

    delay. Short-IFS (SIFS) used for high priority such as ACKs,

    CTS, etc. has the lowest duration time and delay.

    Distributed Coordination

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    34/39

    34

    Distributed CoordinationFunction (DCF)

    Use CSMA/CA Algorithm based on Inter-frameSpace (IFS):

    If the medium is idle, the station waits to see if themedium is idle for a time equal to IFS. If so, it maytransmit immediately.

    If the medium is busy, the station defers transmissionand continues to monitor the medium.

    Once the current transmission is over, the station delaysanother IFS. If the medium remains idle for this period,

    then it backs off the random amount of time and againsenses the medium. If the medium is still idle, it maytransmit. During the back-off time, if the mediumbecomes busy, the back-off timer is halted and resumeswhen the medium is idle.

    CSMA/CA with ACK in

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    35/39

    35

    CSMA/CA with ACK inan Infrastructure Network

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    36/39

    36

    RTS /CTS Mechanism

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    37/39

    37

    Wired Equivalent Privacy

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    38/39

    38

    Wired Equivalent Privacy

    WiFi Protected Access (WPA) /

  • 8/14/2019 Wireless Data Networks Wireless Data Networks

    39/39

    WiFi Protected Access (WPA) /IEEE802.11i