Main Content

MAC Modeling

Functions and configuration objects for 802.11™ MAC frame generation and parsing

WLAN Toolbox™ provides functions to create and parse 802.11 medium access control (MAC) frames. Use these functions to generate and decode control, management, and data frames.

Objects

expand all

wlanMACFrameConfigCreate WLAN MAC frame configuration object
wlanMACManagementConfigCreate WLAN MAC management frame-body configuration object

Functions

expand all

wlanMACFrameGenerate WLAN MAC frame (MPDU or A-MPDU)
addIE Update MAC management frame with IE
wlanMSDULengthsCalculate MSDU lengths
wlanAPEPLengthCalculate APEP length in octets
wlanPSDULengthCalculate PSDU length in octets
wlanAMPDUDeaggregateDeaggregate A-MPDU and extract MPDUs
wlanMPDUDecodeDecode MPDU
displayIEsDisplay list of IEs in MAC management frame
pcapWriterPCAP file writer of protocol packets
pcapngWriterPCAPNG file writer of protocol packets

Featured Examples