aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-01-25 01:19:58 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-02-08 01:40:06 -0200
commitd5859e22cd40b73164b3e5d8d5d796f96edcc6af (patch)
tree6a5fa908020f59dd8b6dd94eb042f4a0634d1e20 /include/net/bluetooth/hci_core.h
parentd83506003608910d24d5ace9ec06ad1bfd9ad110 (diff)
downloadkernel_samsung_smdk4412-d5859e22cd40b73164b3e5d8d5d796f96edcc6af.zip
kernel_samsung_smdk4412-d5859e22cd40b73164b3e5d8d5d796f96edcc6af.tar.gz
kernel_samsung_smdk4412-d5859e22cd40b73164b3e5d8d5d796f96edcc6af.tar.bz2
Bluetooth: Implement a more complete adapter initialization sequence
Using the managment interface means that user space doesn't need to do any HCI command sending at all. This patch moves the remaining initialization commands from user space to the kernel side. The patch makes use of the new feature of __hci_request which allows the request to be dynamically modified while it is ongoing (something that is needed to react appropriately to the local features and the version of the adapter). Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 0dbdcc5..71a3fbf 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -91,7 +91,9 @@ struct hci_dev {
__u8 ssp_mode;
__u8 hci_ver;
__u16 hci_rev;
+ __u8 lmp_ver;
__u16 manufacturer;
+ __le16 lmp_subver;
__u16 voice_setting;
__u16 pkt_type;