Scrambling — Whitening, and making a mis-addressed decode fail
Bits into a codeword
Where it sits
What it is
Scrambling adds a pseudo-random sequence to every bit before modulation. It is not encryption — the sequence is public and the RNTI is sent in the clear.
Initialised with $c_{\text{init}} = n_{\text{RNTI}} \cdot 2^{15} + q \cdot 2^{14} + n_{\text{ID}}$ (TS 38.211 clause 7.3.1.1) — who, which codeword, which cell.
It does two engineering jobs. It whitens interference, so two cells sending the same pattern interfere like noise rather than coherently. And it makes a mis-addressed decode fail loudly: descrambling with the wrong RNTI yields a random sequence that fails the CRC.
Actual encryption lives in PDCP, several layers up.
Read on
The full treatment is in nr-pdsch — this page is the definition and the map reference; that note is where the subject is actually developed.
Before this concept, the hierarchy says to learn the following — the full chain, in order: