]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit789a0f881e495c26b5e4db0b96a26d53ac0d2fb8
treeb9caed2156cbb3889526fd639e1599f03666d6af
parent763b8d130e5ab924e574fc3b1af180cb9f55f2b8
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