111 static bool DoesOverlap (uint8_t bw,
RuSpec ru,
const std::vector<RuSpec> &v);
std::vector< SubcarrierRange > SubcarrierGroup
a vector of subcarrier ranges defining a subcarrier group
bool primary80MHz
true if the RU is allocated in the primary 80MHz channel
std::pair< int16_t, int16_t > SubcarrierRange
(lowest index, highest index) pair defining a subcarrier range
std::map< BwTonesPair, std::vector< SubcarrierGroup > > SubcarrierGroups
map (bandwidth, number of tones) pairs to the group of subcarrier ranges
static uint16_t GetBandwidth(RuType ruType)
Get the approximate bandwidth occupied by a RU.
static const SubcarrierGroups m_heRuSubcarrierGroups
static RuType GetEqualSizedRusForStations(uint16_t bandwidth, std::size_t &nStations)
Given the channel bandwidth and the number of stations candidate for being assigned an RU...
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Every class exported by the ns3 library is enclosed in the ns3 namespace.
RuType
The different HE Resource Unit (RU) types.
static SubcarrierGroup GetSubcarrierGroup(uint8_t bw, RuType ruType, std::size_t index)
Get the subcarrier group of the RU having the given index among all the RUs of the given type (number...
std::pair< uint8_t, RuType > BwTonesPair
(bandwidth, number of tones) pair
This class stores the subcarrier groups of all the available HE RUs.
std::size_t index
index (starting at 1)
static std::size_t GetNRus(uint8_t bw, RuType ruType)
Get the number of distinct RUs of the given type (number of tones) available in a HE PPDU of the give...