Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3967654pxj; Tue, 15 Jun 2021 12:27:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+Ga2m/tUUCgbEzG+hYPY1Ih6KDPnbsEfblQxGi/AHszd4er77JyT9/3Q7Io20xDsL9GaO X-Received: by 2002:a92:d3c5:: with SMTP id c5mr772581ilh.155.1623785249163; Tue, 15 Jun 2021 12:27:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623785249; cv=none; d=google.com; s=arc-20160816; b=jFuwyWn8GXzjIrqgRjNboPklgLs2V9pGlS/1T/HiLjKqKNYic6/Q252RFc3uKOrQh2 kPqJ1D0wZg9EuUAa2zOaiRLjhx36CBLJs4vi95jtDGt39ZjD1Nh/FPUlR9vOR5c6e1o7 BS8POGcN4K2H4PASWb33zff6ZOaj3/fOw7XTb4ALy+v5T/sXOjPkiO/YSBX27ff5jDX6 geUB1RPzupbTOTuLeCUqIrJlyJGBLhCQClRynjJnmDAftRv1jllxmUDHntewY2FoDWUj 9yM8U6aHrf84MYBZC8sX98Ia1vB6qEPtRtLQTeUmVIjNA5hVc367jOLZFLZG1LP8+3XF UuZg== 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=6HGBwXX01BC17h/NKE8YO6p6Hp4mArOcBAXWNkIxmgU=; b=MDA3W/uJjatPxu/dP6gG7zYpxlSGBNFQVOSlZsVroRMsGVLCSNzxiq30JRuFOyqIQB yBHmM1pDIvMfgvY8MB0NQU5XiSL6VvXP1OtLxsa71SPAeJ7/B0S2VIRrBAscpPTSKFqG oCPMqkhDBQK0iGwCbgxGzA0VZLWkhJN5PSpcosxjuJGjuwyKpZ+1JwMEPsHUFy1G1VZY n2L7oO9V3+iIeO7a3Ln6yG2GVPMy1syccY8umKNtftKVDCYDqTQrdWJdGR4/o/p1V9Gl jLCY8AzpHH6/OxyRmTbd9gjSW61NzrMkSuvVWpQMkUc9j/L+bgMKztC9wEItC9KppMpf Y0ww== 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 y16si22081254jat.77.2021.06.15.12.27.15; Tue, 15 Jun 2021 12:27:29 -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 S229951AbhFOT2k convert rfc822-to-8bit (ORCPT + 99 others); Tue, 15 Jun 2021 15:28:40 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:52760 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbhFOT2j (ORCPT ); Tue, 15 Jun 2021 15:28:39 -0400 Received: from smtpclient.apple (p4fefc9d6.dip0.t-ipconnect.de [79.239.201.214]) by mail.holtmann.org (Postfix) with ESMTPSA id C50C8CECFB; Tue, 15 Jun 2021 21:34:33 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: [PATCH v9 03/10] Bluetooth: Add a callback function to retireve data path From: Marcel Holtmann In-Reply-To: <20210608122455.19583-3-kiran.k@intel.com> Date: Tue, 15 Jun 2021 21:26:32 +0200 Cc: linux-bluetooth@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <3C9F25C0-3122-4208-938A-3C3094E018BA@holtmann.org> References: <20210608122455.19583-1-kiran.k@intel.com> <20210608122455.19583-3-kiran.k@intel.com> To: Kiran K X-Mailer: Apple Mail (2.3654.100.0.2.22) Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Kiran, > There is no standard HCI command to retrieve data path for transport. > Add a new callback function to retrieve data path which is used > in offload usecase. This needs to be set at setup stage if controller > supports offload codecs > > Signed-off-by: Kiran K > Reviewed-by: Chethan T N > Reviewed-by: Srivatsa Ravishankar > --- > * changes in v9: > - define a separate patch for core changes > > include/net/bluetooth/hci_core.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h > index 3284044c3dd7..641477396da3 100644 > --- a/include/net/bluetooth/hci_core.h > +++ b/include/net/bluetooth/hci_core.h > @@ -617,6 +617,7 @@ struct hci_dev { > int (*set_bdaddr)(struct hci_dev *hdev, const bdaddr_t *bdaddr); > void (*cmd_timeout)(struct hci_dev *hdev); > bool (*prevent_wake)(struct hci_dev *hdev); > + int (*get_data_path)(struct hci_dev *hdev); > }; and where is the code using hdev->get_data_path. That code needs to be in this patch. Regards Marcel