qcacld-3.0: Export max IPA interface numbers

As for Rome, currently it usually just only support two
IPA interfaces offload, if use the default value 3, which
will cause the IPA pipe setup failure issue. So export
the max IPA interface numbers, and it's better to set
the appropriate value from build file according to
different requirement for different chipset and platform.
Meanwhile, it support SMMU on the sa415 platform, so
enable SMMU for it.

Change-Id: I2de31bcb4d38f5e7964d2cbdc2fc6f143eef510d
CRs-Fixed: 2480627
This commit is contained in:
Chaoli Zhou
2019-07-08 15:14:20 +08:00
committed by nshrivas
parent 65d6425637
commit b11e18a0a4
5 changed files with 27 additions and 3 deletions

View File

@@ -52,7 +52,8 @@
#define WLAN_IPA_UC_RT_DEBUG_FILL_INTERVAL 10000
#define WLAN_IPA_WLAN_HDR_DES_MAC_OFFSET 0
#define WLAN_IPA_MAX_IFACE 3
#define WLAN_IPA_MAX_IFACE MAX_IPA_IFACE
#define WLAN_IPA_CLIENT_MAX_IFACE 3
#define WLAN_IPA_MAX_SYSBAM_PIPE 4
#define WLAN_IPA_MAX_SESSION 5
#define WLAN_IPA_MAX_STA_COUNT 41

View File

@@ -31,7 +31,7 @@ static struct wlan_ipa_priv *gp_ipa;
static struct wlan_ipa_iface_2_client {
qdf_ipa_client_type_t cons_client;
qdf_ipa_client_type_t prod_client;
} wlan_ipa_iface_2_client[WLAN_IPA_MAX_IFACE] = {
} wlan_ipa_iface_2_client[WLAN_IPA_CLIENT_MAX_IFACE] = {
{
QDF_IPA_CLIENT_WLAN2_CONS, QDF_IPA_CLIENT_WLAN1_PROD
}, {