[ns] 802.11 Data-Rate‏

2011-07-18 Thread Aayushi Shashi


Hi everybody,


When using  set val(mac)Mac/802_11 ;# MAC type   
what is the default data rate ?  1 Mbps?


Thank you!


[ns] Trace Analyzer

2011-06-23 Thread Aayushi Shashi


Hello everybody,

I'm making some simulations, and i 'll need to analyze. So I have been 
searching trace analyzers, and I wanted to know if you could recommend some 
trace analyzer that calculates the total average delay.

I hope you can help me.
thank you! 
  


[ns] CBR traffic

2011-05-22 Thread Aayushi Shashi


Hi!

Good morning. Do you know where the cbr traffic agent is implemented ?? and how 
to modify it to add one field in its header???

Thank you very much!! 
  


[ns] Modify cbr traffic

2011-05-17 Thread Aayushi Shashi


Hi everybody,



I'm trying to implement a geocast protocol for manets. I need to send traffic 
for a geographic region.

I mean, I'd like to do this:



set cbr_(0) [new Application/Traffic/CBR] 

$cbr_(0) set packetSize_ 512

$cbr_(0) set interval_ 0.1 

$cbr_(0) set random_ 2112 

$cbr_(0) set maxpkts_ 1 

$cbr_(0) set dst_ 0xE00 

$cbr_(0) attach-agent $udp_(0) 

$cbr_(0) set up-x 12.2

$cbr_(0) set up-y 15.2

$cbr_(0) set down-x 2.2


$cbr_(0) set down-y 5.2

$ns_ at 2.00 $cbr_(0) start 



I want to add up-x up-y down-x down-y to cbr parameters and i need the cbr 
header contain this information
So when i read a packet in my protocol implementation i can read this info

What should i Do?



Thank you very much

  


[ns] Implementing flooding routing protocol (my own version)‏

2011-05-01 Thread Aayushi Shashi
 800] 
--- [4:0 0:0 30 0] 
r 1.005268011 _11_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268011 _11_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268013 _4_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268013 _4_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268013 _10_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268013 _10_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268037 _8_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268037 _8_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268037 _2_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268037 _2_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268064 _6_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
D 1.005268064 _6_ RTR  ALREADY_RECEIVED 0 PROTONAME 230 [0  3 800] 
--- [4:0 0:0 30 0] 
r 1.005268064 _0_ AGT  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
r 1.005268068 _7_ RTR  --- 0 PROTONAME 230 [0  3 800] --- [4:0 0:0 
30 0] 
...
r 1.007782064 _0_ AGT  --- 0 PROTONAME 230 [0  9 800] --- [4:0 0:0 
30 0]
...
r 1.010176082 _0_ AGT  --- 0 PROTONAME 230 [0  8 800] --- [4:0 0:0 
30 0] 
...
r 1.015308093 _0_ AGT  --- 0 PROTONAME 230 [0  7 800] --- [4:0 0:0 
30 0]
...
r 1.017702206 _0_ AGT  --- 0 PROTONAME 230 [0  5 800] --- [4:0 0:0 
30 0]
...
r 1.020076206 _0_ AGT  --- 0 PROTONAME 230 [0  b 800] --- [4:0 0:0 
30 0] 
...
...

NODE _0_ ALWAYS ACCEPTS, NEVER DROPS!  WHAT'S WRONG

Please help!!!
Aayushi Shashi.