📡 MAC Layer TS 38.321

⚙️ Full DRX model: on‑duration, inactivity, retransmission timers, HARQ RTT, short/long cycles.

🧠 Concept & interactive simulation

📐 Discontinuous Reception (DRX) – full operation ⏺️ real‑time animation

📘 3GPP references

📋 LAB Configuration Guideline

1. How to configure:
- Set drx-onDurationTimer, drx-InactivityTimer, drx-RetransmissionTimerDL/UL (slots).
- Configure drx-HARQ-RTT-TimerDL/UL (slots) – time before retransmission timer starts.
- Set Long DRX cycle (slots) and optional Short cycle with its timer.
- Adjust start offset to align cycle start.
- Use New DL Packet to simulate incoming data, resetting inactivity timer.

2. What will be the flow:
- UE wakes for on‑duration at start of cycle; if packet arrives, inactivity timer keeps UE awake.
- After inactivity timer expires, UE may enter short cycle then long cycle.
- HARQ RTT timers manage retransmission monitoring: after a DL transmission, UE starts RTT timer; after expiry, starts retransmission timer.

3. What student can expect:
- Timeline shows wake (green) / sleep (gray) for recent slots.
- Current timers displayed; active HARQ processes shown below with their RTT/retx timers.

4. Recommended button sequence:
- First: Click Advance Slot repeatedly to see periodic wake pattern.
- Then: Click New DL Packet to trigger inactivity – observe UE stays awake.
- Then: Keep advancing until inactivity expires – see short cycle transition.
- Reset starts over.