NS3.25 802.11ac assert failed. cond="duration >= MicroSeconds (0)"

97 views
Skip to first unread message

Andres Vasco

unread,
Aug 19, 2016, 5:16:04 AM8/19/16
to ns-3-users
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

802_11ac_error_testcase.cc

Tommaso Pecorella

unread,
Aug 19, 2016, 12:47:01 PM8/19/16
to ns-3-users
Hi,

please, can you try with ns-dev ? We fixed a number of similar issues.

Thanks,

T.
Reply all
Reply to author
Forward
0 new messages