mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
544ce17b54
commit
3d9b5cf89d
5 changed files with 55 additions and 28 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue