Mac Layer
Mac Layer
Sublayer
• Point-to-point (one-to-one)
• Broadcast (one-to-many)
Active Passive
Fixed Demand
Assignment Assignment
Fixed Demand
Assignment Assignment
•Demand assignment
•Also referred to as Demand Assignment Multiple Access (DAMA)
•Nodes request bandwidth or grab a token that circulates around a loop of
nodes
•Nodes request bandwidth implicitly or explicitly
•Explicit: a single reservation slot is assigned to each node
•Implicit: stations use slotted Aloha to compete for reservation slots
•Best for networks where traffic is random and unpredictable
Random
Reservation Hybrid
Access
•Random Access:
•Asynchronous: stations not synchronized and send when ready
•Aloha: satellite network from the 1970s
•Synchronous: stations required to synchronize transmissions with fixed-
length time slots
•Slotted Aloha: minor enhancement to pure Aloha
•Sensing: over networks with short prop delays, nodes can sense:
•Carrier (Carrier Sense Multiple Access)
•Carrier with Collision Detect (CSMA/CD) : Ethernet
•Carrier sense with Collision Avoidance (CSMA/CA) : 802.11
Copyright 2012 Jim Martin 10
Classification
Contention
oriented
Random
Reservation Hybrid
Access
•Reservation:
•Objective is to avoid collisions through a reservation subchannel which
allows contention-free data transmission
•Reservation Aloha: distributed contention protocol with implicit
reservations
•Successful transmission of a slot serves as the reservation for
sending in the next slot
•Initial access of a slot is with slotted Aloha
Random
Reservation Hybrid
Access
•Hybrid: Rather than Random Access with TDMA (i.e., Reservation), use
reservation with contention
•Aloha Reservation (Aloha-R) is a distributed connection-oriented
reservation protocol (introduces the ‘mini-slot’)
•Explicit reservations done through contention-oriented transmission
of well known reservation slots
•Data slots are allocated to specific users based on reservation
requests
• ALOHA
• Carrier Sense Multiple Access Protocols
• Collision-Free Protocols
• Limited-Contention Protocols
• Wireless LAN Protocols (WIFI!!)
• 802.16 (WIMAX!!)
• Cable access
• Wireless sensor networks
• Hybrid: uses explicit reservations either with a control channel or through a contention-
request mechanism
• Idea is to use inefficient contention transmission to request a contention-free data transmission in
the future.
• Aloha-R : Ancestor to DOCSIS
a) BSSID & ESSID: Data fields identifying a stations BSS & ESS.
b) Clear Channel Assessment (CCA): A station function used to
determine when it is OK to transmit.
c) Association: A function that maps a station to an Access Point.
d) MAC Service Data Unit (MSDU): Data Frame passed between user &
MAC.
e) MAC Protocol Data Unit (MPDU): Data Frame passed between MAC
& PHY.
f) PLCP Packet (PLCP_PDU): Data Packet passed from PHY to PHY
over the Wireless Medium.
ESS
Existing
Wired LAN
AP AP
STA BSS STA STA BSS STA
Infrastructure
Network
STA STA
Ad Hoc BSS BSS Ad Hoc
Network Network
STA STA
a) The Distributed Coordination Function (DCF): Fundamental, contention-based access method. Implemented for use with both ad hoc and infrastructure networks.
b) The Point Coordination Function (PCF): Optional, contention-free access method usable only on infrastructure networks.
c) DCF utilizes CSMA/CA.
d) PCF requires one node to function as a polling master. This node is called the point coordinator (PC).
RTS B CTS
Data
RTS
RTS
CTS CTS
A S R C
Data Data
ACK
A fragment burst.
Copyright 2012 Jim Martin 45
The 802.11 MAC Sublayer Protocol (4)
Distribution Services
• Association
• Disassociation
• Reassociation
• Distribution
• Integration
Copyright 2012 Jim Martin 48
802.11 Services
Intracell Services
• Authentication
• Deauthentication
• Privacy
• Data Delivery
Service Classes
• Constant bit rate service
• Real-time variable bit rate service
• Non-real-time variable bit rate service
• Best efforts service