📝 802.11 MAC sublayer CSMA/CA (37 MCQs)
Why 802.11 Uses Collision Avoidance at the MAC Sublayer
The IEEE 802.11 MAC sublayer uses Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA) to coordinate stations sharing a radio channel. A transmitter senses the medium, waits for prescribed idle intervals, and competes using a random backoff counter. Because simultaneous transmission can cause interference and a station cannot reliably detect collisions while transmitting, it relies on avoidance and acknowledgements.
Physical and Virtual Carrier Sensing in Wi-Fi
In the Distributed Coordination Function, a station uses physical carrier sensing and may also use virtual carrier sensing through the Network Allocation Vector (NAV). After the medium is idle for a Distributed Interframe Space (DIFS), it selects a random backoff value from a contention window. Shorter interframe spacing is used for responses such as acknowledgements.
DIFS, Random Backoff, Transmission and ACK Sequence
The station decrements its backoff counter only while the channel remains idle for slot intervals. If another frame appears, it freezes the counter. When the counter reaches zero, it transmits; the receiver waits a Short Interframe Space (SIFS) and returns an ACK. A missing ACK causes the sender to retry under updated contention rules.
Tracing a Wireless Frame Transmission with Backoff
Suppose a station chooses a backoff of five slots after the channel has been idle for DIFS. It counts down while the channel stays clear. If another station transmits after two slots, the counter freezes at three; after the channel becomes available again, counting resumes until transmission is permitted after the channel is idle again.
How NAV and RTS/CTS Reduce Competing Transmissions
An optional RTS/CTS exchange can announce the planned duration of a transmission, causing other stations that hear the control frames to defer through their NAV timers. This can reduce hidden-node interference for longer frames, but it consumes airtime and adds control-frame processing overhead. CSMA/CA therefore balances access fairness, overhead, and retransmissions and changing channel conditions.
Incorrect Assumptions About 802.11 CSMA/CA
'The receiver sends an ACK before data' reverses the normal exchange; the ACK follows successful reception. 'A station detects a collision while sending' describes CSMA/CD rather than ordinary 802.11 operation. 'RTS/CTS is compulsory for every frame' is false because it is an optional protection mechanism selected according to network conditions.
Calculating and Explaining the CSMA/CA Access Sequence
Trace the sequence of carrier sensing, DIFS, random backoff, data transmission, SIFS, and ACK. Know when a backoff counter is frozen and resumed, and how NAV provides virtual sensing. For numerical problems, calculate slot countdowns carefully and distinguish a missing ACK from direct collision detection, which ordinary Wi-Fi stations do not perform.
CSMA/CA Timing and Control Terms
- CSMA/CA - Carrier sensing with collision avoidance.
- DIFS - Idle interval before contention begins.
- SIFS - Short interval preceding immediate responses.
- Backoff counter - Random number of idle slots before sending.
- NAV - Timer representing a virtually busy medium.
- ACK - Control frame confirming successful reception.
📝 All 802.11 MAC sublayer CSMA/CA MCQs
Q1. What is the duration of a SONET frame?
📖 Explanation: The SONET standard defines a fixed frame period of 125 microseconds, which allows a consistent timing reference for synchronous transmission across the network. This value is derived from the 8 kHz sampling rate used for voice digitization.
Q2. Which bytes are used for alignment in the section overhead?
📖 Explanation: Alignment bytes A1 and A2 are placed at the beginning of the frame to provide a known bit pattern that receivers can lock onto for synchronization. They are not used for payload or other control functions.
Q3. How many rows are in an STS‑1 frame matrix?
📖 Explanation: An STS‑1 frame is organized as a 9 × 90 matrix of octets, giving a total of 810 bytes per frame. The nine rows are a fundamental structural element of SONET framing.
Q4. What is the hexadecimal pattern for the alignment bytes?
📖 Explanation: The alignment bytes are defined by the SONET standard as 0xF6 followed by 0x28, giving the two‑byte pattern 0xF628. This pattern is recognized by equipment for frame detection.
Q5. If the frame duration is 125 μs, how many frames are transmitted each second?
📖 Explanation: A frame every 125 μs means 1 / 0.000125 = 8 000 frames per second. This high frame rate supports the high‑speed data transport required by SONET networks.
Q6. Given an STS‑3 data rate of 155.52 Mbps, what is the data rate of an STS‑6 signal?
📖 Explanation: STS‑n data rates scale linearly with n. Doubling the STS level from 3 to 6 doubles the rate: 2 × 155.52 = 311.04 Mbps, preserving the same framing structure.
Q7. If a BIP‑8 byte is calculated over all bits of the previous frame, and a single bit error occurs in the payload, how many bits in the BIP‑8 byte will be incorrect?
📖 Explanation: BIP‑8 parity is computed per bit position across the entire frame. A single bit error flips the parity for that specific bit position only, resulting in exactly one erroneous parity bit.
Q8. In an STS‑9 frame, how many identification (C1) bytes are present and what values do they hold?
📖 Explanation: Each of the nine constituent STS‑1 channels in an STS‑9 frame has its own C1 byte. The bytes are numbered sequentially from 1 to 9, allowing demultiplexers to identify each sub‑channel.
Q9. If the line overhead occupies the lower six rows of the first three columns, how many octets are dedicated to line overhead per frame?
📖 Explanation: Line overhead uses 6 rows × 3 columns = 18 octets. These bytes carry functions such as timing, alarm, and management that are essential for end‑to‑end transmission integrity.
Q10. Assume a SONET network drops one of the three management bytes (D2) in an STS‑1 frame. What is the impact on the 192‑kbps data communication channel?
📖 Explanation: The management bytes form a dedicated 192‑kbps channel for operation, administration, and maintenance. Removing D2 reduces the channel’s bandwidth, compromising the ability to transmit OA&M messages reliably.
Q11. If the payload envelope (SPE) occupies 87 columns per row, how many payload octets are there in an STS‑1 frame?
📖 Explanation: Payload octets = 9 rows × 87 columns = 783 octets. The remaining 27 octets are used for overhead (section and line), completing the 810‑octet frame.
Q12. Compare the purpose of the alignment bytes (A1, A2) with the order‑wire byte (E1).
📖 Explanation: Alignment bytes are solely for frame detection and synchronization, while the order‑wire byte is a separate channel used for network‑wide control or ordering information, serving a distinct function.
Q13. Evaluate the advantage of having a separate section overhead (SOH) versus embedding overhead within the payload.
📖 Explanation: Keeping SOH separate from the payload allows network elements to monitor and manage the transport layer without disturbing user data, facilitating rapid fault detection and isolation.
Q14. Differentiate between the functions of the parity byte (B1) and the management bytes (D1‑D3).
📖 Explanation: B1 is a single‑byte BIP‑8 parity calculated over the previous frame, used only for error detection. In contrast, D1‑D3 together form a dedicated 192‑kbps channel for OA&M signaling, serving a different operational purpose.
Q15. Analyze how increasing the STS level from 1 to 3 affects both the data rate and the overhead proportion.
📖 Explanation: When moving from STS‑1 to STS‑3, the payload triples while the overhead (first three columns) stays the same size, so the overhead proportion relative to total frame size actually decreases, improving efficiency.
Q16. Compare the overhead allocation in SONET STS‑1 with that in Ethernet frames regarding efficiency.
📖 Explanation: Ethernet frames have a variable overhead (preamble, header, CRC) that can be a larger fraction of small frames, whereas SONET’s overhead is fixed (27 octets) regardless of payload size, making SONET more efficient for large, constant‑size frames.
Q17. If an STS‑1 frame experiences a 5 % increase in payload size by adding extra user channels, what is the effect on the overall frame bitrate?
📖 Explanation: SONET frames have a fixed size of 810 octets; adding extra payload beyond the allocated 783 octets would overflow the frame, forcing truncation or loss of data, effectively reducing usable bitrate.
Q18. Evaluate the impact on synchronization if the alignment byte pattern were changed from 0xF628 to 0xAAAA.
📖 Explanation: Both patterns are recognizable, but network equipment is programmed for the standard 0xF628. Changing it would cause receivers to miss the expected flag, leading to loss of frame alignment and potential data corruption.
Q19. Contrast the role of the identification byte (C1) in multiplexing STS‑1 signals within higher‑order STS‑n signals.
📖 Explanation: When several STS‑1 streams are combined, each receives a unique C1 value (1, 2, 3, …). This identifier allows the receiver to separate the composite STS‑n stream back into its original STS‑1 constituents.
Q20. Given that each management byte channel is 192 kbps, calculate the total bandwidth occupied by the D1‑D3 bytes in an STS‑12 frame (which contains 12 STS‑1s).
📖 Explanation: Each STS‑1 contributes a 192 kbps management channel (D1‑D3). For 12 STS‑1s, total = 12 × 192 kbps = 2 304 kbps = 2.304 Mbps.
Q21. Identify which overhead bytes are transmitted in every STS‑n frame regardless of n.
📖 Explanation: The first three columns of every frame carry the same overhead structure (A1, A2, B1, C1, D1‑D3, E1, F1) independent of the STS level, ensuring consistent control information across all rates.
Q22. Explain why the SONET frame duration is fixed at 125 μs.
📖 Explanation: The 125 μs frame period corresponds to the 8 kHz sampling interval (1 / 8000 = 125 μs), allowing each voice sample to be carried in a single frame and ensuring synchronous timing throughout the network.
Q23. Apply the formula for data rate to determine the STS‑4 data rate.
📖 Explanation: The data rate of an STS‑n signal is n × the STS‑1 rate (51.840 Mbps). For n = 4, the rate is 4 × 51.840 = 207.36 Mbps, illustrating the linear scaling property of SONET.
Q24. Synthesize how the section overhead facilitates fault isolation in a SONET network.
📖 Explanation: Section overhead includes BIP‑8 parity (B1) for error detection and identification (C1) for channel labeling. When a fault is detected, the parity indicates a problem, and the C1 value tells network equipment which STS‑1 stream is affected, enabling targeted isolation and repair.
Q25. Explain the relationship between the number of columns per row and the ability to carry digitized voice channels.
📖 Explanation: A SONET row contains 90 columns; the first three are overhead, leaving 87 for payload. Each payload column can transport an 8‑bit voice sample, so the number of usable columns directly determines how many digitized voice channels can be carried per frame.
Q26. What would be the consequence of omitting the BIP‑8 parity byte on error detection?
📖 Explanation: BIP‑8 provides a simple, per‑bit parity check across the entire frame. Without it, the receiver loses a fast mechanism to detect single‑bit errors, making the system more vulnerable to undetected corruption.
Q27. If a network operator wants to increase the OA&M signaling capacity without changing the STS level, which overhead bytes could be repurposed?
📖 Explanation: The management bytes D1‑D3 already form a 192 kbps channel dedicated to OA&M. Repurposing them for additional signaling would directly increase capacity while preserving the existing STS‑n structure.
Q28. Describe how the identification byte (C1) enables demultiplexing of STS‑3 signals.
📖 Explanation: In an STS‑3 frame, each of the three constituent STS‑1 streams includes a distinct C1 value (1, 2, 3). The demultiplexer reads this byte to route each sub‑stream to its appropriate destination, ensuring correct reconstruction of the original channels.
Q29. Predict how a mismatch in alignment byte patterns between two network nodes would affect frame synchronization.
📖 Explanation: If one node transmits the standard 0xF628 pattern while the neighbor expects a different pattern, the receiver cannot locate the frame start, leading to persistent synchronization errors and potential frame loss until the pattern is corrected.
Q30. Apply the concept of line overhead to explain how timing information is distributed across the network.
📖 Explanation: Line overhead (the lower six rows of the first three columns) includes timing and synchronization bytes that disseminate a precise clock throughout the SONET ring, ensuring that all equipment remains phase‑aligned for synchronous transmission.
Q31. Why are the management bytes (D1‑D3) grouped to form a 192‑kbps channel?
📖 Explanation: Each management byte is transmitted at the 8 kHz sampling rate used for voice. Three bytes therefore yield 3 × 8000 × 8 = 192 kbps, a bandwidth sufficient for operational and maintenance signaling without impacting user data.
Q32. If the alignment bytes are missing, what immediate effect occurs?
📖 Explanation: Alignment bytes act as the frame delimiter. Their absence leaves the receiver without a known pattern to lock onto, causing loss of synchronization and making it impossible to reliably locate the start of each frame.
Q33. Identify which overhead byte carries timing information for the payload.
📖 Explanation: The management bytes D1‑D3 include timing and synchronization information required for the payload, ensuring that the payload data is transmitted in lockstep with the network’s master clock.
Q34. Given an STS‑5 frame, calculate its data rate using the formula.
📖 Explanation: The STS‑n data rate equals n times the STS‑1 rate (51.840 Mbps). For n = 5, the rate is 5 × 51.840 = 259.20 Mbps, illustrating the linear scaling of SONET bandwidth.
Q35. Compare the overhead proportion between STS‑1 and STS‑12 frames.
📖 Explanation: STS‑1 has 27 overhead octets out of 810 total (≈3.3%). In STS‑12, the overhead remains 27 octets, but the total frame size grows to 12 × 810 = 9720 octets, reducing the overhead fraction and improving efficiency.
Q36. Explain how the order‑wire byte (E1) can be used for network management.
📖 Explanation: The order‑wire byte is a single‑octet channel that can be programmed to convey simple management commands, alarms, or priority indicators, enabling lightweight coordination between network elements without consuming the larger management channel.
Q37. If a single bit error occurs in the management channel (D2) of an STS‑1 frame, explain how the BIP‑8 parity byte (B1) will reflect this error and the subsequent steps the receiver takes to request retransmission.
📖 Explanation: A bit error in D2 flips the parity for that bit position, causing the associated bit in B1 to change. The receiver detects the mismatch, marks the frame as erroneous, and initiates OA&M procedures (e.g., sending a request for retransmission) to maintain data integrity.