Media Access Control
What Is Media Access Control?
Media access control, commonly abbreviated MAC and also written medium access control, is the set of rules that determines which station may transmit on a shared communication channel and when. It forms the lower sublayer of the data link layer in the IEEE 802 reference architecture, sitting beneath logical link control and above the physical layer. Whenever several transmitters share one medium, whether a coaxial cable, a radio band, an optical fiber, or an underwater acoustic channel, some arbitration scheme is required, because simultaneous transmissions overlap and destroy each other.
The problem was first formalized for the ALOHA packet radio network at the University of Hawaii in 1970, whose pure random access scheme achieved a maximum channel utilization of about 18 percent. Slotted ALOHA doubled that figure, and the carrier sensing methods that followed raised it further. Modern MAC design balances throughput, delay, fairness, and energy consumption, and the weighting among those objectives is what distinguishes one protocol family from another.
Contention-Based Access
In contention-based protocols, stations transmit without central coordination and resolve collisions after the fact. Carrier sense multiple access with collision detection, standardized as IEEE 802.3 for Ethernet, requires a station to listen before transmitting and to abort as soon as it detects a competing signal, then retry after a binary exponential backoff. Radio transceivers generally cannot hear while transmitting, so wireless networks use collision avoidance instead: the IEEE 802.11 distributed coordination function combines clear channel assessment, interframe spacing, a random backoff counter, and optional request-to-send and clear-to-send exchanges to address hidden terminals. An early performance analysis of the IEEE 802.11 CSMA/CA medium access control protocol used a two-dimensional Markov model to relate throughput and delay to the backoff parameters and to the presence of hidden terminals, an approach that later saturation-throughput models refined.
Scheduled and Reservation-Based Access
Contention-free protocols assign transmission opportunities in advance. Time division multiple access divides the channel into slots allocated to specific stations, frequency and code division schemes partition the spectrum or the code space, and token passing circulates an explicit permission to transmit. Cellular systems use a central scheduler in the base station, and DOCSIS cable networks combine contention minislots for requests with granted upstream slots for data. Scheduling eliminates collisions and bounds latency at the cost of coordination overhead and idle slots under light load, and surveys of TDMA-based MAC protocols for wireless sensor networks trace how cluster-based designs trade synchronization cost against the energy saved by avoiding idle listening. Hybrid protocols switch between contention and scheduling as traffic intensity changes.
Addressing, Framing, and Sublayer Services
Beyond arbitration, the MAC sublayer handles framing, addressing, and error checking. Each interface carries a 48-bit MAC address whose first 24 bits form an organizationally unique identifier assigned by the IEEE Registration Authority, allowing unicast, multicast, and broadcast delivery within a local network. MAC frames carry a frame check sequence, usually a 32-bit cyclic redundancy check, and wireless variants add acknowledgment, fragmentation, and encryption fields. Quality-of-service extensions such as IEEE 802.11e enhanced distributed channel access assign different contention parameters to voice, video, and background traffic. Comparative analyses of wireless sensor network MAC protocols show how duty cycling and preamble sampling reshape these mechanisms when battery life dominates the design.
Applications
Media access control has applications across communications and computing, including:
- Wired local area networks, from classical Ethernet to switched full-duplex links
- Wireless LANs and personal area networks, including Wi-Fi, Bluetooth, and Zigbee
- Cellular systems, where uplink and downlink scheduling govern spectrum sharing
- Industrial and automotive networks such as time-sensitive networking and CAN
- Wireless sensor and Internet of Things deployments with strict energy budgets
- Satellite, underwater acoustic, and free-space optical links with long propagation delays