mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacld-3.0: remove unused get config API
Remove below unused policy mgr get config api: ucfg_policy_mgr_get_dbs_selection_plcy ucfg_policy_mgr_get_max_conc_cxns ucfg_policy_mgr_get_vdev_priority_list Change-Id: Idd5ad140f3739ece1d7c0fe5ae1db1dbe9154c4f CRs-Fixed: 2373646
This commit is contained in:
parent
0f6b67a042
commit
c79ddc1bff
4 changed files with 4 additions and 130 deletions
|
|
@ -206,17 +206,7 @@ QDF_STATUS policy_mgr_get_sys_pref(struct wlan_objmgr_psoc *psoc,
|
|||
*/
|
||||
QDF_STATUS policy_mgr_set_sys_pref(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t sys_pref);
|
||||
/**
|
||||
* policy_mgr_get_max_conc_cxns() - to get max num of conc connections
|
||||
* @psoc: pointer to psoc
|
||||
* @max_conc_cxns: value to be filled
|
||||
*
|
||||
* This API pulls max number of active connections which can be allowed
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS policy_mgr_get_max_conc_cxns(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *max_conc_cxns);
|
||||
|
||||
/**
|
||||
* policy_mgr_get_conc_rule1() - to find out if conc rule1 is enabled
|
||||
* @psoc: pointer to psoc
|
||||
|
|
@ -239,28 +229,7 @@ QDF_STATUS policy_mgr_get_conc_rule1(struct wlan_objmgr_psoc *psoc,
|
|||
*/
|
||||
QDF_STATUS policy_mgr_get_conc_rule2(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *conc_rule2);
|
||||
/**
|
||||
* policy_mgr_get_dbs_selection_plcy() - DBS HW mode selection setting
|
||||
* @psoc: pointer to psoc
|
||||
* @dbs_selection_plcy: value to be filled
|
||||
*
|
||||
* This API is used to find out DBS HW mode preference.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS policy_mgr_get_dbs_selection_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *dbs_selection_plcy);
|
||||
/**
|
||||
* policy_mgr_get_vdev_priority_list() - to get vdev priority list
|
||||
* @psoc: pointer to psoc
|
||||
* @vdev_priority_list: value to be filled
|
||||
*
|
||||
* This API is used to find out vdev_priority_list setting
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS policy_mgr_get_vdev_priority_list(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *vdev_priority_list);
|
||||
|
||||
/**
|
||||
* policy_mgr_get_chnl_select_plcy() - to get channel selection policy
|
||||
* @psoc: pointer to psoc
|
||||
|
|
|
|||
|
|
@ -85,17 +85,7 @@ QDF_STATUS ucfg_policy_mgr_get_sys_pref(struct wlan_objmgr_psoc *psoc,
|
|||
*/
|
||||
QDF_STATUS ucfg_policy_mgr_set_sys_pref(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t sys_pref);
|
||||
/**
|
||||
* ucfg_policy_mgr_get_max_conc_cxns() - to get max num of conc connections
|
||||
* @psoc: pointer to psoc
|
||||
* @max_conc_cxns: value to be filled
|
||||
*
|
||||
* This API pulls max number of active connections which can be allowed
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS ucfg_policy_mgr_get_max_conc_cxns(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *max_conc_cxns);
|
||||
|
||||
/**
|
||||
* ucfg_policy_mgr_get_conc_rule1() - to find out if conc rule1 is enabled
|
||||
* @psoc: pointer to psoc
|
||||
|
|
@ -118,28 +108,7 @@ QDF_STATUS ucfg_policy_mgr_get_conc_rule1(struct wlan_objmgr_psoc *psoc,
|
|||
*/
|
||||
QDF_STATUS ucfg_policy_mgr_get_conc_rule2(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *conc_rule2);
|
||||
/**
|
||||
* ucfg_policy_mgr_get_dbs_selection_plcy() - DBS HW mode selection setting
|
||||
* @psoc: pointer to psoc
|
||||
* @dbs_selection_plcy: value to be filled
|
||||
*
|
||||
* This API is used to find out DBS HW mode preference.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS ucfg_policy_mgr_get_dbs_selection_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *dbs_selection_plcy);
|
||||
/**
|
||||
* ucfg_policy_mgr_get_vdev_priority_list() - to get vdev priority list
|
||||
* @psoc: pointer to psoc
|
||||
* @vdev_priority_list: value to be filled
|
||||
*
|
||||
* This API is used to find out vdev_priority_list setting
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS up on success and any other status for failure.
|
||||
*/
|
||||
QDF_STATUS ucfg_policy_mgr_get_vdev_priority_list(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *vdev_priority_list);
|
||||
|
||||
/**
|
||||
* policy_mgr_get_chnl_select_plcy() - to get channel selection policy
|
||||
* @psoc: pointer to psoc
|
||||
|
|
|
|||
|
|
@ -208,21 +208,6 @@ QDF_STATUS policy_mgr_set_sys_pref(struct wlan_objmgr_psoc *psoc,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS policy_mgr_get_max_conc_cxns(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *max_conc_cxns)
|
||||
{
|
||||
struct policy_mgr_psoc_priv_obj *pm_ctx;
|
||||
|
||||
pm_ctx = policy_mgr_get_context(psoc);
|
||||
if (!pm_ctx) {
|
||||
policy_mgr_err("pm_ctx is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
*max_conc_cxns = pm_ctx->cfg.max_conc_cxns;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS policy_mgr_get_conc_rule1(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *conc_rule1)
|
||||
{
|
||||
|
|
@ -253,36 +238,6 @@ QDF_STATUS policy_mgr_get_conc_rule2(struct wlan_objmgr_psoc *psoc,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS policy_mgr_get_dbs_selection_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *dbs_selection_plcy)
|
||||
{
|
||||
struct policy_mgr_psoc_priv_obj *pm_ctx;
|
||||
|
||||
pm_ctx = policy_mgr_get_context(psoc);
|
||||
if (!pm_ctx) {
|
||||
policy_mgr_err("pm_ctx is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
*dbs_selection_plcy = pm_ctx->cfg.dbs_selection_plcy;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS policy_mgr_get_vdev_priority_list(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *vdev_priority_list)
|
||||
{
|
||||
struct policy_mgr_psoc_priv_obj *pm_ctx;
|
||||
|
||||
pm_ctx = policy_mgr_get_context(psoc);
|
||||
if (!pm_ctx) {
|
||||
policy_mgr_err("pm_ctx is NULL");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
*vdev_priority_list = pm_ctx->cfg.vdev_priority_list;
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
QDF_STATUS policy_mgr_get_chnl_select_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *chnl_select_plcy)
|
||||
{
|
||||
|
|
@ -298,7 +253,6 @@ QDF_STATUS policy_mgr_get_chnl_select_plcy(struct wlan_objmgr_psoc *psoc,
|
|||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
QDF_STATUS policy_mgr_get_mcc_adaptive_sch(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *enable_mcc_adaptive_sch)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -121,12 +121,6 @@ QDF_STATUS ucfg_policy_mgr_set_sys_pref(struct wlan_objmgr_psoc *psoc,
|
|||
return policy_mgr_set_sys_pref(psoc, sys_pref);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_policy_mgr_get_max_conc_cxns(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *max_conc_cxns)
|
||||
{
|
||||
return policy_mgr_get_max_conc_cxns(psoc, max_conc_cxns);;
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_policy_mgr_get_conc_rule1(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *conc_rule1)
|
||||
{
|
||||
|
|
@ -139,18 +133,6 @@ QDF_STATUS ucfg_policy_mgr_get_conc_rule2(struct wlan_objmgr_psoc *psoc,
|
|||
return policy_mgr_get_conc_rule2(psoc, conc_rule2);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_policy_mgr_get_dbs_selection_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *dbs_selection_plcy)
|
||||
{
|
||||
return policy_mgr_get_dbs_selection_plcy(psoc, dbs_selection_plcy);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_policy_mgr_get_vdev_priority_list(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *vdev_priority_list)
|
||||
{
|
||||
return policy_mgr_get_vdev_priority_list(psoc, vdev_priority_list);
|
||||
}
|
||||
|
||||
QDF_STATUS ucfg_policy_mgr_get_chnl_select_plcy(struct wlan_objmgr_psoc *psoc,
|
||||
uint32_t *chnl_select_plcy)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue