Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp501742ybb; Fri, 3 Apr 2020 06:54:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLMSGPrsPgvc+gFbdT+z0ayRXhkvPK3LBO/kUJO4kR5HxAFp0tJPuOow0VNdxcKL9uhIaBx X-Received: by 2002:a9d:3a62:: with SMTP id j89mr5968075otc.45.1585922057219; Fri, 03 Apr 2020 06:54:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585922057; cv=none; d=google.com; s=arc-20160816; b=HgyMvMLNrOMlp/2EDXbaZChZL7cOZ36fE74xPUD0C7+rn+N/yF1RYlXllVaACSt+xL gtSL8TNOn5AgCtkm4f9tgVHLtqJuZpYIErs/jrfAaJnqnY9CWEJ7FAVDK3fLsycN6XG1 1FD4zYUaWm/bc6VECR5aBaDB5HylMNevTh4XhVr3R5y3Hh7J9WdSwh1btUagLPN8PJkW eQKXBi3aHlWE93wQj8GVwduGxpUCG1nPoqq7nMptwjd6gxf0L+PAD435I4E1fFRKMDUJ rNq53CL+ap8qb/Z17sFk8ule+q6crsPFtn0WGzv9YiAtmSjzQW/FMo6HRJYgNM5JQYXG XKcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=Kc0XdIIHEOBtluViwxbqe3ohqSCtGoH8W2xeUVq3IkU=; b=peviTJC7Kcv1ivwIHkKj4cuztnqOsozlOhHyR8iVch1F4Zw5S9H9iRQijBnsv9EGy5 voLlVZ5hYt+P+tsEDKezl9O/y6addG+JtSZS/2N7oODtnx9abShXZLb3ZW5qeI4H+VSU AoPvci+3NSFvhebXudiFduyNFuR5lbRuGBqIDsYEla71q3mD/zpJ1qslvbPDsbeErXCa EHPVcw9HL1qpVwtG9y0QxDaQe3mPyWqGs3AXgsJASSjaA0AXhk+VN53WUODIhvQ+gVbM byW/NCIVdNBELkovufGwcw873fNQK1GyfID3g3pBod3qosCosKAy/KfT07+8LYk2HS78 YYiA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u136si3325252oif.197.2020.04.03.06.54.04; Fri, 03 Apr 2020 06:54:17 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728023AbgDCNx1 convert rfc822-to-8bit (ORCPT + 99 others); Fri, 3 Apr 2020 09:53:27 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:51486 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390930AbgDCNx1 (ORCPT ); Fri, 3 Apr 2020 09:53:27 -0400 Received: from marcel-macpro.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id B74C8CECFF; Fri, 3 Apr 2020 16:02:59 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: [PATCH] tools/hciattach_ath3k: Load BT board data based on country code From: Marcel Holtmann In-Reply-To: <20200331003355.14614-1-sonnysasaka@chromium.org> Date: Fri, 3 Apr 2020 15:53:25 +0200 Cc: linux-bluetooth@vger.kernel.org, yixiang@google.com, caiz@google.com Content-Transfer-Encoding: 8BIT Message-Id: <7CA6DAE1-09E7-4CEC-BA78-E8C4E104D92E@holtmann.org> References: <20200331003355.14614-1-sonnysasaka@chromium.org> To: Sonny Sasaka X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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