📡 MAC Layer TS 38.321

⚙️ Configure UEs, CQI, buffers; scheduler allocates RBs based on algorithm.

🧠 Concept & interactive simulation

📐 MAC Scheduler – RB allocation per slot ⏺️ real‑time animation

📘 3GPP references

📋 LAB Configuration Guideline

1. How to configure:
- Use Total RBs per slot slider to change available resources.
- Choose a scheduling algorithm from the dropdown.
- Click Randomize UE Data to generate new buffer and CQI values for each UE.

2. What will be the flow:
- Each time you click Step Slot, the scheduler runs one allocation round.
- UEs with higher CQI get more bytes per RB; higher priority may also influence.
- Allocated RBs are coloured by UE; buffers decrease accordingly.

3. What student can expect:
- UE boxes show CQI, current buffer, and a buffer bar.
- Resource grid shows which UE got which RB (colours).
- Statistics show slot number and allocated RBs.

4. Recommended button sequence:
- First: Click Randomize UE Data to get a fresh set of UE parameters.
- Then: Click Step Slot repeatedly to watch allocations over several slots.
- Or: Click Run for continuous simulation (stop with Stop).
- Reset starts over with new random UEs.