From 2d1d2546ad2b62179f08098f2e5283a7f9fed625 Mon Sep 17 00:00:00 2001 From: Dean Armstrong Date: Tue, 11 May 2010 08:56:28 +0100 Subject: [PATCH] Time conversions take uint64's in wifi-msdu-aggregator-test-suite Correct programming error in cset 6293:11a2f62de3ec that only a compiler older than mine found with the standard options. Specifically, the time conversion functions (in this case, MilliSeconds()) take uint64's as their argument and I was passing a floating point value. --- src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc index 59455de39..0975550ff 100644 --- a/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc +++ b/src/test/ns3wifi/wifi-msdu-aggregator-test-suite.cc @@ -83,7 +83,7 @@ WifiMsduAggregatorThroughputTest::DoRun (void) wifiMac.SetType ("ns3::QapWifiMac", "Ssid", SsidValue (ssid), "BeaconGeneration", BooleanValue (true), - "BeaconInterval", TimeValue (MilliSeconds (102.4))); + "BeaconInterval", TimeValue (MicroSeconds (102400))); wifiMac.SetMsduAggregatorForAc (AC_BE, "ns3::MsduStandardAggregator", "MaxAmsduSize", UintegerValue (4000)); NetDeviceContainer apDev = wifi.Install (wifiPhy, wifiMac, ap);