[ns] Add data to node

2013-04-13 Thread Sahil Sharma
Hi, I want to add an int data[ranging 0-7] associated with every node. How and in which file I need to make the changes? To be specific, I need to use this data in MaC layer for contending in the medium i.e in contention window. -- Regards, Sahil Sharma $25: for you a pizza and some beers

[ns] Trace: Basics

2013-04-13 Thread Sahil Sharma
How can I open the trace file? Where and how can I check the throughput, delay etc. of the nodes? -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might change their lives. Think about it.

[ns] Problem in mark greig's wireless1.tcl

2013-04-13 Thread Sahil Sharma
emove this. Please help. -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might change their lives. Think about it.

Re: [ns] Problem in mark greig's wireless1.tcl

2013-04-14 Thread Sahil Sharma
ordon > > > > -Original Message- > From: ns-users-boun...@isi.edu [mailto:ns-users-boun...@isi.edu] On Behalf > Of Sahil Sharma > Sent: Sunday, 14 April 2013 8:45 AM > To: ns-users@ISI.EDU > Subject: [ns] Problem in mark greig's wireless1.tcl > > &

[ns] Awk script to calculate energy-left, thruput, delay of every node

2013-04-15 Thread Sahil Sharma
Hi, I have a simple wireless scenario and I want to calculate throughput, delay and energy consumption of every node in this scenario. How can I do this? Is there any official/documented awk script for this? -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for

[ns] contention window trace for every packet: where it is?

2013-04-16 Thread Sahil Sharma
sent. This was really easy to do in glomosim. -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might change their lives. Think about it.

[ns] debugging by printf statement

2013-04-17 Thread Sahil Sharma
nt in the trace file produced. Where can I get to see this printed output. Please help. -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might change their lives. Think about it.

[ns] Printing wrong/absurd values of Contention Window.

2013-04-19 Thread Sahil Sharma
in_ 31 Mac/802_11 set CWMax_ 1023 So, the values must be b/w these two ranges. Can anyone explain me the reason for the absurd output and how it can be rectified?? -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might change their lives. Think about it.

[ns] Fwd: SMAC Collision Handling algorithm

2013-04-22 Thread Sahil Sharma
Subject: SMAC Collision Handling algorithm To: ns-users@isi.edu What is the collision handling algorithm applied in ns2 smac code? I can't see exponential back off anywhere. Please help. -- Regards, Sahil Sharma $25: for you a pizza and some beers with friends, for someone might c