Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2571676ybz; Sun, 3 May 2020 04:15:17 -0700 (PDT) X-Google-Smtp-Source: APiQypKlDOSNzbAmO/8Yq1d/olx4hjMinsGHwrwpAm6EZRxEQamEFbCbtBTl4+kboB4aRnJ7Zbp6 X-Received: by 2002:aa7:c609:: with SMTP id h9mr10252268edq.250.1588504517239; Sun, 03 May 2020 04:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588504517; cv=none; d=google.com; s=arc-20160816; b=zPkGT9KAOoFAiNpJmfC+PlYwSyEAe/Iw0QR8sDJQ3DzxcCJRkKgaq0bcyICp1SxoC4 1hwLTiFfT+be7Nb3qSi7aQPgmeBS43DZs9ARYj7e1BgiRNb5cA12RwYmLWTA9OZSpHP1 /31eJbTXg0XL4Wj+LRzlX53JqngZpZ0h9QHqJV/lJNbuHUprXv2A6x8KnZYYk3tHTKIB V0j4AfxaOgAUb4gKnyHcWxI6QnVNS8DXvCVButVZPrzUStWayDBA5bxifBz6UbrbU2CX jhWAuUg1eYa6PTsACYostEC5YXCIgqDIKCV+xWSdDE2T5MkXTlCj3mNbdCot2RV5uOW8 3a8Q== 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=QoVSWXfZUCE93XQIECHhttzGovBOub4Mz3Bf9LhzXrk=; b=BGP6M6gARQZ1KtDt+5o7ry5kTDRzjZWFokONUAtcJuqGobb3yl9CkSUIFpgxVpAaRa tYEv9JvQeCNEUiVb55HsxB/O5T7DuufIjHBoJk4+k6HdMQQzwGfcqW0Xg6qVloUq+YF/ F4ZV+FE/LO9/FDZvzxUidyfCmtGrnJyMwD8XPJNhi1pU6BHkSZQ/RRycthr1pQNBOB4M cs4xe/LGMDj590I/O8cIg0LLX5wBXGj00tAQAkLMXfw7hvT+bSfz6fzAvJC9pjbLPp5d LHzZ1XN8f0QYZHTz7ubZ3Y8+NPDHNxVN5LWE0eXFjD7Av9F4RLcpVDgFOpWvAcgkJK70 XWhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GrIc4ULd; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk4si5440909ejb.529.2020.05.03.04.14.53; Sun, 03 May 2020 04:15:17 -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=@kernel.org header.s=default header.b=GrIc4ULd; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbgECLOw (ORCPT + 99 others); Sun, 3 May 2020 07:14:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:57860 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727023AbgECLOw (ORCPT ); Sun, 3 May 2020 07:14:52 -0400 Received: from pali.im (pali.im [31.31.79.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4BD2D20757; Sun, 3 May 2020 11:14:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588504491; bh=EFrX7o2sXcwiJ+UqvRUJ5cTx3AnX0Gs275oZUtpjLmc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GrIc4ULd7vT5k3x+MvICFedViJH9JQslAu032W9ByX8KSUHSp4elV285a7EODa2+e ErwN0GUjl5b9p/K/WIW+F/ie1Ed2FsxvldWhtcM9wwuPCaEdoOyRgxSVUM5fG3SNv+ 4Jl+x1F2BzMibvjiNLU+kpKgwLnKgltIVYXjFwMg= Received: by pali.im (Postfix) id 7B6A8A1E; Sun, 3 May 2020 13:14:49 +0200 (CEST) Date: Sun, 3 May 2020 13:14:49 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: linux-bluetooth@vger.kernel.org Cc: Pasi =?utf-8?B?S8Okcmtrw6RpbmVu?= , Luiz Augusto von Dentz Subject: Re: [PATCH] tools/hcidump: Decode FastStream, aptX Low Latency, aptX HD and LDAC Message-ID: <20200503111449.k6ugzpaitbv5mggs@pali> References: <20190201124353.GK32745@reaktio.net> <20190206114300.rxw3ptq7hzathzqe@pali> <20190224131907.GV32745@reaktio.net> <20190305122630.gwnaz3y7ckzqfjfq@pali> <20190410082924.exo2oihzd7w2oz3e@pali> <20190607130739.j25oqqj624anmcqr@pali> <20191014110746.n3pmoigtf3ewbmrq@pali> <20200209130532.4evozfyutikzwn4a@pali> <20200414230015.5ndqz5k5kx5vakj4@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200414230015.5ndqz5k5kx5vakj4@pali> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On Wednesday 15 April 2020 01:00:15 Pali Rohár wrote: > On Sunday 09 February 2020 14:05:32 Pali Rohár wrote: > > On Monday 14 October 2019 13:07:46 Pali Rohár wrote: > > > 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. > > > > > > > Ping, another reminder. > > Ping, could you please give us information what is the state of this > tool and a linked patch? Ping again, I have not got any reply for this patch for more then year. Patch can be still cleanly applied on top of git master branch.