Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4871274pxj; Tue, 25 May 2021 19:34:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4Uc9KoXEVaNW/mpvKUn+ZpL0Ii2+RHb0coI8ZlV43QFBlt/70miaiBY7rxkalrcp/AAMG X-Received: by 2002:a05:6602:90:: with SMTP id h16mr22331429iob.194.1621996498452; Tue, 25 May 2021 19:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621996498; cv=none; d=google.com; s=arc-20160816; b=IZGyJNIKorfFiLI3n08qrSfAzoenEsti+MBuZEALgqpGiW30Ji9K7OZc7/T6vW9Hde e32IfLu+2E1zsbNK/P1IamuIQIWGB1Ow06zgDiELsq2tQB+ZVf9ubrHBAnlXGvM35/EK ONc4zM9pUbghZUf2A3m266TaI60FgX0pF3SkBA8L+KCPzracVjPBkSgWvN/lU9mmZcHA g66QogWVt7RkYcNJ+aBjTgaKMNo0Bd5eIx+JIRCy51ZwqzUYK4XIr1siM8tKdtZnY506 lxgtzIDSleJ9RiW0PLE4+eooEP+8lU9mbpjjpg2RNFyOG5ezi6MzXDOhZuOWVn9wY8f1 xOAA== 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=TRF4jH2app6HW9UnKcph/EuG9lnuMO7gGPGE677/DvgZSVeCAYS7+KiZz9GySTUqpJ TW5pRq5aFduzfAcnmD6M3tbk/EBfzveYIbnYbCXizpWIJbTlBz1J0H5mI8J8Viesphd0 8FJOgMlMFVQbQf2jzHh8wkdGHeu5P3ygZqdEq+bRQti+/jd5Jn8D//m+ZRLFRepmNUGh QKR0orwpF/k8aa9YjeEXwDN/uguDPdUPWH/35mNMSbYtlgYezJ/Co1+aNDUnyqEJzqon HbDskSeHqeiv9YYBQHTXkSiDZkYRDFbT9kJHvfj7h/x7AS8FBqACMLdihXJdoX/7JASU FzhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="s/5qdEWP"; 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 h6si25049291iow.71.2021.05.25.19.34.27; Tue, 25 May 2021 19:34: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="s/5qdEWP"; 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 S229595AbhEZAV6 (ORCPT + 99 others); Tue, 25 May 2021 20:21:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232298AbhEZAV5 (ORCPT ); Tue, 25 May 2021 20:21:57 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A881FC061756 for ; Tue, 25 May 2021 17:20:26 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id x188so24895762pfd.7 for ; Tue, 25 May 2021 17:20:26 -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=s/5qdEWP22e4gj/VUTNg34dzJKmTThSZ7TzvYxhi6PPL952yOpWnIvWW9EP4KmvVGP QC6bdmH38hisY4cL97WyB3JmGpQYgZZa681n4g85iF5A5GgeWzceHVanfvDzWafgHwky sCxH8eROwM3i0RdEIxJ02qQAzLebIdZUj4aP7FqcJWaXWULizoyTOY0svulYKQGKI8Nz Pd62bxciJgarc5R8h33wE/kX4oaFVfnaiGz3ZYpHdrztj4BF+EZ1AiU03N7DqXEd0NNE vMAdn+FA/Bi9EFIl1yQ0+owMj4ZaictAhDlYC+jUJeajjs12NTT1EZQj746rBZ1arkYd X9lQ== 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=qnAxfjo8DwnjE1H8AbiSw3HUf0rili6f7MBMGu6e0PSEyaPtW8M3D27dvyrBI+MjZr yQMaxCaUiI/Mk5o8huE7CdtE9EaVqRpfY+DQ6zYWtx/XNUmZZt5OBHVpl+39yPDkkGaV 2DOvrrPTKvKFBKOhlJxi/v9H4mc0BkfTVcV//yx3wIZkbANI7cwP/D6BWQ65iWGFDdQu Hm5+7g4zA49j8LX8omV2rHzDb2/11domKTW/vc1zvm28pe9hxAj1sRCvHyxoyZqAGsQu UY/y2Vp6RzlOtJmBxunvacWU/xo3Q/k5qHlFj5JjaaGV0Zv77R0i60pM1Kgs2LLBfnq9 HpNg== X-Gm-Message-State: AOAM531PRe2JCMXXqyk5CrulzqTaiJn3fUWC+QUMLRUn0Cg6JkBAHGdM 2ytd23GMJ9QAVd/v457oy9THFjZZ2jfCTA== X-Received: by 2002:a62:1796:0:b029:2d5:91b4:642d with SMTP id 144-20020a6217960000b02902d591b4642dmr32069304pfx.7.1621988425923; Tue, 25 May 2021 17:20:25 -0700 (PDT) Received: from han1-mobl3.hsd1.or.comcast.net ([2601:1c0:6a01:d830::e853]) by smtp.gmail.com with ESMTPSA id t19sm14305726pfq.116.2021.05.25.17.20.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 May 2021 17:20:25 -0700 (PDT) From: Tedd Ho-Jeong An To: linux-bluetooth@vger.kernel.org Subject: [BlueZ PATCH 2/4] lib: Align mgmt header with document Date: Tue, 25 May 2021 17:20:22 -0700 Message-Id: <20210526002024.412237-2-hj.tedd.an@gmail.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210526002024.412237-1-hj.tedd.an@gmail.com> References: <20210526002024.412237-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