Sidelink MAC (V2X / D2D)

Direct UE-to-UE over PC5: Mode 1 gNB-scheduled, Mode 2 autonomous sensing, SL HARQ & V2X

← MAC Overview Scheduling → HARQ → BSR → DRX → CA → DC → BFR → ☆ ISAC (V2X sensing) ☆ Cell-Free

1. Resource Allocation — Mode 1 vs Mode 2

Sidelink supports two resource allocation modes: Mode 1 (gNB schedules SL resources via DCI 3_0/5_0) and Mode 2 (UE autonomously selects resources using sensing). The SL MAC entity is separate from the Uu MAC.

🔄 Mode 1 vs Mode 2 — Scheduling Flow Comparison

Compare how resources are allocated: gNB-coordinated (Mode 1) vs autonomous sensing-based (Mode 2).

Mode 1 — gNB Scheduled

UE sends SL-BSR → gNB grants via DCI 3_0 → UE transmits. Low collision, needs RRC_CONNECTED + coverage.

Mode 2 — Autonomous

UE senses → excludes occupied → randomly selects. Works out-of-coverage, higher collision risk.

SL Configured Grants

Type 1: RRC periodic (no DCI). Type 2: DCI-activated periodic. Ideal for periodic CAM/BSM (100 ms).

AspectMode 1Mode 2
SchedulergNB (DCI 3_0/5_0)UE autonomous
Coverage requiredYes (RRC_CONNECTED)No (works OOC)
Collision riskLow (coordinated)Higher (distributed)
Latency~4-10 ms (SR+grant)~0 ms (immediate)
ComplexityLow (UE side)High (sensing algo)

2. Sensing & Resource Selection

Mode 2 uses a 4-step sensing algorithm: (1) monitor resource pool for 100-1100 ms, (2) decode SCI and measure RSRP, (3) exclude occupied resources (keep ≥20% candidates), (4) randomly select from remaining.

📡 Resource Pool Sensing — Occupied vs Available

Watch the UE scan the resource pool. Red = occupied (RSRP above threshold), yellow = excluded, green = available candidate.

-75
20% rule: After exclusion, if fewer than 20% candidates remain, the RSRP threshold is raised by 3 dB and exclusion repeats — ensuring the UE always has enough resources to select from.

3. Resource Reselection & Preemption

UE reselects resources when: counter expires, packet delay budget unmet, preemption by higher priority, or CBR exceeds threshold. Rel-16 adds re-evaluation check — UE re-senses before each TX to detect hidden nodes.

🔄 Resource Reselection — Step-by-Step Procedure

Step through the reselection flow: counter expiry → re-sense → exclude → select → reserve. Watch preemption in action.

TriggerActionPriority
Reselection counter = 0Full reselection (sense + select)Normal
Packet delay exceededImmediate reselectionHigh
Preemption (Rel-16)Release resource, reselectCritical
CBR > thresholdReduce TX power/rate + reselectCongestion

4. Sidelink HARQ

SL HARQ operates independently from Uu — feedback on PSFCH. Unicast uses full ACK/NACK. Groupcast supports NACK-only (saves resources) or ACK/NACK. Broadcast has no HARQ.

Unicast

Full HARQ ACK/NACK. Max retx configurable (sl-MaxTransNumber). PC5-RRC established between UEs.

Groupcast (NACK-only)

Receivers silent on ACK, send NACK only on failure. Saves PSFCH resources. Retx if ANY NACK.

Broadcast

No HARQ feedback. Fire-and-forget. Used for safety messages (CAM/BSM/DENM).

SL HARQ RTT: Typically 3-4 slots (faster than Uu). Retransmissions use new SCI on PSCCH + data on PSSCH. Soft combining at receiver (Chase or IR).

5. Practical Field Considerations

ScenarioModeKey Consideration
In-coverage V2V (urban)Mode 1gNB optimizes, low collision
Out-of-coverage (rural)Mode 2No gNB, sensing-only
Public safety (disaster)Mode 2Must work without network
High density (>100 veh/km)Mode 1 pref.CBR congestion control critical
Periodic CAM (100 ms)SL-CG or Mode 2 reservationMatch periodicity
Hidden node: UE A and C can't hear each other but both reach UE B → collision at B. Mitigated by Rel-16 re-evaluation check (re-sense before each TX).
Half-duplex constraint: UE cannot TX and RX simultaneously on SL. Resource pool design separates TX/RX slots. Skipped sensing during TX creates blind spots.

LTE vs 5G NR Sidelink

AspectLTE SL5G NR SL
HARQNo (broadcast only)Yes (unicast, groupcast)
UnicastNoYes (PC5-RRC)
QoSPPPP (8 levels)PQI (5QI-like)
CANoYes (Rel-17)
Re-evaluationNoYes (Rel-16)
PreemptionNoYes (priority-based)

6. 6G Evolution — Cooperative Perception, Mesh, Integrated Uu+SL

Cooperative Perception

Vehicles share raw sensor data (camera, LiDAR) over SL. AI fuses multi-vehicle views for extended sensing range.

Mesh Networking

Multi-hop SL: UE→UE→UE→gNB. Self-organizing mesh extends coverage beyond single-hop range.

Integrated Uu+SL

gNB jointly optimizes Uu and SL. AI decides per-packet: send via network or direct? Single MAC entity.

🚀 Sidelink Evolution — 4G to 6G

Compare sidelink capabilities across generations.

Dimension4G (LTE SL)5G NR SL6G (Target)
HARQNoneUnicast + GroupcastFull mesh HARQ
UnicastNoYesMulti-hop relay
CooperativeNoBasicJoint perception
DuplexHalf onlyFull capableFull + ISAC
TopologySingle hopSingle + relayMesh (multi-hop)