mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Remove qdf_op_protect/unprotect for IPA RX
wlan_ipa_w2i_cb is notify cb for IPA RX terminated scenario and therefore it is invoked on a per-packet basis. qdf_op_protect and qdf_op_unprotect leads to ~100mbps througput degradation for IPA RX terminated scenario on MDM platforms. Thus remove qdf_op_protect and qdf_op_unprotect on MDM platforms as a temporary workaround to unblock releases and meet KPI. Note that this will be revisited. Change-Id: I1cab0581288456662ee4aa5d63df1b0f1213436b CRs-Fixed: 2469073
This commit is contained in:
parent
de2b958baf
commit
7bac1efee9
1 changed files with 8 additions and 0 deletions
|
|
@ -922,6 +922,7 @@ static void __wlan_ipa_w2i_cb(void *priv, qdf_ipa_dp_evt_type_t evt,
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef MDM_PLATFORM
|
||||
/**
|
||||
* wlan_ipa_w2i_cb() - SSR wrapper for __wlan_ipa_w2i_cb
|
||||
* @priv: pointer to private data registered with IPA (we register a
|
||||
|
|
@ -952,6 +953,13 @@ static void wlan_ipa_w2i_cb(void *priv, qdf_ipa_dp_evt_type_t evt,
|
|||
|
||||
qdf_op_unprotect(op_sync);
|
||||
}
|
||||
#else /* MDM_PLATFORM */
|
||||
static void wlan_ipa_w2i_cb(void *priv, qdf_ipa_dp_evt_type_t evt,
|
||||
unsigned long data)
|
||||
{
|
||||
__wlan_ipa_w2i_cb(priv, evt, data);
|
||||
}
|
||||
#endif /* MDM_PLATFORM */
|
||||
|
||||
/**
|
||||
* __wlan_ipa_i2w_cb() - IPA to WLAN callback
|
||||
|
|
|
|||
Loading…
Reference in a new issue