aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-12-08 00:21:05 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2010-12-07 22:59:54 -0200
commitc02178d22b3ef2d18c38c96151600ee1c7ed94f0 (patch)
treea375c07e3977dcf295edb65bf404820e8af305c9 /include/net/bluetooth/hci.h
parentff2109f5f94ff75f45e0c8d2d1d56fefdf20733f (diff)
downloadkernel_samsung_smdk4412-c02178d22b3ef2d18c38c96151600ee1c7ed94f0.zip
kernel_samsung_smdk4412-c02178d22b3ef2d18c38c96151600ee1c7ed94f0.tar.gz
kernel_samsung_smdk4412-c02178d22b3ef2d18c38c96151600ee1c7ed94f0.tar.bz2
Bluetooth: Add Bluetooth Management interface definitions
Add initial definitions for the new Bluetooth Management interface to the bluetooth headers. Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/hci.h')
-rw-r--r--include/net/bluetooth/hci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index f3c5ed6..29a7a8c 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -934,9 +934,13 @@ static inline struct hci_sco_hdr *hci_sco_hdr(const struct sk_buff *skb)
struct sockaddr_hci {
sa_family_t hci_family;
unsigned short hci_dev;
+ unsigned short hci_channel;
};
#define HCI_DEV_NONE 0xffff
+#define HCI_CHANNEL_RAW 0
+#define HCI_CHANNEL_CONTROL 1
+
struct hci_filter {
unsigned long type_mask;
unsigned long event_mask[2];