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