14 #ifndef HH_SENF_Packets_80211Bundle_MCSInfo_ 15 #define HH_SENF_Packets_80211Bundle_MCSInfo_ 1 20 #include <boost/cstdint.hpp> 43 static unsigned getRate(std::uint8_t mcsIndex,
unsigned bandwidth,
bool shortGI);
44 static unsigned getRate(std::uint8_t
index, std::uint8_t
streams,
unsigned bandwidth,
bool shortGI);
47 static std::pair<std::uint8_t,std::uint8_t>
fromHTIndex(std::uint8_t mcsIndex);
48 static std::uint8_t
toBandwidthIndex(
unsigned bandwidth,
bool shortGI =
false);
static unsigned getRate(std::uint8_t mcsIndex, unsigned bandwidth, bool shortGI)
static constexpr unsigned NUM_HT_INDEX
static std::pair< std::uint8_t, std::uint8_t > fromHTIndex(std::uint8_t mcsIndex)
static constexpr unsigned MAX_INDEX
static constexpr unsigned NUM_STREAMS
static std::uint8_t toHTIndex(std::uint8_t index, std::uint8_t streams)
static std::vector< Info > getInfos()
static constexpr unsigned NUM_VHT_INDEX
static std::uint8_t toBandwidthIndex(unsigned bandwidth, bool shortGI=false)
static unsigned fromBandwidthIndex(std::uint8_t bandwidthIndex)