[ns] Derivation of new AODV based routing protocol

2007-01-09 Thread Sebastian Roschke
Dear subscribers, I would like to derive a new AODV based routing protocol in ns2. I want to implement a slightly different routing behavior in AODV protocol. Therefore I made a copy of the whole './ns-2.30/aodv' directory. After that I renamed the files and changed all the function names in the

[ns] Sleep nodes and Wake up them

2007-01-09 Thread babak
Hi All, I'm trying to put the node in sleep mode and then wake up them after a while. In mac-802.11.cc I use the ((WirelessPhy *)netif_)->node_sleep() to put the node in sleep mode. Then in wireless-phy.cc, I've defined a timer. when this time get expired I just call node_wakeup() from the ex

[ns] Multi-Channel Multi interfaces

2007-01-09 Thread Stefan Trost
Hi all, I integrated the multi-channel multi-interface into my existing NS-2 environment. Everything seems to work fine, but when I run simulations with more than 40 - 50 nodes I get segmentation errors very often (but not allways), With less than 25 nodes there are no segmentation errors at all.

[ns] Help Reg. Trace

2007-01-09 Thread Goutham B
Hi, I am a newbie .. and was trying to understand the new wireless trace format. I figured out various fields in the trace.. but I wasnt very clear as about the 'Hop Destination Node ID' field. The values change between -1 and -2 . What does this indicate ? Thanks, Goutham B