We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 037a8a0 commit 7f655fcCopy full SHA for 7f655fc
src/wifi/test/wifi-non-ht-dup-test.cc
@@ -339,16 +339,9 @@ TestNonHtDuplicatePhyReception::SendNonHtDuplicatePpdu(MHz_u channelWidth)
339
channelWidth,
340
false);
341
342
- Ptr<Packet> pkt = Create<Packet>(1000);
+ auto pkt = Create<Packet>(1000);
343
WifiMacHeader hdr;
344
-
345
- hdr.SetType(WIFI_MAC_QOSDATA);
346
- hdr.SetQosTid(0);
347
348
- Ptr<WifiPsdu> psdu = Create<WifiPsdu>(pkt, hdr);
349
- Time txDuration =
350
- SpectrumWifiPhy::CalculateTxDuration(psdu->GetSize(), txVector, m_phyAp->GetPhyBand());
351
+ auto psdu = Create<WifiPsdu>(pkt, hdr);
352
m_phyAp->Send(WifiConstPsduMap({std::make_pair(SU_STA_ID, psdu)}), txVector);
353
}
354
0 commit comments