#include <senf/Packets/80211Bundle/MCSInfo.hh>

Classes

struct  Info
 

Static Public Member Functions

static std::vector< InfogetInfos ()
 
static unsigned getRate (std::uint8_t mcsIndex, unsigned bandwidth, bool shortGI)
 
static unsigned getRate (std::uint8_t index, std::uint8_t streams, unsigned bandwidth, bool shortGI)
 
static std::uint8_t toHTIndex (std::uint8_t index, std::uint8_t streams)
 
static std::pair< std::uint8_t, std::uint8_t > fromHTIndex (std::uint8_t mcsIndex)
 
static std::uint8_t toBandwidthIndex (unsigned bandwidth, bool shortGI=false)
 
static unsigned fromBandwidthIndex (std::uint8_t bandwidthIndex)
 

Static Public Attributes

static constexpr unsigned NUM_STREAMS = 4
 
static constexpr unsigned NUM_HT_INDEX = 8
 
static constexpr unsigned NUM_VHT_INDEX = 10
 
static constexpr unsigned MAX_INDEX = 12
 

Detailed Description

Definition at line 26 of file MCSInfo.hh.

Member Function Documentation

◆ fromBandwidthIndex()

unsigned senf::WLAN_MCSInfo::fromBandwidthIndex ( std::uint8_t  bandwidthIndex)
static

Definition at line 132 of file MCSInfo.cc.

◆ fromHTIndex()

std::pair< std::uint8_t, std::uint8_t > senf::WLAN_MCSInfo::fromHTIndex ( std::uint8_t  mcsIndex)
static

Definition at line 111 of file MCSInfo.cc.

◆ getInfos()

std::vector< senf::WLAN_MCSInfo::Info > senf::WLAN_MCSInfo::getInfos ( )
static

Definition at line 84 of file MCSInfo.cc.

◆ getRate() [1/2]

unsigned senf::WLAN_MCSInfo::getRate ( std::uint8_t  mcsIndex,
unsigned  bandwidth,
bool  shortGI 
)
static

Definition at line 89 of file MCSInfo.cc.

◆ getRate() [2/2]

unsigned senf::WLAN_MCSInfo::getRate ( std::uint8_t  index,
std::uint8_t  streams,
unsigned  bandwidth,
bool  shortGI 
)
static

Definition at line 97 of file MCSInfo.cc.

◆ toBandwidthIndex()

std::uint8_t senf::WLAN_MCSInfo::toBandwidthIndex ( unsigned  bandwidth,
bool  shortGI = false 
)
static

Definition at line 116 of file MCSInfo.cc.

◆ toHTIndex()

std::uint8_t senf::WLAN_MCSInfo::toHTIndex ( std::uint8_t  index,
std::uint8_t  streams 
)
static

Definition at line 104 of file MCSInfo.cc.

Member Data Documentation

◆ MAX_INDEX

constexpr unsigned senf::WLAN_MCSInfo::MAX_INDEX = 12
static

Definition at line 31 of file MCSInfo.hh.

◆ NUM_HT_INDEX

constexpr unsigned senf::WLAN_MCSInfo::NUM_HT_INDEX = 8
static

Definition at line 29 of file MCSInfo.hh.

◆ NUM_STREAMS

constexpr unsigned senf::WLAN_MCSInfo::NUM_STREAMS = 4
static

Definition at line 28 of file MCSInfo.hh.

◆ NUM_VHT_INDEX

constexpr unsigned senf::WLAN_MCSInfo::NUM_VHT_INDEX = 10
static

Definition at line 30 of file MCSInfo.hh.


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