skip to content

In an 802.11 capture of a laptop that keeps dropping, how do the Retry bit, sequence numbers and Block Ack bitmaps show frame loss on the air?

level: seniorimportance: should knowfreq 11%

answer

  1. headers stay readable when encrypted
  2. same number, flag set
  3. bits clear in the window
  4. dozing is not dropping
  5. who sent the goodbye

basics

~20 s

Retransmissions repeat a sequence number with the Retry bit set, and Block Ack bitmaps leave bits clear for MPDUs that never arrived; many of either in one direction means loss on the air, while null-data power-save frames or deauthentication point elsewhere.

solid answer

~50 s

Filter the capture on the client's MAC and split it by type and subtype. Every retransmission keeps its 12-bit **sequence number** and sets the `Retry` flag, so repeated numbers with `Retry` set show frames that were not acknowledged; a high retry share in one direction is loss on the air. For aggregated traffic, each **Block Ack** carries a starting sequence number and a bitmap: clear bits are MPDUs that did not arrive, and repeated **Block Ack Requests** usually mean the sender is not hearing the Block Acks. Then rule out the alternatives: null data frames with `Power Management` set mean the client is dozing or scanning, not dropping, and a Deauthentication or Disassociation means someone ended the association on purpose. The verdict decides where to look next: RF conditions, client power-save behaviour, or the join-and-leave exchange.

go deeper

for a junior

Remember that a resent 802.11 frame carries the Retry flag and keeps its sequence number, and that headers stay readable when payloads are encrypted.

for a middle

Explain Sequence Control, the Retry flag, the Block Ack bitmap and Block Ack Request, and what null data frames with Power Management set mean.

for a senior

Turn a capture into a verdict - loss on the air, power save, a deliberate disconnect, or a silent AP - while allowing for frames the sniffer itself missed.

for a principal

Decide what capture evidence your team requires before RF redesign or client-driver escalation, so complaints are routed on data rather than guesses.

## The question a capture can answer When a laptop "keeps dropping", the first thing to establish is what is actually happening on the air: are frames being lost and retransmitted, is the laptop dozing in power save, or did one side end the association? An over-the-air capture taken near the client - setting one up is a capture subject of its own - holds the answer in the 802.11 headers, which stay readable even when the frame body is encrypted. ## Step 1: isolate the conversation and classify it 1. Filter on the client: in Wireshark, `wlan.addr == 02:00:00:00:00:01` catches the client in any address slot. 2. Identify the BSS: the BSSID of the client's SSID (`wlan.bssid`) separates its AP from neighbours on the same channel. 3. Split by frame type with `wlan.fc.type_subtype`: beacons from the AP, QoS Data in both directions, Block Ack and Block Ack Request, null data frames, and any Deauthentication or Disassociation. 4. Check the beacons first. If the AP's beacons stop, the problem is the AP or the capture, not the client. ## Step 2: read the Retry bit and sequence numbers The **Sequence Control** field holds a 12-bit **sequence number** (0-4095, then it wraps) and a 4-bit fragment number. QoS Data numbers are kept per traffic ID. The `Retry` flag in Frame Control (`wlan.fc.retry`) is set on every retransmission. | What you see | What it means | |---|---| | Same sequence number twice, second copy with `Retry` set | the sender got no acknowledgement and resent; the receiver discards any duplicate | | Long runs of retried frames at one sequence number | the frame repeatedly goes unacknowledged; the sender eventually gives up and moves on | | A gap in sequence numbers | frames the sniffer missed, or frames the sender abandoned after its retry limit | | Low share of `Retry` frames | loss on the air is not the main problem | A high share of retried frames in **one direction** is the signature of loss on the air: the receiver is not decoding frames, or the sender is not hearing the acknowledgements. Remember the sniffer is a third receiver; a frame missing from the capture is not proof that the client missed it, which is why patterns matter more than single frames. ## Step 3: read the Block Ack bitmaps High-rate data travels in A-MPDUs confirmed by **Block Ack** frames. Each Block Ack carries a **Starting Sequence Number** and a **bitmap**, one bit per MPDU in the window: - a set bit means that MPDU arrived intact; - a clear bit means it did not, and the sender should resend it in a later A-MPDU with `Retry` set; - a **Block Ack Request** from the sender usually means it did not receive the Block Ack and is asking again; a Block Ack Request can also move the receiver's window past frames the sender gave up on. Wireshark decodes the bitmap (`wlan.ba.bm`) and lists each unacknowledged sequence number as `wlan.ba.bm.missing_frame` ("Not acknowledged frame"). Recurring clear bits and repeated Block Ack Requests point to loss on the air; clean bitmaps with drops still reported by the user point elsewhere. ## Step 4: rule out power save and deliberate disconnects - **Null data frames** (Null or QoS Null) with the `Power Management` bit set mean the client told the AP it is dozing; the AP buffers its frames and flags them in the beacon's TIM. Clients commonly do this before leaving the channel to scan. Short silences framed by these frames are normal behaviour, not loss. - A frame with `Power Management` cleared, or a PS-Poll, means the client is awake again and collecting buffered traffic; the `More Data` flag says more is waiting. - A **Deauthentication** or **Disassociation** frame means one side ended the association on purpose. Which side sent it, and its reason code, belong to the subject of how stations join and leave; the frame classification is what lets you spot it. ## Turning the reading into a verdict 1. **Heavy retries and Block Ack gaps, no disconnect frames:** the link is losing frames on the air - weak signal, interference or contention. The change usually lies in RF design and channel planning, not in frame settings. 2. **Clean acknowledgements, regular null-data power-save cycles and long silences:** the client is dozing or scanning; look at its power-save behaviour and roaming decisions. 3. **A Deauthentication or Disassociation in the trace:** the drop was deliberate; follow its sender and reason code into the join-and-leave analysis. 4. **No beacons from the BSSID for a period:** the AP or the capture stopped; check the AP before the client. The headers do not tell you why the radio lost a frame, but they tell you reliably whether it did, which is the decision that sends the investigation to the right place.

  • Why should sequence gaps in a sniffer's 802.11 capture be read with more caution than the Retry flag?
    The `Retry` flag is written by the sender, so every retried frame is a real retransmission. A gap can be the sniffer's own miss: it is a third receiver, at a different spot, and can lose frames the client and AP exchanged successfully. Judge loss on retry patterns and Block Ack bitmaps, not on single missing frames.
  • How do you tell a dozing client from one losing frames in an 802.11 capture?
    A dozing client announces it: a null data frame with `Power Management` set, a silence while the AP buffers and flags it in the TIM, then a frame with the bit cleared or a PS-Poll. A lossy link shows the opposite: active traffic with repeated sequence numbers, `Retry` set and gaps in Block Ack bitmaps.

  • Says an encrypted capture is useless because nothing can be read.
  • Treats every sequence-number gap as proof the client lost frames.
  • Reads null data frames with Power Management set as a disconnect.
  • Thinks a Block Ack bitmap marks frames that failed decryption.
  • Blames the frame format and changes aggregation settings before checking RF conditions.