Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4951846pxj; Tue, 25 May 2021 22:14:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyagfiY/Km5eXnDJTgxEl62oW5DkW560sD5IuxUMfNKleYz6G0GLPGhkaK2yyGNAx5BIO/P X-Received: by 2002:a17:906:4d44:: with SMTP id b4mr31191359ejv.306.1622006098587; Tue, 25 May 2021 22:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622006098; cv=none; d=google.com; s=arc-20160816; b=t299Yerql5oDfsX3ZSL2nYGnfkwoQ8bNOfP3/8a39cnx9H7rPqvGU/MgvuLzXxgXAW PqkvFGGquwLRziHyQFB84SfRIvmUgFLvX3E2LqbPF7oez34ApL9Ew5fSyFFV+FtlASgu rDLxT4o+y/B2Vz3YxvGWsrlN516Ci/WPI44LXP+MwmGYA5mJJjxalEnHhdHyPRoSxluK HPLN1HI3V5Go6s07n277u9kOy4zxPQ/gv32Xrjb4pm/iJyjTB8eyX7rBNmoOCjcutzjz D7JmqV+jEZeGL/V69UqUtJ+VQ4QfjHD1UUwI8bwVtnqcj/+Hd9zmKJbT1SsZpTZvTUEn BRaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=H2zwyia3p7d2uxe0ZBO4miRasBmJH8+968BsSYNruX4=; b=KwySL2FGth2uhyo6YB+Hg6tiIBY4cCQKDUbO2ZzKhyxQcslmS8nT+nFz78lsWKwq4e B2zocuPwJvVXkRGXy3pnN1AiFcYjwqV64k90b2rvdB8CjIVV3DN6cce8g2byHHR2+j8j G5m3PoylKBt1zsdc7L99hkVvsRo8sDJz4E9H0/82kNzKuUVSkOFA4htQpBr08UHXPtc6 IxsSGTNxHw3Nt1oNQ3deC01xLsX+Bl2o6Di5LTo12CYYHSbknAsDQIq+5QFQBWYvktX6 wbgiN6zEh+XarjTMluxa2HxNYELu1wsqLrW4gLZmvU9Vx6ROougZLMVLNX2EvzSUNQuH VU+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UX5Wv+u1; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si17293373ejj.215.2021.05.25.22.14.30; Tue, 25 May 2021 22:14:58 -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=@gmail.com header.s=20161025 header.b=UX5Wv+u1; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229553AbhEZFOp (ORCPT + 99 others); Wed, 26 May 2021 01:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbhEZFOo (ORCPT ); Wed, 26 May 2021 01:14:44 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11131C061756 for ; Tue, 25 May 2021 22:13:14 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id q16so36121pls.6 for ; Tue, 25 May 2021 22:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=H2zwyia3p7d2uxe0ZBO4miRasBmJH8+968BsSYNruX4=; b=UX5Wv+u1n8fHxMG7kbR+dwhEgLGL764zJzx8iMvpgX3iKdoXKNXhPkv6ChzWcBWtVt xydigNLBlb7HX1ycNfalyiUDxSxCOHhg9qLJVP55YFZEwuKjEk0g084lv4E29gVyzokK m55XHO0IKJ7yNy3PuWVy3iD0QeQc1HhtgIkZmalL84RbGj5DH8Nmr5Job50CNWqoUWRc 3OdskZ1kk12y/4hJObiNW5EBDRVV7dtnwu6ZGZHe6b2TbbZvTeRSTX7AQWhkPa+6iimo kCte5OknhO8UYq984PY7lrZXoOG7Cev7EgCUDTgBJA8g3LOJjiMZ1H2n2+J7uGMYqXWu DypQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H2zwyia3p7d2uxe0ZBO4miRasBmJH8+968BsSYNruX4=; b=c39k8RF2FSoQzQ8FXxCvCceYvzsQnLuPsT3cmEJI5dKe5S6LaOcJkntGxbrx/KxC6j BQWToUN6DNsKZ6e+VlHpg4f4k5oE5n13iytMvVI3IbX9k/hEZZF/oOsFrrp7a1A/Loce fFKStnnns7HFWoVVitIN/atNW7oiQmJ8Cv4HPru7NMKNw7ME6NBOHgBIk+6hRZSkBYUE 7DYMbapX4raWlQIlnISqjQzKcvMtAiiJlsMTsnfmteRoaAQH+TXv47zjOsbzxY+panJp yfoytB9ZxLlkPZR8Z+aH716okiKNNK98v4t3bYHdzWEOtelEigapwr/IVGuOTGZBXM81 5mEw== X-Gm-Message-State: AOAM5329qeHE8H17sDakwE73UBRdMJhAG+pyQxzlK8X5U46jGXSyLhTG OfdHo1CQiIz3DFCTrG3rdlI+hQD5rpIJHA== X-Received: by 2002:a17:90a:aa0a:: with SMTP id k10mr34879994pjq.33.1622005993460; Tue, 25 May 2021 22:13:13 -0700 (PDT) Received: from han1-mobl3.intel.com ([2601:1c0:6a01:d830::e853]) by smtp.gmail.com with ESMTPSA id h8sm13865944pfv.60.2021.05.25.22.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 22:13:13 -0700 (PDT) From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Subject: [PATCH V2 2/4] lib: Align mgmt header with document Date: Tue, 25 May 2021 22:13:08 -0700 Message-Id: <20210526051310.423630-2-hj.tedd.an@gmail.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210526051310.423630-1-hj.tedd.an@gmail.com> References: <20210526051310.423630-1-hj.tedd.an@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Tedd Ho-Jeong An This patch updates the mgmt header to align with the mgmt api document (doc/mgmt-api.txt) --- lib/mgmt.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/mgmt.h b/lib/mgmt.h index a85f891c5..0a6349321 100644 --- a/lib/mgmt.h +++ b/lib/mgmt.h @@ -1087,11 +1087,13 @@ static const char *mgmt_op[] = { "Set PHY Configuration", "Set Blocked Keys", "Set Wideband Speech", - "Read Security Information", /* 0x0048 */ + "Read Controller Capabilities Information", /* 0x0048 */ "Read Experimental Features Information", "Set Experimental Feature", "Read Default System Configuration", "Set Default System Configuration", + "Read Default Runtime Configuration", + "Set Default Runtime Configuration", "Get Device Flags", "Set Device Flags", /* 0x0050 */ "Read Advertisement Monitor Features", @@ -1143,6 +1145,8 @@ static const char *mgmt_ev[] = { "Extended Controller Information Changed", "PHY Configuration Changed", "Experimental Feature Changed", + "Default System Configuration Changed", /* 0x0028 */ + "Default Runtime Configuration Changed", "Device Flags Changed", "Advertisement Monitor Added", /* 0x002b */ "Advertisement Monitor Removed", @@ -1172,6 +1176,7 @@ static const char *mgmt_status[] = { "Blocked through rfkill", "Already Paired", "Permission Denied", + "Connection Not Established", }; #ifndef NELEM -- 2.26.3