The 802.11 MAC Sublayer Protocol

IEEE 802.11 standard, popularly known as WiFi, lays down the architecture and specifications of wireless LANs (WLANs). WiFi or WLAN uses high frequency radio waves instead of cables for connecting the devices in LAN. Users connected by WLANs can move around within the area of network coverage.

The 802.11 MAC sublayer provides an abstraction of the physical layer to the logical link control sublayer and upper layers of the OSI network. It is responsible for encapsulating frames and describing frame formats, managing channel access, and implementing collision avoidance mechanisms specific to wireless communication.

MAC Sublayer Frame Format

The main fields of a wireless LAN frame as defined by IEEE 802.11 are:

  • Frame Control − A 2-byte starting field composed of 11 subfields containing control information such as frame type, protocol version, and power management flags.

  • Duration − A 2-byte field specifying the time period for which the frame and its acknowledgement occupy the channel.

  • Address Fields − Three 6-byte address fields containing MAC addresses of source, immediate destination, and final endpoint respectively.

  • Sequence − A 2-byte field storing frame sequence numbers for duplicate detection and proper ordering.

  • Data − Variable-sized field carrying payload from upper layers with a maximum size of 2312 bytes.

  • Frame Check Sequence − A 4-byte field containing CRC for error detection.

802.11 MAC Frame Structure Frame Control 2 bytes Duration 2 bytes Address Fields (3 × 6 bytes) 18 bytes Sequence Control 2 bytes Data (Variable, max 2312 bytes) 0-2312 bytes Frame Check Sequence 4 bytes Total Frame Size: 28 bytes (minimum) to 2340 bytes (maximum) Frame transmission direction: Left to Right

Collision Avoidance Mechanism

Unlike wired networks, wireless systems cannot use collision detection due to the hidden node problem and signal attenuation. Instead, 802.11 uses Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA).

The CSMA/CA process works as follows:

  • When a frame is ready, the transmitting station performs carrier sensing to check if the channel is idle or busy.

  • If the channel is busy, the station waits until it becomes idle.

  • If the channel is idle, the station waits for a Distributed Inter-Frame Space (DIFS) period and then sends the frame.

  • After transmission, the station sets a timer and waits for an acknowledgement (ACK) from the receiver.

  • If ACK is received before timer expiry, transmission is considered successful. Otherwise, the station enters a random backoff period and retransmits.

Coordination Functions

IEEE 802.11 MAC sublayer uses two coordination functions for managing channel access:

Function Type Access Method Deployment
Distributed Coordination Function (DCF) Mandatory Contention-based using CSMA/CA Infrastructure BSS and Independent BSS
Point Coordination Function (PCF) Optional Centralized, contention-free polling Infrastructure BSS only

DCF provides distributed access where all stations compete equally for channel access, while PCF allows a Point Coordinator (typically an Access Point) to provide deterministic, time-bounded services by polling stations in a round-robin manner.

Conclusion

The 802.11 MAC sublayer manages frame formatting, collision avoidance through CSMA/CA, and channel access coordination. It provides the essential wireless-specific protocols needed for reliable communication in WiFi networks, addressing unique challenges like hidden nodes and the inability to detect collisions in wireless environments.

Updated on: 2026-03-16T23:36:12+05:30

27K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements