DcaTxop (WifiBianchi11aValidation)

71 views
Skip to first unread message

amza zamani

unread,
Feb 18, 2020, 10:04:28 AM2/18/20
to ns-3-users
Hello
I'm trying to validate IEEE 802.11 on ns3 and attached you can find the full code (I didn't write it myself). As I try to run the code on ns-3.30 I get the following error: 
" 'build' finished successfully (1.505s)
msg="Could not set default value for ns3::DcaTxop::MinCw", file=../src/core/model/config.cc, line=815
terminate called without an active exception
Command ['/home/pc/bake/source/ns-3.30/build/scratch/adhoc'] terminated with signal SIGIOT' "

the part of the code that I assume is related to the error is as follow:

// Align with OFDM standard values
  Config::SetDefault ("ns3::DcaTxop::MinCw", UintegerValue (15));
  Config::SetDefault ("ns3::DcaTxop::MaxCw", UintegerValue (1023));

I tried following the manual and searching the web to find out the source of the error but nothing came up. would appreciate if anybody can help me!
regards
adhoc.cc

Tom Henderson

unread,
Feb 18, 2020, 10:45:14 AM2/18/20
to ns-3-...@googlegroups.com, amza zamani

Hello, that example is very old, and the API has changed since then.

Some more current code that can be used to experiment with Bianchi can be found on a recent course page (see, in particular, Lab 2):  https://depts.washington.edu/funlab/resources/ee-595-wireless-networks-for-4g5g/

- Tom


Reply all
Reply to author
Forward
0 new messages