Searched refs:activeRouterCount (Results 1 – 2 of 2) sorted by relevance
295 uint8_t activeRouterCount; in IsEligibleForRouterRoleUpgradeAsBorderRouter() local311 activeRouterCount = Get<RouterTable>().GetActiveRouterCount(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()312 VerifyOrExit((activeRouterCount >= Get<Mle::MleRouter>().GetRouterUpgradeThreshold()) && in IsEligibleForRouterRoleUpgradeAsBorderRouter()313 (activeRouterCount < Mle::kMaxRouters)); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
3756 uint8_t activeRouterCount = mRouterTable.GetActiveRouterCount(); in ShouldDowngrade() local3764 VerifyOrExit(activeRouterCount > mRouterDowngradeThreshold); in ShouldDowngrade()3792 count = activeRouterCount - mRouterDowngradeThreshold; in ShouldDowngrade()