diff --git a/src/wifi/model/wifi-tx-vector.cc b/src/wifi/model/wifi-tx-vector.cc index a897264e7..71500bd81 100644 --- a/src/wifi/model/wifi-tx-vector.cc +++ b/src/wifi/model/wifi-tx-vector.cc @@ -583,6 +583,12 @@ WifiTxVector::GetHeMuUserInfoMap() return m_muUserInfos; } +bool +WifiTxVector::IsSigBCompression() const +{ + return IsDlMuMimo() && !IsDlOfdma(); +} + void WifiTxVector::SetInactiveSubchannels(const std::vector& inactiveSubchannels) { diff --git a/src/wifi/model/wifi-tx-vector.h b/src/wifi/model/wifi-tx-vector.h index 85e720c8d..66476f3d4 100644 --- a/src/wifi/model/wifi-tx-vector.h +++ b/src/wifi/model/wifi-tx-vector.h @@ -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. *