qcacmn: Save user configurations in policy manager component

Update policy manager user configuration with INI parameters.

Change-Id: I2e13bec2a1e99c9aee9e66d3e90a1275cf87ccfa
CRs-Fixed: 2019994
This commit is contained in:
Archana Ramachandran 2017-03-10 18:56:44 -08:00 • committed by Sandeep Puligilla
commit 3d9b5cf89d
5 changed files with 55 additions and 28 deletions

View file

@ -1739,4 +1739,18 @@ static inline bool policy_mgr_is_scan_simultaneous_capable(
bool policy_mgr_is_mcc_adaptive_scheduler_enabled(
struct wlan_objmgr_psoc *psoc);
/**
* policy_mgr_set_user_cfg() - Function to set user cfg variables
* required by policy manager component
* @psoc: PSOC object information
* @user_cfg: User config valiables structure pointer
*
* This function sets the user cfg variables required by policy
* manager
*
* Return: SUCCESS or FAILURE
*
*/
QDF_STATUS policy_mgr_set_user_cfg(struct wlan_objmgr_psoc *psoc,
struct policy_mgr_user_cfg *user_cfg);
#endif /* __WLAN_POLICY_MGR_API_H */

View file

@ -972,4 +972,11 @@ struct dual_mac_config {
uint32_t req_fw_mode_config;
};
/**
* struct policy_mgr_user_cfg - Policy manager user config variables
* @enable_mcc_adaptive_scheduler: Enable MCC adaptive scheduler
*/
struct policy_mgr_user_cfg {
uint8_t enable_mcc_adaptive_scheduler;
};
#endif /* __WLAN_POLICY_MGR_PUBLIC_STRUCT_H */