diff --git a/src/wifi/test/wifi-test.cc b/src/wifi/test/wifi-test.cc index 9d5d1c961..a4397b986 100644 --- a/src/wifi/test/wifi-test.cc +++ b/src/wifi/test/wifi-test.cc @@ -996,8 +996,10 @@ Bug2222TestCase::DoRun (void) m_countInternalCollisions = 0; //Generate same backoff for AC_VI and AC_VO + //The below combination will work RngSeedManager::SetSeed (1); - RngSeedManager::SetRun (31); + RngSeedManager::SetRun (2); + int64_t streamNumber = 100; NodeContainer wifiNodes; wifiNodes.Create (2); @@ -1015,6 +1017,9 @@ Bug2222TestCase::DoRun (void) NetDeviceContainer wifiDevices; wifiDevices = wifi.Install (phy, mac, wifiNodes); + // Assign fixed streams to random variables in use + wifi.AssignStreams (wifiDevices, streamNumber); + MobilityHelper mobility; Ptr positionAlloc = CreateObject ();