Lines Matching refs:aNeighbor

1567 Error Mac::ProcessReceiveSecurity(RxFrame &aFrame, const Address &aSrcAddr, Neighbor *aNeighbor)  in ProcessReceiveSecurity()  argument
1597 VerifyOrExit(aNeighbor != nullptr); in ProcessReceiveSecurity()
1627 if (aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1629 VerifyOrExit(keySequence >= aNeighbor->GetKeySequence()); in ProcessReceiveSecurity()
1631 if (keySequence == aNeighbor->GetKeySequence()) in ProcessReceiveSecurity()
1636 neighborFrameCounter = aNeighbor->GetLinkFrameCounters().Get(aFrame.GetRadioType()); in ProcessReceiveSecurity()
1638 neighborFrameCounter = aNeighbor->GetLinkFrameCounters().Get(); in ProcessReceiveSecurity()
1682 if ((keyIdMode == Frame::kKeyIdMode1) && aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1684 if (aNeighbor->GetKeySequence() != keySequence) in ProcessReceiveSecurity()
1686 aNeighbor->SetKeySequence(keySequence); in ProcessReceiveSecurity()
1687 aNeighbor->SetMleFrameCounter(0); in ProcessReceiveSecurity()
1688 aNeighbor->GetLinkFrameCounters().Reset(); in ProcessReceiveSecurity()
1692 aNeighbor->GetLinkFrameCounters().Set(aFrame.GetRadioType(), frameCounter + 1); in ProcessReceiveSecurity()
1694 aNeighbor->GetLinkFrameCounters().Set(frameCounter + 1); in ProcessReceiveSecurity()
1702 if ((frameCounter + 1) > aNeighbor->GetLinkAckFrameCounter()) in ProcessReceiveSecurity()
1704 aNeighbor->SetLinkAckFrameCounter(frameCounter + 1); in ProcessReceiveSecurity()
2168 void Mac::UpdateNeighborLinkInfo(Neighbor &aNeighbor, const RxFrame &aRxFrame) in UpdateNeighborLinkInfo() argument
2170 LinkQuality oldLinkQuality = aNeighbor.GetLinkInfo().GetLinkQuality(); in UpdateNeighborLinkInfo()
2172 aNeighbor.GetLinkInfo().AddRss(aRxFrame.GetRssi()); in UpdateNeighborLinkInfo()
2175aNeighbor.AggregateLinkMetrics(/* aSeriesId */ 0, aRxFrame.GetType(), aRxFrame.GetLqi(), aRxFrame.… in UpdateNeighborLinkInfo()
2181 VerifyOrExit(Get<Mle::Mle>().IsChild() && (&aNeighbor == &Get<Mle::Mle>().GetParent())); in UpdateNeighborLinkInfo()
2182 VerifyOrExit(aNeighbor.GetLinkInfo().GetLinkQuality() != oldLinkQuality); in UpdateNeighborLinkInfo()
2536 void Mac::ProcessEnhAckProbing(const RxFrame &aFrame, const Neighbor &aNeighbor) in ProcessEnhAckProbing() argument
2551 Get<LinkMetrics::Initiator>().ProcessEnhAckIeData(data, dataLen, aNeighbor); in ProcessEnhAckProbing()