wifi: Fix wrong GI in TXVECTOR used in some tests

This commit is contained in:
Sébastien Deronne
2019-09-25 14:46:15 +02:00
parent 19e6ba2201
commit 2065242884
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ SpectrumWifiPhyBasicTest::SpectrumWifiPhyBasicTest (std::string name)
Ptr<SpectrumSignalParameters>
SpectrumWifiPhyBasicTest::MakeSignal (double txPowerWatts)
{
WifiTxVector txVector = WifiTxVector (WifiPhy::GetOfdmRate6Mbps (), 0, WIFI_PREAMBLE_LONG, false, 1, 1, 0, 20, false, false);
WifiTxVector txVector = WifiTxVector (WifiPhy::GetOfdmRate6Mbps (), 0, WIFI_PREAMBLE_LONG, 800, 1, 1, 0, 20, false, false);
Ptr<Packet> pkt = Create<Packet> (1000);
WifiMacHeader hdr;

View File

@@ -129,7 +129,7 @@ WifiPhyThresholdsTest::~WifiPhyThresholdsTest ()
Ptr<SpectrumSignalParameters>
WifiPhyThresholdsTest::MakeWifiSignal (double txPowerWatts)
{
WifiTxVector txVector = WifiTxVector (WifiPhy::GetOfdmRate6Mbps (), 0, WIFI_PREAMBLE_LONG, false, 1, 1, 0, 20, false, false);
WifiTxVector txVector = WifiTxVector (WifiPhy::GetOfdmRate6Mbps (), 0, WIFI_PREAMBLE_LONG, 800, 1, 1, 0, 20, false, false);
Ptr<Packet> pkt = Create<Packet> (1000);
WifiMacHeader hdr;