summaryrefslogtreecommitdiff
path: root/net/bluetooth/hci_codec.h
diff options
context:
space:
mode:
authorKiran K <kiran.k@intel.com>2021-09-07 13:12:37 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-09-08 00:09:18 +0300
commit8961987f3f5fa2f2618e72304d013c8dd5e604a6 (patch)
tree6d8d2ab3b43b1024d11f82d3f4e3f8d4e8441300 /net/bluetooth/hci_codec.h
parent49d8a5606428ca0962d09050a5af81461ff90fbb (diff)
downloadlinux-8961987f3f5fa2f2618e72304d013c8dd5e604a6.tar.xz
Bluetooth: Enumerate local supported codec and cache details
Move reading of supported local codecs into a separate init function, query codecs capabilities and cache the data Signed-off-by: Kiran K <kiran.k@intel.com> Signed-off-by: Chethan T N <chethan.tumkur.narayan@intel.com> Signed-off-by: Srivatsa Ravishankar <ravishankar.srivatsa@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_codec.h')
-rw-r--r--net/bluetooth/hci_codec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/bluetooth/hci_codec.h b/net/bluetooth/hci_codec.h
new file mode 100644
index 000000000000..efb0df634ac6
--- /dev/null
+++ b/net/bluetooth/hci_codec.h
@@ -0,0 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+/* Copyright (C) 2014 Intel Corporation */
+
+void hci_read_supported_codecs(struct hci_dev *hdev);
+void hci_codec_list_clear(struct list_head *codec_list);