summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg2010-12-13 20:07:07 +0100
committerGustavo F. Padovan2010-12-23 01:58:00 +0100
commitc71e97bfaadfa727669fcfcf12301744fd169091 (patch)
tree0a0a04dee5ec1aa16ef1a6e67a78a0d5a03c14c2 /include/net/bluetooth/mgmt.h
parentBluetooth: Add read_info management command (diff)
downloadkernel-qcow2-linux-c71e97bfaadfa727669fcfcf12301744fd169091.tar.gz
kernel-qcow2-linux-c71e97bfaadfa727669fcfcf12301744fd169091.tar.xz
kernel-qcow2-linux-c71e97bfaadfa727669fcfcf12301744fd169091.zip
Bluetooth: Add management events for controller addition & removal
This patch adds Bluetooth Management interface events for controller addition and removal. The events correspond to the existing HCI_DEV_REG and HCI_DEV_UNREG stack internal events. 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/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 70985aacc14b..ca29c1367ffd 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -75,3 +75,13 @@ struct mgmt_ev_controller_error {
__le16 index;
__u8 error_code;
} __packed;
+
+#define MGMT_EV_INDEX_ADDED 0x0004
+struct mgmt_ev_index_added {
+ __le16 index;
+} __packed;
+
+#define MGMT_EV_INDEX_REMOVED 0x0005
+struct mgmt_ev_index_removed {
+ __le16 index;
+} __packed;