qcacld-3.0: Add bmiss timeout vdev set params

Currently host sends first, final bmiss count to fw

Add support for bmiss timeout(in seconds)
during wakeup as well as sleep state to fw.

Change-Id: Id748fabdff94f5fa3038bcea1b1cac733ac2dbe1
CRs-Fixed: 3224106
这个提交包含在:
Divyajyothi Goparaju
2022-06-13 13:02:51 +05:30
提交者 Madan Koyyalamudi
父节点 3c29f9b31f
当前提交 8515cfbc5a
修改 8 个文件,包含 214 行新增1 行删除

查看文件

@@ -1696,6 +1696,59 @@
CFG_VALUE_OR_DEFAULT, \
"Final beacon miss count")
/*
* <ini>
* BeaconLoss_TimeoutOnWakeUp - Consecutive Beaconloss timeout on wakeup to
* trigger timeout
* @Min: 0
* @Max: 20
* @Default: 6
*
* This ini is used to control the beacon miss timeout when the system is awake.
* On the timeout, BMISS event will be triggered by FW.
* The units of this timeout is in seconds.
*
* Related: None
*
* Usage: External
*
* </ini>
*/
#define CFG_LFR_BEACONLOSS_TIMEOUT_ON_WAKEUP CFG_INI_UINT( \
"ConBeaconLoss_TimeoutOnWakeUp", \
0, \
20, \
6, \
CFG_VALUE_OR_DEFAULT, \
"ConBeaconloss timeout on wakeup")
/*
* <ini>
* BeaconLoss_TimeoutOnSleep - Consecutive Beaconloss timeout on sleep to
* trigger timeout
* @Min: 0
* @Max: 20
* @Default: 10
*
* This ini is used to control the beacon miss timeout
* when the system is in sleep.
* On the timeout, BMISS event will be triggered by FW.
* The units of this timeout is in seconds.
*
* Related: None
*
* Usage: External
*
* </ini>
*/
#define CFG_LFR_BEACONLOSS_TIMEOUT_ON_SLEEP CFG_INI_UINT( \
"ConBeaconLoss_TimeoutOnSleep", \
0, \
20, \
10, \
CFG_VALUE_OR_DEFAULT, \
"ConBeaconloss timeout on sleep")
/*
* <ini>
* gAllowDFSChannelRoam - Allow dfs channel in roam
@@ -3105,6 +3158,8 @@
LFR_ESE_ALL \
LFR_SUBNET_DETECTION_ALL \
SAE_SINGLE_PMK_ALL \
ROAM_REASON_VSIE_ALL
ROAM_REASON_VSIE_ALL \
CFG(CFG_LFR_BEACONLOSS_TIMEOUT_ON_WAKEUP) \
CFG(CFG_LFR_BEACONLOSS_TIMEOUT_ON_SLEEP)
#endif /* CFG_MLME_LFR_H__ */