Browse Source

qcacld-3.0: Remove QCA_WIFI_3_0_EMU flag from Kbuild

QCA_WIFI_3_0_EMU flag is introduced for IHelium emulation
platform, where wait/error timeouts are kept for larger values.
Remove this flag for production target.
Increase tx completion drain delay to 1sec from 500ms to avoid
unwanted suspend abort.

Change-Id: Ie0633b3a2bbc9e2237039311af7417952961aada
CRs-Fixed: 2047750
Govind Singh 8 years ago
parent
commit
98b6255df6
2 changed files with 1 additions and 2 deletions
  1. 0 1
      Kbuild
  2. 1 1
      core/dp/txrx/ol_txrx.c

+ 0 - 1
Kbuild

@@ -1635,7 +1635,6 @@ endif
 
 ifeq (y,$(filter y,$(CONFIG_CNSS_EOS) $(CONFIG_ICNSS)))
 CDEFINES += -DQCA_WIFI_3_0
-CDEFINES += -DQCA_WIFI_3_0_EMU
 endif
 
 ifeq (y,$(filter y,$(CONFIG_CNSS_ADRASTEA) $(CONFIG_ICNSS)))

+ 1 - 1
core/dp/txrx/ol_txrx.c

@@ -3621,7 +3621,7 @@ static QDF_STATUS ol_txrx_wait_for_pending_tx(int timeout)
 }
 
 #ifndef QCA_WIFI_3_0_EMU
-#define SUSPEND_DRAIN_WAIT 500
+#define SUSPEND_DRAIN_WAIT 1000
 #else
 #define SUSPEND_DRAIN_WAIT 3000
 #endif