Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2149004ybb; Mon, 30 Mar 2020 00:02:42 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvOBJdzRqJtTvCuwscxjC1G3gUhfyKbPCOYeVc1mpQoqXqm3ST2l55fjwMEc8VZMAUqG/Jz X-Received: by 2002:a05:6830:144e:: with SMTP id w14mr8488369otp.75.1585551762040; Mon, 30 Mar 2020 00:02:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585551762; cv=none; d=google.com; s=arc-20160816; b=Y8sPzAtKpbmz8IxPvidKP3A4I/J7R0ex6WosdSgA0itnv6QW14HvTPFEtFuZMb+zF+ Etopusr6ysRIdldTt+udyFFO5ON/hsr0rvuGj2vsBNLk18OSgepV4GL3VDnZn9rkgPNi 02d8khPzMe8hCdCtKDxInfqzD6qv5drR8YlD8KfJfF8WRYFRO4Eb1XkuFMw9vv5U3pw3 3QwZuIBCErn/04UHVlCHvGs8tB3k15urv5MicnhxlKpIIvKl4i6AN2myXF1NplEyt5V1 4FxBLZZK1/YmhpJam5Bid2Ef9QE/9/vRhYwElltweO5hjRcHykyMBxrRzf/UjVt+URlz nFCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:mime-version :message-id:date:dkim-signature; bh=ke886rB8QIOU962vQZEnZSoXxgI8l/NeMYgG8IAiLgw=; b=JeVkzp9Y5dEHnWtAuilxx4CjjWoMgquXe/ggAnLSEHSwHfNdruOpbzpDS0LW4AXuKs M+Cw11VuUOoTtWdIdaZxgdrIO5sFpHq+d1eV1BVxGyMntuFFfkbUl1G9nzu1G6kUfCxw 5o/icOowh+3zeZ7KlU5xSHlX2z7DUR0Y7h+3qVTn/4viuDXEFOXoKOCSX/c6gnQUYiBu qairqnBCR+VrF8Aco9/YsC25clh0NWxp6Udvl4E9yXD4U8+5WpZycxLQILN52Ceb2qZq gVUUF3Gjjvas9EKewZTXcv1mu/AD3qr2PYz1TThh07lGUKm8jKa2wmbL0SkoU6yhDWDO bxAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YT2dd8fC; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id j18si4688432otk.166.2020.03.30.00.02.16; Mon, 30 Mar 2020 00:02:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=YT2dd8fC; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1729371AbgC3HBo (ORCPT + 99 others); Mon, 30 Mar 2020 03:01:44 -0400 Received: from mail-pj1-f74.google.com ([209.85.216.74]:50337 "EHLO mail-pj1-f74.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728489AbgC3HBo (ORCPT ); Mon, 30 Mar 2020 03:01:44 -0400 Received: by mail-pj1-f74.google.com with SMTP id e8so14032697pjd.0 for ; Mon, 30 Mar 2020 00:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:message-id:mime-version:subject:from:to:cc; bh=ke886rB8QIOU962vQZEnZSoXxgI8l/NeMYgG8IAiLgw=; b=YT2dd8fCaRPhOcu/ec2vGFYtQ8kAGGK5cPUPuj9a5tRQY16Bk0L/5IAB2J3We65oVd U+t8abkHNQRDMgV6gWnsNr/fGYzKu6E/2hDvF3zB88FUh0b8PN5BRdX/ugtpAPDqnjZd oroi0dhXJ08jSpMgZDzfq7Om2YenuXvEV4E2fClSWkFNrc0YEnxQJuNTcia8M4FqBBoA b4OhqRn6a5ondqOh3eQM1jizxcepvnm2xiM15f6ovRNLNkKiN5zv2fGPjgHH7++XiAel fFtXxVl0lB3QM6wxQEswBEUUDI/emKH7R5/JMmC/lxDvuv0Hb0fHLcwqwHaEJP/KnSlN 4RbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=ke886rB8QIOU962vQZEnZSoXxgI8l/NeMYgG8IAiLgw=; b=UR/1EkAf32nAjvARvrTbk9b6qPUsfH1qqVKymgI7FZ3NvJ4wtThIuJCxvku6LkAFvq ly5D6tFGIk7/G0OmV5HRKj5S3MKU9oVhqbjREj/mbIT3HkTmqRWb+1UEvD6LKKMnFI3g SuoBmyDBKNXrAoJWeIrt0uOCV+wysgyoOV2EKO/mITYk7p4C77qGKuA3ogXaFVHrptM5 PrfaFaA5+rVQWEl3oB3kRleJ3w4Lw583/ILUe2NZffLRkFjlo46DnZLfhcwjtih/gM5o +nxijULOsWVy6hVnnKZYEj2VWLigFTcLaGgRC6Kj+B1rxcJm9FgK/w2HS7dTQ2J60wCA HRVA== X-Gm-Message-State: ANhLgQ2NKs2Cf6DIwxZm5Y/OwrWeeiUwSGsJDskmjDXofCX6NxKWA22N +sbnRoEwBe2gzDrNI9Mcfqm6ZByjXTMTYLiZ7c7leFfINMMll4hPBkmvndJAF9muYcl4cWhZGOW 3mQTzFMRwYpgpsiOMCaV0GQZZi5UHX4pyECW58kyRQY0NBKUBVymKo6P8D+81xgfSKAbvXDdokv 1HXGUHFBQ/CGg= X-Received: by 2002:a17:90a:1784:: with SMTP id q4mr14107944pja.111.1585551703216; Mon, 30 Mar 2020 00:01:43 -0700 (PDT) Date: Mon, 30 Mar 2020 15:01:37 +0800 Message-Id: <20200330150033.Bluez.v1.1.I3621733fcf428d49c82b09bfc2bdc7d3b2f7894a@changeid> Mime-Version: 1.0 X-Mailer: git-send-email 2.26.0.rc2.310.g2932bb562d-goog Subject: [Bluez PATCH v1] monitor: Fix missing setting string From: Howard Chung To: linux-bluetooth@vger.kernel.org, luiz.von.dentz@intel.com Cc: chromeos-bluetooth-upstreaming@chromium.org, Howard Chung Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Add wideband speech and phy-configuration to setting string --- monitor/control.c | 2 +- monitor/packet.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/monitor/control.c b/monitor/control.c index 1e9054db3..790890fb4 100644 --- a/monitor/control.c +++ b/monitor/control.c @@ -200,7 +200,7 @@ static const char *settings_str[] = { "powered", "connectable", "fast-connectable", "discoverable", "bondable", "link-security", "ssp", "br/edr", "hs", "le", "advertising", "secure-conn", "debug-keys", "privacy", - "configuration", "static-addr", + "configuration", "static-addr", "phy-configuration", "wide-band-speech", }; static void mgmt_new_settings(uint16_t len, const void *buf) diff --git a/monitor/packet.c b/monitor/packet.c index 994ae6341..3d32563e6 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -11668,6 +11668,7 @@ static const struct bitfield_data mgmt_settings_table[] = { { 14, "Controller Configuration"}, { 15, "Static Address" }, { 16, "PHY Configuration" }, + { 17, "Wideband Speech" }, { } }; -- 2.26.0.rc2.310.g2932bb562d-goog