openthread_sys

Function otPlatRadioSetMacFrameCounterIfLarger

Source
pub unsafe extern "C" fn otPlatRadioSetMacFrameCounterIfLarger(
    aInstance: *mut otInstance,
    aMacFrameCounter: u32,
)
Expand description

Sets the current MAC frame counter value only if the new given value is larger than the current value.

Is used when radio provides OT_RADIO_CAPS_TRANSMIT_SEC capability.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aMacFrameCounter The MAC frame counter value.