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>
Showing
- include/net/bluetooth/hci.h 2 additions, 0 deletionsinclude/net/bluetooth/hci.h
- include/net/bluetooth/hci_core.h 17 additions, 0 deletionsinclude/net/bluetooth/hci_core.h
- include/net/bluetooth/mgmt.h 29 additions, 0 deletionsinclude/net/bluetooth/mgmt.h
- net/bluetooth/hci_core.c 85 additions, 0 deletionsnet/bluetooth/hci_core.c
- net/bluetooth/hci_event.c 51 additions, 0 deletionsnet/bluetooth/hci_event.c
- net/bluetooth/mgmt.c 116 additions, 0 deletionsnet/bluetooth/mgmt.c
Please register or sign in to comment