802.11 frame types
In the IEEE 802.11 wireless LAN protocols, a MAC frame is constructed of common fields and specific fields.
The very first two octets transmitted by a station are the Frame Control. The first three subfields within the frame control and the last field are always present in all types of 802.11 frames. These three subfields consist of two bits Protocol Version subfield, two bits [|Type] subfield, and four bits [|Subtype] subfield.
Frame control
The first three fields in the Frame Control field are always present. The fields, in their order of appearance in transmission, are:- Protocol Version
- Type
- Subtype
- To-DS
- From-DS
- More-Fragments
- Retry
- Power Management
- More Data
- Protected frame
- +HTC/order
Protocol version subfield
Types and subtypes
Action frames
Action frames extend management frames to control a certain action. Some of the action categories are QoS, Block Ack, Public, Radio Measurement, Fast BSS Transition, Mesh Peering Management, etc. These frames are sent by a station when it needs to tell its peer for a certain action to be taken.For example, a station can tell another station to set up a block acknowledgement by sending an ADDBA Request action frame. The other station would then respond with an ADDBA Response action frame.
Wi-Fi Neighbor Awareness Networking, also known as Wi-Fi Aware, service discovery frames are NAN-specific public action frames. They are used in Remote ID for example.
ToDS and FromDS
ToDS is one bit in length and set to 1 if destined to Distribution System, while FromDS is a one-bit length that is set to 1 if originated from Distribution System.Retry
Set to 1 if the Data or Management frame is part retransmission of the earlier frame. This bit is reused for different purpose in Control frame.Protected frame
Set to 1 if the Management Frame is protected by encryption as described in IEEE_802.11w-2009.+HTC/order
It is one bit in length and is used for two purposes:- It is set to 1 in a non-QoS data frame transmitted by a non-QoS WLAN station to indicate the frame being transmitted is using Strictly-Ordered service class.
- It is set to 1 in a QoS data or management frame transmitting at HT or higher rate to indicate that the frame contains HT Control field