Explorar el Código

qcacmn: increase scan cache size to 1024 for WIN

Change-Id: I3798c5927ea557cb51c569aa41452b37acf1bc53
CRs-Fixed: 2065195
Om Prakash Tripathi hace 7 años
padre
commit
4fa65d80b7

+ 1 - 1
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)
 

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