Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp860021pxk; Thu, 1 Oct 2020 16:05:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfyMn/okqICIN0eY9f+bhq8A2xMCUP7xPasfWd1xaYTFkpAJ2CbFVgCEHoi/Q+67Vs3yZI X-Received: by 2002:a50:d7d8:: with SMTP id m24mr1232225edj.388.1601593550553; Thu, 01 Oct 2020 16:05:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601593547; cv=none; d=google.com; s=arc-20160816; b=QlmtfgwAONNUwJoTjvDvc+quLyFtBKqaz3Am9eFKDbXmU9ByhZ7TsPgaf5kA9FMVcd 49+8rxnOzyqK/1f/D/1lqkDuFeS5G4/c1WryAomZGzSqzeNCPbG9BcrU9SekISeDByiQ hmhmfU2YMYf1SIeAeVDoVh/BEc8ZqUBmwDeFoohqN4Ymi3wRZIl4vyqjFL0/WpoorvTp PMYK/WZo/oIEzECHE7/8r1n+gjHajWs7IM3uCxpOMvZs70czUvDu1GOeCfiIUGjv3u55 J6X+1f3owB/9ndCAuIAryp7uVSS+VsYvoUoXctl5DxWl5eOe4IvARWafU9Y69JYWV8U/ Spsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:sender:dkim-signature; bh=ELyHh4E4M/qxzihfQVWNiDRPB3NtJ1mBapDQ1W8rXwI=; b=j/ZT9/+OL+6DaINNbRFRW1wz4nSHvzfeubrAB+LLG+OOB5nnNYJO2ceM4qt8F7pSdI KaLza1hEJWuYpr06bnjzh6y8bkkAGr/1etkRC1u3P3TBSWAxyaDdvHG1yNye1BjSDWrw Yy77o7nmNw4yBlRlx6q5/JkQwaMMMAdwAo0XlSdigV20oQsnqtOlAMG2ep6Iw8MiPNTY 2qZEu1F2J/Phv1pFr7NWYAdWhCkkM/Qfi5oE0j/y9ECrg/FFSxq41xYSwoqHvoee69fu OX0YlVKe2eVOFbX80KQdKIQI3cP86fyUedK7Fu/RyEDAnwbAUbsdgSt/77tpRIVmGJzx xtSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=I8yct7oM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cq11si4701518edb.63.2020.10.01.16.05.24; Thu, 01 Oct 2020 16:05:47 -0700 (PDT) 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; dkim=pass header.i=@google.com header.s=20161025 header.b=I8yct7oM; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733140AbgJAXCF (ORCPT + 99 others); Thu, 1 Oct 2020 19:02:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728090AbgJAXCF (ORCPT ); Thu, 1 Oct 2020 19:02:05 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD366C0613D0 for ; Thu, 1 Oct 2020 16:02:04 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id a7so500297ybq.22 for ; Thu, 01 Oct 2020 16:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=ELyHh4E4M/qxzihfQVWNiDRPB3NtJ1mBapDQ1W8rXwI=; b=I8yct7oM2cYMB1yX8bgUsFfd1SKjZf5n8DHVK+APzYy4OUB/JemHHvwVye4BiYTEy3 JIqJf/qihtL8895KQIDhZOxIJ6khimtPStxUUd/7rLGz16lbzYjkasGOqHP6EHwvxOBD ZHa0TX2abvSIUah7vk5nk0oKoirlFAN1aSoksEGhXZ6sxK8h12dhlv80ayBRt9xW0WsL IiROnDZdcNK/TNuYtUR6za4CU02q8pZN7CcVGELYmvU0QfIBr5Kwhl8vXNaQXYrOtMPB QXr5mhkaT4d9UdOJXdu1583cEDqJBi/fm3dsZ5pfh2uaQIrmhdS1C+gfN7C85503BK6L mETA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=ELyHh4E4M/qxzihfQVWNiDRPB3NtJ1mBapDQ1W8rXwI=; b=oNcebsvxO4jY+f84pZ75MAgUsTdi/I5Y9LsqDoUxUNA+6ZBTvgD3zXbwpyRHpi+jd2 o7DsLX0T5mzWC2WsydxHFaikiC+GLXIp0mOzC1cmwWVE6wTIse4bnSP+p678osqDLpQx Ir2ZEXvk3SbB+n+nVs5+drGL31RwysW9L7jlbkUTvWRhulx/xsoyV2MwGjjQ4P+BUxbO 4O6KFoj3f2Efdp26i8KD8i9hmBVqb43WKu9Z9pjqRZVuOsjh+OJRhlnlqYyb9vECFw+s ljvv65rMvJm8IohkPwb3mCnAnXKpVcvsnOBT28vtueXrNl8y4FQZ9iFe0r4BW5zw4fC9 2sSg== X-Gm-Message-State: AOAM530lezal+CNcukf+/kHkCh0wTCjfpxOxMMasZEz74QjzvX1VD3vo 1nl+m7DRlmDQy4VwbgKckh+24ndxuH8X4z2t5+IE Sender: "danielwinkler via sendgmr" X-Received: from danielwinkler-linux.mtv.corp.google.com ([2620:15c:202:201:f693:9fff:fef4:4e59]) (user=danielwinkler job=sendgmr) by 2002:a05:6902:705:: with SMTP id k5mr15288510ybt.63.1601593324066; Thu, 01 Oct 2020 16:02:04 -0700 (PDT) Date: Thu, 1 Oct 2020 16:01:45 -0700 In-Reply-To: <20201001230152.2422908-1-danielwinkler@google.com> Message-Id: <20201001155738.Bluez.v4.3.Iabfcf7ec8ac293130a7d903ee8094414256799b3@changeid> Mime-Version: 1.0 References: <20201001230152.2422908-1-danielwinkler@google.com> X-Mailer: git-send-email 2.28.0.709.gb0816b6eb0-goog Subject: [Bluez PATCH v4 03/10] doc/mgmt-api: Update controller capabilities MGMT command in mgmt-api From: Daniel Winkler To: luiz.von.dentz@intel.com Cc: linux-bluetooth@vger.kernel.org, chromeos-bluetooth-upstreaming@chromium.org, Daniel Winkler Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch changes Read Security Info MGMT to be called Read Controller Capabilities Command --- 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) Flags (data type 0x01) @@ -3146,6 +3147,14 @@ Read Security Information Command present, then it is unknown what the max encryption key size of the controller or host is in use. + Supported LE Tx Power (data type 0x04) + + When present, this 2-octet field provides the min and max + LE Tx power supported by the controller, respectively, as + reported by the LE Read Transmit Power HCI command. If this + field is not available, it indicates that the LE Read + Transmit Power HCI command was not available. + This command generates a Command Complete event on success or a Command Status event on failure. -- 2.28.0.709.gb0816b6eb0-goog