wlan: Add config parameter for PER based roam full scan
DUT should do a full scan if it is not able to find candidate
AP from the roam cache list. This full scan has to be done when
there is significant RSSI change which is configurable via ini.
Add changes for config paramer upon which full scan will be done.
CRs-Fixed: 1059278
Change-Id: Ia7b069f18560bebf3a593510bbd4babb293ea8b5
diff --git a/CORE/HDD/inc/wlan_hdd_cfg.h b/CORE/HDD/inc/wlan_hdd_cfg.h
index b5b56a7..6905673 100644
--- a/CORE/HDD/inc/wlan_hdd_cfg.h
+++ b/CORE/HDD/inc/wlan_hdd_cfg.h
@@ -975,6 +975,11 @@
#define CFG_PER_ROAM_SCAN_CCA_ENABLED_MIN (0)
#define CFG_PER_ROAM_SCAN_CCA_ENABLED_MAX (1)
#define CFG_PER_ROAM_SCAN_CCA_ENABLED_DEFAULT (0)
+
+#define CFG_PER_ROAM_FULL_SCAN_RSSI_THRESHOLD "gPERRoamFullScanRssiDiffThreshold"
+#define CFG_PER_ROAM_FULL_SCAN_RSSI_THRESHOLD_MIN (5)
+#define CFG_PER_ROAM_FULL_SCAN_RSSI_THRESHOLD_MAX (50)
+#define CFG_PER_ROAM_FULL_SCAN_RSSI_THRESHOLD_DEFAULT (10)
#endif
#define CFG_QOS_WMM_PKT_CLASSIFY_BASIS_NAME "PktClassificationBasis" // DSCP or 802.1Q
@@ -3053,6 +3058,7 @@
v_BOOL_t isPERRoamEnabled;
v_BOOL_t isPERRoamRxPathEnabled;
v_BOOL_t isPERRoamCCAEnabled;
+ v_S15_t PERRoamFullScanThreshold;
v_U16_t rateUpThreshold;
v_U16_t rateDownThreshold;
v_U16_t PERroamTriggerPercent;