summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-09-23 09:57:20 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-28 18:01:32 -0700
commit1143e5a6d4d69cd36d44e0184769aa2b17041a10 (patch)
treee3fb71220eb08c0c0b03ec7f76655818338643b5 /include/net
parentb4c612a473eb816dff6e5ab6820dff338057aa8d (diff)
downloadlinux-3.10-1143e5a6d4d69cd36d44e0184769aa2b17041a10.tar.gz
linux-3.10-1143e5a6d4d69cd36d44e0184769aa2b17041a10.tar.bz2
linux-3.10-1143e5a6d4d69cd36d44e0184769aa2b17041a10.zip
[Bluetooth] Read local version information on device init
The local version information are needed to identify certain feature sets of devices. They must be read on device init and stored for later use. It is also possible to access them through the device model. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net')
-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 263e42b68e8..7451a9c92d9 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -72,6 +72,9 @@ struct hci_dev {
__u8 type;
bdaddr_t bdaddr;
__u8 features[8];
+ __u8 hci_ver;
+ __u16 hci_rev;
+ __u16 manufacturer;
__u16 voice_setting;
__u16 pkt_type;