aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h11
-rw-r--r--include/net/bluetooth/hci_core.h1
2 files changed, 12 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index 79629ff40e3e..6d0c04a81fc7 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -514,6 +514,17 @@ struct hci_cp_host_buffer_size {
514 __le16 sco_max_pkt; 514 __le16 sco_max_pkt;
515} __attribute__ ((packed)); 515} __attribute__ ((packed));
516 516
517#define HCI_OP_READ_SSP_MODE 0x0c55
518struct hci_rp_read_ssp_mode {
519 __u8 status;
520 __u8 mode;
521} __attribute__ ((packed));
522
523#define HCI_OP_WRITE_SSP_MODE 0x0c56
524struct hci_cp_write_ssp_mode {
525 __u8 mode;
526} __attribute__ ((packed));
527
517#define HCI_OP_READ_LOCAL_VERSION 0x1001 528#define HCI_OP_READ_LOCAL_VERSION 0x1001
518struct hci_rp_read_local_version { 529struct hci_rp_read_local_version {
519 __u8 status; 530 __u8 status;
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 6424d63e3395..b85754e29a78 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -75,6 +75,7 @@ struct hci_dev {
75 __u8 dev_class[3]; 75 __u8 dev_class[3];
76 __u8 features[8]; 76 __u8 features[8];
77 __u8 commands[64]; 77 __u8 commands[64];
78 __u8 ssp_mode;
78 __u8 hci_ver; 79 __u8 hci_ver;
79 __u16 hci_rev; 80 __u16 hci_rev;
80 __u16 manufacturer; 81 __u16 manufacturer;