From 3c38ca8bcfed8e4f231115e0b56d4113fd3aa688 Mon Sep 17 00:00:00 2001 From: Varun Reddy Yeturu Date: Thu, 6 Jul 2017 15:16:02 -0700 Subject: [PATCH] qcacmn: Increase scan ageing init value for emulation Increase the scan ageing timer value from 30 seconds to 90 seconds for the initializer SCAN_CACHE_AGING_TIME Change-Id: I0131ab601de9c86b89449bddd721ac857862a5b5 CRs-Fixed: 2072461 --- umac/scan/core/src/wlan_scan_main.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/umac/scan/core/src/wlan_scan_main.h b/umac/scan/core/src/wlan_scan_main.h index 017e243d8285..b92913b63075 100644 --- a/umac/scan/core/src/wlan_scan_main.h +++ b/umac/scan/core/src/wlan_scan_main.h @@ -96,7 +96,11 @@ #define SCAN_TIMEOUT_GRACE_PERIOD 10 /* scan age time in millisec */ +#ifdef QCA_WIFI_NAPIER_EMULATION +#define SCAN_CACHE_AGING_TIME (90 * 1000) +#else #define SCAN_CACHE_AGING_TIME (30 * 1000) +#endif #define SCAN_MAX_BSS_PDEV 100 #define SCAN_PRIORITY SCAN_PRIORITY_LOW