[Ns-developers] 802.11 bug fix when not using RTS/CTS
Michele Weigle
mweigle at cs.clemson.edu
Wed Jan 25 10:08:18 PST 2006
Hi all,
I found a bug fix for a "Scheduler: Event UID not valid" problem when
running a simple 802.11 simulation. Both the problem and the fix are
well-detailed at
http://www.dei.unipd.it/wdyn/?IDsezione=2435
I've just started looking at wireless in ns-2, so I can't say if the
fix breaks things that aren't obvious to me, but it fixed the problem
that I was having. I ran validate, and the following tests failed:
./test-all-diffusion3 ./test-all-wireless-shadowing ./test-all-
wireless-lan-aodv ./test-all-wireless-gridkeeper ./test-all-wireless-
diffusion ./test-all-wireless-lan-newnode ./test-all-WLtutorial ./
test-all-energy ./test-all-tagged-trace
A quick glance at some of the test-output showed that the differences
were mainly timing differences (probably due to the fix changing the
waiting time).
I've attached a context diff (mac-diff.txt) between ns-2.29 and the
fixed version (small changes to mac/mac-802_11.cc, mac/mac-timers.h,
and mac/mac-timers.cc). (The files on the website mentioned above
are for ns-2.27.) Would someone more familiar with the 802.11 code
take a look to see if everything looks good?
Thanks,
Michele
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mac-diff.txt
Url: http://mailman.isi.edu/pipermail/ns-developers/attachments/20060125/e7e314a5/mac-diff.txt
-------------- next part --------------
More information about the Ns-developers
mailing list