Generate PUCCH scrambling sequence
[
returns the first seq
,cinit
] = nrPUCCHPRBS(nid
,rnti
,n
)n
elements of the physical uplink control channel
(PUCCH) scrambling sequence. The function also returns initialization value
cinit
of the pseudorandom binary sequence (PRBS) generator. The
initialization value depends on scrambling identity nid
and radio
network temporary identifier (RNTI) of the user equipment (UE) rnti
.
The function implements TS 38.211 Section 6.3.2.5.1/6.3.2.6.1 [1].
[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.