wlan: Roam Scan Channels buffer size changed
Currently SIR_ROAM_MAX_CHANNELS is defined as
NUM_RF_CHANNELS. But, NUM_RF_CHANNELS value is
tightly coupled with the nv bin file being used.
To make LFR related scan cache not to be coupled
with other features, the size of SIR_ROAM_MAX_CHANNELS
is defined to a constant value.
Change-Id: Id04d2bf9d75bc56fc2bd261ea593810c2b4e0981
CRs-Fixed: 606397
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h
index fe769b2..5ffedda 100644
--- a/CORE/MAC/inc/sirApi.h
+++ b/CORE/MAC/inc/sirApi.h
@@ -3458,7 +3458,7 @@
} tSirUpdateAPWPARSNIEsReq, *tpSirUpdateAPWPARSNIEsReq;
#ifdef WLAN_FEATURE_ROAM_SCAN_OFFLOAD
-#define SIR_ROAM_MAX_CHANNELS NUM_RF_CHANNELS
+#define SIR_ROAM_MAX_CHANNELS 80
#define SIR_ROAM_SCAN_MAX_PB_REQ_SIZE 450
#define CHANNEL_LIST_STATIC 1 /* Occupied channel list remains static */
#define CHANNEL_LIST_DYNAMIC_INIT 2 /* Occupied channel list can be learnt after init */