qcacmn: compiling WDI3 version of IPA

Depreciated IPA APIs are currently getting compiled.
To fix this, adding linux kernel version check

Change-Id: I2288db34c09d60047c67a5df9081de08a6c2f62b
CRs-Fixed: 2927413
This commit is contained in:
Ananya Gupta
2021-04-26 16:38:58 +05:30
committed by Madan Koyyalamudi
parent 8394348196
commit 9f3b9ca800
8 changed files with 119 additions and 104 deletions

View File

@@ -159,7 +159,8 @@ QDF_STATUS dp_ipa_enable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
*/
QDF_STATUS dp_ipa_disable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id);
#ifdef CONFIG_IPA_WDI_UNIFIED_API
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) || \
defined(CONFIG_IPA_WDI_UNIFIED_API)
/**
* dp_ipa_setup() - Setup and connect IPA pipes
* @soc_hdl - data path soc handle