diff options
author | Kiran K <kiran.k@intel.com> | 2021-09-07 12:12:37 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-09-07 23:09:18 +0200 |
commit | 8961987f3f5fa2f2618e72304d013c8dd5e604a6 (patch) | |
tree | 6d8d2ab3b43b1024d11f82d3f4e3f8d4e8441300 /net/bluetooth/hci_codec.h | |
parent | Bluetooth: fix init and cleanup of sco_conn.timeout_work (diff) | |
download | linux-8961987f3f5fa2f2618e72304d013c8dd5e604a6.tar.xz linux-8961987f3f5fa2f2618e72304d013c8dd5e604a6.zip |
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.h | 6 |
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); |