From 4fa65d80b7df6fbe8adc5f3cfdfed2faaa135aaa Mon Sep 17 00:00:00 2001 From: Om Prakash Tripathi Date: Thu, 22 Jun 2017 11:15:24 +0530 Subject: [PATCH] qcacmn: increase scan cache size to 1024 for WIN Change-Id: I3798c5927ea557cb51c569aa41452b37acf1bc53 CRs-Fixed: 2065195 --- umac/scan/core/src/wlan_scan_cache_db.h | 2 +- umac/scan/core/src/wlan_scan_main.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/umac/scan/core/src/wlan_scan_cache_db.h b/umac/scan/core/src/wlan_scan_cache_db.h index ed4e8314b33c..30ae138944c9 100644 --- a/umac/scan/core/src/wlan_scan_cache_db.h +++ b/umac/scan/core/src/wlan_scan_cache_db.h @@ -32,7 +32,7 @@ #define SCAN_HASH_SIZE 64 #define SCAN_GET_HASH(addr) \ (((const uint8_t *)(addr))[QDF_MAC_ADDR_SIZE - 1] % SCAN_HASH_SIZE) -#define MAX_SCAN_CACHE_SIZE 300 + /* Hidden ssid age time in millisec */ #define HIDDEN_SSID_TIME (1*60*1000) diff --git a/umac/scan/core/src/wlan_scan_main.h b/umac/scan/core/src/wlan_scan_main.h index d5111b39f0d8..de26537a4a14 100644 --- a/umac/scan/core/src/wlan_scan_main.h +++ b/umac/scan/core/src/wlan_scan_main.h @@ -57,6 +57,7 @@ #define SCM_NUM_RSSI_CAT 15 #ifdef CONFIG_MCL +#define MAX_SCAN_CACHE_SIZE 300 #define SCAN_ACTIVE_DWELL_TIME 40 #define SCAN_PASSIVE_DWELL_TIME 110 #define SCAN_MAX_REST_TIME 0 @@ -74,6 +75,7 @@ #define SCAN_NUM_PROBES 2 #define SCAN_NETWORK_IDLE_TIMEOUT 0 #else +#define MAX_SCAN_CACHE_SIZE 1024 #define SCAN_ACTIVE_DWELL_TIME 105 #define SCAN_PASSIVE_DWELL_TIME 300 #define SCAN_MAX_REST_TIME 0