Bluetooth: Add MITM mechanism to LE-SMP
authorBrian Gix <bgix@codeaurora.org>
Thu, 22 Dec 2011 00:12:12 +0000 (16:12 -0800)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 16:18:59 +0000 (14:18 -0200)
commit2b64d153a0cc9d2b60e47be013cde8490f16e0a5
treeea075313e9f03379ee1313ca230b07dadd937dad
parent371fd83563252f550ce59476a7366d0b5171d316
Bluetooth: Add MITM mechanism to LE-SMP

To achive Man-In-The-Middle (MITM) level security with Low Energy,
we have to enable User Passkey Comparison.  This commit modifies the
hard-coded JUST-WORKS pairing mechanism to support query via the MGMT
interface of Passkey comparison and User Confirmation.

Signed-off-by: Brian Gix <bgix@codeaurora.org>
Acked-by: Marcel Holtmann<marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci_core.h
include/net/bluetooth/smp.h
net/bluetooth/smp.c