pub unsafe extern "C" fn otLinkRawSetMacFrameCounterIfLarger(
    aInstance: *mut otInstance,
    aMacFrameCounter: u32
) -> otError
Expand description

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

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

@retval OT_ERROR_NONE If successful. @retval OT_ERROR_INVALID_STATE If the raw link-layer isn’t enabled.