From 225abbf3d6947e64aa3721ccec6dc0c5426af205 Mon Sep 17 00:00:00 2001 From: Srinivas Dasari Date: Sun, 4 Aug 2019 23:28:09 +0530 Subject: [PATCH] qcacld-3.0: Introduce ini param for full roam scan period Full roam scan period is the minimum idle period in seconds between two successive full channel roam scans. Firmware expects this param as part of roam scan offload request. Add an ini param to set it to a default value and use it while sending roam scan offload request. Change-Id: Id66b583b2c487f06e62298641dc28853af3ab11c CRs-Fixed: 2507448 --- components/mlme/dispatcher/inc/cfg_mlme_lfr.h | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h index 2ba4ee7ea2..b9bd01e7c0 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_lfr.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_lfr.h @@ -1474,6 +1474,35 @@ CFG_VALUE_OR_DEFAULT, \ "Neighbor scan refresh period") +/* + * + * gFullRoamScanPeriod - Set full roam scan refresh period + * @Min: 0 + * @Max: 600 + * @Default: 0 + * + * This ini is used by firmware to set full roam scan period in secs. + * Full roam scan period is the minimum idle period in seconds between two + * successive full channel roam scans. If this is configured as a non-zero, + * full roam scan will be triggered for every configured interval. + * If this configured as 0, full roam scan will not be triggered at all. + * + * Related: None + * + * Supported Feature: LFR Scan + * + * Usage: External + * + * + */ +#define CFG_LFR_FULL_ROAM_SCAN_REFRESH_PERIOD CFG_INI_UINT( \ + "gFullRoamScanPeriod", \ + 0, \ + 600, \ + 0, \ + CFG_VALUE_OR_DEFAULT, \ + "Full roam scan refresh period") + /* * * gEmptyScanRefreshPeriod - Set empty scan refresh period @@ -2625,6 +2654,7 @@ CFG(CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD) \ CFG(CFG_BSS_LOAD_TRIG_5G_RSSI_THRES) \ CFG(CFG_BSS_LOAD_TRIG_2G_RSSI_THRES) \ + CFG(CFG_LFR_FULL_ROAM_SCAN_REFRESH_PERIOD) \ ADAPTIVE_11R_ALL \ ROAM_OFFLOAD_ALL \ LFR_ESE_ALL \