From a5503f36a3eb177463d4933207670453e20aa258 Mon Sep 17 00:00:00 2001 From: Liangwei Dong Date: Wed, 15 Dec 2021 18:59:51 +0800 Subject: [PATCH] qcacmn: Add DEBUG_CONN_RSO log history Add new DEBUG_CONN_RSO enum to record RSO state changing. Change-Id: Ie46ab5d4b32d8b5632aa3c3eaed96d00afda22b3 CRs-Fixed: 3097076 --- utils/logging/inc/wlan_roam_debug.h | 3 +++ utils/logging/src/wlan_roam_debug.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/utils/logging/inc/wlan_roam_debug.h b/utils/logging/inc/wlan_roam_debug.h index 136f3c6cb0..1848215b79 100644 --- a/utils/logging/inc/wlan_roam_debug.h +++ b/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, }; /** diff --git a/utils/logging/src/wlan_roam_debug.c b/utils/logging/src/wlan_roam_debug.c index 30a4ad7d7d..f3775d8839 100644 --- a/utils/logging/src/wlan_roam_debug.c +++ b/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"; }