Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bcd95e9 authored by Liangwei Dong's avatar Liangwei Dong Committed by Gerrit - the friendly Code Review server
Browse files

qcacmn: Add DEBUG_CONN_RSO log history

Add new DEBUG_CONN_RSO enum to record RSO state changing.

Change-Id: Ie46ab5d4b32d8b5632aa3c3eaed96d00afda22b3
CRs-Fixed: 3097076
parent dd25cb7b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
/*
 * 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
Original line number Diff line number Diff line
/*
 * 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";
	}