diff --git a/src/wifi/model/non-ht/erp-ofdm-phy.cc b/src/wifi/model/non-ht/erp-ofdm-phy.cc index 800a4d4a9..c7da35fcf 100644 --- a/src/wifi/model/non-ht/erp-ofdm-phy.cc +++ b/src/wifi/model/non-ht/erp-ofdm-phy.cc @@ -113,12 +113,14 @@ ErpOfdmPhy::BuildPpdu(const WifiConstPsduMap& psdus, Time /* ppduDuration */) { NS_LOG_FUNCTION(this << psdus << txVector); - return Create(psdus.begin()->second, - txVector, - m_wifiPhy->GetOperatingChannel().GetPrimaryChannelCenterFrequency( - txVector.GetChannelWidth()), - m_wifiPhy->GetPhyBand(), - ObtainNextUid(txVector)); + return Create( + psdus.begin()->second, + txVector, + m_wifiPhy->GetOperatingChannel().GetPrimaryChannelCenterFrequency( + txVector.GetChannelWidth()), + m_wifiPhy->GetPhyBand(), + m_wifiPhy->GetLatestPhyEntity()->ObtainNextUid( + txVector)); // use latest PHY entity to handle MU-RTS sent with non-HT rate } void