Bug 1033 - airtime-metric
airtime-metric
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: mesh
pre-release
All All
: P2 normal
Assigned To: Kirill Andreev
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-26 09:44 EST by Evgeny Khorov
Modified: 2011-06-02 11:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Khorov 2010-11-26 09:44:32 EST
assert failed. cond="failAvg < 1.0", file=../src/devices/mesh/dot11s/airtime-metric.cc, line=92

The value of failAvg may reach value 1.0.

Method AirtimeLinkMetricCalculator::CalculateMetric (Mac48Address peerAddress, Ptr<MeshWifiInterfaceMac> mac) should be redesign to return 
0xFFFFFFFF when failAvg = 1.0 or metric value is higher then 0xFFFFFFFF, and metric value otherwise.
Comment 1 Kirill Andreev 2011-06-02 11:49:50 EDT
changeset 7298	46338d126f2f