4.3.6 · D3Computer Networks

Worked examples — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

3,889 words18 min readBack to topic

The scenario matrix

Every question about this topic falls into one of these cells. We will hit all of them.

# Cell (case class) What makes it tricky Covered by
A Two stations contend, both count down who wins, who freezes Ex 1
B Backoff tie (both draw the same number) the degenerate case → real collision Ex 2
C Exponential backoff growth to the cap doubling formula, min clamp Ex 3
D Timing a full exchange (DIFS+backoff+data+SIFS+ACK) adding all the gaps in µs Ex 4
E Hidden terminal WITHOUT RTS/CTS why carrier sense fails Ex 5
F Hidden terminal WITH RTS/CTS + NAV how the fix silences the hidden node Ex 6
G Band / range word problem (real world) frequency ↔ wavelength ↔ penetration Ex 7
H Channel-crowding on 2.4 GHz (exam twist) why only 3 clean channels Ex 8
I Degenerate limits (, throughput vs bandwidth) zero-slot backoff, overhead Ex 9
J Exposed terminal (the mirror-image of hidden) when a station stays quiet needlessly Ex 10

Terms used below, all built in the parent note, restated in one line so you never guess:

  • slot time = the small fixed clock tick (e.g. or ) that the backoff counter decrements by.
  • (contention window) = the biggest number the backoff counter can be drawn from.
  • = the initial (smallest) contention window a fresh frame uses — the 802.11 default is (a 16-slot window).
  • = the cap the window may not exceed no matter how many collisions occur — a common value is (a 1024-slot window). It stops backoff from growing forever.
  • backoff counter = a random whole number of slots you must sit idle before you may talk.
  • SIFS / DIFS = fixed waiting gaps; SIFS is short (for replies), DIFS is long (for new data).
  • NAV = a countdown timer that says "channel is reserved, stay quiet" — a virtual busy signal.

Prereqs if any line feels shaky: CSMA-CD and Ethernet, MAC Layer and ARQ / ACK, Hidden and Exposed Terminal Problems, Frequency, Wavelength and Attenuation, Bandwidth vs Throughput.


Cell A — Two stations contend

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell B — The backoff tie (degenerate case)


Cell C — Exponential backoff to the cap

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell D — Timing a full exchange

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell E — Hidden terminal WITHOUT RTS/CTS

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell F — Hidden terminal WITH RTS/CTS + NAV

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell G — Band / range word problem

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Cell H — Channel crowding on 2.4 GHz (exam twist)


Cell I — Degenerate limits


Cell J — Exposed terminal (mirror image of hidden)

Figure — Wi-Fi (IEEE 802.11) — CSMA - CA, bands

Active Recall

Recall Cover the answers and test each cell

Cell A — after X (draw 4) transmits, where is Y (draw 7)? ::: Frozen at 3. Cell B — do equal backoff draws collide? ::: Yes — CSMA/CA only lowers collision odds, never zero. Cell C — from 15, cap 1023: sequence? ::: 15,31,63,127,255,511,1023 then stays. Cell C — why the +1 and −1 in the doubling formula? ::: They convert between top index and slot count; only the ×2 is the real doubling. Cell D — total time for DIFS28+backoff3×9+data200+SIFS10+ACK24? ::: 289 µs. Cell E — both saw "idle" yet collided; why? ::: Hidden terminals collide at the receiver. Cell F — how is hidden C silenced? ::: It hears the CTS and sets NAV for the announced Duration. Cell G — wavelengths of 2.4 and 5 GHz? ::: 0.125 m and 0.06 m; longer 2.4 GHz reaches farther. Cell H — non-overlapping 2.4 GHz channels, and why 25 MHz spacing? ::: About 3 (1, 6, 11); the extra gap guards against real filter leakage. Cell I — throughput 24 of bandwidth 54; efficiency? ::: ≈ 44.4%. Cell J — should the exposed terminal C defer? ::: No — its receiver D is out of range of B, so parallel sending would succeed; deferring wastes throughput.