Searched refs:activeRouterCount (Results 1 – 2 of 2) sorted by relevance
299 uint8_t activeRouterCount; in IsEligibleForRouterRoleUpgradeAsBorderRouter() local315 activeRouterCount = Get<RouterTable>().GetActiveRouterCount(); in IsEligibleForRouterRoleUpgradeAsBorderRouter()316 VerifyOrExit((activeRouterCount >= Get<Mle::MleRouter>().GetRouterUpgradeThreshold()) && in IsEligibleForRouterRoleUpgradeAsBorderRouter()317 (activeRouterCount < Mle::kMaxRouters)); in IsEligibleForRouterRoleUpgradeAsBorderRouter()
3675 uint8_t activeRouterCount = mRouterTable.GetActiveRouterCount(); in ShouldDowngrade() local3683 VerifyOrExit(activeRouterCount > mRouterDowngradeThreshold); in ShouldDowngrade()3711 count = activeRouterCount - mRouterDowngradeThreshold; in ShouldDowngrade()