qcacmn: Fix for IPA init path
After enable and disable of both radio, If second radio is enabled then the instance_id from wlan driver is passed wrongly to IPA driver which is in leading to initializion of first radio on IPA driver side. Fix is to take the instace id based on psoc id and set the prod and cons pipes based on instance_id instead of IPA given handle. Change-Id: I26f4f3fbd23284e79a380d212ad07aceac50f053 CRs-Fixed: 3179306
This commit is contained in:

zatwierdzone przez
Madan Koyyalamudi

rodzic
b6a3e8642c
commit
411e8fc3e0
@@ -204,6 +204,7 @@ QDF_STATUS dp_ipa_disable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
|
||||
* @is_smmu_enabled: Is SMMU enabled or not
|
||||
* @sys_in: parameters to setup sys pipe in mcc mode
|
||||
* @hdl: IPA handle
|
||||
* @id: IPA instance id
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
@@ -215,7 +216,8 @@ QDF_STATUS dp_ipa_setup(struct cdp_soc_t *soc_hdl, uint8_t pdev_id,
|
||||
uint32_t *rx_pipe_handle,
|
||||
bool is_smmu_enabled,
|
||||
qdf_ipa_sys_connect_params_t *sys_in, bool over_gsi,
|
||||
qdf_ipa_wdi_hdl_t hdl);
|
||||
qdf_ipa_wdi_hdl_t hdl,
|
||||
qdf_ipa_wdi_hdl_t id);
|
||||
#else /* CONFIG_IPA_WDI_UNIFIED_API */
|
||||
/**
|
||||
* dp_ipa_setup() - Setup and connect IPA pipes
|
||||
|
Reference in New Issue
Block a user