|
Bugzilla – Full Text Bug Listing |
| Summary: | Incorrect power limits in wifi power control algorithms | ||
|---|---|---|---|
| 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: | Add maxPower and minPower variables | ||
The fix sounds ok. Committed in changeset 11524:f0c39728e884 |
Created attachment 2091 [details] Add maxPower and minPower variables The initial maximal and minimal powers are wrong. In the algorithms (PARF and APARF) it is assumed that always the maximal power is the number of power levels minus one and the minimal always zero. That is not always the case for power. I attach a patch where two variables (max and min power) are added, and its values are obtained from the phy layer.