aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 24dd770d442b..3fcc7f0d08c3 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -129,6 +129,8 @@ struct le_scan_params {
129 int timeout; 129 int timeout;
130}; 130};
131 131
132#define HCI_MAX_SHORT_NAME_LENGTH 10
133
132#define NUM_REASSEMBLY 4 134#define NUM_REASSEMBLY 4
133struct hci_dev { 135struct hci_dev {
134 struct list_head list; 136 struct list_head list;
@@ -141,6 +143,7 @@ struct hci_dev {
141 __u8 dev_type; 143 __u8 dev_type;
142 bdaddr_t bdaddr; 144 bdaddr_t bdaddr;
143 __u8 dev_name[HCI_MAX_NAME_LENGTH]; 145 __u8 dev_name[HCI_MAX_NAME_LENGTH];
146 __u8 short_name[HCI_MAX_SHORT_NAME_LENGTH];
144 __u8 eir[HCI_MAX_EIR_LENGTH]; 147 __u8 eir[HCI_MAX_EIR_LENGTH];
145 __u8 dev_class[3]; 148 __u8 dev_class[3];
146 __u8 major_class; 149 __u8 major_class;