aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-09 17:21:16 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 17:01:37 +0200
commitb1078ad0be344e7bec6e7991f33df17565d24e08 (patch)
tree959a51367996856bcb0be46a7712bde0b2225a8f /include/net/bluetooth/mgmt.h
parentBluetooth: Fix mgmt_unpair_device command status (diff)
downloadlinux-dev-b1078ad0be344e7bec6e7991f33df17565d24e08.tar.xz
linux-dev-b1078ad0be344e7bec6e7991f33df17565d24e08.zip
Bluetooth: Add Device Unpaired mgmt event
This patch add a new Device Unpaired mgmt event. This will be sent to all mgmt sockets except the one that requested unpairing (that socket will get a command complete instead). The event is also reserved for future SMP updates where a remote device will be able to request pairing revocation from us. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 17bbf8bf04ae..5b5edeed59e2 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -412,3 +412,8 @@ struct mgmt_ev_device_blocked {
struct mgmt_ev_device_unblocked {
struct mgmt_addr_info addr;
} __packed;
+
+#define MGMT_EV_DEVICE_UNPAIRED 0x0016
+struct mgmt_ev_device_unpaired {
+ struct mgmt_addr_info addr;
+} __packed;