qcacmn: Use qdf macro for epping mode
Use QDF macro to check if we are in epping mode.
Hardcode the ce engine to use interrupts in
epping mode.
Change-Id: Ie58c2efffdced03f24905469319eabc0af4ed228
CRs-Fixed: 1003792
diff --git a/hif/src/hif_main.c b/hif/src/hif_main.c
index d6021ac..acdd0f1 100644
--- a/hif/src/hif_main.c
+++ b/hif/src/hif_main.c
@@ -47,7 +47,6 @@
#ifdef CONFIG_CNSS
#include <net/cnss.h>
#endif
-#include "epping_main.h"
#include "hif_debug.h"
#include "mp_dev.h"
#include "platform_icnss.h"
@@ -310,7 +309,7 @@
*/
bool hif_max_num_receives_reached(struct hif_softc *scn, unsigned int count)
{
- if (WLAN_IS_EPPING_ENABLED(hif_get_conparam(scn)))
+ if (QDF_IS_EPPING_ENABLED(hif_get_conparam(scn)))
return count > 120;
else
return count > MAX_NUM_OF_RECEIVES;
@@ -535,7 +534,7 @@
if (QDF_GLOBAL_FTM_MODE == con_mode)
mode = ICNSS_FTM;
- else if (WLAN_IS_EPPING_ENABLED(con_mode))
+ else if (QDF_IS_EPPING_ENABLED(con_mode))
mode = ICNSS_EPPING;
else
mode = ICNSS_MISSION;