Parcourir la source

qcacmn: Increase Logical deleted object timeout value

Currently, FW has TTL of 5 sec for management frames, if a frame
is queued just before logical deletion, it takes max 5 sec to complete,
by considering other latencies, increaseing it to 8 sec.

Change-Id: I6861d9557489bcf10e60ff32d06e88be23535d48
CRs-Fixed: 2526239
Srinivas Pitla il y a 5 ans
Parent
commit
9e37733c50
1 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 7 3
      umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c

+ 7 - 3
umac/cmn_services/obj_mgr/src/wlan_objmgr_debug.c

@@ -28,13 +28,17 @@
 #include <qdf_mem.h>
 #include <qdf_platform.h>
 
-#define LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC   5000
-#define LOG_DEL_OBJ_DESTROY_DURATION_SEC 5
+/*
+ * Default TTL (of FW) for mgmt frames is 5 sec, by considering all the other
+ * delays, arrived with this value
+ */
+#define LOG_DEL_OBJ_TIMEOUT_VALUE_MSEC   8000
+#define LOG_DEL_OBJ_DESTROY_DURATION_SEC 8
 /*
  * 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.
  */
-#define LOG_DEL_OBJ_DESTROY_ASSERT_DURATION_SEC 15
+#define LOG_DEL_OBJ_DESTROY_ASSERT_DURATION_SEC 24
 #define LOG_DEL_OBJ_LIST_MAX_COUNT       (3 + 5 + 48 + 4096)
 
 union wlan_objmgr_del_obj {