Home
last modified time | relevance | path

Searched refs:BufSize (Results 1 – 5 of 5) sorted by relevance

/loramac-node-latest/src/mac/
DLoRaMacParser.c50 if( ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE - bufItr ) == LORAMAC_CF_LIST_FIELD_SIZE ) in LoRaMacParserJoinAccept()
55 else if( ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE - bufItr ) > 0 ) in LoRaMacParserJoinAccept()
96 if( ( macMsg->BufSize - bufItr - LORAMAC_MIC_FIELD_SIZE ) > 0 ) in LoRaMacParserData()
100 macMsg->FRMPayloadSize = ( macMsg->BufSize - bufItr - LORAMAC_MIC_FIELD_SIZE ); in LoRaMacParserData()
105 macMsg->MIC = ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE )]; in LoRaMacParserData()
106 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 1] << … in LoRaMacParserData()
107 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 2] << … in LoRaMacParserData()
108 …macMsg->MIC |= ( ( uint32_t ) macMsg->Buffer[( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ) + 3] << … in LoRaMacParserData()
DLoRaMacSerializer.c34 if( macMsg->BufSize < LORAMAC_JOIN_REQ_MSG_SIZE ) in LoRaMacSerializerJoinRequest()
55 macMsg->BufSize = bufItr; in LoRaMacSerializerJoinRequest()
70 if( macMsg->BufSize < LORAMAC_RE_JOIN_1_MSG_SIZE ) in LoRaMacSerializerReJoinType1()
92 macMsg->BufSize = bufItr; in LoRaMacSerializerReJoinType1()
107 if( macMsg->BufSize < LORAMAC_RE_JOIN_0_2_MSG_SIZE ) in LoRaMacSerializerReJoinType0or2()
129 macMsg->BufSize = bufItr; in LoRaMacSerializerReJoinType0or2()
159 if( macMsg->BufSize < computedBufSize ) in LoRaMacSerializerData()
192 macMsg->BufSize = bufItr; in LoRaMacSerializerData()
DLoRaMacMessageTypes.h60 uint8_t BufSize; member
95 uint8_t BufSize; member
134 uint8_t BufSize; member
173 uint8_t BufSize; member
222 uint8_t BufSize; member
DLoRaMacCrypto.c1152 macMsg->BufSize, decJoinAccept, in LoRaMacCryptoHandleJoinAccept()
1158 memcpy1( macMsg->Buffer, decJoinAccept, macMsg->BufSize ); in LoRaMacCryptoHandleJoinAccept()
1344 …retval = ComputeCmacB1( macMsg->Buffer, ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ), S_NWK_S_INT_… in LoRaMacCryptoSecureMessage()
1350 …retval = ComputeCmacB0( macMsg->Buffer, ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ), F_NWK_S_INT_… in LoRaMacCryptoSecureMessage()
1363 …retval = ComputeCmacB0( macMsg->Buffer, ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ), NWK_S_ENC_KE… in LoRaMacCryptoSecureMessage()
1429 …retval = VerifyCmacB0( macMsg->Buffer, ( macMsg->BufSize - LORAMAC_MIC_FIELD_SIZE ), micComputatio… in LoRaMacCryptoUnsecureMessage()
DLoRaMac.c971 macMsgJoinAccept.BufSize = size; in ProcessRadioRxDone()
1126 macMsgData.BufSize = size; in ProcessRadioRxDone()
2764 MacCtx.TxMsg.Message.ReJoin1.BufSize = LORAMAC_PHY_MAXPAYLOAD; in SendReJoinReq()
2797 MacCtx.TxMsg.Message.ReJoin0or2.BufSize = LORAMAC_PHY_MAXPAYLOAD; in SendReJoinReq()
2821 MacCtx.TxMsg.Message.JoinReq.BufSize = LORAMAC_PHY_MAXPAYLOAD; in SendReJoinReq()
2924 MacCtx.PktBufferLen = MacCtx.TxMsg.Message.JoinReq.BufSize; in SerializeTxFrame()
2932 MacCtx.PktBufferLen = MacCtx.TxMsg.Message.ReJoin1.BufSize; in SerializeTxFrame()
2940 MacCtx.PktBufferLen = MacCtx.TxMsg.Message.ReJoin0or2.BufSize; in SerializeTxFrame()
2948 MacCtx.PktBufferLen = MacCtx.TxMsg.Message.Data.BufSize; in SerializeTxFrame()
3051 MacCtx.PktBufferLen = MacCtx.TxMsg.Message.JoinReq.BufSize; in SecureFrame()
[all …]