Browse Source

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
Varun Reddy Yeturu 7 years ago
parent
commit
3c38ca8bcf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      umac/scan/core/src/wlan_scan_main.h

+ 4 - 0
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