Bluetooth: Implement link key handling for the management interface
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 17 Jan 2011 12:41:05 +0000 (14:41 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:07 +0000 (01:40 -0200)
commit55ed8ca10f3530de8edbbf138acb50992bf5005b
tree3145b2b995758b2cb64493fc8ec29e63d0e9f0b4
parent1aff6f09491f454d4cd9f405c783fa5e9d3168a0
Bluetooth: Implement link key handling for the management interface

This patch adds a management commands to feed the kernel with all stored
link keys as well as remove specific ones or all of them. Once the
load_keys command has been called the kernel takes over link key
replies. A new_key event is also added to inform userspace of newly
created link keys that should be stored permanently.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
include/net/bluetooth/mgmt.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c