Vanetza
 
Loading...
Searching...
No Matches
vanetza::access::ieee802::dot11::FrameControl Struct Reference

Frame Control field in IEEE 802.11 MAC header. More...

#include <g5_link_layer.hpp>

Public Types

using Protocol = BitNumber< std::uint16_t, 2 >
 
using Type = BitNumber< std::uint16_t, 2 >
 
using SubType = BitNumber< std::uint16_t, 4 >
 

Public Member Functions

Protocol protocol () const
 
Type type () const
 
SubType sub_type () const
 
bool to_ds () const
 
bool from_ds () const
 
bool more_fragments () const
 
bool retry () const
 

Static Public Member Functions

static FrameControl qos_data_frame ()
 

Public Attributes

vanetza::uint16be_t raw { 0 }
 

Detailed Description

Frame Control field in IEEE 802.11 MAC header.

Definition at line 38 of file g5_link_layer.hpp.

Member Typedef Documentation

◆ Protocol

represents protocol version

Definition at line 42 of file g5_link_layer.hpp.

◆ SubType

Definition at line 44 of file g5_link_layer.hpp.

◆ Type

Definition at line 43 of file g5_link_layer.hpp.

Member Function Documentation

◆ from_ds()

bool vanetza::access::ieee802::dot11::FrameControl::from_ds ( ) const
inline

Definition at line 50 of file g5_link_layer.hpp.

◆ more_fragments()

bool vanetza::access::ieee802::dot11::FrameControl::more_fragments ( ) const
inline

Definition at line 51 of file g5_link_layer.hpp.

◆ protocol()

Protocol vanetza::access::ieee802::dot11::FrameControl::protocol ( ) const
inline

Definition at line 46 of file g5_link_layer.hpp.

◆ qos_data_frame()

FrameControl vanetza::access::ieee802::dot11::FrameControl::qos_data_frame ( )
static

Create frame control for QoS data frame without any flags

Returns
FrameControl field for QoS data frame

Definition at line 67 of file g5_link_layer.cpp.

◆ retry()

bool vanetza::access::ieee802::dot11::FrameControl::retry ( ) const
inline

Definition at line 52 of file g5_link_layer.hpp.

◆ sub_type()

SubType vanetza::access::ieee802::dot11::FrameControl::sub_type ( ) const
inline

Definition at line 48 of file g5_link_layer.hpp.

◆ to_ds()

bool vanetza::access::ieee802::dot11::FrameControl::to_ds ( ) const
inline

Definition at line 49 of file g5_link_layer.hpp.

◆ type()

Type vanetza::access::ieee802::dot11::FrameControl::type ( ) const
inline

Definition at line 47 of file g5_link_layer.hpp.

Member Data Documentation

◆ raw

vanetza::uint16be_t vanetza::access::ieee802::dot11::FrameControl::raw { 0 }

Definition at line 40 of file g5_link_layer.hpp.


The documentation for this struct was generated from the following files: