wifi: Cleanup unused calculation in non-HT duplicate tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user