Bugzilla – Bug 2154
Incorrect power calculation in wifi power adaptation examples
Last modified: 2015-07-22 17:35:26 EDT
Created attachment 2092 [details] Patch In the examples power-adaptation-distance and power-adaptation-interference the power is converted from dBm to mW in the wrong place. It has to be converted before calculating the energy. That makes the power graphs change a lot. I attach a patch where I correct this and also add that only data frames are considered for power usage calculation.
I agree with the fix.
Committed in changeset 11525:7e0fee5babf8