[ns] Help: Received Power Level of a Packet at MAC Layer in MANETs
Tue Apr 16 05:15:49 2002
The receive power of a packet p is stored in the variable
You could either print this variable anywhere in the code using the printf
statement. If you want a cleaner solution, you will have to figure out
exactly where the packet is being traced (i guess it should be in
cmu-trace.cc) and then include this variable in the trace info
hope this info is useful.
<ankit_agarwal@ To: ns-users@ISI.EDU
Sent by: Subject: [ns] Help: Received Power Level of a
ns-users-admin@ Packet at MAC Layer in MANETs
I am new to NS2 and am currently running simulations
of wireless mobile ad hoc networks (MANETs) based on
the 802.11 MAC protocol.
I would like to get a trace of the received power
level of every packet at the MAC layer (802.11) of
I tried turning the MAC layer tracing on but that
doesn't trace the received power level.
Can someone suggest some way for me to get this trace?
I looked at the code and I can see that the 802.11
layer is aware of the received power level of a packet
but I can't think of a way to trace the value.
Any help or suggestions would be appreciated.
"Tough times do not last, only tough people do."
"A ship in the harbor is safe...but thats not what ships were made for."
"Do, or do not. There is no try." (Yoda)
5000 Oak Street, #815, Kansas City, MO 64112.
Telephone: (816) 531-4186. Email: email@example.com
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax