OSDN Git Service

Bluetooth: Configure codec for HFP offload use case
authorKiran K <kiran.k@intel.com>
Tue, 7 Sep 2021 10:12:44 +0000 (15:42 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 7 Sep 2021 21:09:18 +0000 (14:09 -0700)
commit9798fbdee88a893758f1432efdfe498ae410aab8
treeb9caed2156cbb3889526fd639e1599f03666d6af
parentb2af264ad3af437238c9500aa830ebcafb180e05
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>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_conn.c
net/bluetooth/hci_request.c
net/bluetooth/hci_request.h