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()
3777 uint8_t activeRouterCount = mRouterTable.GetActiveRouterCount(); in ShouldDowngrade() local3785 VerifyOrExit(activeRouterCount > mRouterDowngradeThreshold); in ShouldDowngrade()3813 count = activeRouterCount - mRouterDowngradeThreshold; in ShouldDowngrade()