Files
kunlun/plc/cvg/rt/inc/cvg_rt_cco_rf.h
2024-09-28 14:24:04 +08:00

54 lines
1.7 KiB
C

/****************************************************************************
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
be copied by any method or incorporated into another program without
the express written consent of Aerospace C.Power. This Information or any portion
thereof remains the property of Aerospace C.Power. The Information contained herein
is believed to be accurate and Aerospace C.Power assumes no responsibility or
liability for its use in any way and conveys no license or title under
any patent or copyright and makes no representation or warranty that this
Information is free from patent or copyright infringement.
****************************************************************************/
#ifndef CVG_RT_CCO_RF_H
#define CVG_RT_CCO_RF_H
/* cvg module internal includes */
#include "cvg.h"
#ifdef __cplusplus
extern "C" {
#endif
#if (PLC_SUPPORT_CCO_ROLE && HPLC_RF_SUPPORT)
/*
* cvg_rt_cco_rf_rp_check() - check if rf route period parameters need to be
* updated
* @vdev: pointer of vdev to be checked
*/
void cvg_rt_cco_rf_rp_check(cvg_vdev_t *vdev);
/*
* cvg_rt_cco_rf_bp_end_alert() - beacon period end alert notification callback
* of rt module
* @vdev: pointer of vdev
*/
void cvg_rt_cco_rf_bp_end_alert(cvg_vdev_t *vdev);
#else /* (PLC_SUPPORT_CCO_ROLE && HPLC_RF_SUPPORT) */
#define cvg_rt_cco_rf_rp_check(vdev)
#define cvg_rt_cco_rf_bp_end_alert(vdev)
#endif /* (PLC_SUPPORT_CCO_ROLE && HPLC_RF_SUPPORT) */
#ifdef __cplusplus
}
#endif
#endif /* CVG_RT_CCO_RF_H */