Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp841954pxb; Wed, 8 Sep 2021 13:45:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3oJYJ+7o1lLOMcVMYVtSpS4CLjgKY8pr2ZrdaF+80XZLL80gDrKTTBrgU9+LxjlAG01CU X-Received: by 2002:a6b:e616:: with SMTP id g22mr124946ioh.67.1631133904539; Wed, 08 Sep 2021 13:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631133904; cv=none; d=google.com; s=arc-20160816; b=SLIO3RNmKrly4EDSyLq2+wjcGOFghbWLW8cxOJJ1tbzz4s5sN1/ohEBJLDQdMCsybh tb2lZp2Uk7R9VT85uaP+k6CfmMhoUbWLK4HUrXsKIqIziz3o5ss7RjlFK7mLDdbGVeNg 2J2NA+7P3TzTeDIO0qzN2mHa5+iuigdWfdCN9f0phzKov8YBij63oAJuEE3huUtYBmtM 2PkcSIG0LeA03TNDvgAMYQneI5Du7ZKe5+/oQiNhLx6P/QgJDWG/LDKDHtZba5NEIC/a 2NHZQJEo3ReNOzLQ0DJHA7d6lOA5FpGi2cKU4HbewuBV6CFGEWhHEUv4VdZEcu34J1U9 rWwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=7k19pTb/yfCrczNFqdkHBqPXYp1HFLbSb8RodWisZmI=; b=GrjiRB1BtzrykXKvYx7aGYs3iqmT3G6wa5vzuPh03Ik7CdiGZ5fnPfk0BeAc5h2F/G 2mp1C7lYFTDroKnPQ7SNKrjt5eGjyUuAwm8i+uozIDSO8CGOukNDTnoqeaPcl4u5XdfR +pe7z0SBn67BLNKvPK3SP4vQo9qM1prinB1Z95AJDjCFTGEgN6DgD+foqBdFL3ahItoV GWLTYRINWutatVP5EWa22we8/V87Fbngulz9xP1cKLhEqJL43u5bI8PHmtDqxufhJlWw yYo138ljdC6cmBffVOq9RcxVrcWLngXtoghNoyNowh71zpjFC+ZGFVfssyGhrh0di3mu REZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w17si218106jad.70.2021.09.08.13.44.18; Wed, 08 Sep 2021 13:45:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345233AbhIHUiC convert rfc822-to-8bit (ORCPT + 99 others); Wed, 8 Sep 2021 16:38:02 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:33165 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbhIHUiC (ORCPT ); Wed, 8 Sep 2021 16:38:02 -0400 Received: from smtpclient.apple (p5b3d2185.dip0.t-ipconnect.de [91.61.33.133]) by mail.holtmann.org (Postfix) with ESMTPSA id 46058CED13; Wed, 8 Sep 2021 22:36:52 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: [PATCH v1 1/3] Bluetooth: btandroid: Support Android Bluetooth Quality Report From: Marcel Holtmann In-Reply-To: <20210908165017.v1.1.I17f57656757b83a1c0fb4b78525d8aca581725db@changeid> Date: Wed, 8 Sep 2021 22:36:51 +0200 Cc: linux-bluetooth , Luiz Augusto von Dentz , =?utf-8?Q?Pali_Roh=C3=A1r?= , CrosBT Upstreaming , Joseph Hwang , Miao-chen Chou , Johan Hedberg , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <223749E3-DF27-425C-A971-411B314E758A@holtmann.org> References: <20210908165017.v1.1.I17f57656757b83a1c0fb4b78525d8aca581725db@changeid> To: Joseph Hwang X-Mailer: Apple Mail (2.3654.120.0.1.13) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Joseph, > Add the btandroid.c file to support Android BQR commands. > > This module may be referenced by btusb, btrtl, and hci_qca when a > Bluetooth controller supports the Android Bluetooth Quality Report. > > Reviewed-by: Miao-chen Chou > Signed-off-by: Joseph Hwang > --- > > drivers/bluetooth/Makefile | 1 + > drivers/bluetooth/btandroid.c | 106 ++++++++++++++++++++++++++++++++++ > drivers/bluetooth/btandroid.h | 10 ++++ > 3 files changed, 117 insertions(+) > create mode 100644 drivers/bluetooth/btandroid.c > create mode 100644 drivers/bluetooth/btandroid.h so please lets not do this. Nothing AOSP specific belongs into drivers/bluetooth/. Doing this multitudes of dependencies for the drivers will cause long term so much pain and complexity that it is not worth it. If more than one manufacturer supports it, it has earned the right to be in net/bluetooth/ as a pseudo standard. Like with the MSFT extensions, I expect this to be in net/bluetooth/aosp.c and enabled based on hci_set_aosp_capable() being set by a driver or not. And I choose “aosp” for prefix on purpose and not “android”. Regards Marcel