Home
last modified time | relevance | path

Searched refs:keyId (Results 1 – 8 of 8) sorted by relevance

/openthread-3.6.0/src/core/mac/
Ddata_poll_handler.cpp282 uint8_t keyId; in HandleSentFrame() local
287 SuccessOrAssert(aFrame.GetKeyId(keyId)); in HandleSentFrame()
288 aChild.SetIndirectKeyId(keyId); in HandleSentFrame()
Dsub_mac.cpp722 uint8_t keyId; in SignalFrameCounterUsedOnTxDone() local
747 VerifyOrExit(aFrame.GetKeyId(keyId) == kErrorNone, OT_ASSERT(allowError)); in SignalFrameCounterUsedOnTxDone()
749 SignalFrameCounterUsed(frameCounter, keyId); in SignalFrameCounterUsedOnTxDone()
Dmac_frame.cpp1463 uint8_t keyId; in GenerateEnhAck() local
1465 SuccessOrExit(error = aRxFrame.GetKeyId(keyId)); in GenerateEnhAck()
1466 SetKeyId(keyId); in GenerateEnhAck()
/openthread-3.6.0/src/core/thread/
Dcsl_tx_scheduler.cpp314 uint8_t keyId; in HandleSentFrame() local
319 IgnoreError(aFrame.GetKeyId(keyId)); in HandleSentFrame()
320 aChild.SetIndirectKeyId(keyId); in HandleSentFrame()
/openthread-3.6.0/src/ncp/
Dncp_base_radio.cpp194 uint8_t keyId; in LinkRawTransmitDone() local
198 SuccessOrExit(static_cast<Mac::TxFrame *>(aFrame)->GetKeyId(keyId)); in LinkRawTransmitDone()
201 SuccessOrExit(mEncoder.WriteUint8(keyId)); in LinkRawTransmitDone()
528 uint8_t keyId; in HandlePropertySet() local
537 SuccessOrExit(error = mDecoder.ReadUint8(keyId)); in HandlePropertySet()
549 otLinkRawSetMacKey(mInstance, keyIdMode, keyId, reinterpret_cast<const otMacKey *>(prevKey), in HandlePropertySet()
/openthread-3.6.0/examples/platforms/utils/
Dmac_frame.cpp202 uint8_t keyId = 0; in otMacFrameGetKeyId() local
204 IgnoreError(static_cast<const Mac::Frame *>(aFrame)->GetKeyId(keyId)); in otMacFrameGetKeyId()
206 return keyId; in otMacFrameGetKeyId()
/openthread-3.6.0/examples/platforms/simulation/
Dradio.c734 uint8_t keyId; in radioProcessTransmitSecurity() local
741 keyId = otMacFrameGetKeyId(aFrame); in radioProcessTransmitSecurity()
743 otEXPECT_ACTION(keyId != 0, error = OT_ERROR_FAILED); in radioProcessTransmitSecurity()
745 if (keyId == sKeyId) in radioProcessTransmitSecurity()
749 else if (keyId == sKeyId - 1) in radioProcessTransmitSecurity()
753 else if (keyId == sKeyId + 1) in radioProcessTransmitSecurity()
766 keyId = sKeyId; in radioProcessTransmitSecurity()
773 otMacFrameSetKeyId(aFrame, keyId); in radioProcessTransmitSecurity()
/openthread-3.6.0/src/lib/spinel/
Dradio_spinel.cpp1749 uint8_t keyId; in HandleTransmitDone() local
1753 … spinel_datatype_unpack(aBuffer, aLength, SPINEL_DATATYPE_UINT8_S SPINEL_DATATYPE_UINT32_S, &keyId, in HandleTransmitDone()
1756 static_cast<Mac::TxFrame *>(mTransmitFrame)->SetKeyId(keyId); in HandleTransmitDone()
2845 uint8_t keyId; in LogSpinelFrame() local
2856 … &keyIdMode, &keyId, prevKey.m8, &prevKeyLen, currKey.m8, &currKeyLen, in LogSpinelFrame()
2860 … ", keyIdMode:%u, keyId:%u, prevKey:***, currKey:***, nextKey:***", keyIdMode, keyId); in LogSpinelFrame()