WT Week 6

Wireless LAN II

tldr - MAC methods for IEEE 802.11 networks, MAC frame formats & MAC layer operations

MAC Methods for Ethernet Network (Recap)

CSMA/CD (Carrier Sense Multiple Access with Collision Detection)

A data link layer protocol defining the access control method for IEEE 802.3 (Ethernet) networks

How it works

  1. Before transmission, a station listens
  2. During transmission, the station should continue to listen
  3. When a collision is detected, each station should stop transmission, send a “jammed” signal and re-transmit after a random interval

Problem with CSMA/CD in Wireless Networks

MAC Methods for IEEE 802.11 Networks

Distributed Coordination Function (DCF)

a.k.a. CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance)

  • Mandatory
  • Contention-based
  • How it works

    Drawback

    Simplified CSMA/CA
    Simplified CSMA/CA

    Request To Send (RTS) and Clear To Send (CTS)

    DCF incorporates the optional use of RTS / CTS protocol to reduce collisions further

    How it works

    1. Sending client sends RTS frame to AP
    2. AP broadcasts RTS frame to receiving client, requesting for a certain amount of time to deliver data to it
    3. Receiving client responds with CTS frame when ready
    4. AP sends CTS frame to sending client
    5. AP alerts all client that the medium is now reserved and they should suspend transmissions
    6. Upon receiving CTS from AP, sending client begins transmission
    Sending of RTS / CTS frames
    Sending of RTS / CTS frames

    Point Coordination Function (PCF)

    How it works

    Drawback

    PCF Polling
    PCF Polling

    802.11 MAC Frame Formats

    IEEE 802.11 MAC frames are not the same as 802.3 Ethernet frames. They have different formats and functions.

    Management Frames

    Sets up initial communication between client and AP (e.g. association request & response)

    Control Frames

    Assists in delivering frames that contains data (e.g. RTS, CTS, ACK)

    Data Frames

    Carries info to be transmitted to client

    MAC layer operations

    MAC layer has 3 main roles

    Discovering the WLAN

    Passive Scanning

    Active Scanning

    Joining the WLAN

    Authentication

    The process in which the AP accepts a client

    AP requires client to be authenticated prior to joining the network

    Open System Authentication

    Basic and default method

    1. Client sends authentication request frame to AP
    2. AP replies with authentication response frame (contains acceptance or rejection notice)
    Shared Key Authentication

    AP and client given the same key in advance (Pre-Shared)

    1. Client sends an authentication frame to AP
    2. AP responds with an authentication frame containing challenge text
    3. Client encrypts text with pre-shared key and responds
    4. AP verifies the encryption key used

    Association

    Enables the client access to the WLAN

    1. Client begins to negotiate a WLAN connection with AP
    2. To join WLAN, client sends association request frame to AP
    3. If AP accepts the request, it will reply with an association response frame
    4. Client has joined WLAN and can begin communicating

    Re-Association (ROAMING)

    Allows a device in an area covered by an AP to move to another area covered by another AP to remain connected to the network (seamless roaming)

    1. When client determines the link to its current AP is poor, it begins scanning for another AP
    2. It sends re-association request frame to new AP
    3. If new AP accepts request, it will reply with a re-association response frame
    4. New AP also sends disassociation frame to old AP
    5. The disassociation frame terminates the old AP’s association with the client

    Note: Re-Association only works in ESS wireless networks

    Transmitting on a WLAN

    CSMA/CA (As mentioned above)

    fin

    Back to top