Lines Matching refs:currentDown
726 static bool CheckFCntDown( FCntIdentifier_t fCntID, uint32_t currentDown ) in CheckFCntDown() argument
733 if( ( currentDown > lastDown ) || in CheckFCntDown()
753 static void UpdateFCntDown( FCntIdentifier_t fCntID, uint32_t currentDown ) in UpdateFCntDown() argument
758 CryptoNvm->FCntList.NFCntDown = currentDown; in UpdateFCntDown()
759 CryptoNvm->LastDownFCnt = currentDown; in UpdateFCntDown()
762 CryptoNvm->FCntList.AFCntDown = currentDown; in UpdateFCntDown()
763 CryptoNvm->LastDownFCnt = currentDown; in UpdateFCntDown()
766 CryptoNvm->FCntList.FCntDown = currentDown; in UpdateFCntDown()
767 CryptoNvm->LastDownFCnt = currentDown; in UpdateFCntDown()
771 CryptoNvm->FCntList.McFCntDown[0] = currentDown; in UpdateFCntDown()
776 CryptoNvm->FCntList.McFCntDown[1] = currentDown; in UpdateFCntDown()
781 CryptoNvm->FCntList.McFCntDown[2] = currentDown; in UpdateFCntDown()
786 CryptoNvm->FCntList.McFCntDown[3] = currentDown; in UpdateFCntDown()
875 …us_t LoRaMacCryptoGetFCntDown( FCntIdentifier_t fCntID, uint32_t frameFcnt, uint32_t* currentDown ) in LoRaMacCryptoGetFCntDown() argument
881 if( currentDown == NULL ) in LoRaMacCryptoGetFCntDown()
895 *currentDown = frameFcnt; in LoRaMacCryptoGetFCntDown()
904 *currentDown = lastDown + fCntDiff; in LoRaMacCryptoGetFCntDown()
908 *currentDown = lastDown; in LoRaMacCryptoGetFCntDown()
913 *currentDown = ( lastDown & 0xFFFF0000 ) + 0x10000 + frameFcnt; in LoRaMacCryptoGetFCntDown()