qcacld-3.0: Add support for new ini param RoamIdle_InactiveTime

Add support for new ini param RoamIdle_InactiveTime. This param
is similar to the existing idle_roam_inactive_time but unit
change

Change-Id: I857107a6d0e39f373e39d4fb9b762e7cf4c4a9e4
CRs-Fixed: 3015993
This commit is contained in:
Jyoti Kumari
2021-08-16 16:18:59 +05:30
committed by Madan Koyyalamudi
父節點 17cdf337fe
當前提交 025e717335
共有 2 個文件被更改,包括 43 次插入2 次删除

查看文件

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -2351,6 +2352,34 @@
CFG_VALUE_OR_DEFAULT, \
"Configure RSSI delta to start idle roam")
/*
* <ini>
* RoamIdle_InactiveTime - Time duration in seconds for which the
* connection is idle.
* @Min: 0
* @Max: 20
* @Default: 10
*
* This ini is used to configure the time in seconds for which the connection
* candidate is idle and after which idle roam scan can be triggered if
* other criteria of ini "enable_idle_roam" is met.
*
* Related: enable_idle_roam
*
* Supported Feature: Roaming
*
* Usage: Internal/External
*
* </ini>
*/
#define CFG_ROAM_IDLE_INACTIVE_TIME CFG_INI_UINT( \
"RoamIdle_InactiveTime", \
0, \
20, \
10, \
CFG_VALUE_OR_DEFAULT, \
"Configure RSSI delta to start idle roam")
/*
* <ini>
* idle_data_packet_count/RoamIdle_InactivePacketCount - No of tx/rx packets
@@ -2550,6 +2579,7 @@
CFG(CFG_LFR_ENABLE_IDLE_ROAM) \
CFG(CFG_LFR_IDLE_ROAM_RSSI_DELTA) \
CFG(CFG_LFR_IDLE_ROAM_INACTIVE_TIME) \
CFG(CFG_ROAM_IDLE_INACTIVE_TIME) \
CFG(CFG_LFR_IDLE_ROAM_PACKET_COUNT) \
CFG(CFG_LFR_IDLE_ROAM_MIN_RSSI) \
CFG(CFG_LFR_IDLE_ROAM_BAND) \