summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMukul Sharma <mukul@codeaurora.org>2016-08-26 13:02:10 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-08-29 18:33:46 +0530
commit8a936f167e8a2d52a371f3f5b63d0569a521f490 (patch)
tree880cca40bb1e940377acdda565aa1d7c7002b8a1
parentf6bd21dec610336fc48928aeffd2f4910c106d1d (diff)
qcacld-2.0: Change WMI command limit to 256 from 128
During suspend / resume, host sends multiple wmi cmd to fwr so it is possbile host reaches wmi max threshold quickly, which may lead to kernel panic / SSR. Hence as a part of this fix, Host increase the wmi max pending command threshold to 256 from 128. Change-Id: Ic3cbe26cca979dcaa68fca03e6fe1af397cf0c4f CRs-FIXED: 1059766
-rw-r--r--CORE/SERVICES/WMI/wmi_unified_priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/CORE/SERVICES/WMI/wmi_unified_priv.h b/CORE/SERVICES/WMI/wmi_unified_priv.h
index 780e49c26959..5a43e3fb299d 100644
--- a/CORE/SERVICES/WMI/wmi_unified_priv.h
+++ b/CORE/SERVICES/WMI/wmi_unified_priv.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -38,7 +38,7 @@
#include "adf_os_atomic.h"
#define WMI_UNIFIED_MAX_EVENT 0x100
-#define WMI_MAX_CMDS 128
+#define WMI_MAX_CMDS 256
typedef adf_nbuf_t wmi_buf_t;