Hello
I am using NS3.25 to work on a 802.11ac simulation. For that, I took more of the code from 802.11n mimo example and I adapted to 802.11ac adding A-MPDU + A-MSDU as you can see in the script attached. I am also adding to wifi channel fading models like that:
YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
//Default
channel.SetPropagationDelay ("ns3::ConstantSpeedPropagationDelayModel");
//Log-Normal //Shadowing
channel.AddPropagationLoss ("ns3::RandomPropagationLossModel");
Config::SetDefault("ns3::RandomPropagationLossModel::Variable",StringValue ("ns3::NormalRandomVariable[Mean=0.0|Variance=9.0]"));
//Nakagami //fast-fading Multipath
channel.AddPropagationLoss ("ns3::NakagamiPropagationLossModel");
//Config::SetDefault("ns3::NakagamiPropagationLossModel::m0",DoubleValue(mNakagami));
//Config::SetDefault("ns3::NakagamiPropagationLossModel::m1",DoubleValue(mNakagami));
//Config::SetDefault("ns3::NakagamiPropagationLossModel::m2",DoubleValue(mNakagami));
However, when I run it after some time I received the next error:
assert failed. cond="duration >= MicroSeconds (0)", file=../src/wifi/model/mac-low.cc, line=2671
I tried changing the "m" Nagasaki parameter but it works sometimes with values bigger than 3.
Could you please tell me if there is a bug or I am doing something wrong in my code? Thanks for your comments.
Andres Vasco