Hello 2009/10/21 Vinicius da Cunha M. Borges <cre...@gmail.com>
> > Hi, > > I saw one question that one person sent to NS2 mailing in 2004. > http://mailman.isi.edu/pipermail/ns-users/2004-June/042814.html< > https://mail.dei.uc.pt/horde/services/go.php?url=http%3A%2F%2Fmailman.isi.edu%2Fpipermail%2Fns-users%2F2004-June%2F042814.html > > > > Ok. > I need to define a different data rate for each node in my scenario. So... > I > would like if the tcl code > that was described in that email works. Does it really set distinct data > rate for each > node? Sorry about that, but I didnĀ“t find out any answer for this question > :-( > > I don't know how you can do that in ns2. But dei80211mr works with multi-rate. In your script, try this: set mac($i) [$node_($i) getMac 0] $mac($i) dataMode_ $PHYDataRate $mac($i) basicMode_ $PHYBaseRate If you vary PHYDataRate, each mac, linked for one node, will have different data rate. You will find dei80211mr in link below or in ns2.34. Link dei80211mr: http://www.dei.unipd.it/wdyn/?IDsezione=5090 Besth wishes, > > > Vinicius > Urlan