mirror of
https://github.com/espressif/openthread.git
synced 2026-07-26 22:09:05 +00:00
[radio] add tx timestamp (#10688)
This commit adds tx timestamp so that the pcap callback can get the time when a frame was transmitted.
This commit is contained in:
@@ -376,5 +376,6 @@ otError otMacFrameProcessTxSfd(otRadioFrame *aFrame, uint64_t aRadioTime, otRadi
|
||||
#if OPENTHREAD_CONFIG_TIME_SYNC_ENABLE
|
||||
otMacFrameUpdateTimeIe(aFrame, aRadioTime, aRadioContext);
|
||||
#endif
|
||||
aFrame->mInfo.mTxInfo.mTimestamp = aRadioTime;
|
||||
return otMacFrameProcessTransmitSecurity(aFrame, aRadioContext);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user