Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp673211ybb; Fri, 3 Apr 2020 09:43:14 -0700 (PDT) X-Google-Smtp-Source: APiQypJL7mpg70oXcZn0uYE/TMF1V50PC5ZCJNIDM2c3q0aXupj9CYEIObqLjqMwR9briQXuo5/b X-Received: by 2002:aca:4c12:: with SMTP id z18mr3642695oia.43.1585932194216; Fri, 03 Apr 2020 09:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585932194; cv=none; d=google.com; s=arc-20160816; b=PdL6jSn23nC+U4SbhHGzST+SKtQ6/wuzRe7Ye+nJ+Qjhhg8aoLOp1e1u+T5Ve1WgTM vOR6Qei3/WYelnErr2eEQBWH6iX/33441zk4xeQraf0sjBaEEaYJceB9N0MVHLqShKZH GMooV3t5GxIoq/AgfDEoanoJGqqzyFdjyBoGcKzY0Rxx8U4/2oLG9UUSb0BRChASbqB+ Qp4PcF3rpc0QOQhej11l7IUWhAm4VGKLyDqhqk7KtPhedr93Ut3o0b281DNHnYW0flyG BVmJRrh0eShGa1rSb6Kdv+oqTSl0lt5JTXpVgswJCePBYEnmfGO9UPHsmYoW+J0/ZnlC O3EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CXq6eAsioQAHzuUMLgfWLgX11AMwnh5dZTSt1roKCvM=; b=RGCaK7hhrmIj+bYmUuBw//in/rL/xxoTfjYSPauNR7uVwLOx5KHRmwunFb0m8WjxHQ 7v2ORRkWc8hhcpvXnYdcdWiuhhZKCEOI90aZgLcW6hh+BeSz01lpH7q1FTFlWIREyor7 aVhC97FHmQSGX6dfDWBwBKkhduyAh4l4E6NfVDXy3ku+ZCzxshbDNUt1Z5gv+t4+sEVc Gft3rmbP3xhgMHRawmkcRHWlSfkrEQB3ytzVR21PhxG0CQL0chHJpCcsAcGAiFZAQiqe aNbqw0dqIxeF69pMhANTBxZn2y52OB7DW6GX+z7OgCS6kN2rX3fkUzjx8jXUjdfMk31Y 5Y7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=UedtGkEx; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l10si2952170oie.80.2020.04.03.09.42.44; Fri, 03 Apr 2020 09:43:14 -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=@chromium.org header.s=google header.b=UedtGkEx; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404255AbgDCQll (ORCPT + 99 others); Fri, 3 Apr 2020 12:41:41 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:44310 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728381AbgDCQlk (ORCPT ); Fri, 3 Apr 2020 12:41:40 -0400 Received: by mail-ot1-f66.google.com with SMTP id a49so7857878otc.11 for ; Fri, 03 Apr 2020 09:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CXq6eAsioQAHzuUMLgfWLgX11AMwnh5dZTSt1roKCvM=; b=UedtGkExr3krIQuo11dA4DNSihmW16zNt6wZWIWBYhnaiwmV/zKCIn2S/qts4WV9VF wNHky82DbYRUCdtm+ZpwoIiJS/382es1t5uir+VKSjfHHqufn3ilg0+tIBjrddlokW8B CHvoFhx7ENQJX9JAxHiowKLAHRPn72e30HIgQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CXq6eAsioQAHzuUMLgfWLgX11AMwnh5dZTSt1roKCvM=; b=kXbDlvS5ybp1SN6p0S1hBaG7xsNdWUapArYScmCtKgAtTnwX+KgyiB0GG/0q8Fw8dE Xp4VHBAi9D5BBrLQnfPgY/h2uUvVxP7ixYJqW+cQ0mvQB3nxJEzi78KLl2nM/OUywS2h WUZBsDrWQ5k3NHoQsUW0Ng1oxO6Qyf6sH0pmWVAJ602EeondGxTRcC/eDUiMwe+J8hTw 2PfarcHI6DVlBJuNcwYwlkSdzlDYt574GoxyG42mymtzNgpa7mk5NMDfd+mVSN9ApSd3 5S/oSRVwxSQJF1KPW4roeKbrPWmYfv0oPWkrWsuf9cK2gbeItfLiUz23sHeYlRzPebWy 5ASA== X-Gm-Message-State: AGi0PubSxTZcTdJkmm3LqaNlcYwIkt6EGU3JD77MKsJQgdAk63eGqpzv CHeniWnNPQtJvDN9IRtyCjqf173dCjS5tzqeOn/24A== X-Received: by 2002:a4a:9813:: with SMTP id y19mr7416223ooi.56.1585932099548; Fri, 03 Apr 2020 09:41:39 -0700 (PDT) MIME-Version: 1.0 References: <20200331003355.14614-1-sonnysasaka@chromium.org> <7CA6DAE1-09E7-4CEC-BA78-E8C4E104D92E@holtmann.org> In-Reply-To: <7CA6DAE1-09E7-4CEC-BA78-E8C4E104D92E@holtmann.org> From: Sonny Sasaka Date: Fri, 3 Apr 2020 09:41:28 -0700 Message-ID: Subject: Re: [PATCH] tools/hciattach_ath3k: Load BT board data based on country code To: Marcel Holtmann Cc: BlueZ , yixiang@google.com, Zhifeng Cai 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 Hi Marcel, Thanks for your feedback. I will take note of this deprecation plan. For now, Chromium OS can have a local patch to accomplish this and in the future we will migrate to serdev instead of hciattach. On Fri, Apr 3, 2020 at 6:53 AM Marcel Holtmann wrote: > > Hi Sonny, > > > BT board data file PS_ASIC-.pst is loaded based > > on country code. If not exist, default BT board data file > > PS_ASIC.pst would be loaded. > > > > This patch doesn't define how to get the country code at the moment, but > > future patches can supply the country code in the region parameter of > > get_ps_file_name. > > --- > > tools/hciattach_ath3k.c | 32 +++++++++++++++++++++++--------- > > 1 file changed, 23 insertions(+), 9 deletions(-) > > while we can fix parts of hciattach, but I rather remove that tool at some point. > > Do you still require it with serdev kernel support? I mean all UART based Bluetooth controllers should be handled via serdev. > > Regards > > Marcel >