]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Allow setting of codec for HFP offload use case
authorKiran K <kiran.k@intel.com>
Tue, 7 Sep 2021 10:12:42 +0000 (15:42 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 7 Sep 2021 21:09:18 +0000 (14:09 -0700)
commit54297918a38c0794a4d40f8922028b830531b8b4
treeeb9cef3800da1e8221bb4bb4cf1dedee2bd5970c
parent52223c6706109c670fb32e9cf6a3b08c1a644bba
Bluetooth: Allow setting of codec for HFP offload use case

This patch allows user space to set the codec that needs to
be used for HFP offload use case. The codec details are cached and
the controller is configured before opening the SCO connection.

Signed-off-by: Kiran K <kiran.k@intel.com>
Reviewed-by: Chethan T N <chethan.tumkur.narayan@intel.com>
Reviewed-by: Srivatsa Ravishankar <ravishankar.srivatsa@intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
include/net/bluetooth/bluetooth.h
net/bluetooth/sco.c