diff --git a/src/wifi/model/wifi-ppdu.cc b/src/wifi/model/wifi-ppdu.cc index b36d77fa1..b04e61279 100644 --- a/src/wifi/model/wifi-ppdu.cc +++ b/src/wifi/model/wifi-ppdu.cc @@ -42,7 +42,8 @@ WifiPpdu::WifiPpdu(Ptr psdu, m_txVector(txVector), m_operatingChannel(channel), m_truncatedTx(false), - m_txPowerLevel(txVector.GetTxPowerLevel()) + m_txPowerLevel(txVector.GetTxPowerLevel()), + m_txAntennas(txVector.GetNTx()) { NS_LOG_FUNCTION(this << *psdu << txVector << channel << uid); m_psdus.insert(std::make_pair(SU_STA_ID, psdu));