Computer Network 📂 Wireless · 1 of 3 21 min read

Wireless Frame Types & Headers

A deep-dive into 802.11 wireless frames — Management, Control, and Data types, the Frame Control field bit-by-bit, the ToDS/FromDS address puzzle, and an animated CSMA/CA handshake diagram. Includes Wireshark examples and two real cases: the 2017 KRACK vulnerability and the FCC's Marriott Wi-Fi-blocking fine.

Section 01

The Story That Explains Why Wireless Needs Its Own Frame Format

A Crowded Conference Call vs. a Private Phone Line
A wired Ethernet cable is like a private phone line between two offices — only those two parties can hear each other, and the wire itself stops outsiders from listening in.

Wi-Fi is a conference call. Everyone within radio range shares the same "line" (the air). Anyone can hear everyone else, two people talking at once turns into noise, and a phone that joins late needs someone to state their name before speaking. Because of this, a Wi-Fi frame has to carry information a wired Ethernet frame never needs: who is allowed to talk next, whether the network is encrypted, whether this device is temporarily napping to save battery, and up to four addresses instead of two.

That extra bookkeeping is why the 802.11 MAC frame — the wireless frame format defined by the IEEE 802.11 standard — looks so much more complex than a simple Ethernet frame.

Every device that has ever connected to a Wi-Fi router — laptops, phones, smart TVs — is constantly exchanging these frames, usually dozens of times a second, even when no one is actively browsing. This tutorial breaks down the three frame categories, the header fields inside every frame, and shows real incidents where understanding this structure mattered.

💡
The Core Idea

A wireless frame is not just "data with an address on it." It is a small control document. Roughly a third of every frame's header is dedicated purely to managing a shared, invisible, and unreliable medium — the radio spectrum — rather than to the actual message being sent.


Section 02

Wired vs. Wireless — Why CSMA/CA Changes Everything

Ethernet uses CSMA/CD (Collision Detection): a device can listen and transmit at the same time, so it notices a collision the instant it happens. Radios cannot do this — a transmitting antenna drowns out its own receiver. Wi-Fi is forced to use CSMA/CA (Collision Avoidance): every device must reserve the airtime in advance and hope nobody else reserved the same slot.

PropertyWired Ethernet (802.3)Wireless Wi-Fi (802.11)
MediumShielded copper / fibreShared open-air radio spectrum
Collision handlingCSMA/CD — detect while sendingCSMA/CA — reserve before sending
Addresses in header2 (source, destination)Up to 4 (STA, AP, BSSID, mesh relay)
AcknowledgementHandled by upper layers (TCP)Built into the MAC layer — every unicast frame is ACKed
Frame categoriesEssentially one (data)Three: Management, Control, Data
Security risk surfaceRequires physical cable accessAnyone within radio range can inject/spoof frames

Section 03

The Three Frame Categories

Every single frame that a Wi-Fi radio sends belongs to exactly one of three categories, identified by 2 bits in the header called the Type field.

📡
Management Frames
Negotiate and maintain the wireless connection itself — discovering networks, joining, authenticating, and leaving. Sent unencrypted (mostly) so any device can read them before it has joined.
Type = 00
🛡️
Control Frames
Assist the delivery of other frames — reserving airtime, acknowledging receipt, and requesting buffered data. Small, fast, and issued constantly in the background.
Type = 01
📦
Data Frames
Carry the actual payload — your web page, video call, or file transfer — wrapped inside the 802.11 header once the connection is already established and (usually) encrypted.
Type = 10

Section 04

Anatomy of the Generic 802.11 MAC Frame

Regardless of category, every wireless frame shares the same outer skeleton. Not every field is present in every frame type — Address 4 and the QoS Control field, for example, only appear in specific situations explained in Section 08.

FieldSizePurpose
Frame Control2 bytesIdentifies frame type/subtype and 8 control flags (see Section 05)
Duration / ID2 bytesMicroseconds the channel is reserved for (NAV) — or an association ID in some control frames
Address 16 bytesReceiver address — the immediate radio recipient
Address 26 bytesTransmitter address — the immediate radio sender
Address 36 bytesOriginal source or final destination, depending on ToDS/FromDS (Section 09)
Sequence Control2 bytesSequence number + fragment number, used to detect duplicates and reassemble fragments
Address 46 bytesPresent only in wireless-distribution-system (AP-to-AP) traffic
QoS Control2 bytesPresent only in QoS data frames — priority level, traffic class
Frame Body0–7951 bytesThe actual payload (management info elements, or upper-layer data)
FCS4 bytesFrame Check Sequence — CRC-32 checksum for error detection
🔑
Remember This Shortcut

Control frames are stripped down — many carry only Frame Control, Duration, one or two addresses, and the FCS. Management and Data frames are the ones that carry a full Frame Body. If you see a very short frame in a packet capture, it's almost certainly Control.


Section 05

Inside the Frame Control Field — Bit by Bit

The Frame Control field is only 2 bytes (16 bits) but it is the busiest part of the header — it single-handedly tells the receiving radio what kind of frame this is and how to handle it.

BitsSub-fieldMeaning
0–1Protocol VersionAlways 00 for current 802.11 revisions
2–3Type00 Management · 01 Control · 10 Data
4–7SubtypeIdentifies the exact frame — Beacon, RTS, ACK, QoS Data, etc. (Sections 06–08)
8To DS1 if this frame is headed toward the Distribution System (i.e. to the AP)
9From DS1 if this frame is coming from the Distribution System (i.e. from the AP)
10More Fragments1 if more fragments of this MSDU follow
11Retry1 if this is a retransmission of a previously sent frame
12Power Management1 if the sending station will enter low-power sleep mode after this frame
13More DataSet by an AP to tell a sleeping station that buffered frames are waiting
14Protected Frame1 if the frame body is encrypted (WEP/WPA/WPA2/WPA3)
15Order / +HTCStrict ordering requested, or presence of an HT Control field

Section 06

Animated Diagram — The CSMA/CA Handshake in Real Time

Watch how a station (STA) reserves airtime before it even sends data. Every other device that hears the RTS or CTS frame sets its NAV (Network Allocation Vector) — a countdown timer — and stays silent until the exchange finishes.

🔄 Live Sequence: RTS → CTS → DATA → ACK
STA (sender) Access Point Frame in flight NAV — medium busy
S STATION AP ACCESS POINT NAV set by RTS — everyone else waits RTS (Request To Send) CTS (Clear To Send) DATA (the actual payload) ACK (acknowledged)
Loop repeats every 6 seconds. RTS/CTS is optional in real networks and mainly appears when the "hidden node problem" is a risk — most home Wi-Fi skips straight to DATA → ACK.

Section 07

Management Frame Subtypes — Building the Connection

📡 Management Subtypes (Type = 00)
Beacon
Broadcast roughly every 100ms by the AP announcing the SSID, supported rates, and security type. This is how your phone finds networks without you doing anything.
Probe Req/Resp
A device actively asks "is anyone here?" (Probe Request) and nearby APs answer (Probe Response) — faster than waiting for the next Beacon.
Authentication
The first handshake step — historically almost a formality for open/WPA networks, but where WPA3's SAE exchange now happens.
Association Req/Resp
The device formally joins the AP's network and receives an Association ID (AID), after which data frames can flow.
Deauthentication
Either side can send this to forcibly end the session immediately. Notoriously easy to forge — see the real-world cases in Section 12.
Disassociation
A softer version of leaving the network — the authentication state is kept, only the association is dropped.

Section 08

Control Frame Subtypes — Traffic Cops of the Airwaves

🛡️ Control Subtypes (Type = 01)
RTS
Request To Send — announces an upcoming transmission and its duration so others hold off (see the animated diagram above).
CTS
Clear To Send — the receiver's reply confirming the channel is reserved, extending the NAV further for anyone who only heard the CTS.
ACK
Acknowledgement — confirms a unicast frame's FCS checked out. No ACK arriving means "assume it was lost, retransmit."
PS-Poll
Power-Save Poll — a sleeping station wakes briefly and asks the AP to release any buffered frames it queued up.
Block ACK Req/Resp
Acknowledges a whole batch of frames at once instead of one ACK per frame — a major efficiency gain in 802.11n and later.

Section 09

Data Frame Subtypes & the ToDS/FromDS Address Puzzle

Data frames carry your actual traffic, but which of the header's addresses means "source" and which means "destination" changes depending on the ToDS and FromDS bits from Section 05. This is the single most misunderstood part of the 802.11 header for people used to Ethernet's simple two-address model.

To DSFrom DSScenarioAddr 1Addr 2Addr 3
00Station → Station (ad-hoc / IBSS)DestinationSourceBSSID
10Station → AP (typical upload)BSSIDSourceDestination
01AP → Station (typical download)DestinationBSSIDSource
11AP → AP (wireless bridge, needs Addr 4)Receiver APTransmitter APFinal Destination
⚠️
Why This Trips People Up

In the two most common cases — your phone talking to your home router — the BSSID (the AP's own radio address) occupies a slot that isn't "source" or "destination" at all. Analysts new to Wireshark often misread Addr 3 as the final destination in every frame, when it only means that under specific ToDS/FromDS combinations.

📦 Data Subtypes
Data
Legacy plain data frame, no QoS Control field, minimal priority handling.
Null Function
Carries zero payload — used only to flip the Power Management bit, e.g. announcing "I'm going to sleep now."
QoS Data
Adds the QoS Control field carrying a Traffic ID (TID 0–7) so voice/video can be prioritised over background downloads.
QoS Null
Same idea as Null Function, but inside the QoS frame family — common in modern 802.11n/ac/ax devices.

Section 10

Practical Example — Reading Real Frames in Wireshark

You don't need Python to inspect wireless frames — a $30 USB Wi-Fi adapter that supports "monitor mode" plus Wireshark is enough to watch every field discussed above in real traffic.

Capture Filter — Isolate Management Frames Only

# Wireshark display filter
wlan.fc.type == 0

# Just Beacon frames (type 0, subtype 8)
wlan.fc.type_subtype == 0x08

# Just Deauthentication frames — useful for spotting an attack
wlan.fc.type_subtype == 0x0c
Sample decoded Beacon frame
IEEE 802.11 Beacon frame Type/Subtype: Beacon frame (0x08) Frame Control Flags: To DS=0, From DS=0, Protected=0 Duration: 0 microseconds Destination address: ff:ff:ff:ff:ff:ff (Broadcast) Source address: a4:b1:c1:22:9e:04 BSS Id: a4:b1:c1:22:9e:04 Fixed parameters Beacon Interval: 0.102400 [Seconds] Tagged parameters Tag: SSID parameter set: "HomeNetwork_5G" Tag: Supported Rates: 6, 9, 12, 18(B), 24, 36, 48, 54 Tag: RSN Information: WPA3-Personal (SAE)
🎯
Try It Yourself

Put a compatible adapter into monitor mode, open Wireshark, and apply wlan.fc.type_subtype == 0x08. You will see every network broadcasting its name roughly ten times a second — this is exactly the frame described in Section 07.


Section 11

Real-World Cases — When Frame Types Made the News

A Management Frame Vulnerability That Broke WPA2 Worldwide
In October 2017, researchers Mathy Vanhoef and Frank Piessens disclosed the Key Reinstallation Attack (KRACK), showing that manipulating specific frames in the WPA2 handshake could force a device to reuse an encryption key it had already used — breaking the confidentiality WPA2 was supposed to guarantee. Their published research tied several of the ten resulting CVEs directly to specific 802.11 management frame subtypes, including a WNM Sleep Mode Response frame used to trigger key reinstallation.

Coverage at the time noted the vulnerability affected essentially every Wi-Fi device on Earth, since the flaw lived in the standard's handshake logic rather than any single vendor's product, prompting an emergency, industry-wide patch effort across operating systems, routers, and chipsets within weeks.
Deauthentication Frames Used to Force Guests Onto Paid Wi-Fi
In October 2014, the U.S. Federal Communications Commission fined Marriott International $600,000 after finding that staff at its Gaylord Opryland Hotel and Convention Center in Nashville had used a Wi-Fi monitoring system's containment feature to send deauthentication frames at guests' personal mobile hotspots — the same Management frame subtype covered in Section 07 — disconnecting them so they would pay between $250 and $1,000 per device for the hotel's own Wi-Fi instead.

The FCC's enforcement chief stated plainly that consumers should be able to use the data plans they paid for without a third party silently kicking their devices off the air. The case became the reason the FCC later issued formal guidance clarifying that deauthentication frames may not be weaponised to block lawful personal hotspots, regardless of the equipment's original security purpose.
🔐
The Common Thread

Both incidents exploited the same underlying weakness: Management frames were, for years, sent unauthenticated and unencrypted by design, so a network could be discovered before a device had proven it belonged. WPA3's Protected Management Frames (PMF) requirement exists specifically to close this gap for modern devices.


Section 12

Golden Rules

📡 Wireless Frame — Non-Negotiable Rules
1
Never assume Address 3 is "the destination." Always check ToDS/FromDS first (Section 09) — misreading this field is the single most common wireless analysis mistake.
2
Management frames were historically unauthenticated. Treat any network relying on unprotected deauthentication/disassociation as vulnerable unless it enforces 802.11w Protected Management Frames.
3
Control frames are deliberately tiny and unencrypted everywhere — this is expected behaviour, not a bug, since they must be readable by any listening radio to coordinate shared airtime.
4
The Protected Frame bit (Section 05) only tells you the body is encrypted — it says nothing about which cipher. Always check the RSN Information tag in the Beacon to know if it's WPA2 or WPA3.
5
When troubleshooting slow Wi-Fi, look at Retry bit ratios before blaming bandwidth — a high retry rate points to interference or a hidden-node problem that RTS/CTS (Section 06) is meant to solve.