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:

committed by
Madan Koyyalamudi

parent
d20a5a657c
commit
f230d96802
@@ -595,6 +595,16 @@ QDF_STATUS dp_ipa_txrx_get_pdev_stats(struct cdp_soc_t *soc, uint8_t pdev_id,
|
||||
QDF_STATUS dp_ipa_update_peer_rx_stats(struct cdp_soc_t *soc, uint8_t vdev_id,
|
||||
uint8_t *peer_mac, qdf_nbuf_t nbuf);
|
||||
#endif
|
||||
/**
|
||||
* dp_ipa_get_wdi_version() - Get WDI version
|
||||
* @soc_hdl: data path soc handle
|
||||
* @wdi_ver: Out parameter for wdi version
|
||||
*
|
||||
* Get WDI version based on soc arch
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void dp_ipa_get_wdi_version(struct cdp_soc_t *soc_hdl, uint8_t *wdi_ver);
|
||||
#else
|
||||
static inline int dp_ipa_uc_detach(struct dp_soc *soc, struct dp_pdev *pdev)
|
||||
{
|
||||
@@ -673,6 +683,9 @@ static inline QDF_STATUS dp_ipa_ast_create(struct cdp_soc_t *soc_hdl,
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
static inline void dp_ipa_get_wdi_version(struct cdp_soc_t *soc_hdl,
|
||||
uint8_t *wdi_ver)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
#endif /* _DP_IPA_H_ */
|
||||
|
Reference in New Issue
Block a user