qcacmn: Handle deprecated interface calls to IPA

As IPA has moved out of the kernel, ipa_uc_reg_rdyCB
interface call from WLAN is not needed anymore
as ipa_wdi_init_per_inst() initialization call will
handle this. This change will add support to retain
this call only for legacy devices.

Change-Id: Icb479562e091d388e03ef5a38b3e95d4dbf06271
CRs-Fixed: 3459071
This commit is contained in:
Namita Nair
2023-04-03 18:42:18 -07:00
committed by Madan Koyyalamudi
parent c7eaf5ac98
commit 59a36d8e87
4 changed files with 32 additions and 8 deletions

View File

@@ -26,6 +26,7 @@ extern "C" {
/* Header files */
#include <qdf_status.h>
#include "qdf_ipa.h"
#include "qdf_nbuf.h"
#include "qdf_lro.h"
#include "ol_if_athvar.h"
@@ -1822,7 +1823,7 @@ enum ipa_hw_type hif_get_ipa_hw_type(void)
static inline
bool hif_get_ipa_present(void)
{
if (ipa_uc_reg_rdyCB(NULL) != -EPERM)
if (qdf_ipa_uc_reg_rdyCB(NULL) != -EPERM)
return true;
else
return false;