aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-01-10 05:07:17 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2014-02-13 02:51:31 -0500
commiteb4b95c627258f0b5cee6c26c8e478dda6941e2b (patch)
treecdb3131e4dcfd4e164ce34a577507ed9c8122e74 /include/net/bluetooth
parentd5991585d0bc49dca4ff36d18447bb27ad1ccd73 (diff)
Bluetooth: Add HCI command definition for Secure Connections enabling
The Secure Connections feature is optional and host stacks have to manually enable it. This add the HCI command definiton for reading and writing this setting. 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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index cd40219d32aa..2a35d273de2c 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -937,6 +937,17 @@ struct hci_rp_write_sync_train_params {
937 __le16 sync_train_int; 937 __le16 sync_train_int;
938} __packed; 938} __packed;
939 939
940#define HCI_OP_READ_SC_SUPPORT 0x0c79
941struct hci_rp_read_sc_support {
942 __u8 status;
943 __u8 support;
944} __packed;
945
946#define HCI_OP_WRITE_SC_SUPPORT 0x0c7a
947struct hci_cp_write_sc_support {
948 __u8 support;
949} __packed;
950
940#define HCI_OP_READ_LOCAL_VERSION 0x1001 951#define HCI_OP_READ_LOCAL_VERSION 0x1001
941struct hci_rp_read_local_version { 952struct hci_rp_read_local_version {
942 __u8 status; 953 __u8 status;