skip to content

In 802.11, how do an MSDU, an MPDU, an A-MSDU and an A-MPDU differ, and why does block acknowledgement make aggregation pay?

level: middleimportance: should knowfreq 13%

answer

  1. service unit versus protocol unit
  2. pack inside a frame or a transmission
  3. how many FCS fields
  4. one acknowledgement for a window
  5. ADDBA before the bitmap

basics

~20 s

An MSDU is one packet handed to the MAC; an MPDU is one 802.11 frame. An A-MSDU packs MSDUs into one MPDU; an A-MPDU packs whole MPDUs into one transmission. Block Ack confirms many MPDUs at once, so aggregation saves airtime.

solid answer

~50 s

The **MSDU** is the user packet the MAC must deliver; the **MPDU** is the 802.11 frame carrying it - header, body and FCS. Aggregation amortises the fixed cost of each transmission. An **A-MSDU** puts several MSDUs into one MPDU: one header and one FCS, so a single bit error resends the whole aggregate. An **A-MPDU** concatenates whole MPDUs, each with its own header, sequence number and FCS, into one PHY transmission, so the receiver keeps the good subframes. That only pays with **Block Ack**: after an `ADDBA` exchange sets up an agreement for a traffic ID, the receiver answers a burst with one Block Ack frame whose bitmap marks which MPDUs arrived, and only the missing ones are retransmitted. A-MPDU arrived with 802.11n (Wi-Fi 4); the block-ack window grew with later generations, and Wi-Fi CERTIFIED 7 lists 512 Compressed Block Ack.

go deeper

for a junior

Know that an MPDU is one 802.11 frame and that aggregation sends many packets in one transmission to save airtime.

for a middle

Contrast A-MSDU and A-MPDU by headers, FCS and error cost, and walk through ADDBA, the Block Ack bitmap and selective retransmission.

for a senior

Read aggregation from a capture: single-MPDU bursts, Block Ack gaps and Block Ack Requests, and say whether the cause is RF loss or a peer that never set up an agreement.

for a principal

Judge how much of a generation's headline rate depends on aggregation, and why small, latency-sensitive traffic gains little from it.

## Four units, two layers of packing 802.11 names its data units precisely, and the names are the key to aggregation: - **MSDU (MAC service data unit)** - the unit of user data the MAC is asked to deliver: one packet from above, such as an IP packet with its LLC/SNAP header. - **MPDU (MAC protocol data unit)** - one 802.11 frame as the MAC builds it: MAC header, frame body and a frame check sequence (FCS). A management frame is an MMPDU. - **A-MSDU (aggregate MSDU)** - several MSDUs packed into the body of **one** MPDU. - **A-MPDU (aggregate MPDU)** - several complete MPDUs concatenated into **one** physical-layer transmission. ## Why aggregate at all Every transmission on a Wi-Fi channel pays a fixed cost that does not shrink as the PHY rate grows: winning access to the medium, the PHY preamble, an interframe gap and an acknowledgement. At a high rate the payload of a single 1,500-octet packet takes only a sliver of airtime, so the fixed cost dominates. Aggregation puts many packets behind one access to the medium and one preamble. How stations contend for that access is a separate subject; the point here is that aggregation pays that cost once instead of per packet. ## A-MSDU against A-MPDU | | A-MSDU | A-MPDU | |---|---|---| | Packs | MSDUs inside one MPDU | whole MPDUs inside one PHY transmission | | MAC headers | one | one per subframe | | FCS | one for the whole aggregate | one per subframe | | Sequence numbers | one | one per subframe | | Encryption | the aggregate as one unit | each MPDU separately | | One bit error costs | the whole aggregate | only the damaged subframe | | Flagged by | `A-MSDU Present` bit in QoS Control | delimiters before each subframe | An **A-MSDU** is efficient - one header for many packets - but fragile: a single corrupted bit fails the one FCS and the whole aggregate is resent. Its subframes must share a receiver and a traffic ID. hostapd's `ht_capab` comment shows the size class: `[MAX-AMSDU-7935]` advertises 7935 octets, and 3839 octets applies when it is not set. An **A-MPDU** keeps a header, sequence number and FCS on every subframe, so the receiver can check each MPDU on its own and keep the good ones. It is bounded by an advertised maximum length: hostapd's comments give it as 2 to the power (13 + exponent), minus one, octets, so the largest exponent for 6 GHz allows about a megabyte. The two combine: a station can carry A-MSDUs inside an A-MPDU when both sides support it. ## Why block acknowledgement makes aggregation pay Without block acknowledgement, every MPDU would need its own ACK, and the airtime saved by aggregating would be spent again on acknowledgements. **Block Ack** replaces many ACKs with one: 1. The two stations set up an agreement per traffic ID with **ADDBA Request** and **ADDBA Response** management Action frames, fixing the buffer size, the policy and a timeout; **DELBA** tears it down. 2. The sender transmits an A-MPDU whose MPDUs carry consecutive sequence numbers. 3. The receiver answers with one **Block Ack** control frame: a **Starting Sequence Number** and a **bitmap** with one bit per MPDU in the window. 4. The sender retransmits only the MPDUs whose bits are clear, with the `Retry` flag set, in a later A-MPDU. 5. If the Block Ack itself is lost, the sender can send a **Block Ack Request** to ask for it again. The QoS Control field's **Ack Policy** tells the receiver how a frame is acknowledged - its values include normal acknowledgement, no acknowledgement and block acknowledgement - so the same QoS Data frame can take part in either scheme. ## How the generations moved it Block acknowledgement predates aggregation: it arrived with the QoS work of 802.11e-2005. 802.11n-2009 (Wi-Fi 4) brought A-MPDU and A-MSDU and made block acknowledgement the normal way to confirm high-rate data. The window has grown with each generation: the Linux 802.11 definitions set the maximum A-MPDU reorder buffer for block acknowledgement at 64 MPDUs for HT (802.11n), 256 for HE (802.11ax, Wi-Fi 6) and 1024 for EHT (802.11be, Wi-Fi 7), and the Wi-Fi Alliance lists **512 Compressed Block Ack** among the features of Wi-Fi CERTIFIED 7, introduced in 2024. ## What this means for the WLAN you run - Low aggregation in a capture - many single-MPDU transmissions - means each packet pays the full fixed cost, and throughput falls far short of the PHY rate. - Block Ack bitmaps with recurring gaps point at loss on the air; the fix lies in RF conditions, not in the frame format. - Traffic that cannot be aggregated well, such as small voice packets, still benefits from short transmissions; aggregation is a throughput tool, not a latency one.

  • Why would a station carry A-MSDUs inside an A-MPDU rather than use only one form?
    The two save different overheads. A-MSDU removes per-packet MAC headers inside one MPDU; A-MPDU removes per-frame preambles and contention while keeping each MPDU separately checkable. Nesting short A-MSDUs inside an A-MPDU gets most of both savings while limiting how much one bit error can cost.
  • What happens on an 802.11 link when a Block Ack frame is lost?
    The sender cannot tell which MPDUs arrived, so it sends a Block Ack Request for the window; the receiver answers with a Block Ack carrying its bitmap. Only MPDUs still unacknowledged are retransmitted, with the `Retry` flag set, and the window moves on.

  • Says an A-MSDU lets the receiver keep the good subframes after an error.
  • Thinks an A-MPDU shares a single MAC header across all its subframes.
  • Believes block acknowledgement was invented for Wi-Fi 7.
  • Says aggregation needs no setup because every QoS Data frame is aggregated.
  • Treats Block Ack as a management frame because ADDBA negotiates it.

Assumes Wi-Fi 7 (802.11be-2024): A-MPDU arrived with 802.11n-2009 (Wi-Fi 4), the block-ack window grew from 64 MPDUs (HT) to 256 (Wi-Fi 6), and Wi-Fi CERTIFIED 7 (2024) lists 512 Compressed Block Ack.