Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3175264pxb; Mon, 9 Nov 2020 04:50:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzYklf64DxFlUWAk7SBPqacpMnvd5ntk1SWCYUtA60NJBzhWktWK/0QUAG8W9VlQPIcQgX3 X-Received: by 2002:a17:906:3daa:: with SMTP id y10mr14607719ejh.23.1604926232668; Mon, 09 Nov 2020 04:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604926232; cv=none; d=google.com; s=arc-20160816; b=B5sOVRRNxLP1pKFxTzCzsUsK65WOzRTiyu0NyJvvA6iERtFn74p27u+eYBQpvmSSNZ LmFHUHH9uw/S2FbgJfByRGH4RQc/3jmNtDBIeBPEEeWGswBPZlt1V2I5FpfVbXiohnrw fM+TjWiEsDitge7FYyBe+IMC4GS55H/SoPwHMMwXHFNM3tMQUcPKncbCiZK1/uvdidQ5 wpaJgUTxOnJCO3zsw1Vgadcbpol/3GO2pm9ctFQmNFnQishHE1Q5w0u+IeNyypsalnWx AFdMB1JLcAI/yX4J7fxxKUTaUcrS7W+L3uFFX/eax/I75I97aBoiQ0md3xypH25mVdAJ rt7A== 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=lwRegy21nOlvjR8t7psZZ6kx3St8b82FNnH/1kz9BZE=; b=ho/1krWM8nkYm56PqZ9R4L82/IiH3vwKV4y9tq9s6j0f0URzY93d7kC3aXFEL4H+mB gVNZep4pb+YJ21QhHR2KIqXSnQs36gNRUD3iCdxyLpDm835jYKkF/RMed8XQhndmmabz vMcyqPfjH+BGe4/oxKe6y/TH0wPN8tzm2n80y0PEoPaBSdUlAv011hISZXwpUBflNeK8 bW6rTHhSrE1QGUoVCIKrq30YvnlfdE0Xn5IZ9HKbNViMGggLHtyxlDDHFtZY9731EeNp y3CcOgzXXP58jR9hvbai5L3GiJmLB5J+Q36Rq7L14unpkdwk/IsCNOpWka+VdRaO5zOa 1Y2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si6506179eds.580.2020.11.09.04.50.06; Mon, 09 Nov 2020 04:50:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729174AbgKIMtt convert rfc822-to-8bit (ORCPT + 99 others); Mon, 9 Nov 2020 07:49:49 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:47946 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726410AbgKIMts (ORCPT ); Mon, 9 Nov 2020 07:49:48 -0500 Received: from marcel-macbook.fritz.box (p4fefcf0f.dip0.t-ipconnect.de [79.239.207.15]) by mail.holtmann.org (Postfix) with ESMTPSA id F3DB3CECC6; Mon, 9 Nov 2020 13:56:23 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [Bluez PATCH v6 03/10] doc/mgmt-api: Update controller capabilities MGMT command in mgmt-api From: Marcel Holtmann In-Reply-To: <20201029160317.Bluez.v6.3.Iabfcf7ec8ac293130a7d903ee8094414256799b3@changeid> Date: Mon, 9 Nov 2020 13:49:14 +0100 Cc: Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org Content-Transfer-Encoding: 8BIT Message-Id: <263DCED1-D5D0-4ABD-A6C9-5A4ACA45458E@holtmann.org> References: <20201029230623.3630069-1-danielwinkler@google.com> <20201029160317.Bluez.v6.3.Iabfcf7ec8ac293130a7d903ee8094414256799b3@changeid> To: Daniel Winkler X-Mailer: Apple Mail (2.3608.120.23.2.4) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Daniel, > This patch changes Read Security Info MGMT to be called Read Controller > Capabilities Command > > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: > - mgmt-api: Move Controller Capabilities MGMT doc into new patch > - mgmt-api: Tx Power range put into single capabilities entry > > Changes in v3: None > Changes in v2: None > > doc/mgmt-api.txt | 21 +++++++++++++++------ > 1 file changed, 15 insertions(+), 6 deletions(-) > > diff --git a/doc/mgmt-api.txt b/doc/mgmt-api.txt > index 7c899a8fe..1aa43d6c3 100644 > --- a/doc/mgmt-api.txt > +++ b/doc/mgmt-api.txt > @@ -3110,19 +3110,19 @@ Set Wideband Speech Command > Invalid Index > > > -Read Security Information Command > -================================= > +Read Controller Capabilities Command > +==================================== > > Command Code: 0x0048 > Controller Index: > Command Parameters: > - Return Parameters: Security_Data_Length (2 Octets) > - Security_Data (0-65535 Octets) > + Return Parameters: Capabilities_Data_Length (2 Octets) > + Capabilities_Data (0-65535 Octets) > > - This command is used to retrieve the supported security features > + This command is used to retrieve the supported capabilities > by the controller or the host stack. > > - The Security_Data_Length and Security_Data parameters provide > + The Capabilities_Data_Length and Capabilities_Data parameters provide > a list of security settings, features and information. It uses > the same format as EIR_Data, but with the namespace defined here. > > @@ -3131,6 +3131,7 @@ Read Security Information Command > 0x01 Flags > 0x02 Max Encryption Key Size (BR/EDR) > 0x03 Max Encryption Key Size (LE) > + 0x04 Supported Tx Power (LE) make this “Supported Min/Max TX Power”. Otherwise looks good and ready for Luiz to apply. Regards Marcel