qcacld-3.0: Move pre cac cleanup code to pre cac component
Move pre cac cleanup code from HDD to pre cac component. Change-Id: I2839d447420e980941bfa271305685224b147cd8 CRs-Fixed: 3199949
This commit is contained in:

committed by
Madan Koyyalamudi

parent
a52b682bcb
commit
d346f272c2
@@ -170,6 +170,22 @@ qdf_freq_t ucfg_pre_cac_get_freq(struct wlan_objmgr_vdev *vdev);
|
||||
*/
|
||||
void ucfg_pre_cac_complete_set(struct wlan_objmgr_vdev *vdev,
|
||||
bool status);
|
||||
|
||||
/**
|
||||
* ucfg_pre_cac_stop() - Stop pre cac
|
||||
* @psoc: psoc object manager
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_pre_cac_stop(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
/**
|
||||
* ucfg_pre_cac_clean_up() - Cleanup pre cac
|
||||
* @psoc: psoc object manager
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void ucfg_pre_cac_clean_up(struct wlan_objmgr_psoc *psoc);
|
||||
#else
|
||||
static inline
|
||||
QDF_STATUS ucfg_pre_cac_init(void)
|
||||
@@ -230,5 +246,15 @@ ucfg_pre_cac_complete_set(struct wlan_objmgr_vdev *vdev,
|
||||
bool status)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
ucfg_pre_cac_stop(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
ucfg_pre_cac_clean_up(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
}
|
||||
#endif /* PRE_CAC_SUPPORT */
|
||||
#endif /* _WLAN_PRE_CAC_UCFG_API_H_ */
|
||||
|
@@ -27,6 +27,16 @@ void ucfg_pre_cac_complete_set(struct wlan_objmgr_vdev *vdev,
|
||||
pre_cac_complete_set(vdev, status);
|
||||
}
|
||||
|
||||
void ucfg_pre_cac_clean_up(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
pre_cac_clean_up(psoc);
|
||||
}
|
||||
|
||||
void ucfg_pre_cac_stop(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
pre_cac_stop(psoc);
|
||||
}
|
||||
|
||||
void ucfg_pre_cac_set_freq(struct wlan_objmgr_vdev *vdev,
|
||||
qdf_freq_t freq)
|
||||
{
|
||||
|
Reference in New Issue
Block a user