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.
This commit is contained in:
Dean Armstrong
2010-05-11 08:56:28 +01:00
parent 2a10de8489
commit 2d1d2546ad

View File

@@ -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);