Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2300890pxb; Wed, 9 Feb 2022 15:34:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUXMsy8/aSJc24tXcGKUb76V8zN+J5ccIOkCRO9qg0fDZ6wyL36/MRdU16tCqq9gsI1bcA X-Received: by 2002:a63:2b89:: with SMTP id r131mr3682936pgr.578.1644449694173; Wed, 09 Feb 2022 15:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644449694; cv=none; d=google.com; s=arc-20160816; b=D7UY6xIRD80jIaPYxk+4WlTy14Mg2dHW2MLp39/OmncLMoF45JDIHg5NeyFdTmpHRH pJXmIYFUWg7B6XhM2yxJ2dEsoDWeyaRv+GGiSa/STqETM1goYWf8mM+9UgElME0Y3roV 8o3BXmq9OtB5nwT6LutQdBx/BlwxO5mynoMmD9aF9XXl+f9q/KYjmhYM4F6Sfy550mvg mI5Dax7fzpQovem5xJWBVpisp3Fa0R0FM2D0Vpnl+8U6aoC46ilBupk9dmCArmL4PCS8 c5ml08uFKao28rjSSXzBuolV4wZzmlpK1pJYmifw9/DTKFrwr+XZguVYofSl4wEzrn79 ldyw== 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=yZyyKVyvGG3tRef7QpinTk5bSZdRy6mkhNhyyTnmAgQ=; b=ugvVvH1N81q1xeoJOwgn9OXMblEu9qpg5CJ4N2tyD/9jEmkY/H/yopBSKQOBGJPFkt 03MYs3L0JQVDh+1SuicE/QolNrLltYFVoB0ANwxmY/et6zbYMVFrutRlDL+c6f29Dxki iTcAJuNFL1oY8Nvj15DEMXanNeKxnghwgw+X8jdl56G7oPfuj3JQ/7owPdPo2DELMUcu wkaZw6agmT1VJGaWYl528DgYkqYDPkd6MEDGi3TMeAtSF6s4DccR/i9JhZbS8vN2ru1n 5xohPna3HwsBcbfHt7t2rqkGQ1lxrbBHpUokgZYP+a9TCsBnD9NP6V5cHAFijK7ufwK9 Q19g== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d6si319019pll.363.2022.02.09.15.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 15:34:54 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 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 767F2E08112C; Wed, 9 Feb 2022 15:22:53 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232723AbiBIVEd convert rfc822-to-8bit (ORCPT + 99 others); Wed, 9 Feb 2022 16:04:33 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:54900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232707AbiBIVEc (ORCPT ); Wed, 9 Feb 2022 16:04:32 -0500 Received: from mail.holtmann.org (coyote.holtmann.net [212.227.132.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 226D5C033255 for ; Wed, 9 Feb 2022 13:04:35 -0800 (PST) Received: from smtpclient.apple (p4fefcd07.dip0.t-ipconnect.de [79.239.205.7]) by mail.holtmann.org (Postfix) with ESMTPSA id 47E39CED2D; Wed, 9 Feb 2022 22:04:34 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Subject: Re: [BlueZ PATCH v3 5/9] doc: Introduce the Set Quality Report Command From: Marcel Holtmann In-Reply-To: <20220209092414.751642-3-josephsih@chromium.org> Date: Wed, 9 Feb 2022 22:04:33 +0100 Cc: BlueZ , Luiz Augusto von Dentz , =?utf-8?Q?Pali_Roh=C3=A1r?= , CrosBT Upstreaming , josephsih@google.com Content-Transfer-Encoding: 8BIT Message-Id: <4FDE7909-3225-4B58-B4D3-CE06DE073C51@holtmann.org> References: <20220209092414.751642-1-josephsih@chromium.org> <20220209092414.751642-3-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 Set Quality Report Command in doc/mgmt-api.txt. > > Signed-off-by: Joseph Hwang > --- > > Changes in v3: > - This is a new patch that introduces the Set Quality Report > Command. > > doc/mgmt-api.txt | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 5a32091fa..4ac84d41b 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -332,6 +332,7 @@ Read Controller Information Command > 15 Static Address > 16 PHY Configuration > 17 Wideband Speech > + 18 Quality Report > > This command generates a Command Complete event on success or > a Command Status event on failure. > @@ -2924,6 +2925,7 @@ Read Extended Controller Information Command > 15 Static Address > 16 PHY Configuration > 17 Wideband Speech > + 18 Quality Report > > The EIR_Data field contains information about class of device, > local name and other values. Not all of them might be present. For > @@ -3858,6 +3860,37 @@ Add Advertisement Patterns Monitor With RSSI Threshold Command > Invalid Parameters > > > +Set Quality Report Command > +========================== > + > + Command Code: 0x0057 > + Controller Index: > + Command Parameters: Action (1 Octet) Quality_Report (1 Octet) > + Return Parameters: Current_Settings (4 Octets) > + > + This command is used to enable and disable the controller's quality > + report feature. > + > + This command requires to use a valid controller index. Otherwise, > + an "invalid index" status will be returned. > + > + The parameter "action" can be either 0 to disable the feature or > + 1 to enable the feature. For any values other than 0 and 1, an > + "invalid parameters" status will be returned. > + > + If the driver does not indicate that the controller supports the > + quality report feature, a "not supported" status will be returned. > + > + The command is sent to the controller to enable/disable the quality > + report feature. If the controller failed to execute the action, a > + "failed" status will be returned. > + > + Possible errors: Failed > + Invalid Index > + Invalid Parameters > + Not Supported > + > + You might want to have the description a bit more in line with the others like Set Wideband Speech etc. Regards Marcel