OSDN Git Service

Bluetooth: Allow querying of supported offload codecs over SCO socket
authorKiran K <kiran.k@intel.com>
Tue, 7 Sep 2021 10:12:40 +0000 (15:42 +0530)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 7 Sep 2021 21:09:18 +0000 (14:09 -0700)
commit248733e87d503e75624a2e95e241f51334fdd320
tree5f1a33e9515ab87e292fd63c16d75e7052f87076
parenta358ef86da458a12e28edacfff5b7f145f888a93
Bluetooth: Allow querying of supported offload codecs over SCO socket

Add BT_CODEC option for getsockopt systemcall to get the details
of offload codecs supported over SCO socket

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
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/sco.c