wifi: Cleanup unused calculation in non-HT duplicate tests

This commit is contained in:
Sébastien Deronne
2024-12-19 20:07:21 +01:00
parent 037a8a0da5
commit 7f655fce75

View File

@@ -339,16 +339,9 @@ TestNonHtDuplicatePhyReception::SendNonHtDuplicatePpdu(MHz_u channelWidth)
channelWidth,
false);
Ptr<Packet> pkt = Create<Packet>(1000);
auto pkt = Create<Packet>(1000);
WifiMacHeader hdr;
hdr.SetType(WIFI_MAC_QOSDATA);
hdr.SetQosTid(0);
Ptr<WifiPsdu> psdu = Create<WifiPsdu>(pkt, hdr);
Time txDuration =
SpectrumWifiPhy::CalculateTxDuration(psdu->GetSize(), txVector, m_phyAp->GetPhyBand());
auto psdu = Create<WifiPsdu>(pkt, hdr);
m_phyAp->Send(WifiConstPsduMap({std::make_pair(SU_STA_ID, psdu)}), txVector);
}