ot::Mac::LinkRaw::SetMacFrameCounter() method
Sets the current MAC frame counter value.
Arguments
aFrameCounter
The MAC frame counter value.
aSetIfLarger
If `true`, set only if the new value @p aFrameCounter is larger than current value. If `false`, set the new value independent of the current value.
Return value
kErrorNone If successful. kErrorInvalidState If the raw link-layer isn't enabled.