qcacld-3.0: Initialize IPA metering feature and perf level

In IPA uC ready handler, metering feature and perf level are not
initialized. Therefore properly initialize them after IPA pipes
are connected.

Change-Id: I99621bb2c2831d66e11b0ca903ecb324ef898836
CRs-Fixed: 2582409
This commit is contained in:
Jia Ding
2019-12-09 15:48:02 +08:00
committed by nshrivas
parent a8a3e715e6
commit db2e940123

View File

@@ -3239,6 +3239,10 @@ static void wlan_ipa_uc_loaded_handler(struct wlan_ipa_priv *ipa_ctx)
}
cdp_ipa_set_doorbell_paddr(ipa_ctx->dp_soc, ipa_ctx->dp_pdev_id);
wlan_ipa_init_metering(ipa_ctx);
if (QDF_IS_STATUS_ERROR(wlan_ipa_init_perf_level(ipa_ctx)))
ipa_err("Failed to init perf level");
/*
* Enable IPA/FW PIPEs if