1
0

qcacld-3.0: Extend support to get IPA HW status on all platforms

Extend support to get IPA HW status on all platforms if IPA OFFLOAD
feature is enabled.

Change-Id: Ideea6b7f058b3d80efecc9473a20d7a31046b4bc
CRs-Fixed: 2230316
Este cometimento está contido em:
Sravan Kumar Kairam
2018-04-23 17:28:09 +05:30
cometido por nshrivas
ascendente 8d5cf899e3
cometimento b49124f486
2 ficheiros modificados com 1 adições e 8 eliminações

Ver ficheiro

@@ -674,13 +674,6 @@ struct wlan_ipa_priv {
#define BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1)
#if defined(QCA_WIFI_3_0) && defined(CONFIG_IPA3)
#define WLAN_IPA_CHECK_HW() ipa_uc_reg_rdyCB(NULL)
#else
/* Do nothing */
#define WLAN_IPA_CHECK_HW() 0
#endif /* IPA3 */
#define WLAN_IPA_DBG_DUMP_RX_LEN 84
#define WLAN_IPA_DBG_DUMP_TX_LEN 48

Ver ficheiro

@@ -30,7 +30,7 @@ static bool g_ipa_hw_support;
bool ipa_check_hw_present(void)
{
/* Check if ipa hw is enabled */
if (WLAN_IPA_CHECK_HW() != -EPERM) {
if (qdf_ipa_uc_reg_rdyCB(NULL) != -EPERM) {
g_ipa_hw_support = true;
return true;
} else {