IEEE 802.11 Mac Frame (original) (raw)

Last Updated : 23 Apr, 2025

MAC layer provides functionality for several tasks like control medium access, can also offer support for roaming, authentication, and power conservation. The basic services provided by MAC are the mandatory asynchronous data service and optional time-bounded service.

IEEE 802.11 defines two MAC sub-layers:

  1. **Distributed Coordination Function (DCF): DCF uses CSMA/CA as access method as wireless LAN can't implement CSMA/CD. It only offers asynchronous service.
  2. **Point Coordination Function (PCF): PCF is implemented on top of DCF and mostly used for time-service transmission. It uses a centralized, contention-free polling access method. It offers both asynchronous and time-bounded service.

**MAC Frame Structure

The MAC layer frame structure consists of 9 fields. The following figure shows the basic structure of an IEEE 802.11 MAC data frame along with the content of the frame control field.

**1. Frame Control (FC): It is 2 bytes long field which defines type of frame and some control information. Various fields present in FC are:

**2. Duration/ID: It is 2 bytes long field which contains the value indicating the period of time in which the medium is occupied(in µs).

**3. Address 1 to 4: These are 6 bytes long fields which contain standard IEEE 802 MAC addresses (48 bit each). The meaning of each address depends on the DS bits in the frame control field.

**4. SC (Sequence control): It is 16 bits long field which consists of 2 sub-fields, i.e., Sequence number (12 bits) and Fragment number (4 bits). Since acknowledgement mechanism frames may be duplicated hence, a sequence number is used to filter duplicate frames.

**5. Data: It is a variable length field which contain information specific to individual frames which is transferred transparently from a sender to the receiver(s).

**6. CRC (Cyclic redundancy check): It is 4 bytes long field which contains a 32 bit CRC error detection sequence to ensure error free frame.

Features of the IEEE 802.11 MAC frame