qcacld-3.0: Add support for new ini param RoamScan_FirstTimer

Add support for new ini param RoamScan_FirstTimer. This param
is similar to the existing gEmptyScanRefreshPeriod but units
change

Change-Id: If250ba41d71ef20c7365af2c90550b3b575d285c
CRs-Fixed: 3016232
Este commit está contenido en:
Jyoti Kumari
2021-08-18 00:16:41 +05:30
cometido por Madan Koyyalamudi
padre 009da9e836
commit 078acbe78e
Se han modificado 6 ficheros con 78 adiciones y 17 borrados

Ver fichero

@@ -1621,6 +1621,32 @@
CFG_VALUE_OR_DEFAULT, \
"Empty scan refresh period")
/*
* <ini>
* RoamScan_FirstTimer - Set empty scan refresh period
* @Min: 0
* @Max: 20
* @Default: 10
*
* This ini is used by firmware to set scan period in secs
* following empty scan results.
*
* Related: None
*
* Supported Feature: LFR Scan
*
* Usage: External
*
* </ini>
*/
#define CFG_ROAM_SCAN_FIRST_TIMER CFG_INI_UINT( \
"RoamScan_FirstTimer", \
0, \
20, \
10, \
CFG_VALUE_OR_DEFAULT, \
"Empty scan refresh period")
/*
* <ini>
* gRoamBmissFirstBcnt - Beacon miss count to trigger 1st bmiss event
@@ -2950,6 +2976,7 @@
CFG(CFG_LFR_NEIGHBOR_SCAN_MAX_CHAN_TIME) \
CFG(CFG_LFR_NEIGHBOR_SCAN_RESULTS_REFRESH_PERIOD) \
CFG(CFG_LFR_EMPTY_SCAN_REFRESH_PERIOD) \
CFG(CFG_ROAM_SCAN_FIRST_TIMER) \
CFG(CFG_LFR_ROAM_BMISS_FIRST_BCNT) \
CFG(CFG_LFR_ROAM_BMISS_FINAL_BCNT) \
CFG(CFG_LFR_ROAMING_DFS_CHANNEL) \

Ver fichero

@@ -4307,11 +4307,13 @@ bool ucfg_mlme_validate_full_roam_scan_period(uint32_t full_roam_scan_period);
/**
* ucfg_mlme_validate_scan_period() - Validate if scan period is in valid range
* @value: Scan period in msec
* @psoc: Pointer to soc
* @roam_scan_period: Scan period in msec
*
* Return: True if roam_scan_period is in expected range, false otherwise.
*/
bool ucfg_mlme_validate_scan_period(uint32_t roam_scan_period);
bool ucfg_mlme_validate_scan_period(struct wlan_objmgr_psoc *psoc,
uint32_t roam_scan_period);
/**
* ucfg_mlme_get_ignore_fw_reg_offload_ind() - Get the
* ignore_fw_reg_offload_ind ini