Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp4399211ybp; Mon, 14 Oct 2019 04:08:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhW5sWMj1AMmqNWlXa+R600iUB+BNd2ujDY1TnvhwtQGPjcMUFwmbKNIY0mG5UhAJ9J/R5 X-Received: by 2002:a17:906:a442:: with SMTP id cb2mr28081655ejb.163.1571051320775; Mon, 14 Oct 2019 04:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571051320; cv=none; d=google.com; s=arc-20160816; b=RBAr1Ji5avsHAnxiS4+W2JI9HZohMq2vVKcJGO4bTV3m4tQjYpdCKNJeZi2R+tO3TO 8IjQ8LkJVaxeYo7jrZSuscn861DBvLFAT85yFlridbgnV8Bx8LokPyuyVq8d8LutGNHT M7egVIf9qSTrR+tIh8Uv9XIQ64SgKz28VlHZRD/NPSUAZqPzVwjknfcFt4aR0Sg/twqQ MMj1MCadSM7na3EwFM659GdkrfHe65fTBFFbZXtg8uOPrATpYmYUIMlCKQQ3S65T7KD9 eascJDGYr/ZXgpAnApchqQo8oJIE25EzMaYOUf4kC59UHbQvKC8BYNHksxot58URw8vO fn+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bYnZXjlD4AnuB2uTefYKDWKoIRW6WJ1wHFGRenjiP5E=; b=U+KdeSUEBC5xDTFrJ3jFyG9GsBj/6CNPBrGZpr9pOCgF3RRzvbIbGYSN+ulzb3hGHS UFQKm4HC0EoT2divlq4TylQ+bWz9uypu3+jiiCtgx+NRkpbnVG1wWXGBR529tI/3ZHQ8 nZ8bpttq2YWuk0+1pzoOx61yxoGTjpjezzmBq5myJ1HZkaP8LD0t/6UdyLfnwKRoM27j nXU6+H42HZcD4Jbc+7hH1P0xzQogtOguf0g9QO7AjaJiNqxCUzqkH8Eu3pr0ukWroPJR wfmfUTUKI7xLTWfTGDqu5wzfG8txUziirLRALCW4XWyn+91/AW0EvdWzD1zYUgeqmwVB aeXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b7qZ8ZCY; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id be13si10319124edb.362.2019.10.14.04.08.16; Mon, 14 Oct 2019 04:08:40 -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=@gmail.com header.s=20161025 header.b=b7qZ8ZCY; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731503AbfJNLHu (ORCPT + 99 others); Mon, 14 Oct 2019 07:07:50 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:55801 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731400AbfJNLHu (ORCPT ); Mon, 14 Oct 2019 07:07:50 -0400 Received: by mail-wm1-f66.google.com with SMTP id a6so16776765wma.5 for ; Mon, 14 Oct 2019 04:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=bYnZXjlD4AnuB2uTefYKDWKoIRW6WJ1wHFGRenjiP5E=; b=b7qZ8ZCYpHVE6UTxPTuO1YFeiGoxdpq8YH5pygxcA/PsX0bG4TMNeWtV5Ch/gE5DS+ JIMM45zXPwZEpshHNy/nzE9G0URnJYlHfEhqSUVhPQjh6eYJsDub234vaTyux+0RhD/G qDhufHDUFgULwZUUpt+7R4TCJeEPpTgUu2RqVRe5oxNYeIUlrumb2PL+63jXhZRrQCUn yYlHPsOgO4sjWMm8jGRw2tX6JlfGz3Uy02M5lx2wbIUMH1A3pE+8A8x92viqkojr+xeP I+MhM8RPKwprGC/RxuWFAm4D40NkACbb/il2qDXBiTrTxDDqbgTbWpNEMgcytS/OXXWf 8Dew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=bYnZXjlD4AnuB2uTefYKDWKoIRW6WJ1wHFGRenjiP5E=; b=HSmOqsFCXyUBTEF+KWarWDIp5Ns0sfk9xysUl1UR53og/8LFf5O8gfnS+lfJZhChYk dvAmgXH/S59vQF0dlTBwly9MtjoP1a/PV2kyAXWNKzQxxIJ5r9gKl0L6UQ9THaQzZoC3 ZQ/uaUlNvj//+/ZgYHDbMoLM8sfTt5VqMNYLURBmwdUXc+q0QKR9W2WgLreDBPP0Y9nC JI0IhyhRZUOsEuQiU6CAA8IliB6ui/XBgDYYTVbQr6r2DEtYmxarcWsAyVSskMecAr0h pisvH42D6KVuzgwUiPSfDTfowvbPcpm44lzHaCwZR/KPk7KtRpFMrVEM/HYox+bpUJjc bxAA== X-Gm-Message-State: APjAAAVoluTw9AS8RElEJPwiNF40oCNz4UqmZqOmPrCHOt6ZrpcZ5gN1 dZ1pz+V+7G/gyIMBDZRLzkyC27kv X-Received: by 2002:a7b:c44f:: with SMTP id l15mr14544314wmi.121.1571051267764; Mon, 14 Oct 2019 04:07:47 -0700 (PDT) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id t123sm30899804wma.40.2019.10.14.04.07.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2019 04:07:47 -0700 (PDT) Date: Mon, 14 Oct 2019 13:07:46 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Marcel Holtmann , Luiz Augusto von Dentz Cc: Pasi =?utf-8?B?S8Okcmtrw6RpbmVu?= , "linux-bluetooth@vger.kernel.org" Subject: Re: [PATCH] tools/hcidump: Decode FastStream, aptX Low Latency, aptX HD and LDAC Message-ID: <20191014110746.n3pmoigtf3ewbmrq@pali> References: <20190123175448.cdkdpnk6i5r4rzjs@pali> <20190130081517.GI32745@reaktio.net> <20190130120631.usx67zjk4kmbhcla@pali> <20190201124353.GK32745@reaktio.net> <20190206114300.rxw3ptq7hzathzqe@pali> <20190224131907.GV32745@reaktio.net> <20190305122630.gwnaz3y7ckzqfjfq@pali> <20190410082924.exo2oihzd7w2oz3e@pali> <20190607130739.j25oqqj624anmcqr@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190607130739.j25oqqj624anmcqr@pali> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Friday 07 June 2019 15:07:39 Pali Rohár wrote: > On Wednesday 10 April 2019 10:29:24 Pali Rohár wrote: > > On Tuesday 05 March 2019 13:26:30 Pali Rohár wrote: > > > On Sunday 24 February 2019 15:19:07 Pasi Kärkkäinen wrote: > > > > On Wed, Feb 06, 2019 at 12:43:00PM +0100, Pali Rohár wrote: > > > > > On Friday 01 February 2019 14:43:53 Pasi Kärkkäinen wrote: > > > > > > Hi, > > > > > > > > > > > > On Wed, Jan 30, 2019 at 02:24:11PM +0200, Luiz Augusto von Dentz wrote: > > > > > > > Hi Pali, Pasi, > > > > > > > On Wed, Jan 30, 2019 at 2:09 PM Pali Rohár wrote: > > > > > > > > > > > > > > > > On Wednesday 30 January 2019 10:15:17 Pasi Kärkkäinen wrote: > > > > > > > > > On Wed, Jan 23, 2019 at 06:54:48PM +0100, Pali Rohár wrote: > > > > > > > > > > On Wednesday 23 January 2019 18:46:18 Marcel Holtmann wrote: > > > > > > > > > > > Hi Pali, > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > > > > > > > tools/parser/avdtp.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++--- > > > > > > > > > > > > 1 file changed, 55 insertions(+), 3 deletions(-) > > > > > > > > > > > > > > > > > > > > > > > > diff --git a/tools/parser/avdtp.c b/tools/parser/avdtp.c > > > > > > > > > > > > index 18569c895..a21410f5a 100644 > > > > > > > > > > > > --- a/tools/parser/avdtp.c > > > > > > > > > > > > +++ b/tools/parser/avdtp.c > > > > > > > > > > > > @@ -155,6 +155,12 @@ static char *vndcodec2str(uint32_t vendor, uint16_t vndcodec) > > > > > > > > > > > > { > > > > > > > > > > > > if (vendor == 0x0000004f && vndcodec == 0x0001) > > > > > > > > > > > > return "aptX"; > > > > > > > > > > > > + else if (vendor == 0x0000000a && vndcodec == 0x0001) > > > > > > > > > > > > + return "FastStream"; > > > > > > > > > > > > + else if (vendor == 0x0000000a && vndcodec == 0x0002) > > > > > > > > > > > > + return "aptX Low Latency"; > > > > > > > > > > > > + else if (vendor == 0x000000d7 && vndcodec == 0x0024) > > > > > > > > > > > > + return "aptX HD"; > > > > > > > > > > > > else if (vendor == 0x0000012d && vndcodec == 0x00aa) > > > > > > > > > > > > return "LDAC"; > > > > > > > > > > > > return "Unknown???; > > > > > > > > > > > > > > > > > > > > > > lets keep the focus on btmon support since nobody should be using hcidump anymore. > > > > > > > > > > > > > > > > > > > > In btmon I already implemented it and patches are now merged. I just > > > > > > > > > > found another place where this capability parsing is implemented and > > > > > > > > > > based on fact that users still use hcidump I quickly looked at it and > > > > > > > > > > implemented this parsing. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I agree, hcidump still comes up on many places (guides, blogs, mailinglist posts, etc), > > > > > > > > > so it makes sense to add these patches to hcidump aswell. Especially when the patch is quite small. > > > > > > > > > > > > > > > > Exactly, people still use hcidump... > > > > > > > > > > > > > > Well it is a deprecated tool which we might remove starting on BlueZ > > > > > > > 6.x which we would like to do in the very next release, if that > > > > > > > doesn't happen than perhaps Id take these patches in for a very last > > > > > > > BlueZ 5.x release. > > > > > > > > > > > > > > @Marcel: Or you have a better plan? We could do one last 5.x and then > > > > > > > start working on removing the deprecated tools/etc. > > > > > > > > > > > > > > > > > > > +1 for doing one last 5.x release before deprecating and removing tools etc! > > > > > > > > > > Ok, what is the plan? If hcidump is not going to be deleted in upcoming > > > > > release, can you take this patch? > > > > > > > > > > > > > How about applying this patch now, considering it's small, and has value for anyone using hcidump. > > > > hcidump then gets removed later whenever the removal of deprecated features/tools starts. > > > > > > So... what are plans for next release? > > > > Marcel, Luiz, can you comment next steps? It is waiting there for your > > info here for more than 2 months. > > PING! Just a gentle reminder for this thread and patch. -- Pali Rohár pali.rohar@gmail.com