diff --git a/src/core/mac/mac.cpp b/src/core/mac/mac.cpp index b8392905e..6cca1d7bc 100644 --- a/src/core/mac/mac.cpp +++ b/src/core/mac/mac.cpp @@ -956,6 +956,7 @@ void Mac::BeginTransmit(void) TxFrame &sendFrame = mSubMac.GetTransmitFrame(); VerifyOrExit(mEnabled, error = OT_ERROR_ABORT); + sendFrame.SetIsARetransmission(false); switch (mOperation) { diff --git a/src/core/mac/sub_mac.cpp b/src/core/mac/sub_mac.cpp index 747069ebc..c5c05ac1d 100644 --- a/src/core/mac/sub_mac.cpp +++ b/src/core/mac/sub_mac.cpp @@ -370,6 +370,7 @@ void SubMac::HandleTransmitDone(TxFrame &aFrame, RxFrame *aAckFrame, otError aEr if (shouldRetx) { mTransmitRetries++; + aFrame.SetIsARetransmission(true); StartCsmaBackoff(); ExitNow(); }