aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci.h8
-rw-r--r--include/net/bluetooth/hci_core.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index b989a8c3e01a..6846ec02dcb0 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -614,6 +614,14 @@ struct hci_cp_host_buffer_size {
614 614
615#define HCI_OP_WRITE_INQUIRY_MODE 0x0c45 615#define HCI_OP_WRITE_INQUIRY_MODE 0x0c45
616 616
617#define HCI_MAX_EIR_LENGTH 240
618
619#define HCI_OP_WRITE_EIR 0x0c52
620struct hci_cp_write_eir {
621 uint8_t fec;
622 uint8_t data[HCI_MAX_EIR_LENGTH];
623} __packed;
624
617#define HCI_OP_READ_SSP_MODE 0x0c55 625#define HCI_OP_READ_SSP_MODE 0x0c55
618struct hci_rp_read_ssp_mode { 626struct hci_rp_read_ssp_mode {
619 __u8 status; 627 __u8 status;
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 87bff518b54b..3b2f09df279a 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -102,6 +102,7 @@ struct hci_dev {
102 __u8 dev_type; 102 __u8 dev_type;
103 bdaddr_t bdaddr; 103 bdaddr_t bdaddr;
104 __u8 dev_name[HCI_MAX_NAME_LENGTH]; 104 __u8 dev_name[HCI_MAX_NAME_LENGTH];
105 __u8 eir[HCI_MAX_EIR_LENGTH];
105 __u8 dev_class[3]; 106 __u8 dev_class[3];
106 __u8 major_class; 107 __u8 major_class;
107 __u8 minor_class; 108 __u8 minor_class;