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
کامیت شده توسط Madan Koyyalamudi
والد 8394348196
کامیت 9f3b9ca800
8فایلهای تغییر یافته به همراه119 افزوده شده و 104 حذف شده

مشاهده پرونده

@@ -1759,7 +1759,8 @@ QDF_STATUS dp_ipa_disable_autonomy(struct cdp_soc_t *soc_hdl, uint8_t pdev_id)
/* This should be configurable per H/W configuration enable status */
#define L3_HEADER_PADDING 2
#ifdef CONFIG_IPA_WDI_UNIFIED_API
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)) || \
defined(CONFIG_IPA_WDI_UNIFIED_API)
#ifndef QCA_LL_TX_FLOW_CONTROL_V2
static inline void dp_setup_mcc_sys_pipes(