Bluetooth: Add structures for the new LTK exchange messages
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Mon, 30 Jan 2012 22:29:11 +0000 (19:29 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:30 +0000 (17:01 +0200)
commit27f27ed8f0f7330337297a6dbdb49472dfeef59b
tree5462b7b8f654cbf841051ccfcac13f0d274facd6
parent127074bfa3c11c12e0160437e31b08c6b27412a4
Bluetooth: Add structures for the new LTK exchange messages

This defines two new messages, one event that will inform
userspace that a new Long Term Key was exchanged and one that
will allow userspace to load LTKs into the kernel.

Besides the information necessary for the restablishement of
the secure link, we added some extra information: "authenticated"
that informs if the key can be used to establish an authenticated
link, and "master" that informs the role in that the key should
be used.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h