Lines Matching refs:aNeighbor

1519 Error Mac::ProcessReceiveSecurity(RxFrame &aFrame, const Address &aSrcAddr, Neighbor *aNeighbor)  in ProcessReceiveSecurity()  argument
1549 VerifyOrExit(aNeighbor != nullptr); in ProcessReceiveSecurity()
1579 if (aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1581 VerifyOrExit(keySequence >= aNeighbor->GetKeySequence()); in ProcessReceiveSecurity()
1583 if (keySequence == aNeighbor->GetKeySequence()) in ProcessReceiveSecurity()
1588 neighborFrameCounter = aNeighbor->GetLinkFrameCounters().Get(aFrame.GetRadioType()); in ProcessReceiveSecurity()
1590 neighborFrameCounter = aNeighbor->GetLinkFrameCounters().Get(); in ProcessReceiveSecurity()
1615 if ((keyIdMode == Frame::kKeyIdMode1) && aNeighbor->IsStateValid()) in ProcessReceiveSecurity()
1617 if (aNeighbor->GetKeySequence() != keySequence) in ProcessReceiveSecurity()
1619 aNeighbor->SetKeySequence(keySequence); in ProcessReceiveSecurity()
1620 aNeighbor->SetMleFrameCounter(0); in ProcessReceiveSecurity()
1621 aNeighbor->GetLinkFrameCounters().Reset(); in ProcessReceiveSecurity()
1625 aNeighbor->GetLinkFrameCounters().Set(aFrame.GetRadioType(), frameCounter + 1); in ProcessReceiveSecurity()
1627 aNeighbor->GetLinkFrameCounters().Set(frameCounter + 1); in ProcessReceiveSecurity()
1635 if ((frameCounter + 1) > aNeighbor->GetLinkAckFrameCounter()) in ProcessReceiveSecurity()
1637 aNeighbor->SetLinkAckFrameCounter(frameCounter + 1); in ProcessReceiveSecurity()
2045 void Mac::UpdateNeighborLinkInfo(Neighbor &aNeighbor, const RxFrame &aRxFrame) in UpdateNeighborLinkInfo() argument
2047 LinkQuality oldLinkQuality = aNeighbor.GetLinkInfo().GetLinkQuality(); in UpdateNeighborLinkInfo()
2049 aNeighbor.GetLinkInfo().AddRss(aRxFrame.GetRssi()); in UpdateNeighborLinkInfo()
2052aNeighbor.AggregateLinkMetrics(/* aSeriesId */ 0, aRxFrame.GetType(), aRxFrame.GetLqi(), aRxFrame.… in UpdateNeighborLinkInfo()
2058 VerifyOrExit(Get<Mle::Mle>().IsChild() && (&aNeighbor == &Get<Mle::Mle>().GetParent())); in UpdateNeighborLinkInfo()
2059 VerifyOrExit(aNeighbor.GetLinkInfo().GetLinkQuality() != oldLinkQuality); in UpdateNeighborLinkInfo()
2391 void Mac::ProcessEnhAckProbing(const RxFrame &aFrame, const Neighbor &aNeighbor) in ProcessEnhAckProbing() argument
2406 Get<LinkMetrics::Initiator>().ProcessEnhAckIeData(data, dataLen, aNeighbor); in ProcessEnhAckProbing()