senf::emu::WLANModulationParameterRegistry Class Reference

#include <senf/Ext/NetEmu/WLAN/WLANInterface.hh>

Inheritance diagram for senf::emu::WLANModulationParameterRegistry:

Classes

struct  LegacyModulationInfo
 

Public Types

enum  GIMatch { Any, Equal, Short, Long }
 

Public Member Functions

WLANModulationParameter const & findModulationById (ModulationParameter::id_t id) const
 
ModulationParameter::id_t parameterIdByLegacyRate (unsigned rate) const
 
ModulationParameter::id_t parameterIdByMCS_HT (unsigned htMcsIndex, unsigned bandwidth, bool shortGI) const
 
ModulationParameter::id_t parameterIdByMCS_VHT (unsigned vhtMcsIndex, unsigned streams, unsigned bandwidth, bool shortGI) const
 
ModulationParameter::id_t parameterIdAuto () const
 
ModulationParameter::id_t parameterIdUnknown () const
 
std::set< ModulationParameter::id_tparameterIdsByType (ModulationParameter::id_t id, GIMatch giMatch=Any) const
 
ModulationParameter::id_t parameterIdAsLGI (ModulationParameter::id_t id) const
 
ModulationParameter::id_t parameterIdAsSGI (ModulationParameter::id_t id) const
 
ModulationParameter::id_t parameterIdLower (ModulationParameter::id_t id, unsigned diff) const
 

Static Public Member Functions

static WLANModulationParameterRegistryinstance ()
 
static std::vector< LegacyModulationInfogetLegacyModulationInfos11b ()
 
static std::vector< LegacyModulationInfogetLegacyModulationInfosOFDM ()
 

Detailed Description

Definition at line 62 of file WLANInterface.hh.

Member Enumeration Documentation

◆ GIMatch

Enumerator
Any 
Equal 
Short 
Long 

Definition at line 71 of file WLANInterface.hh.

Member Function Documentation

◆ findModulationById()

senf::emu::WLANModulationParameter const & senf::emu::WLANModulationParameterRegistry::findModulationById ( ModulationParameter::id_t  id) const

Definition at line 120 of file WLANInterface.cc.

◆ getLegacyModulationInfos11b()

std::vector< senf::emu::WLANModulationParameterRegistry::LegacyModulationInfo > senf::emu::WLANModulationParameterRegistry::getLegacyModulationInfos11b ( )
static

Definition at line 50 of file WLANInterface.cc.

◆ getLegacyModulationInfosOFDM()

std::vector< senf::emu::WLANModulationParameterRegistry::LegacyModulationInfo > senf::emu::WLANModulationParameterRegistry::getLegacyModulationInfosOFDM ( )
static

Definition at line 56 of file WLANInterface.cc.

◆ instance()

static WLANModulationParameterRegistry& senf::emu::WLANModulationParameterRegistry::instance ( )
inlinestatic

Definition at line 66 of file WLANInterface.hh.

◆ parameterIdAsLGI()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdAsLGI ( ModulationParameter::id_t  id) const

Definition at line 215 of file WLANInterface.cc.

◆ parameterIdAsSGI()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdAsSGI ( ModulationParameter::id_t  id) const

Definition at line 197 of file WLANInterface.cc.

◆ parameterIdAuto()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdAuto ( ) const

Definition at line 257 of file WLANInterface.cc.

◆ parameterIdByLegacyRate()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdByLegacyRate ( unsigned  rate) const

Definition at line 129 of file WLANInterface.cc.

◆ parameterIdByMCS_HT()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdByMCS_HT ( unsigned  htMcsIndex,
unsigned  bandwidth,
bool  shortGI 
) const

Definition at line 141 of file WLANInterface.cc.

◆ parameterIdByMCS_VHT()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdByMCS_VHT ( unsigned  vhtMcsIndex,
unsigned  streams,
unsigned  bandwidth,
bool  shortGI 
) const

Definition at line 153 of file WLANInterface.cc.

◆ parameterIdLower()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdLower ( ModulationParameter::id_t  id,
unsigned  diff 
) const

Definition at line 233 of file WLANInterface.cc.

◆ parameterIdsByType()

std::set< senf::emu::ModulationParameter::id_t > senf::emu::WLANModulationParameterRegistry::parameterIdsByType ( ModulationParameter::id_t  id,
GIMatch  giMatch = Any 
) const

Definition at line 165 of file WLANInterface.cc.

◆ parameterIdUnknown()

senf::emu::ModulationParameter::id_t senf::emu::WLANModulationParameterRegistry::parameterIdUnknown ( ) const

Definition at line 263 of file WLANInterface.cc.


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