Functions | |
WifiRu::RuSpec | MakeRuSpec (RuType ruType, std::size_t index, bool primaryOrLow80MHz, std::optional< bool > primary160MHz=std::nullopt) |
Create an HE or an EHT RU Specification. | |
WifiRu::RuSpec anonymous_namespace{wifi-ru-allocation-test.cc}::MakeRuSpec | ( | RuType | ruType, |
std::size_t | index, | ||
bool | primaryOrLow80MHz, | ||
std::optional< bool > | primary160MHz = std::nullopt ) |
Create an HE or an EHT RU Specification.
If a primary80 is provided, an HE RU Specification is created, other it is an EHT RU Specification.
ruType | the RU type |
index | the RU index (starting at 1) |
primaryOrLow80MHz | whether the RU is allocated in the primary 80MHz channel or in the low 80 MHz if the RU is allocated in the secondary 160 MHz |
primary160MHz | whether the RU is allocated in the primary 160MHz channel (only for EHT) |
Definition at line 33 of file wifi-ru-allocation-test.cc.
Referenced by Wifi20MHzIndicesCoveringRuTest::DoRun(), WifiCentral26TonesRusInChannelTest::DoRun(), WifiRuOverlappingTest::DoRun(), and WifiRusOfTypeInChannelTest::DoRun().