Bluetooth: mgmt: Implement support for passkey notification
This patch adds support for Secure Simple Pairing with devices that have KeyboardOnly as their IO capability. Such devices will cause a passkey notification on our side and optionally also keypress notifications. Without this patch some keyboards cannot be paired using the mgmt interface. Signed-off-by:Johan Hedberg <johan.hedberg@intel.com> Cc: stable@vger.kernel.org Acked-by:
Marcel Holtmann <marcel@holtmann.org> Signed-off-by:
Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Showing
- include/net/bluetooth/hci.h 18 additions, 0 deletionsinclude/net/bluetooth/hci.h
- include/net/bluetooth/hci_core.h 5 additions, 0 deletionsinclude/net/bluetooth/hci_core.h
- include/net/bluetooth/mgmt.h 7 additions, 0 deletionsinclude/net/bluetooth/mgmt.h
- net/bluetooth/hci_event.c 67 additions, 0 deletionsnet/bluetooth/hci_event.c
- net/bluetooth/mgmt.c 17 additions, 0 deletionsnet/bluetooth/mgmt.c
Loading
Please register or sign in to comment