wifi: Fix number of antennas not set when calling one of the WifiPpdu constructor
This commit is contained in:
committed by
Sébastien Deronne
parent
1b47675427
commit
d46f8857d7
@@ -42,7 +42,8 @@ WifiPpdu::WifiPpdu(Ptr<const WifiPsdu> 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));
|
||||
|
||||
Reference in New Issue
Block a user