qcacmn: Properly set WDI version for WIN chipset

Set WDI version based on SOC architecture, set WDI
version to IPA_WDI_4 for QCA_WIFI_QCN9224 chipset,
else IPA_WDI_3.

Change-Id: Ib80435e5098cfbcb9f90d4ac9cfe81ea183f308a
CRs-Fixed: 3383949
This commit is contained in:
Devender Kumar
2023-01-17 16:26:01 +05:30
committad av Madan Koyyalamudi
förälder d20a5a657c
incheckning f230d96802
8 ändrade filer med 81 tillägg och 3 borttagningar

Visa fil

@@ -2084,6 +2084,7 @@ struct cdp_throttle_ops {
* buffers to IPA
* @ipa_rx_super_rule_setup: Setup cce super rules based on filter tuple
* @ipa_ast_create: Create/Update ast entry
* @ipa_get_wdi_version: Get WDI version
*/
struct cdp_ipa_ops {
QDF_STATUS (*ipa_get_resource)(struct cdp_soc_t *soc_hdl,
@@ -2184,6 +2185,8 @@ struct cdp_ipa_ops {
QDF_STATUS (*ipa_ast_create)(struct cdp_soc_t *soc_hdl,
qdf_ipa_ast_info_type_t *data);
#endif
void (*ipa_get_wdi_version)(struct cdp_soc_t *soc_hdl,
uint8_t *wdi_ver);
};
#endif