Browse Source

qcacmn: Add DEBUG_CONN_RSO log history

Add new DEBUG_CONN_RSO enum to record RSO state changing.

Change-Id: Ie46ab5d4b32d8b5632aa3c3eaed96d00afda22b3
CRs-Fixed: 3097076
Liangwei Dong 3 năm trước cách đây
mục cha
commit
a5503f36a3

+ 3 - 0
utils/logging/inc/wlan_roam_debug.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2013-2019, 2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 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
@@ -64,6 +65,7 @@ typedef enum {
  * @DEBUG_CONN_DISCONNECT: trace station disconnect
  * @DEBUG_CONN_DISCONNECT_HANDLER: trace disconnect handler
  * @DEBUG_CONN_DISCONNECT_IND: trace disconnect indication
+ * @DEBUG_CONN_RSO: trace RSO state changing
  */
 enum peer_debug_op {
 	DEBUG_PEER_CREATE_SEND = 0,
@@ -91,6 +93,7 @@ enum peer_debug_op {
 	DEBUG_CONN_DISCONNECT,
 	DEBUG_CONN_DISCONNECT_HANDLER,
 	DEBUG_CONN_DISCONNECT_IND,
+	DEBUG_CONN_RSO,
 };
 
 /**

+ 3 - 0
utils/logging/src/wlan_roam_debug.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2013-2018, 2020-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 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
@@ -248,6 +249,8 @@ static char *wlan_roam_debug_string(uint32_t op)
 		return "dishdr";
 	case DEBUG_CONN_DISCONNECT_IND:
 		return "disind";
+	case DEBUG_CONN_RSO:
+		return "rso";
 	default:
 		return "unknown";
 	}