openthread_sys

Function otPlatRadioGetFemLnaGain

Source
pub unsafe extern "C" fn otPlatRadioGetFemLnaGain(
    aInstance: *mut otInstance,
    aGain: *mut i8,
) -> otError
Expand description

Gets the external FEM’s Rx LNA gain in dBm.

@param[in] aInstance The OpenThread instance structure. @param[out] aGain The external FEM’s Rx LNA gain in dBm.

@retval OT_ERROR_NONE Successfully retrieved the external FEM’s LNA gain. @retval OT_ERROR_INVALID_ARGS @p aGain was NULL. @retval OT_ERROR_NOT_IMPLEMENTED External FEM’s LNA setting is not implemented.