Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2943727ybl; Mon, 20 Jan 2020 12:27:58 -0800 (PST) X-Google-Smtp-Source: APXvYqychM/1KNadHbuRNMVxfodKMydawHM9tWCCabgdI1jSwSdr/3qQ4Jkc3c106tQYV0U5a6+l X-Received: by 2002:a05:6830:1251:: with SMTP id s17mr974874otp.108.1579552078514; Mon, 20 Jan 2020 12:27:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579552078; cv=none; d=google.com; s=arc-20160816; b=VDWPd/gsFIxJEZueg4K7V9p27nANWZCJIhnV2jelsHiZyhB5jhF712y1B/v/p3FYLF tzKAmA6hGkJTpcS+X2810fiBSiCwC9cWKqf3vWaZtrbmDg8MIXEgDTOPdwix/D2uLQVn BwjM5dIRyvGsSCAqaTf8fHnmYRTjGZw8FkiPrvGMdb02xiuoXRtQpv74DZ7daDbPSLo5 bPfqgpoezC9o2oCs9Idw3XBPNqX8V0+WchCEUzrNHdRwMb2T+6HUn6Pk3OQiTTN7kS6D XUp4v0Wl40PEBKY8bemXEidE8B2dwjXW40mVki3JdTv62bC0Leuxb9l+7RXFfd0mTErw 1SWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=o9zdJ1Y4kcP1Ijp/RMF/JHrUzcD2Y95mk1j7rH7aLRw=; b=l0FdxlJ68pZ01FQzlyqrbpYdxcxQzq0JlfXclPs8n2kruBtczWO6RSvtfdfGYl1Ij1 0VTACJRQ9A3okN/CN5DUjdWAC9nA4nCy/ZfHzHYTvjkLeMHZZYx9EMIdJmjGtL9B0s/j sL6wUC9Dhda1/11O1rh+pnbO4s4iKwEL5cMOMsTKFl6Tor48qdE9pnrf9Hd/ZnXBC5Bb Ei0h0GstkaFBD/iEIQ/D/n/JkGlIgDEifgHKOd0bSb7Zkx7Rlp80BqYUkeOh4E6xDxCv Tc5RzqobB21m3Fga96nB/Pe5DjxY7LVkdsfKv2lK3RFwNzx7WOZ/wsT/2fq3W7YSr4m/ q1ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AhUwJ6QL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t74si17896734oih.155.2020.01.20.12.27.31; Mon, 20 Jan 2020 12:27:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AhUwJ6QL; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726843AbgATU1V (ORCPT + 99 others); Mon, 20 Jan 2020 15:27:21 -0500 Received: from mail-vs1-f53.google.com ([209.85.217.53]:32782 "EHLO mail-vs1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbgATU1V (ORCPT ); Mon, 20 Jan 2020 15:27:21 -0500 Received: by mail-vs1-f53.google.com with SMTP id n27so385081vsa.0 for ; Mon, 20 Jan 2020 12:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o9zdJ1Y4kcP1Ijp/RMF/JHrUzcD2Y95mk1j7rH7aLRw=; b=AhUwJ6QLuWQ2HeQVCgYupY8w+qiCcmmSTpXmduTcV32JS0ldhDRswI2hqRdPTkax69 HvnrP0sX+GCrabgUQkb6VFGtGIxMIVccNvk0ySUpLrCRrOP9DF8gtu0TbrxSp4GXUJ6g VB9r4Qn4dv8Eex12zINJR9JGOfeKSiud0WqZw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o9zdJ1Y4kcP1Ijp/RMF/JHrUzcD2Y95mk1j7rH7aLRw=; b=HMIUsKEZDQLgcJ33W2BpL4Bi5I0ErtRbJY4A1OBzYod8GVlH58K5PHg9fO1sqXJjSC 2OX5aunMJjofM5i6zw16ax2F0scLUkZh7i8wcWQR2bgjh3yeh47mCxRfnEN+/dc78cPz uG2D98/kVU7UWniR5mImcoeFYsMS880WI+bb5uq3qk+5UdDInrw4fKtNfcSXV39uo8xb 0f/6jKtAMG2asIXZ5/gb4p1o/kHDlCm70TUVRFuZkqb33z6Aja20PneRl12ODJn9VSyo 7s9S/szX6qs8/HgmIaU3HZ7Bq4E0bor6NXjeRNEkJpx747YmRkXf/wWQiQsCM62SXd73 mTxw== X-Gm-Message-State: APjAAAVVz8wrTj0hdDldC6VIVwMBcJh0u/Fg1OmoAfvojoRIabWM7fF5 3ijOPGOdSqo4ZiCNqR7qC7g7LLs0qwM= X-Received: by 2002:a67:fe50:: with SMTP id m16mr628840vsr.114.1579552039905; Mon, 20 Jan 2020 12:27:19 -0800 (PST) Received: from alain.c.googlers.com.com (69.104.231.35.bc.googleusercontent.com. [35.231.104.69]) by smtp.gmail.com with ESMTPSA id i20sm10146645vkn.51.2020.01.20.12.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jan 2020 12:27:19 -0800 (PST) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [Bluez PATCH] doc: Add definition for Set Kernel Debug Level Date: Mon, 20 Jan 2020 20:27:08 +0000 Message-Id: <20200120202708.111383-1-alainm@chromium.org> X-Mailer: git-send-email 2.25.0.341.g760bfbb309-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This command is used to by higher level applications to dynamically control the debug logging level of the kernel module. This is particularly useful to collect debug information from customers filing feedback reports for issues that are difficult to reproduce outside of a customer's particular environement. --- doc/mgmt-api.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt index 1e59acc54..f2dba64d1 100644 --- a/doc/mgmt-api.txt +++ b/doc/mgmt-api.txt @@ -3047,6 +3047,31 @@ Load Blocked Keys Command Possible errors: Invalid Parameters Invalid Index +Set Kernel Debug Logging Level Command +======================= + + Command Code: 0x0047 + Controller Index: + Command Parameters : Debug_Logging_Level (1 octet) + + This command is used to set the kernel debug logging level. This + can be by higher level applications to facilitate dynamically + controlling the logging level produced by the Bluez kernel module. + + Supported Debug_Logging_Level values: + 0 : No Logging + 1 : All debug information. + All other values are reserved for future use. + + When the kernel receives a value higher than the maximum supported + value, the kernel module shall set it's logging level to the highest + value it supports. + + This command generates a Command Complete event on success or + a Command Status event on failure. + + Possible errors: Invalid Parameters + Invalid Index Command Complete Event ====================== -- 2.25.0.341.g760bfbb309-goog