summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-23 19:24:56 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-23 20:34:06 +0300
commit109e3191935a77d123375f045e719b164fa471aa (patch)
tree55e3699ac7816508e83e054cdd3420a9fb49628a /include/net/bluetooth
parent32333edb82fb2009980eefc5518100068147ab82 (diff)
downloadop-kernel-dev-109e3191935a77d123375f045e719b164fa471aa.zip
op-kernel-dev-109e3191935a77d123375f045e719b164fa471aa.tar.gz
Bluetooth: Read list of local codecs supported by the controller
If the Bluetooth controller supports Read Local Supported Codecs command, then issue it during initialization so that the list of codecs is known. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/hci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index f0a3d88..5d30919 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -1074,6 +1074,8 @@ struct hci_rp_read_data_block_size {
__le16 num_blocks;
} __packed;
+#define HCI_OP_READ_LOCAL_CODECS 0x100b
+
#define HCI_OP_READ_PAGE_SCAN_ACTIVITY 0x0c1b
struct hci_rp_read_page_scan_activity {
__u8 status;
OpenPOWER on IntegriCloud