You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Path cost might be not much worse than alternate parents, but it might push
us over our DAGMaxRankIncrease limit. In that case, makes sense to treat
the path cost as "infinite", allowing immediate switch to an alternative,
defeating hysteresis.
Round up hard limit - DAGRank interpretation. Contrary to wording of RFC 6550 8.2.2.4.3,
but needed to cope reasonably with Wi-SUN insisting on DAGMaxRankIncrease of 0.
Interpret that as a request to not increase DAGRank, rather than Rank.
Example, if DAGMaxRankIncrease is 0, MinHopRankIncrease is 0x80, and our advertised
0xC0, then we permit up to 0xFF, which doesn't increase DAGRank. If DAGMaxRankIncrease
is 0x80, then we permit can go form 0xC0 to 0x17F, increasing DAGRank by 1, even though
it's a Rank increase of 0xBF. Fractional parts of DAGMaxRankIncrease are ignored.
Change-Id: I66bbc41363844634723b54a4670845024608821e
0 commit comments