Hi Marcel, > 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 <kiran.k@xxxxxxxxx> > > Reviewed-by: Chethan T N <chethan.tumkur.narayan@xxxxxxxxx> > > Reviewed-by: Srivatsa Ravishankar <ravishankar.srivatsa@xxxxxxxxx> > > --- > > * 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. In the previous patchset, there was a comment to separate out driver and core changes. Let me know if I am missing something here. https://patchwork.kernel.org/project/bluetooth/patch/20210518104232.5431-3-kiran.k@xxxxxxxxx/ > > Regards > > Marcel Regards, Kiran