A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::anonymous_namespace{wifi-helper.cc} Namespace Reference

Functions

uint32_t GetRadiotapField (uint32_t mask, uint32_t val)
 Helper function to place the value to set in the correct bit(s) of a radiotap subfield.
 

Variables

const std::map< MHz_u, RadiotapHeader::UsigCommonBwchannelization320MHzMap
 320 MHz channelization map
 
const std::unordered_map< std::string, WifiStandardWIFI_STANDARDS_NAME_MAP
 Map strings to WifiStandard enum values.
 

Function Documentation

◆ GetRadiotapField()

uint32_t ns3::anonymous_namespace{wifi-helper.cc}::GetRadiotapField ( uint32_t mask,
uint32_t val )

Helper function to place the value to set in the correct bit(s) of a radiotap subfield.

Parameters
maskthe mask of the corresponding subfield
valthe value the subfield should be set to
Returns
the value placed at the correct position based on the mask

Definition at line 50 of file wifi-helper.cc.

References GetRadiotapField().

Referenced by GetRadiotapField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ channelization320MHzMap

const std::map<MHz_u, RadiotapHeader::UsigCommonBw> ns3::anonymous_namespace{wifi-helper.cc}::channelization320MHzMap
Initial value:
{
{MHz_u{6105}, RadiotapHeader::USIG_COMMON_BW_320MHZ_1},
{MHz_u{6425}, RadiotapHeader::USIG_COMMON_BW_320MHZ_1},
{MHz_u{6745}, RadiotapHeader::USIG_COMMON_BW_320MHZ_1},
{MHz_u{6265}, RadiotapHeader::USIG_COMMON_BW_320MHZ_2},
{MHz_u{6585}, RadiotapHeader::USIG_COMMON_BW_320MHZ_2},
{MHz_u{6905}, RadiotapHeader::USIG_COMMON_BW_320MHZ_2},
}
double MHz_u
MHz weak type.
Definition wifi-units.h:31

320 MHz channelization map

Definition at line 57 of file wifi-helper.cc.

◆ WIFI_STANDARDS_NAME_MAP

const std::unordered_map<std::string, WifiStandard> ns3::anonymous_namespace{wifi-helper.cc}::WIFI_STANDARDS_NAME_MAP

Map strings to WifiStandard enum values.

Definition at line 1019 of file wifi-helper.cc.