From 98b6255df63c1f70420407b57d01225f9e298a0e Mon Sep 17 00:00:00 2001 From: Govind Singh Date: Mon, 15 May 2017 12:53:47 +0530 Subject: [PATCH] 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 --- Kbuild | 1 - core/dp/txrx/ol_txrx.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Kbuild b/Kbuild index d439762d7a48..c512c88f17c8 100644 --- a/Kbuild +++ b/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))) diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index 04ff47afc700..61e26e5c5746 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/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