Browse Source

qcacmn: Increase periodicity of LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC

obj_mgr_alert() function is currently used in
wlan_objmgr_iterate_log_del_obj_handle() to print and is causing
spinlock to be held too long and timing out. Thus, increase the
periodicity of LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC to 10 seconds.

Change-Id: I00fb3a468d6035856efe07c08299c471f72ba863
CRs-Fixed: 2928906
Alan Chen 4 năm trước cách đây
mục cha
commit
61161d0a6e
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c

+ 6 - 1
umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c

@@ -1,6 +1,6 @@
 /*
  *
- * Copyright (c) 2018-2020 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2021 The Linux Foundation. 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
@@ -34,8 +34,13 @@
  * Default TTL (of FW) for mgmt frames is 5 sec, by considering all the other
  * delays, arrived with this value
  */
+#ifndef LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC
 #define LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC   8000
+#endif
+#ifndef LOG_DEL_OBJ_DESTROY_DURATION_SEC
 #define LOG_DEL_OBJ_DESTROY_DURATION_SEC 8
+#endif
+
 /*
  * The max duration for which a obj can be allowed to remain in L-state
  * The duration  should be higher than the psoc idle timeout.