Searched refs:secPolicy (Results 1 – 1 of 1) sorted by relevance
122 const SecurityPolicy &secPolicy = Get<KeyManager>().GetSecurityPolicy(); in IsRouterEligible() local127 VerifyOrExit(secPolicy.mRoutersEnabled); in IsRouterEligible()129 if (secPolicy.mCommercialCommissioningEnabled) in IsRouterEligible()132 VerifyOrExit(mCcmEnabled || secPolicy.mNonCcmRoutersEnabled); in IsRouterEligible()134 VerifyOrExit(secPolicy.mNonCcmRoutersEnabled); in IsRouterEligible()137 if (!secPolicy.mRoutersEnabled) in IsRouterEligible()141 … secPolicy.mVersionThresholdForRouting + SecurityPolicy::kVersionThresholdOffsetVersion <= in IsRouterEligible()144 …VerifyOrExit(secPolicy.mVersionThresholdForRouting + SecurityPolicy::kVersionThresholdOffsetVersio… in IsRouterEligible()