Dear NS3 users,
I set up a mesh network with some Infrastructure BSS and some Independent (Adhoc) BSS. Look the picture attached.
Characteristics of the network:
Goal: I want to modify the TxOp limit parameter of the Access Category Best Effort (AC=BE) of Access AP1 on the interface 2 (See the picture for a better illustration), so that AP1 can grant the medium for a longer period of time and can forward all the packets coming from the Sta1 to Sta9 to the Backhaul AP1.
According to the Documentation, an AP sends the Edca TxOp limit value in the beacon frame to the stations connected to it. So, in my case BackhaulAP1 should send the TxOp limit value to the Access AP1 in the beacon frame. But, it seems that the NS3 AdhocWifiMac class does not implement any kind of beacon generation, therefore I am getting the following error:
Error:___________________________________________
((gdb) run
msg="Invalid attribute set (ActiveProbing) on ns3::AdhocWifiMac", file=../src/core/model/object-factory.cc, line=75
terminate called without an active exception
Program received signal SIGABRT, Aborted.
0x00007fffeae59428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where
#0 0x00007fffeae59428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007fffeae5b02a in __GI_abort () at abort.c:89
#2 0x00007fffeb9b984d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007fffeb9b76b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007fffeb9b7701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007fffef1ec446 in ns3::ObjectFactory::Set (this=0x7fffffffa888, name="ActiveProbing", value=...)
at ../src/core/model/object-factory.cc:75
#6 0x00007ffff6546b41 in ns3::NqosWifiMacHelper::SetType (this=0x7fffffffa860, type="ns3::AdhocWifiMac", n0="QosSupported", v0=...,
n1="Ssid", v1=..., n2="ActiveProbing", v2=..., n3="", v3=..., n4="", v4=..., n5="", v5=..., n6="", v6=..., n7="", v7=..., n8="", v8=...,
n9="", v9=..., n10="", v10=...) at ../src/wifi/helper/nqos-wifi-mac-helper.cc:66
#7 0x000000000041a8ab in main (argc=1, argv=0x7fffffffd938) at ../scratch/single_station_dev.cc:369
________________________________________________
My two questions are:
I saw the example 80211e-txop.cc, but this is based in Infrastructured BSS Mode. I could not find an example for Adhoc Independent BSS Mode. Is there any somewhere in the repo?
Any comment would be very useful.
Thanks in advanced.
Cheers,
Camilo