qcacmn: Add DEBUG_CONN_RSO log history

Add new DEBUG_CONN_RSO enum to record RSO state changing.

Change-Id: Ie46ab5d4b32d8b5632aa3c3eaed96d00afda22b3
CRs-Fixed: 3097076
This commit is contained in:
Liangwei Dong
2021-12-15 18:59:51 +08:00
committed by Madan Koyyalamudi
parent 9764cf5e3d
commit a5503f36a3
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2013-2019, 2021 The Linux Foundation. All rights reserved. * 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 * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * 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: trace station disconnect
* @DEBUG_CONN_DISCONNECT_HANDLER: trace disconnect handler * @DEBUG_CONN_DISCONNECT_HANDLER: trace disconnect handler
* @DEBUG_CONN_DISCONNECT_IND: trace disconnect indication * @DEBUG_CONN_DISCONNECT_IND: trace disconnect indication
* @DEBUG_CONN_RSO: trace RSO state changing
*/ */
enum peer_debug_op { enum peer_debug_op {
DEBUG_PEER_CREATE_SEND = 0, DEBUG_PEER_CREATE_SEND = 0,
@@ -91,6 +93,7 @@ enum peer_debug_op {
DEBUG_CONN_DISCONNECT, DEBUG_CONN_DISCONNECT,
DEBUG_CONN_DISCONNECT_HANDLER, DEBUG_CONN_DISCONNECT_HANDLER,
DEBUG_CONN_DISCONNECT_IND, DEBUG_CONN_DISCONNECT_IND,
DEBUG_CONN_RSO,
}; };
/** /**

View File

@@ -1,5 +1,6 @@
/* /*
* Copyright (c) 2013-2018, 2020-2021 The Linux Foundation. All rights reserved. * 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 * Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the * 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"; return "dishdr";
case DEBUG_CONN_DISCONNECT_IND: case DEBUG_CONN_DISCONNECT_IND:
return "disind"; return "disind";
case DEBUG_CONN_RSO:
return "rso";
default: default:
return "unknown"; return "unknown";
} }