MAC — Medium access control — multiplexing, HARQ, the scheduler

5G Systems Notes · Concept map · MAC Route · Hierarchy · Index · All concepts · Hub

The protocol stack

Where it sits

Sits atLevel 6 of the hierarchy · The protocol stack · explained
Learn firstLogical channel · Transport block — 7 concepts in the full chain, see the paths
UnlocksRLC · RRC · Carrier aggregation · Scheduling · DRX
Primary clauseTS 38.321
Used innr-pdsch 11 · ref-stack 7 · index 2 · nr-srs 1
Scanned from the notes at page load and joined with terms.json; nothing on this card is typed by hand.

What it is

What it is. The sublayer that decides what actually goes out in this transmission opportunity. TS 38.321. It is the only layer that talks to the scheduler, and the only one that knows about time.

The functions, from TS 38.321 clause 4.4:

Mapping between logical channels and transport channels · multiplexing of MAC SDUs from one or different logical channels onto transport blocks · demultiplexing on reception · scheduling information reporting · error correction through HARQ · logical channel prioritisation · priority handling between overlapping resources of one UE · radio resource selection.

Three of those deserve a sentence each.

Multiplexing is where the transport block is actually assembled. Several logical channels — a signalling message and two data streams, say — are packed into one block with MAC subheaders. This is the step that makes the block opaque: below it, the pieces are indistinguishable.

HARQ lives here, not in the physical layer. TS 38.321 clause 5.3.2.1 defines the HARQ entity, one per serving cell, holding the parallel processes described in PDSCH §12.1. Layer 1 does the soft-combining; MAC decides which buffer it combines into and whether the block is new.

Logical channel prioritisation is the rule for who gets the room when the grant is smaller than the queue. It is the closest thing in the standard to a fairness policy, and it is per-device — the between-devices version is the scheduler's, and 3GPP does not specify that at all.

Random access is also MAC's (clause 5.1) — the preamble, the response, and the contention resolution that end with a device holding a C-RNTI it can be addressed by.

Read on

This concept was first written up in ref-stack, which reads the whole group as one argument.

Widget not found: sim_status

Before this concept, the hierarchy says to learn the following — the full chain, in order:

To understand MAC (level 6) you first need 7 other concepts. Read them in this order — everything on one line can be read in any order, but no line before the one above it:
Immediately before MAC: Transport block, Logical channel.
Keep going — where this sits on the route
Level 6 → 7 · this unlocks
RRC · RLC · Carrier aggregation · Scheduling level 10 · DRX level 10
The route is every concept in the folder ordered by level, so nothing here needs anything after it. Computed at page load from terms.json; the same numbering as the route page.
5G Systems Notes · Concept map · MAC Top · Concept map · Hub