A Discrete-Event Network Simulator
API
ns3::WifiModeFactory::WifiModeItem Struct Reference

This is the data associated to a unique WifiMode. More...

+ Collaboration diagram for ns3::WifiModeFactory::WifiModeItem:

Public Attributes

CodeRateCallback GetCodeRateCallback
 Callback to retrieve code rate of this WifiModeItem. More...
 
ConstellationSizeCallback GetConstellationSizeCallback
 Callback to retrieve constellation size of this WifiModeItem. More...
 
DataRateCallback GetDataRateCallback
 Callback to calculate data rate in bps of this WifiModeItem. More...
 
NonHtReferenceRateCallback GetNonHtReferenceRateCallback
 Callback to calculate non-HT reference rate of this WifiModeItem. More...
 
PhyRateCallback GetPhyRateCallback
 Callback to calculate PHY rate in bps of this WifiModeItem. More...
 
AllowedCallback IsAllowedCallback
 Callback to check whether a given combination of is allowed. More...
 
bool isMandatory
 flag to indicate whether this mode is mandatory More...
 
uint8_t mcsValue
 MCS value. More...
 
WifiModulationClass modClass
 modulation class More...
 
std::string uniqueUid
 unique UID More...
 

Detailed Description

This is the data associated to a unique WifiMode.

The integer stored in a WifiMode is in fact an index in an array of WifiModeItem objects.

Definition at line 405 of file wifi-mode.h.

Member Data Documentation

◆ GetCodeRateCallback

CodeRateCallback ns3::WifiModeFactory::WifiModeItem::GetCodeRateCallback

◆ GetConstellationSizeCallback

ConstellationSizeCallback ns3::WifiModeFactory::WifiModeItem::GetConstellationSizeCallback

◆ GetDataRateCallback

DataRateCallback ns3::WifiModeFactory::WifiModeItem::GetDataRateCallback

◆ GetNonHtReferenceRateCallback

NonHtReferenceRateCallback ns3::WifiModeFactory::WifiModeItem::GetNonHtReferenceRateCallback

◆ GetPhyRateCallback

PhyRateCallback ns3::WifiModeFactory::WifiModeItem::GetPhyRateCallback

◆ IsAllowedCallback

AllowedCallback ns3::WifiModeFactory::WifiModeItem::IsAllowedCallback

Callback to check whether a given combination of is allowed.

Definition at line 416 of file wifi-mode.h.

Referenced by ns3::WifiModeFactory::CreateWifiMcs(), ns3::WifiModeFactory::CreateWifiMode(), ns3::WifiModeFactory::GetFactory(), and ns3::WifiMode::IsAllowed().

◆ isMandatory

bool ns3::WifiModeFactory::WifiModeItem::isMandatory

flag to indicate whether this mode is mandatory

Definition at line 409 of file wifi-mode.h.

Referenced by ns3::WifiModeFactory::CreateWifiMcs(), ns3::WifiModeFactory::CreateWifiMode(), ns3::WifiModeFactory::GetFactory(), and ns3::WifiMode::IsMandatory().

◆ mcsValue

uint8_t ns3::WifiModeFactory::WifiModeItem::mcsValue

◆ modClass

◆ uniqueUid

std::string ns3::WifiModeFactory::WifiModeItem::uniqueUid

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