Wireless Fundamentals: Beacon Frame
Beacon
Beacon is a management frame in the 802.11 wireless networking. It is periodically transmitted by an Access Point (AP) and serves as the first information a client device receives when looking to connect to a wireless network. Beacons help client devices understand available networks, synchronize with the AP, and make initial connection decisions.Importance of Beacons in Wireless Communication
From a client device's perspective, the beacon frame services many purposes which is not just limited to initial connection. It helps client devices in following ways:Identify the Wireless Network: It provides essential information about available networks, allowing the client to recognize which networks are within range.
Time Synchronization: Beacons help synchronize the timing between the AP and client devices, which is crucial for efficient communication.
Supports Roaming: Beacons allows roaming clients to discover new APs and assess when to transition from one AP to another.
Let's understand the Key Components of a Beacon Frame and visualize them using a Wireshark Capture:

- Version: This is set to 0, indicating the current 802.11 version.
- Type: The value is 0, which signifies this frame as a "Management" frame.
- Subtype: Set to 8, indicating it is specifically a "Beacon" frame.
- To DS / From DS: Both are 0, as the beacon frame is not leaving or entering a distribution system (DS); it's simply being broadcasted by the AP.
- More Fragments: 0 as the beacon is never fragmented.
- Retry: 0 as beacons are sent periodically without retransmissions; they do not require an acknowledgment (ACK).
- Power Management (PWR MGT): 0 since the AP will stay active and is not in power-save mode.
- More Data: 0 because no buffered data is sent with this beacon.
- Protected Flag: 0 since the beacon data itself is typically not encrypted.
- Order: 0 as the frame is not transmitted in strictly ordered fashion.
2. Duration (0x0000): Always set to 0 for beacon frames since they do not have any follow-up frames that would require a duration.
3. Address Fields:
- Receiver Address (RA): Broadcast address (ff:ff:ff:ff:ff:ff), as beacons are intended for all client devices in range.
- Destination Address (DA): Also set to the broadcast address, ff:ff:ff:ff:ff:ff, to reach all devices.
- Transmitter Address (TA): The MAC address of the transmitting access point (e.g., RuckusWi_97:e0:4c), which uniquely identifies the RUCKUS AP as the Transmitter.
- Source Address (SA): Same as the transmitter address (0c:f4:d5:97:e0:4c), identifying the originator of the frame.
- BSS ID: MAC address of the Basic Service Set (BSS), which is typically the same as the AP’s MAC address for the respective WLAN. Here, it’s 0c:f4:d5:97:e0:4c.
4. Fragment Number (0): Always 0 as beacon frames are not fragmented.
5. Sequence Number (889): This is a unique sequence number for the beacon frame, incrementing with each successive beacon transmission. The next beacon's sequence number would be 890.
Fixed Parameters:
The fixed parameters of a beacon frame provide critical timing and capability information about the network. These fields have fixed lengths and are essential for informing client devices about the network’s current status and capabilities. Following Wireshark capture shows the Fixed Parameters of a Beacon Mgmt Frame:
2. Beacon Interval: (0.102400 seconds or 100 Time Units (TUs)) The beacon interval defines how frequently the AP sends beacon frames. Here, the interval is set to 100 TUs, with each time unit representing 1.024 milliseconds, making the interval approximately 102.4 milliseconds. This information is crucial for client devices, particularly those in power-saving mode, as it helps them manage when to wake up and listen for beacons.
Capability Information:
This 16-bit field provides information about the AP’s capabilities, including supported data rates, security features, and operational modes (e.g., whether the AP supports short preamble, DSSS, or other protocols). Following is a breakdown of each component of the capability field:
- ESS (Extended Service Set) capabilities (1): Indicates that the transmitter is an AP belonging to an infrastructure network (as opposed to an independent or ad-hoc network).
- IBSS (Independent Basic Service Set) status (0): Indicates that the transmitter does not belong to an IBSS, meaning this is not an ad-hoc network.
- CFP (Contention-Free Period) participation capabilities (0): Shows that there is no point coordinator, so no contention-free period is supported by the AP.
- Privacy (1): Indicates that the AP supports WEP (Wired Equivalent Privacy), suggesting the network is secured. This value signifies that clients will need authentication to join the network.
- Short Preamble (0): The AP does not support short preambles; only long preambles are allowed. Preambles help prepare devices for data reception, and using a long preamble can improve compatibility with older devices.
- PBCC (Packet Binary Convolutional Coding) (0): Indicates that PBCC modulation is not allowed. PBCC is an older modulation technique used in some legacy networks.
- Channel Agility (0): Channel agility is not used, meaning the AP does not dynamically change channels to avoid interference.
- Spectrum Management (1): Spectrum management is implemented, meaning the AP can manage frequency spectrum usage, possibly to avoid interference with other networks.
- Short Slot Time (0): Short slot time for CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) is not supported. Short slot times improve efficiency but might not be compatible with legacy devices.
- Automatic Power Save Delivery (APSD) (0): APSD is not enabled. APSD allows the AP to deliver frames to client devices in power-saving mode, improving power efficiency.
- Radio Measurement (RM) (1): Radio measurement capabilities are implemented, meaning the AP can participate in radio measurement requests and responses, which can assist with network diagnostics and optimization.
- DSSS-OFDM (Direct Sequence Spread Spectrum - Orthogonal Frequency Division Multiplexing) (0): DSSS-OFDM modulation is not supported, indicating this network does not support certain legacy 802.11 standards.
- Delayed Block Acknowledgment (0): This feature is not implemented, meaning that the AP does not support delayed acknowledgment of block frames, a feature that can improve throughput in certain scenarios.
- Immediate Block Acknowledgment (0): Immediate block acknowledgment is also not implemented, meaning the AP does not immediately acknowledge aggregated frames.
Variables Components of Beacon:
The variable components of a Beacon frame provides network-specific information which is variable/dynamic and can change depending on the SSID configuration or supported features by the Radio. These components are transmitted as Information Elements (IEs). Following Wireshark Captures shows the Variable Component of a Beacon Frame:- SSID (Service Set Identifier): The network name, which allows client devices to identify and differentiate the network from others. This field can be hidden, but when visible, it’s a key identifier.
- Supported Rates and Extended Supported Rates: These fields list the data rates supported by the AP, allowing clients to determine if they can operate at compatible speeds.
- Frequency and Channel Information: Provides the operating frequency or channel of the AP. This is essential for clients to connect on the correct channel and reduce interference.
- Traffic Indication Map (TIM): For networks supporting power-save features, TIM provides information on buffered data waiting at the AP for specific client devices.
- Country Information: Specifies the regulatory domain, which helps ensure compliance with local wireless regulations regarding power levels and frequency usage.
- Power Constraint: Indicates any constraints on power levels due to regulatory or environmental restrictions, which can affect transmission range and signal quality.
- ERP (Extended Rate PHY) Information: Applicable for 802.11g and newer networks, this field helps legacy devices understand coexistence requirements and access methods.
- RSN (Robust Security Network) Information: Specifies security protocols (like WPA2 or WPA3) and encryption methods used by the AP, enabling clients to ensure they connect securely.
- HT (High Throughput) Information: Found in beacons from 802.11n and newer APs, this field includes information on MIMO (Multiple Input Multiple Output) capabilities, channel bandwidth, and other high-throughput features.
- VHT (Very High Throughput) Information: For 802.11ac or newer networks, this field specifies details like spatial streams, bandwidth, and other enhancements that support higher speeds.
- HE (High Efficiency) Information: For 802.11ax (WiFi 6) networks, this field includes details on OFDMA (Orthogonal Frequency Division Multiple Access), MU-MIMO (Multi-User MIMO) for both uplink and downlink, 1024-QAM modulation, and Target Wake Time (TWT) for improved battery life.
- Extended Capabilities: An optional field that provides information on additional features, like QoS (Quality of Service), interworking, and other advanced capabilities.
- Vendor-Specific Information: Manufacturers may include proprietary information for specialized devices or functions within the network.
Comments
Post a Comment