wifi: Extend WifiTxVector to indicate whether the Common field is present in the HE-SIG-B

This commit is contained in:
Sebastien Deronne
2022-05-07 14:00:09 +02:00
committed by Sébastien Deronne
parent 3bae9a836a
commit 0e82858eea
2 changed files with 13 additions and 0 deletions

View File

@@ -583,6 +583,12 @@ WifiTxVector::GetHeMuUserInfoMap()
return m_muUserInfos;
}
bool
WifiTxVector::IsSigBCompression() const
{
return IsDlMuMimo() && !IsDlOfdma();
}
void
WifiTxVector::SetInactiveSubchannels(const std::vector<bool>& inactiveSubchannels)
{

View File

@@ -446,6 +446,13 @@ class WifiTxVector
*/
UserInfoMapOrderedByRus GetUserInfoMapOrderedByRus(uint8_t p20Index) const;
/**
* Indicate whether the Common field is present in the HE-SIG-B field.
*
* \return true if the Common field is present in the HE-SIG-B, false otherwise
*/
bool IsSigBCompression() const;
/**
* Set the 20 MHz subchannels that are punctured.
*