qcacld-3.0: Adding an ini for wmi wq watchdog
Adding an ini for wmi workqueue watchdog, the ini value will give the timeout value for wmi watchdog timer. Change-Id: I6338351c8d788478307892152305e10186ead6cb
This commit is contained in:

committed by
snandini

parent
99c70a06f3
commit
7f085d2147
@@ -14339,6 +14339,28 @@ enum hdd_external_acs_freq_band {
|
|||||||
#define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MAX (300)
|
#define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MAX (300)
|
||||||
#define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_DEFAULT (3)
|
#define CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_DEFAULT (3)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* <ini>
|
||||||
|
* wmi_wq_watchdog - Sets timeout period for wmi watchdog bite
|
||||||
|
* @Min: 0
|
||||||
|
* @Max: 30
|
||||||
|
* @Default: 20
|
||||||
|
*
|
||||||
|
* This ini is used to set timeout period for wmi watchdog bite. If it is
|
||||||
|
* 0 then wmi watchdog bite is disabled.
|
||||||
|
*
|
||||||
|
* Related: None
|
||||||
|
*
|
||||||
|
* Supported Feature: STA
|
||||||
|
*
|
||||||
|
* Usage: External
|
||||||
|
*
|
||||||
|
* </ini>
|
||||||
|
*/
|
||||||
|
#define CFG_WMI_WQ_WATCHDOG "wmi_wq_watchdog"
|
||||||
|
#define CFG_WMI_WQ_WATCHDOG_MIN (0)
|
||||||
|
#define CFG_WMI_WQ_WATCHDOG_MAX (30) /* 30s */
|
||||||
|
#define CFG_WMI_WQ_WATCHDOG_DEFAULT (20) /* 20s */
|
||||||
/*
|
/*
|
||||||
* Type declarations
|
* Type declarations
|
||||||
*/
|
*/
|
||||||
@@ -15249,6 +15271,7 @@ struct hdd_config {
|
|||||||
uint32_t neighbor_report_offload_per_threshold_offset;
|
uint32_t neighbor_report_offload_per_threshold_offset;
|
||||||
uint32_t neighbor_report_offload_cache_timeout;
|
uint32_t neighbor_report_offload_cache_timeout;
|
||||||
uint32_t neighbor_report_offload_max_req_cap;
|
uint32_t neighbor_report_offload_max_req_cap;
|
||||||
|
uint16_t wmi_wq_watchdog_timeout;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define VAR_OFFSET(_Struct, _Var) (offsetof(_Struct, _Var))
|
#define VAR_OFFSET(_Struct, _Var) (offsetof(_Struct, _Var))
|
||||||
|
@@ -5526,6 +5526,13 @@ struct reg_table_entry g_registry_table[] = {
|
|||||||
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_DEFAULT,
|
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_DEFAULT,
|
||||||
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MIN,
|
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MIN,
|
||||||
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MAX),
|
CFG_OFFLOAD_NEIGHBOR_REPORT_MAX_REQ_CAP_MAX),
|
||||||
|
|
||||||
|
REG_VARIABLE(CFG_WMI_WQ_WATCHDOG, WLAN_PARAM_Integer,
|
||||||
|
struct hdd_config, wmi_wq_watchdog_timeout,
|
||||||
|
VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
|
||||||
|
CFG_WMI_WQ_WATCHDOG_DEFAULT,
|
||||||
|
CFG_WMI_WQ_WATCHDOG_MIN,
|
||||||
|
CFG_WMI_WQ_WATCHDOG_MAX),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user