CWS MAC Layer Functions Questions and Answers — Questions and Answers
Question 1: Which 802.11 MAC layer mechanism is specifically designed to address the hidden node problem by reserving the medium before data transmission?
- Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA)
- Request to Send/Clear to Send (RTS/CTS) (Correct answer)
- Distributed Coordination Function (DCF)
- Block Acknowledgment (BlockAck)
Correct answer: Request to Send/Clear to Send (RTS/CTS)
Request to Send/Clear to Send (RTS/CTS) is a mechanism used in 802.11 networks to mitigate the hidden node problem. A station sends an RTS frame, and the access point responds with a CTS frame. All stations hearing the CTS frame, even those that did not hear the original RTS, will defer their transmissions, thus reserving the medium for the requesting station.
Question 2: A network administrator is analyzing a wireless packet capture and observes a frame with the 'Type' field set to 01 (Control) and the 'Subtype' field set to 1011. What is the function of this frame?
- To acknowledge the successful reception of a block of data frames. (Correct answer)
- To request that the medium be reserved for transmission.
- To provide a timing signal and announce network information.
- To carry upper-layer data from a client to the distribution system.
Correct answer: To acknowledge the successful reception of a block of data frames.
A frame with Type 01 (Control) and Subtype 1001 (9) is a Block Acknowledgment (BlockAck) frame. This control frame is used to acknowledge the receipt of multiple data frames (a block of MPDUs) at once, which is more efficient than sending an individual ACK for each frame. This feature was introduced with 802.11n to improve MAC efficiency.
Question 3: What is the fundamental channel access method that is a mandatory part of the 802.11 standard, based on the principle of "listen before you talk"?
- Point Coordination Function (PCF)
- Hybrid Coordination Function (HCF)
- Distributed Coordination Function (DCF) (Correct answer)
- Time Division Multiple Access (TDMA)
Correct answer: Distributed Coordination Function (DCF)
The Distributed Coordination Function (DCF) is the fundamental and mandatory medium access method for 802.11 networks. It is a contention-based protocol that uses Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) and a random backoff mechanism to allow all stations to compete for access to the medium.
Question 4: In a high-density Wi-Fi environment, a network engineer wants to reduce the overhead associated with transmitting many small packets. Which 802.11n MAC layer feature allows for combining multiple MAC Service Data Units (MSDUs) into a single frame for transmission?
- Frame Fragmentation
- Block Acknowledgment
- Request to Send/Clear to Send (RTS/CTS)
- Frame Aggregation (A-MSDU) (Correct answer)
Correct answer: Frame Aggregation (A-MSDU)
Frame aggregation, specifically Aggregated MAC Service Data Unit (A-MSDU), is a feature introduced in 802.11n to improve MAC efficiency. It allows multiple MSDUs (e.g., IP packets) destined for the same receiver to be combined into a single, larger 802.11 frame, which reduces the overhead from preambles, MAC headers, and interframe spacing.
Question 5: A battery-powered IoT device needs to conserve as much power as possible. It wakes up periodically to check if the access point has buffered any data for it. Which MAC layer mechanism facilitates this process?
- The 'Retry' bit in the Frame Control field
- The Power Management bit and Traffic Indication Map (TIM) (Correct answer)
- The Network Allocation Vector (NAV)
- The Frame Check Sequence (FCS)
Correct answer: The Power Management bit and Traffic Indication Map (TIM)
802.11 power-saving functions rely on the Power Management bit in the Frame Control field of frames sent by the client to indicate it is entering a doze state. The Access Point then buffers data for that client and indicates this in the Traffic Indication Map (TIM), which is a field within its periodic Beacon frames. The client wakes up to listen for these beacons to see if it needs to retrieve data.
Question 6: Why does the IEEE 802.11 standard use Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) instead of Collision Detection (CSMA/CD) which is used in classic Ethernet?
- CSMA/CD is a proprietary protocol, while CSMA/CA is an open standard.
- Wireless radios cannot reliably transmit and listen for collisions at the same time. (Correct answer)
- CSMA/CA provides higher throughput in all wireless scenarios.
- CSMA/CD requires a centralized controller, which is not present in 802.11 networks.
Correct answer: Wireless radios cannot reliably transmit and listen for collisions at the same time.
The primary reason 802.11 uses CSMA/CA is due to the nature of radio transceivers. It is very difficult for a radio to listen for another station's transmission (a potential collision) while it is actively transmitting on the same frequency (the 'near-far' problem). Therefore, it cannot detect a collision in progress. Instead, it uses collision avoidance techniques like random backoff timers and optional RTS/CTS to prevent collisions from happening in the first place.
Which 802.11 MAC layer mechanism is specifically designed to address the hidden node problem by reserving the medium before data transmission?