nrMACPDUDecode
Syntax
Description
[
decodes the medium access control (MAC) protocol data unit (PDU) msgIndexList
,payloadList
] = nrMACPDUDecode(macPDU
,linkDir
)macPDU
as defined in 3GPP TS 38.321 section 6.1.2 release 16 [1]. linkDir
specifies
the transmission direction of the MAC PDU. The function returns the message indices
msgIndexList
, where each message index represents either the logical
channel ID (LCID) or extended logical channel ID (eLCID) field of a MAC subPDU. The function
also returns the payloads of the corresponding MAC subPDUs
payloadList
.
[
also specifies how to handle errors in decoding.msgIndexList
,payloadList
] = nrMACPDUDecode(macPDU
,linkDir
,softErrorFlag
)
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 R2022b