CSMA/CA: Carrier Sense Multiple Access with Collision Avoidance
Why Not CSMA/CD: The Impossibility of Collision Detection in Wireless
Read aloud is unavailable in this browser.
The Natural Question
CSMA/CD was spectacularly successful for Ethernet. It enabled efficient shared-medium networking that transformed computing. When engineers began developing wireless LAN standards in the 1990s, CSMA/CD was the obvious starting point—it was proven, it was well-understood, and it was efficient.
So why didn't they just adapt CSMA/CD for wireless?
The answer lies in the fundamental physics of wireless communication. What works perfectly on a copper wire becomes physically impossible when signals travel through air. This page examines the specific technical barriers that forced IEEE 802.11 designers to abandon collision detection entirely.
By the end of this page, you will understand four fundamental reasons why CSMA/CD cannot work in wireless: the near-far problem, the hidden terminal problem, transceiver hardware limitations, and signal fading effects. You'll appreciate why collision avoidance isn't just a preference—it's a necessity.
How CSMA/CD Actually Works
Before we examine why CSMA/CD fails for wireless, let's ensure we understand exactly how it succeeds for wired networks. CSMA/CD relies on a fundamental property of shared electrical conductors: all stations can observe the same signal at effectively the same time.
- •Carrier Sense: Station monitors the wire for electrical activity. If voltage is changing (indicating another transmission), the station waits.
- •Transmission Begins: When the wire is quiet, the station begins transmitting while continuing to monitor the wire.
- •Simultaneous Listen: Crucially, the station listens to its own transmission on the wire and compares it to what it's sending.
- •Collision Detection: If another station also starts transmitting, the combined signals create voltage levels outside normal ranges. The transmitting station detects this anomaly immediately.
- •Jam Signal: Upon detecting collision, the station sends a 32-bit jam signal to ensure all stations recognize the collision.
- •Backoff and Retry: The station stops transmitting, waits a random time (binary exponential backoff), then tries again.
CSMA/CD requires that a transmitting station can simultaneously (1) transmit a signal and (2) receive and analyze signals from other stations on the same medium. This simultaneous transmit-and-receive capability is what enables collision detection.
Why This Works on Wire:
In wired Ethernet:
-
The medium is a conductor: Electrical signals propagate along the wire, guided by the physical structure. All stations on the segment see the same combined signal.
-
Signal levels are predictable: A normal transmission has specific voltage levels. Two simultaneous transmissions produce voltages that are the sum of both, clearly detected as abnormal.
-
The power differential is manageable: A station's own transmission on the wire and an incoming signal from another station differ by only a few dB, easily distinguishable by the receiver.
-
Propagation is nearly instantaneous: At close to the speed of light, signals traverse a 500-meter Ethernet segment in under 2.5 microseconds, allowing rapid collision detection.
The Near-Far Problem
The near-far problem is perhaps the most fundamental obstacle to collision detection in wireless. It describes the enormous difference in received signal strength between a station's own transmission and signals from other stations.
Understanding Signal Power Levels:
In a wireless environment, consider a station attempting to detect collisions while transmitting:
| Signal Source | Typical Power at Antenna |
|---|---|
| Own transmission | +20 dBm (100 milliwatts) |
| Nearby station (1 meter) | -30 dBm (1 microwatt) |
| Station across room (10 meters) | -50 dBm (10 nanowatts) |
| Distant station (50 meters) | -70 dBm (100 picowatts) |
| Edge of range (100 meters) | -85 dBm (3 picowatts) |
The difference between a station's own transmission and a signal from another station at typical operating range is 70-100 dB—that's a factor of 10 million to 10 billion in power!
When your own transmitter is outputting 100 milliwatts at the antenna, and you're trying to detect a 10-nanowatt incoming signal, you're looking for a signal that is 140 dB weaker than what you're producing. This is like trying to hear a whisper while standing next to a jet engine. The physics simply don't allow it with practical receivers.
The Path Loss Equation:
Wireless signals attenuate according to the free-space path loss equation:
Path Loss (dB) = 20 × log₁₀(d) + 20 × log₁₀(f) + 20 × log₁₀(4π/c)
Where:
- d = distance in meters
- f = frequency in Hz
- c = speed of light (3 × 10⁸ m/s)
For 2.4 GHz (802.11b/g/n):
- At 1 meter: Path loss ≈ 40 dB
- At 10 meters: Path loss ≈ 60 dB
- At 100 meters: Path loss ≈ 80 dB
Practical Implications:
Even the most sophisticated wireless receiver cannot achieve a dynamic range of 140 dB. Professional-grade receivers achieve 80-100 dB dynamic range with careful engineering. The self-signal from the transmitter would drive the receiver into saturation, making it completely blind to incoming signals.
Techniques like circulators and careful antenna isolation can reduce the self-interference by 20-30 dB, but this still leaves a 100+ dB gap—far beyond what collision detection requires.
- •Separate antennas — Even with transmit and receive antennas meters apart, coupling is typically only 40-50 dB isolation. The transmitted signal still overwhelms the receiver.
- •Circulators and directional couplers — These RF components provide 20-30 dB isolation. Still insufficient by 70+ dB.
- •Self-interference cancellation — Active cancellation techniques can remove 30-50 dB of self-interference. Still leaves 60-90 dB gap. Full-duplex wireless research is ongoing but not practical for consumer devices as of 2024.
- •Receiver gain reduction — Reducing receiver sensitivity during transmission means distant stations' signals would become undetectable, defeating the purpose.
The Hidden Terminal Problem
Even if we could somehow overcome the near-far problem, collision detection would still fail due to the hidden terminal problem. This is a fundamental geometric issue inherent to wireless propagation.
The Hidden Terminal Scenario:
Consider three wireless stations: A, B, and AP (Access Point).
- Station A is on the left side of a building, 30 meters from the AP
- Station B is on the right side of the building, 30 meters from the AP
- The distance from A to B is 60 meters, with walls between them
Both A and B can communicate with the AP, but they cannot hear each other. They are "hidden" from each other's perspective.
Now imagine both A and B sense the channel idle and begin transmitting to the AP simultaneously:
- Station A performs carrier sensing: The medium appears idle (B's signal is blocked by walls)
- Station B performs carrier sensing: The medium appears idle (A's signal is blocked by walls)
- Both begin transmitting
- At the AP, both signals arrive and collide
- Neither A nor B can detect this collision—they cannot hear each other!
CSMA/CD assumes that if you can transmit to a destination, you can also hear everyone else transmitting to that destination. In wireless, this assumption is false. The collision occurs at a location (the AP) where neither colliding station can observe it.
Why This Breaks Collision Detection:
Collision detection requires the transmitting station to observe the collision. In the hidden terminal scenario:
- Station A transmits and monitors the channel
- Station A sees only its own signal (or noise), with no indication of B's transmission
- Station A completes its transmission, believing it succeeded
- The AP receives a corrupted frame and sends nothing (no ACK)
- Station A eventually times out and must retransmit
The collision was never detected—it was only inferred from the missing acknowledgment, which is exactly how CSMA/CA works anyway.
Collision Detection Has No Value:
In the hidden terminal case, even if Station A could somehow detect collisions during its own transmission, it couldn't detect the collision with B's signal because B's signal never reaches A. The collision detection hardware would report "no collision" while a collision is occurring at the AP.
This isn't a minor edge case—in typical deployments with walls, furniture, and varying transmission ranges, hidden terminals are common. Any MAC protocol for wireless must handle them, making collision detection not just impractical but irrelevant.
Half-Duplex Radio Hardware Constraints
Beyond the theoretical impossibility of detecting collisions in wireless, there are practical hardware constraints that reinforce this limitation. Most wireless LAN radios are designed as half-duplex devices that physically cannot transmit and receive simultaneously.
- •Shared Antenna: Most Wi-Fi devices use a single antenna (or antenna array) for both transmission and reception. A transmit/receive switch (T/R switch) connects it to either the transmitter or receiver circuit.
- •Power Amplifier Saturation: During transmission, the power amplifier is active and produces a strong output. The receive chain is typically disabled to prevent damage from the transmitted power reflected back into the receiver.
- •Local Oscillator Coupling: Many transceiver designs share the local oscillator between transmit and receive paths. Simultaneous operation would cause frequency conflicts.
- •Single ADC/DAC Pipeline: Consumer Wi-Fi chips use shared analog-to-digital and digital-to-analog paths that cannot simultaneously process transmit and receive signals.
- •Cost Optimization: Full-duplex capability requires significant additional hardware (isolators, separate RF chains), increasing cost beyond consumer market tolerance.
- •T/R switch connects antenna to transmitter
- •Power amplifier active, outputting RF
- •Receiver front-end disabled or muted
- •Low-noise amplifier may be bypassed
- •No processing of incoming signals
- •Station is effectively deaf
- •T/R switch connects antenna to receiver
- •Power amplifier disabled
- •Low-noise amplifier active, boosting weak signals
- •Full receive chain operational
- •Signal demodulation and decoding active
- •Station is listening but not transmitting
Full-duplex radios do exist for specialized applications (military communications, advanced research systems), but they cost 10-100x more than half-duplex consumer devices. The 802.11 standard was designed for practical, affordable equipment, not laboratory-grade hardware.
The Transition Time:
Even switching between transmit and receive modes takes time. The T/R switch must complete its mechanical or electronic transition, the receiver front-end must stabilize, and automatic gain control must settle. This turnaround time is typically 2-5 microseconds on consumer hardware.
During this transition, the station cannot detect anything. Any collision detection scheme would have a blind spot at the critical moment when collisions are most likely—the beginning of a transmission.
Design Implications:
Because the hardware cannot detect signals while transmitting, 802.11 protocols are designed with this constraint in mind:
- All carrier sensing happens before transmission begins
- Once transmission starts, the station is committed for the entire frame duration
- Collision detection is replaced by collision inference from missing acknowledgments
- Retransmission decisions are made after complete frame transmission, not during it
Multipath and Fading Effects
Even in scenarios without hidden terminals and hypothetically full-duplex capable radios, wireless collision detection would still be unreliable due to the complex, time-varying nature of the wireless channel.
Multipath Propagation:
Wireless signals don't travel in straight lines—they reflect off walls, floors, ceilings, furniture, and even people. The receiver picks up multiple copies of the same signal, each arriving via a different path with different:
- Delay: Longer paths take more time
- Amplitude: Each reflection attenuates the signal
- Phase: Path length differences cause phase shifts
These multipath components combine at the receiver through constructive and destructive interference. The result is a received signal that can vary by 20-40 dB across distances of just half a wavelength (about 6 cm at 2.4 GHz).
- •Rayleigh Fading — In environments without line-of-sight, the signal consists entirely of reflected components. The received power varies randomly following a Rayleigh distribution, causing deep fades where the signal drops 30-40 dB below average.
- •Rician Fading — When a line-of-sight path exists alongside reflections, fading is less severe but still significant. The dominant path provides stability, but multipath components still cause 10-20 dB variations.
- •Frequency-Selective Fading — Different frequencies within the signal bandwidth experience different fading. A 20 MHz Wi-Fi channel might have strong signals at some frequencies and deep nulls at others.
- •Time-Varying Fading — People walking through the environment, doors opening, even slight antenna movement causes the multipath geometry to change constantly. What looks like a collision (sudden signal amplitude change) might just be someone walking past the antenna.
Collision Detection Relies on Stable Channels:
In wired CSMA/CD, a collision creates a distinctive, detectable pattern: the signal amplitude increases beyond normal levels because two signals are now present where only one should be. The receiver can clearly distinguish "one transmission" from "two simultaneous transmissions."
In wireless, the received signal amplitude varies constantly due to fading. A 6 dB increase in signal level might be:
- A collision (two stations transmitting)
- Constructive interference from multipath (normal fading)
- An obstruction moving out of the path
- The antenna slightly rotating
- Temperature-induced changes in the propagation environment
Without a stable reference, there's no reliable way to identify a collision by signal amplitude alone. False positives would cause unnecessary transmission aborts, while false negatives would miss actual collisions.
The Mobile Environment:
Wireless devices are often mobile. Laptops move, phones are carried, tablets are repositioned. In vehicular networks, stations move at 100+ km/h. This mobility causes rapid channel variations that completely obscure any collision signature.
Wired Ethernet provides a clean, stable, predictable channel where deviations indicate problems. Wireless provides a chaotic, constantly-changing channel where variations are normal. Collision detection requires the former; wireless provides the latter.
The Capture Effect
An interesting phenomenon in wireless communication is the capture effect, where one signal can successfully "capture" the receiver even when another signal is present. This further complicates any collision detection scheme.
How Capture Works:
When two signals arrive at a receiver, if one is significantly stronger than the other (typically 3-10 dB difference), the stronger signal can be successfully demodulated while the weaker signal contributes only noise. The receiver "captures" the stronger signal.
This occurs because:
- The stronger signal dominates the detector circuit
- Error correction codes can compensate for the interference from the weaker signal
- Modern receivers with advanced modulation (OFDM) are particularly capture-resistant but still exhibit the effect
Implications for Collision Detection:
Capture creates a complex scenario for collision detection:
| Scenario | What Happens | Detection Challenge |
|---|---|---|
| Signals equal power | Both destroyed (classic collision) | Should detect but can't |
| Signal A >> Signal B | A succeeds, B destroyed | A sees no collision; B should detect but can't |
| Signals vary over time | Outcome unpredictable | Neither can reliably detect |
From the transmitter's perspective:
- If your signal captures, you get an ACK and assume success (correct)
- If your signal is captured by another, you never know there was a collision (your signal never arrived properly)
- If both signals destroy each other, neither knows about the collision until ACK timeout
The capture effect isn't entirely negative. In high-density deployments, capture allows some transmissions to succeed even when collisions occur, improving overall throughput. But it means collisions aren't binary events—they have varying outcomes based on relative signal strengths, which no practical collision detection scheme could track.
The Near-Station Advantage:
Capture creates an inherent fairness problem. Stations closer to the access point have stronger signals and are more likely to capture. Distant stations consistently lose in collisions, experiencing higher retransmission rates and lower throughput.
CSMA/CA's random backoff partially mitigates this by giving each station equal opportunity to transmit first. But the capture effect means that 802.11 networks inherently favor stations with stronger signals—a departure from the more egalitarian wired Ethernet.
CSMA/CD vs CSMA/CA: Complete Comparison
Let's consolidate the fundamental differences between these two medium access protocols. Understanding this comparison is essential for appreciating why 802.11 operates the way it does.
| Characteristic | CSMA/CD (Wired) | CSMA/CA (Wireless) |
|---|---|---|
| Medium Type | Guided (copper cable) | Unguided (electromagnetic waves) |
| Signal Propagation | Confined to conductor | Omnidirectional in 3D space |
| Transmit/Receive | Full-duplex capable | Half-duplex only |
| Power Differential | Minimal (few dB) | Extreme (70-140 dB) |
| Hidden Terminals | None (all on same wire) | Common (stations out of range) |
| Channel Stability | Very stable | Constant fading and variation |
| Collision Detection | During transmission | Impossible during transmission |
| Collision Inference | Immediate (within slot time) | Delayed (ACK timeout) |
| Backoff Trigger | After collision detected | Before every transmission attempt |
| Acknowledgments | Not required at MAC layer | Required for all unicast frames |
| Wasted Time per Collision | Partial frame + jam (~51.2 μs max) | Full frame + ACK timeout (~ms) |
| Interframe Spacing | Single IFG (9.6 μs at 100 Mbps) | Multiple IFS types (SIFS, DIFS, etc.) |
The Efficiency Trade-off:
CSMA/CD achieves higher efficiency under light load because:
- No random backoff before first transmission attempt
- No time wasted on acknowledgments
- Collisions are detected and aborted quickly
CSMA/CA achieves better performance under heavy load because:
- Random backoff spreads transmission attempts, reducing collision rate
- Acknowledgments confirm success, enabling reliable upper-layer protocols
- Collision avoidance mechanisms scale better than collision detection
Neither protocol is universally superior—each is optimized for its operating environment.
KEEP LEARNING
Keep learning for free.
Read the complete lesson, save your notes and pick up where you left off with a free account. No card needed.