wifi: Extend RU allocation to 9 bits
This commit is contained in:
@@ -106,7 +106,7 @@ class EhtPpdu : public HePpdu
|
||||
static std::pair<std::size_t, std::size_t> GetNumRusPerEhtSigBContentChannel(
|
||||
MHz_u channelWidth,
|
||||
uint8_t ehtPpduType,
|
||||
const std::vector<uint8_t>& ruAllocation,
|
||||
const RuAllocation& ruAllocation,
|
||||
bool compression,
|
||||
std::size_t numMuMimoUsers);
|
||||
|
||||
@@ -131,7 +131,7 @@ class EhtPpdu : public HePpdu
|
||||
* \return field size in bytes
|
||||
*/
|
||||
static uint32_t GetEhtSigFieldSize(MHz_u channelWidth,
|
||||
const std::vector<uint8_t>& ruAllocation,
|
||||
const RuAllocation& ruAllocation,
|
||||
uint8_t ehtPpduType,
|
||||
bool compression,
|
||||
std::size_t numMuMimoUsers);
|
||||
|
||||
@@ -51,8 +51,8 @@ struct HeMuUserInfo
|
||||
bool operator!=(const HeMuUserInfo& other) const;
|
||||
};
|
||||
|
||||
/// 8 bit RU_ALLOCATION per 20 MHz
|
||||
using RuAllocation = std::vector<uint8_t>;
|
||||
/// 9 bits RU_ALLOCATION per 20 MHz
|
||||
using RuAllocation = std::vector<uint16_t>;
|
||||
|
||||
/**
|
||||
* \ingroup wifi
|
||||
|
||||
@@ -1377,7 +1377,7 @@ TestDlOfdmaPhyPuncturing::SendMuPpdu(uint16_t rxStaId1,
|
||||
txVector.SetMode(HePhy::GetHeMcs9(), rxStaId2);
|
||||
txVector.SetNss(1, rxStaId2);
|
||||
|
||||
std::vector<uint8_t> ruAlloc;
|
||||
RuAllocation ruAlloc;
|
||||
if (puncturedSubchannels.empty())
|
||||
{
|
||||
std::fill_n(std::back_inserter(ruAlloc), 4, 200);
|
||||
|
||||
Reference in New Issue
Block a user