src/wifi/examples/wifi-phy-test.cc
changeset 11479 a3dcf66928f3
parent 11454 5d42886be307
--- a/src/wifi/examples/wifi-phy-test.cc	Wed Jul 08 00:09:46 2015 +0200
+++ b/src/wifi/examples/wifi-phy-test.cc	Wed Jul 08 23:44:17 2015 +0200
@@ -74,7 +74,7 @@
   WifiTxVector txVector;
   txVector.SetTxPowerLevel (m_input.txPowerLevel);
   txVector.SetMode (mode);
-  m_tx->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0);
+  m_tx->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0, 0);
 }
 
 void
@@ -182,7 +182,7 @@
   WifiTxVector txVector;
   txVector.SetTxPowerLevel (m_input.txPowerLevelA);
   txVector.SetMode (WifiMode (m_input.txModeA));
-  m_txA->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0);
+  m_txA->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0, 0);
 }
 
 void
@@ -193,7 +193,7 @@
   WifiTxVector txVector;
   txVector.SetTxPowerLevel (m_input.txPowerLevelB);
   txVector.SetMode (WifiMode (m_input.txModeB));
-  m_txB->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0);
+  m_txB->SendPacket (p, txVector, WIFI_PREAMBLE_LONG, 0, 0);
 }
 
 void
@@ -380,7 +380,7 @@
   cmd.AddValue ("NPackets", "The number of packets to send", input.nPackets);
   cmd.AddValue ("TargetPsr", "The psr needed to assume that we are within range", targetPsr);
   cmd.Parse (argc, argv);
-  
+
   for (input.packetSize = 10; input.packetSize < 3000; input.packetSize += 40)
     {
       double precision = 0.1;