|
Bugzilla – Full Text Bug Listing |
| Summary: | Incorrect power calculation in wifi power adaptation examples | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Matías Richart <matis18> |
| Component: | wifi | Assignee: | sebastien.deronne |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | matis18, ns-bugs |
| Priority: | P5 | ||
| Version: | ns-3-dev | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
I agree with the fix. Committed in changeset 11525:7e0fee5babf8 |
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.