nrMACBSR
Syntax
Description
[
generates a regular or periodic buffer status report (BSR) medium access control (MAC)
control element (CE). The input lcid
,bsr
] = nrMACBSR(lcgBufferSize
)lcgBufferSize
specifies the buffer size
values for logical channel groups (LCGs). The function generates the BSR for the nonzero
values specified in lcgBufferSize
. The function also returns
lcid
, which indicates the logical channel ID corresponding to the
generated BSR.
[
generates a padding BSR MAC CE. lcid
,bsr
] = nrMACBSR(lcgBufferSize
,lcgPriority
,paddingBytes
)lcgPriority
specifies the priority of
the LCGs. paddingBytes
specifies the number of available padding bytes
for the function to use to generate the padded BSR MAC CE.
Examples
Input Arguments
Output Arguments
References
[1] 3GPP TS 38.321. “NR; Medium Access Control (MAC) protocol specification.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
Extended Capabilities
Version History
Introduced in R2021b