From 04f402117b39ccb0cc653b98d212ea12bf947611 Mon Sep 17 00:00:00 2001 From: jiad Date: Thu, 25 May 2017 15:03:48 +0800 Subject: [PATCH] qcacld-3.0: Restore RX ring fill level for Rome HTT_RX_HOST_LATENCY_WORST_LIKELY_MS is changed from 10 to 20 for Helium support. But 20 is aggressive for Rome and traffic hang is seen. Fix is to define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS as 10 for Rome support. Change-Id: Iaaa86ed70d145ac9898300e9b678008781215617 CRs-Fixed: 2050912 --- core/dp/htt/htt_rx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/dp/htt/htt_rx.c b/core/dp/htt/htt_rx.c index 7c663f22ea81..21a07f03d43f 100644 --- a/core/dp/htt/htt_rx.c +++ b/core/dp/htt/htt_rx.c @@ -92,7 +92,11 @@ /* very conservative to ensure enough buffers are allocated */ #ifndef HTT_RX_HOST_LATENCY_WORST_LIKELY_MS +#ifdef QCA_WIFI_3_0 #define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS 20 +#else +#define HTT_RX_HOST_LATENCY_WORST_LIKELY_MS 10 +#endif #endif #ifndef HTT_RX_RING_REFILL_RETRY_TIME_MS