mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Bluetooth: Configure codec for HFP offload use case
For HFP offload use case, codec needs to be configured before opening SCO connection. This patch sends HCI_CONFIGURE_DATA_PATH command to configure doec before opening SCO connection. Signed-off-by: Kiran K <kiran.k@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
b2af264ad3
commit
9798fbdee8
5 changed files with 64 additions and 0 deletions
|
@ -101,6 +101,8 @@ void __hci_req_update_class(struct hci_request *req);
|
|||
/* Returns true if HCI commands were queued */
|
||||
bool hci_req_stop_discovery(struct hci_request *req);
|
||||
|
||||
int hci_req_configure_datapath(struct hci_dev *hdev, struct bt_codec *codec);
|
||||
|
||||
static inline void hci_req_update_scan(struct hci_dev *hdev)
|
||||
{
|
||||
queue_work(hdev->req_workqueue, &hdev->scan_update);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue