Hello, everyone.

I encounter a problem when I simulate the ARF algorithm in NS2 with
dei80211mr patch.

I have installed ns-allinone-2.31 and dei80211mr patch upon ubuntu 7.10, and
excuted adhoc_tcp.tcl and infrastruct_rate_adaptation.tcl successfully. But
when I try to implement ARF in adhoc_tcp.tcl, there are seg faults in some
scenarios.

I add following codes to adhoc_tcp.tclto implement ARF:

    set ra($i) [new RateAdapter/ARF]
    $ra($i) attach2mac $mac($i)
    $ra($i) use80211g
    $ra($i) setmodeatindex 0

These codes are added in the block of agents configuring for all nodes in
adhoc_tcp.tcl. When  I set numUserPairs to 4 or 7, there are seg faults and
the trace file is empty. When I set numUserPairs to 5 or 6, the simulation
can be executed successfully. I also try to set numUserPairs and XMAX to
other values, but seg faults always appear in some scenarios.

I hope I can simulate ARF in WLANs when the number of nodes in WLAN is from
1 to 40 or 50 for every scenarios. But I encounter the above problem, and
didn't find the solution in the mailing list. Could you tell me how to find
the answers or what's wrong with my simulation? Thank you very much!

Sincerely,

Chunpeng

08.2.11
 
-- 
View this message in context: 
http://www.nabble.com/Problem-of-ARF-Simulation-tp15222177p15222177.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to