qcacld-3.0: Add support for new ini param RoamScan_InactiveTimer
Add support for new ini param RoamScan_InactiveTimer. This param is similar to the existing roam_scan_period_after_inactivity but unit change Change-Id: I0e803decaba30fa3f2dfcd95dc62dc71aa1cb3cd CRs-Fixed: 3016893
This commit is contained in:

committed by
Madan Koyyalamudi

parent
41a0f7f264
commit
9ba22e2bda
@@ -2084,8 +2084,15 @@ static void mlme_init_lfr_cfg(struct wlan_objmgr_psoc *psoc,
|
||||
|
||||
lfr->roam_inactive_data_packet_count =
|
||||
cfg_get(psoc, CFG_ROAM_INACTIVE_COUNT);
|
||||
lfr->roam_scan_period_after_inactivity =
|
||||
cfg_get(psoc, CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD);
|
||||
|
||||
if (val)
|
||||
lfr->roam_scan_period_after_inactivity =
|
||||
cfg_get(psoc, CFG_ROAM_SCAN_INACTIVE_TIMER) * 1000;
|
||||
|
||||
else
|
||||
lfr->roam_scan_period_after_inactivity =
|
||||
cfg_get(psoc, CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD);
|
||||
|
||||
lfr->fw_akm_bitmap = 0;
|
||||
lfr->enable_ft_im_roaming = cfg_get(psoc, CFG_FT_IM_ROAMING);
|
||||
lfr->enable_ft_over_ds = !ENABLE_FT_OVER_DS;
|
||||
|
@@ -2948,6 +2948,37 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Roam scan period post inactivity")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* RoamScan_InactiveTimer - Roam scan duration in sec after device is
|
||||
* out of inactivity state.
|
||||
*
|
||||
* @Min: 0
|
||||
* @Max: 20
|
||||
* @Default: 10
|
||||
*
|
||||
* If there is empty scan results during roam scan, firmware will move to
|
||||
* roam scan inactive state if roam_scan_inactivity and
|
||||
* roam_inactive_data_count criteria are met.
|
||||
* This ini is used to configure the roam scan duration in sec once the
|
||||
* inactivity is finished and roam scan can be started.
|
||||
*
|
||||
* Related: roam_scan_inactivity_time, roam_inactive_data_count
|
||||
*
|
||||
* Supported Feature: Roaming
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_ROAM_SCAN_INACTIVE_TIMER CFG_INI_UINT( \
|
||||
"RoamScan_InactiveTimer", \
|
||||
0, \
|
||||
20, \
|
||||
10, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Roam scan period post inactivity")
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
/*
|
||||
* <ini>
|
||||
@@ -3065,6 +3096,7 @@
|
||||
CFG(CFG_FT_IM_ROAMING) \
|
||||
CFG(CFG_ROAM_INACTIVE_COUNT) \
|
||||
CFG(CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD) \
|
||||
CFG(CFG_ROAM_SCAN_INACTIVE_TIMER) \
|
||||
CFG(CFG_BSS_LOAD_TRIG_5G_RSSI_THRES) \
|
||||
CFG(CFG_BSS_LOAD_TRIG_2G_RSSI_THRES) \
|
||||
CFG(CFG_LFR_FULL_ROAM_SCAN_REFRESH_PERIOD) \
|
||||
|
Reference in New Issue
Block a user