wlan: protect the DXE low resource timer by a compilation flag
DXE low resource timer is started when DXE detects that VOSS
packets are not available for receiving packets and if the
VOSS resources are not made available within the timer
expiration deadline it will panic the system. Add the
timer code within a compilation flag so that the users
can choose to use the driver without the low resource
timer.
Change-Id: Icbb6ddfe3ab59fc52e545f3f2a5e7a18809bee1a
CRs-Fixed: 627231
diff --git a/CORE/DXE/src/wlan_qct_dxe_i.h b/CORE/DXE/src/wlan_qct_dxe_i.h
index cbd9440..4656b4b 100644
--- a/CORE/DXE/src/wlan_qct_dxe_i.h
+++ b/CORE/DXE/src/wlan_qct_dxe_i.h
@@ -663,7 +663,9 @@
wpt_boolean rxPalPacketUnavailable;
wpt_boolean driverReloadInProcessing;
wpt_boolean smsmToggled;
+#ifdef WLAN_DXE_LOW_RESOURCE_TIMER
wpt_timer rxResourceAvailableTimer;
+#endif
wpt_timer dxeSSRTimer;
} WLANDXE_CtrlBlkType;