Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4376013ioa; Wed, 27 Apr 2022 02:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWRlwlXXZWrO9wE/0DwlyFPjhZFOcRyq6a682qENyxHgpqI0LInD9/3BA9ZeJKtDXVYDkv X-Received: by 2002:a17:902:d4cc:b0:15d:5246:e4de with SMTP id o12-20020a170902d4cc00b0015d5246e4demr2270592plg.68.1651051300739; Wed, 27 Apr 2022 02:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651051300; cv=none; d=google.com; s=arc-20160816; b=ViGJDwD1aJO0BgbrHXiQ54IXYkDjgYpj1svB5Z0/iO5K4d9KRgz0CLiA6kZEkO9p5w VV1ZYBNdhzAnolwL1xy4STGI/ivTUyAPwEd4FKuP3nmVN3Yti0gPbunYhecaLyvRFZNU tPwBuqRbDDOfD7ddcKkLTP3CsalQJjRfT7ZgatpDhz076NoBibj016s6QCzeGQH4S4O9 d4qUGILAQbGpGjy/zF1W0AIIEk0MbLxC1MTS13jj0dHCsYG/GE4SieY+9a6nw9HS1MfF NHAMA+RjWOMsKaqKkRg/eof/hNyFMmJyGqffTV+2+sI6iZuQ86Kuy1tIwfPg6cFBnOiO xR5w== 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=Upa4p2fK0/wqfCCgaMpeFcUQl2tIIqKk2ieT4fuRaVM=; b=S4Nk/C0kFq1eIsIEzvehhZJlMXOyOSNgIFs/ld42TOrnp2hJCMd9aPaGCrJlhtzSxa HvzzoM/J0tb6ehRL4F+y0Zx0rj+98CbxEgXbETu6TLZ0QAJA2ehtRVT5X7DBrcuMmFOW t3gg4GForhcDWxFRzlm7D4Qq4Z2oPOaCrcDo52DkYl75jeYUXeUjFMuL5sYAfgIyBDvC +cGVvro35grmaQ2UzJ4GFtwvGp+CTSqKRGi5oxeDpE81s+jTcK1ZGUxCTJtXKPwZ7HER HYSeBfjW3bsmIEPk2R/OlEaxkV+NDu8+doVt2CubVI2z2+U2A1b92Szht2XlfnwG7cFU DVqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EG8ACBZv; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id h2-20020a170902f54200b0015828270c4csi1299776plf.193.2022.04.27.02.21.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 02:21:40 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=EG8ACBZv; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DD3AC230D39; Wed, 27 Apr 2022 02:07:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355993AbiDZXHD (ORCPT + 99 others); Tue, 26 Apr 2022 19:07:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355994AbiDZXHB (ORCPT ); Tue, 26 Apr 2022 19:07:01 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A19778C7DE for ; Tue, 26 Apr 2022 16:03:52 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id f2so314255ioh.7 for ; Tue, 26 Apr 2022 16:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Upa4p2fK0/wqfCCgaMpeFcUQl2tIIqKk2ieT4fuRaVM=; b=EG8ACBZvYOJUEhFPqF7JamjJZyvLrh3A5+0WsZ+ubImCtzxFUNbMNjKntNT/XKmiRK DAM4twuPTSC7sadQVqyOXhSNhMe2ZimRkcWmaKkIJdP6vx7cwabrxwkFkcWB8FCRgke4 k67uv+K6CjWTcfA28mLJFPjaRU+u3YLV+AuJ0ZLONL/QCCYXOQq413YQ7qnHAd/nrRWA 76jytvt0Vg5G5BKDjlGGLJhUAkUTDeJhtfaOxfR4vV/cmLcAcpX61f2c6GY+5TIaMMV2 KWltZxDdmcz/KQZd8ALiUChEzgnw2pxLh4sI3bcgqIsXBoZsHXQbxboAnCleG6ArsxH2 pg6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Upa4p2fK0/wqfCCgaMpeFcUQl2tIIqKk2ieT4fuRaVM=; b=PNjYbgbXXwoMvXZAl6VeeWZJm/o/mz38m4jHE76lrUnnkrzFSUvvs/sUnggmJtuS0L jrOk2SzpeCPMSJzDMp3s7P9X7r+l8zYAPT2H4W3tKyrjYnGOCD8PJKNdnVM8j9B3DwZH u5TfITlxkvgGwLBgMesALib5EwQatQnlZe/4A0PWzqFGR3+3SW/gGrVXn8oOW7l4VcMQ L+uSmNtsCDSHcllmES6I1ASCWc0Afeodk6Fjm7a3B+6WFkV5CpizLxB6JicJvoJUGK4v uExPU22CkwXxS/JXegw6vNZ+2L3NDBqQ48xb4lPQzB+Gia/x6XagCXZUH+nf8RoLb2Pr aKJw== X-Gm-Message-State: AOAM531qvJatYj2vFz1gBrb3afIpJUDmXryHxS1Q0tesgZRdz4AUokXI akYIugNeo6XUj8pSWbuVUQ24kZspxmY= X-Received: by 2002:a05:6638:24d6:b0:323:cda4:170d with SMTP id y22-20020a05663824d600b00323cda4170dmr11009789jat.269.1651014231806; Tue, 26 Apr 2022 16:03:51 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-56-157-77.hsd1.or.comcast.net. [71.56.157.77]) by smtp.gmail.com with ESMTPSA id m16-20020a056e020df000b002ccc1d58ca5sm8437194ilj.54.2022.04.26.16.03.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Apr 2022 16:03:51 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 4/4] btmon: Fix not decoding LC3 id Date: Tue, 26 Apr 2022 16:03:47 -0700 Message-Id: <20220426230347.857783-4-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220426230347.857783-1-luiz.dentz@gmail.com> References: <20220426230347.857783-1-luiz.dentz@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Luiz Augusto von Dentz This enablind decoding LC3 codec id (0x06). --- monitor/packet.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/monitor/packet.c b/monitor/packet.c index 9d7677bb1..d409e4e63 100644 --- a/monitor/packet.c +++ b/monitor/packet.c @@ -1337,6 +1337,9 @@ static void print_codec_id(const char *label, uint8_t codec) case 0x05: str = "mSBC"; break; + case 0x06: + str = "LC3"; + break; case 0xff: str = "Vendor specific"; break; -- 2.35.1