qcacmn: Fix incorrect layering in scan component
Replace ucfg api call with wlan api calls for internal components. Change-Id: I3cb9524dbda4b2b172f7252750bf95fbd0f14491 CRs-Fixed: 2995047
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
5f871547d8
commit
897285c1bd
@@ -129,6 +129,20 @@ void wlan_scan_cfg_set_passive_dwelltime(struct wlan_objmgr_psoc *psoc,
|
||||
void wlan_scan_cfg_get_passive_dwelltime(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *dwell_time);
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
/*
|
||||
* wlan_scan_update_pno_dwell_time() - update active and passive dwell time
|
||||
* depending on active concurrency modes
|
||||
* @vdev: vdev object pointer
|
||||
* @req: scan request
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void wlan_scan_update_pno_dwell_time(struct wlan_objmgr_vdev *vdev,
|
||||
struct pno_scan_req_params *req,
|
||||
struct scan_default_params *scan_def);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* wlan_scan_cfg_get_conc_active_dwelltime() - Get concurrent active dwelltime
|
||||
* @psoc: pointer to psoc object
|
||||
|
@@ -1047,6 +1047,32 @@ ucfg_scan_get_max_sched_scan_plan_iterations(struct wlan_objmgr_psoc *psoc);
|
||||
bool
|
||||
ucfg_scan_get_user_config_sched_scan_plan(struct wlan_objmgr_psoc *psoc);
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
/*
|
||||
* ucfg_scan_update_pno_dwell_time() - update active and passive dwell time
|
||||
* depending on active concurrency modes
|
||||
* @vdev: vdev object pointer
|
||||
* @req: scan request
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static inline
|
||||
void ucfg_scan_update_pno_dwell_time(struct wlan_objmgr_vdev *vdev,
|
||||
struct pno_scan_req_params *req,
|
||||
struct scan_default_params *scan_def)
|
||||
{
|
||||
wlan_scan_update_pno_dwell_time(vdev, req, scan_def);
|
||||
}
|
||||
|
||||
#else
|
||||
static inline
|
||||
void ucfg_scan_update_pno_dwell_time(struct wlan_objmgr_vdev *vdev,
|
||||
struct pno_scan_req_params *req,
|
||||
struct scan_default_params *scan_def)
|
||||
{}
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
static inline
|
||||
bool ucfg_scan_is_pno_offload_enabled(struct wlan_objmgr_psoc *psoc)
|
||||
|
Reference in New Issue
Block a user