qcacmn: Use gEnableDataStallDetection as UINT value

Currently, data stall detection is without control over
individual data stall events.
INI variable, gEnableDataStallDetection is converted from
boolean to unsigned int which provides control over events
across FW and host with each bit corresponding to different
data stall events.
Bit 0: Enable all data stall events if set.
Bit 1-30: mapped to data stall events. Used when Bit 0 is 0
Bit 31: Enable aggressive timeout for WLM Mode.

Change-Id: I4656520accd1589e77d5054eaa0a3cb8e63b14b2
CRs-Fixed: 3174906
此提交包含在:
Ananya Gupta
2022-04-14 13:30:23 +05:30
提交者 Madan Koyyalamudi
父節點 53ed3db279
當前提交 bf41cceb2f
共有 3 個檔案被更改,包括 7 行新增6 行删除

查看文件

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. 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
@@ -326,7 +326,7 @@ struct txrx_pdev_cfg_param_t {
bool tso_enable;
bool lro_enable;
bool sg_enable;
bool enable_data_stall_detection;
uint32_t enable_data_stall_detection;
bool enable_flow_steering;
bool disable_intra_bss_fwd;