[ns] how to stop the mac traffic
Douglas Restrepo
lucas_max2002 at yahoo.es
Fri Nov 7 05:30:12 PST 2008
Hi NS2 people...
I'm working in a simulation con 101 nodes (wireless - 802.15.4) and the simulation is OK, the problem is when i consult the trace file ".tr".
for example, if i suspend the cbr traffic in the simulation, the whole trace contains only MAC traces (s, r and d packets), and each transmission consumes energy. So that...
a node with initial energy - 100
if i simulated 400 seconds without cbr traffic (nothing), the final energy is 80. .... and
if i simulated 400 seconds with 300 seconds of cbr traffic the final energy is 79.
so that, i don't understand how is possible consumes the same energy with and without traffic.
My question is, why the MAC layer is always sending packages, even without having a traffic of the others layer in the network???
this mac transmissions consume a lot of energy.
i appreciate your cooperation.
Thanks for your help.
More information about the Ns-users
mailing list