Skip to main content

Module data

Module data 

Source
Expand description

IEEE 802.11 data frame subtypes and QoS handling.

Data frames carry the actual payload data in 802.11 networks. QoS data frames include a 2-byte QoS Control field after the 802.11 header (and before the payload/security headers).

Structs§

AMsduSubframe
A single A-MSDU subframe.
Dot11QoS
802.11 QoS Control field (2 bytes).

Constants§

AMSDU_SUBFRAME_HEADER_LEN
A-MSDU subframe header length: DA(6) + SA(6) + Length(2) = 14.
LLC_SNAP_LEN
LLC/SNAP header length.
LLC_SNAP_PREFIX
LLC/SNAP header: AA:AA:03:00:00:00 followed by 2-byte EtherType.
QOS_CTRL_LEN
QoS Control field length.

Functions§

is_llc_snap
Check if the data at the given offset starts with an LLC/SNAP header.
llc_snap_ethertype
Extract the EtherType from an LLC/SNAP header at the given offset.