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
This commit is contained in:

committed by
nshrivas

parent
ee620b36c0
commit
c8eec8a827
@@ -674,13 +674,6 @@ struct wlan_ipa_priv {
|
|||||||
|
|
||||||
#define BW_GET_DIFF(_x, _y) (unsigned long)((ULONG_MAX - (_y)) + (_x) + 1)
|
#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_RX_LEN 84
|
||||||
#define WLAN_IPA_DBG_DUMP_TX_LEN 48
|
#define WLAN_IPA_DBG_DUMP_TX_LEN 48
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ static bool g_ipa_hw_support;
|
|||||||
bool ipa_check_hw_present(void)
|
bool ipa_check_hw_present(void)
|
||||||
{
|
{
|
||||||
/* Check if ipa hw is enabled */
|
/* 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;
|
g_ipa_hw_support = true;
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user