MAC and PHY Layer Fundamentals in IEEE 802.11 Wireless Networks
In the complex world of wireless networking, understanding the interactions between the MAC (Medium Access Control) and PHY (Physical) layers is crucial for comprehensive network analysis. The IEEE 802.11 standard implements these layers within the OSI model, providing a structured approach to wireless data transmissions.
Before we begin our deep-dive into MAC and PHY layers, it is important to understand the OSI Layered Model and function of each layer. The OSI model comprises seven layers, each playing a critical role in data communication:
Figure -1: OSI Layers and functions
As seen in the image above, the IEEE 802.11 Standard operates in these Layer 1 (PHY) and Layer2 (MAC) Layers of the OSI Model.
Figure-2 MAC and PHY Layer Functions
MAC Layer:
The MAC layer serves as a critical component in WiFi networks, managing several essential functions:Key MAC Layer Responsibilities:
1. Frame Construction: Transforming raw data into standardized 802.11 frames
2. Medium Access Control: Implementing CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) medium access to share the Wireless Medium among the stations.
3. Error Handling: Ensuring reliable data transmission through acknowledgments and retransmissions.
Concept of MSDU’s and MPDUs
The PHY layer converts the frames received from the MAC layer into wireless signals, operating through two critical sublayers:
PHY Layer Sublayers:
1. Frame Construction: Transforming raw data into standardized 802.11 frames
2. Medium Access Control: Implementing CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) medium access to share the Wireless Medium among the stations.
3. Error Handling: Ensuring reliable data transmission through acknowledgments and retransmissions.
Concept of MSDU’s and MPDUs
- MSDU (MAC Service Data Unit): The payload received from higher layers at the MAC sublayer.
- MPDU (MAC Protocol Data Unit): MSDU encapsulated with MAC header and trailer, including:
- Source and destination MAC addresses
- Sequence control information.
- Frame Check Sequence (FCS) for error detection.
The PHY layer converts the frames received from the MAC layer into wireless signals, operating through two critical sublayers:
PHY Layer Sublayers:
- PLCP (Physical Layer Convergence Procedure)
- PMD (Physical Medium Dependent)
Key PHY Layer Responsibilities::
- Prepares frames for transmission
- Adds synchronization and header information
- Modulates bits into radio frequency (RF) signals
- Manages signal transmission
PHY Data Units
- PSDU (PHY Service Data Unit): Raw frame data from MAC layer
- PPDU (PHY Protocol Data Unit): PSDU is PHY layer view of MSDU with additional PHY layer header
Transmission Workflow: From Application to Bits
Lets review the transmission process from the Layer 7 to the Layer 1. We would focus on what is important and in the modern networking and align to learning about the fundamentals of Wireless. Layer 1 through Layer 4 is more important when we talk about the data flowing through and Access Point to the Receiving Station.
At the Transmitter:
1. Application Layer: Generates original message
2. Transport Layer: Adds TCP/UDP headers
3. Network Layer: Appends IP addressing information
4. MAC Layer: Encapsulates payload into MSDU and Converts MSDU to MPDU
5. PHY Layer: Transforms MPDU to PSDU and Converts PSDU to PPDU for transmission. The PMD transforms PPDU into bits and using Modulation Techniques, it sends those bits using RF signals to the intended receiver.
Reception Process
1. At the receiver, PMD sublayer demodulates RF signals to bits
2. PHY layer extracts PSDU from PPDU
3. MAC layer reconstructs MSDU from MPDU
4. Higher layers process and deliver data to the intended application.
Significance of Data Units
Each data unit represents a crucial transformation stage:
- MSDU: Original payload
- MPDU: MAC-level addressing and integrity
- PSDU: Raw frame at PHY layer
- PPDU: Wireless transmission preparation
Conclusion
Understanding the interactions between MAC and PHY layers is fundamental to wireless network analysis. The systematic encapsulation and transformation of data ensure efficient, reliable wireless communication across the network environments and between the Station and the Access Points.Ref: https://www.cwnp.com/certifications/cwap


Comments
Post a Comment