diff --git a/src/wifi/test/wifi-non-ht-dup-test.cc b/src/wifi/test/wifi-non-ht-dup-test.cc index 5ce1ecd37..9a2310000 100644 --- a/src/wifi/test/wifi-non-ht-dup-test.cc +++ b/src/wifi/test/wifi-non-ht-dup-test.cc @@ -339,16 +339,9 @@ TestNonHtDuplicatePhyReception::SendNonHtDuplicatePpdu(MHz_u channelWidth) channelWidth, false); - Ptr pkt = Create(1000); + auto pkt = Create(1000); WifiMacHeader hdr; - - hdr.SetType(WIFI_MAC_QOSDATA); - hdr.SetQosTid(0); - - Ptr psdu = Create(pkt, hdr); - Time txDuration = - SpectrumWifiPhy::CalculateTxDuration(psdu->GetSize(), txVector, m_phyAp->GetPhyBand()); - + auto psdu = Create(pkt, hdr); m_phyAp->Send(WifiConstPsduMap({std::make_pair(SU_STA_ID, psdu)}), txVector); }