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...
 
DataRateFromTxVectorCallback GetDataRateFromTxVectorCallback
 Callback to calculate data rate in bps of this WifiModeItem using a TXVECTOR as input. 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...
 
PhyRateFromTxVectorCallback GetPhyRateFromTxVectorCallback
 Callback to calculate PHY rate in bps of this WifiModeItem using a TXVECTOR as input. More...
 
bool isMandatory
 flag to indicate whether this mode is mandatory More...
 
ModeAllowedCallback IsModeAllowedCallback
 Callback to check whether the combination of <MCS, channel width (MHz), NSS> is allowed. 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 433 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

◆ GetDataRateFromTxVectorCallback

DataRateFromTxVectorCallback ns3::WifiModeFactory::WifiModeItem::GetDataRateFromTxVectorCallback

Callback to calculate data rate in bps of this WifiModeItem using a TXVECTOR as input.

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

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

◆ GetNonHtReferenceRateCallback

NonHtReferenceRateCallback ns3::WifiModeFactory::WifiModeItem::GetNonHtReferenceRateCallback

◆ GetPhyRateCallback

PhyRateCallback ns3::WifiModeFactory::WifiModeItem::GetPhyRateCallback

◆ GetPhyRateFromTxVectorCallback

PhyRateFromTxVectorCallback ns3::WifiModeFactory::WifiModeItem::GetPhyRateFromTxVectorCallback

Callback to calculate PHY rate in bps of this WifiModeItem using a TXVECTOR as input.

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

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

◆ isMandatory

bool ns3::WifiModeFactory::WifiModeItem::isMandatory

flag to indicate whether this mode is mandatory

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

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

◆ IsModeAllowedCallback

ModeAllowedCallback ns3::WifiModeFactory::WifiModeItem::IsModeAllowedCallback

Callback to check whether the combination of <MCS, channel width (MHz), NSS> is allowed.

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

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

◆ 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: