1#ifndef DATA_RATES_802DOT11P_HPP_SL3RZPZO
2#define DATA_RATES_802DOT11P_HPP_SL3RZPZO
20 m_bytes_per_second(kbps * 1000 / 8),
21 m_coded_bits_per_symbol(cbits) {}
37 unsigned m_bytes_per_second;
38 unsigned m_coded_bits_per_symbol;
41static const DataRateG5 G5_3Mbps { 3000, 48 };
42static const DataRateG5 G5_4dot5Mbps { 4500, 48 };
43static const DataRateG5 G5_6Mbps { 6000, 96 };
44static const DataRateG5 G5_9Mbps { 9000, 96 };
45static const DataRateG5 G5_12Mbps { 12000, 192 };
46static const DataRateG5 G5_18bps { 18000, 192 };
47static const DataRateG5 G5_24Mbps { 24000, 288 };
48static const DataRateG5 G5_27Mbps { 27000, 288 };
unsigned bytes_per_second() const
std::size_t data_length(std::size_t psdu) const
constexpr DataRateG5(unsigned kbps, unsigned cbits)