qcacmn: Add support to reset CPU freq in HO failure

CPU min frequency is boosted to maximum once roam start is received

Add support to reset CPU frequency in case of HO failure.

Change-Id: I137f78e3a307be136bcc27760be3d91cb6c1868b
CRs-Fixed: 3522954
Este commit está contenido en:
Krupali Dhanvijay
2023-05-24 21:17:44 +05:30
cometido por Rahul Choudhary
padre 7bfd6efab8
commit e60150599d
Se han modificado 3 ficheros con 48 adiciones y 0 borrados

Ver fichero

@@ -632,6 +632,20 @@ osif_cm_cckm_preauth_cmpl_cb(struct wlan_objmgr_vdev *vdev,
#endif
#endif
#ifdef WLAN_BOOST_CPU_FREQ_IN_ROAM
/**
* osif_cm_perfd_reset_cpufreq_ctrl_cb() - Callback to reset CPU freq
*
* This callback indicates os_if to reset the request to boost CPU freq
*
* Return: None
*/
static void osif_cm_perfd_reset_cpufreq_ctrl_cb(void)
{
osif_cm_perfd_set_cpufreq(false);
}
#endif
static struct mlme_cm_ops cm_ops = {
.mlme_cm_connect_complete_cb = osif_cm_connect_complete_cb,
.mlme_cm_failed_candidate_cb = osif_cm_failed_candidate_cb,
@@ -661,6 +675,10 @@ static struct mlme_cm_ops cm_ops = {
.mlme_cm_get_vendor_handoff_params_cb =
osif_cm_vendor_handoff_params_cb,
#endif
#ifdef WLAN_BOOST_CPU_FREQ_IN_ROAM
.mlme_cm_perfd_reset_cpufreq_ctrl_cb =
osif_cm_perfd_reset_cpufreq_ctrl_cb,
#endif
};
/**