Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2294178pxb; Wed, 9 Feb 2022 15:24:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJwOaATPJQdMwjiQx7mzI0zkeZoYGa6w8LfdnRDJn+iuWAdrTuVFwwD0tDdJAQn7gdg+qtPT X-Received: by 2002:a17:90a:f308:: with SMTP id ca8mr5264826pjb.222.1644449051564; Wed, 09 Feb 2022 15:24:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644449051; cv=none; d=google.com; s=arc-20160816; b=0Qo8e+5gGnxacQAh6Atgae2UANtw5ic9nEBjpeEBtFl+GHo6VAt8+tyu/7eAPVYD8a ZKrsC6YaoAFCinchLuRD/rGjOWunuoGoSecvUwC9MFOXlS0Z+3K+lnz0e7c3/pXIezBf UIROGDiAEBlaZwl2CRC61umzRdkjsPJAG2cOnXCI26Hgii4RGKfMt5of6oT9j77u2+Vp kIqcH2ul+TmYPGINOMAhlKDQFMASSdxaTMpQfqJcGC3Gd80Fjv/nXy9GXVye4pFYSe54 ECQdsOUnhn3jNrwOjvimATzKao66rqEFGYDNMG0nlsRFUTp7H80Yik5ZkM1mzT0u+aZp bArQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=gCXU/+5l62OV4jeb9SXLWH/KlpzGUxg4/bDAFw4JldQ=; b=B/RPnuTNG32xQL09isIsGlPWbIVyzOD+gjndm+b6ycMIdMZvrzsTmNrkngqMkjcECU pc/a6lxmbgSgAOoC2ZrmJ84Rx0YiLu/ie533N4g7EWYZxEvUXUolMTBkUkSe8My7LvJ4 Ud57OEMrCFKAIGUn1FYeg0J4baJkZMWFlFhxE02ebsXn1nv1tkGlfZnSCxnxrwuS24xW hTAZLMlow3ABp6SqZguAa09GIf1e0ysfITOX5h+dKWYPDsrpz6axNXJNzi5xICNUZ277 2gKeGnQ/og4LCK69rIheB09yBkFbN99C1mw9JxRfNDneiUxL3k5r7l3wN9xUk3uAM8Qa FPgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e6si386662plh.181.2022.02.09.15.24.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 15:24:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BD39DE053725; Wed, 9 Feb 2022 15:19:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232906AbiBIVKO convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Feb 2022 16:10:14 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:34666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232842AbiBIVKN (ORCPT ); Wed, 9 Feb 2022 16:10:13 -0500 Received: from mail.holtmann.org (coyote.holtmann.net [212.227.132.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AD1FCC050CF8 for ; Wed, 9 Feb 2022 13:10:15 -0800 (PST) Received: from smtpclient.apple (p4fefcd07.dip0.t-ipconnect.de [79.239.205.7]) by mail.holtmann.org (Postfix) with ESMTPSA id 121D3CED2D; Wed, 9 Feb 2022 22:10:14 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: [BlueZ PATCH v3 1/9] doc: Add Bluetooth quality report event From: Marcel Holtmann In-Reply-To: <20220209092414.751642-1-josephsih@chromium.org> Date: Wed, 9 Feb 2022 22:10:13 +0100 Cc: linux-bluetooth@vger.kernel.org, Luiz Augusto von Dentz , pali@kernel.org, chromeos-bluetooth-upstreaming@chromium.org, josephsih@google.com Content-Transfer-Encoding: 8BIT Message-Id: References: <20220209092414.751642-1-josephsih@chromium.org> To: Joseph Hwang X-Mailer: Apple Mail (2.3693.60.0.1.1) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Joseph, > Add the Bluetooth quality report event in doc/mgmt-api.txt. > > Signed-off-by: Joseph Hwang > --- > > Changes in v3: > - Swap AOSP Bluetooth Quality Report Event and Intel Telemetry Event. > - Add 5 new patches (5/9 - 9/9) to enable the quality report > feature via MGMT_OP_SET_QUALITY_REPORT instead of through the > experimental features. > > Changes in v2: > - This is a new patch for adding the event in doc/mgmt-api.txt > > doc/mgmt-api.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index ebe56afa4..5a32091fa 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -4978,3 +4978,22 @@ Advertisement Monitor Device Lost Event > 2 LE Random > > This event will be sent to all management sockets. > + > + > +Bluetooth Quality Report Event > +============================== so this is on me since I never realized this. You stuck the Bluetooth word in front of the event name since that is also what AOSP calls it. However in mgmt-api.txt we have never added Bluetooth to command or event naming since that is obvious. So lets shorten this and just use “Quality Report Event”. > + > + Event code: 0x0031 > + Controller Index: > + Event Parameters: Quality_Spec (1 Octet) > + Report_Len (2 Octets) > + Report (0-65535 Octets) > + > + This event carries the Bluetooth quality report sent by the > + controller. > + > + Possible values for the Quality_Spec parameter: > + 0 AOSP Bluetooth Quality Report Event > + 1 Intel Telemetry Event > + > + This event will be sent to all management sockets. > — In addition, I prefer to have both command and event changes in a single patch. Regards Marcel