linux/include/net/bluetooth
Mikel Astiz f0d6a0ea33 Bluetooth: mgmt: Add device disconnect reason
MGMT_EV_DEVICE_DISCONNECTED will now expose the disconnection reason to
userland, distinguishing four possible values:

	0x00	Reason not known or unspecified
	0x01	Connection timeout
	0x02	Connection terminated by local host
	0x03	Connection terminated by remote host

Note that the local/remote distinction just determines which side
terminated the low-level connection, regardless of the disconnection of
the higher-level profiles.

This can sometimes be misleading and thus must be used with care. For
example, some hardware combinations would report a locally initiated
disconnection even if the user turned Bluetooth off in the remote side.

Signed-off-by: Mikel Astiz <mikel.astiz@bmw-carit.de>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2012-08-21 14:54:40 -03:00
..
a2mp.h Bluetooth: A2MP: Manage incoming connections 2012-06-05 06:34:14 +03:00
bluetooth.h Bluetooth: /proc/net/ entries for bluetooth protocols 2012-08-06 15:02:58 -03:00
hci_core.h Bluetooth: mgmt: Add device disconnect reason 2012-08-21 14:54:40 -03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Add more HCI error codes 2012-08-21 14:54:39 -03:00
l2cap.h Bluetooth: Free the l2cap channel list only when refcount is zero 2012-08-06 15:02:58 -03:00
mgmt.h Bluetooth: mgmt: Add device disconnect reason 2012-08-21 14:54:40 -03:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
smp.h Bluetooth: trivial: Fix mixing spaces and tabs in smp 2012-08-06 15:02:55 -03:00