Generate WLAN MAC frame (MPDU or A-MPDU)
[
generates frame
,frameLength
] = wlanMACFrame(macConfig
)frame
, a WLAN medium access control (MAC) frame for the input
MAC frame configuration object. The function generates a MAC protocol data unit (MPDU) or an
aggregate MPDU (A-MPDU), depending on the property values of the
macConfig
input. The function also computes
frameLength
, the total length of the MAC frame.
[
generates a WLAN MAC frame containing frame
,frameLength
] = wlanMACFrame(payload
,macConfig
)payload
, one or more MAC service
data units (MSDUs). For the MAC frame to contain the payload, the
FrameType
property of the macConfig
input must
be set to 'Data'
or 'QoS Data'
. Otherwise, the
function ignores payload
.
[
generates a WLAN MAC frame in the format specified by frame
,frameLength
] = wlanMACFrame(payload
,macConfig
,phyConfig
)phyConfig
, a
physical layer (PHY) format configuration object. To generate A-MPDUs, use this
syntax.
[
specifies frame
,frameLength
] = wlanMACFrame(___,'OutputFormat',format
)format
, the data format in which the function returns
frame
.
[1] IEEE Std 802.11™-2016 (Revision of IEEE Std 802.11-2012). “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications.” IEEE Standard for Information technology — Telecommunications and information exchange between systems. Local and metropolitan area networks — Specific requirements.
[2] IEEE P802.11ax™/D4.1. “Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications. Amendment 1: Enhancements for High Efficiency WLAN.” Draft Standard for Information technology — Telecommunications and information exchange between systems. Local and metropolitan area networks — Specific requirements.