Bluetooth: SMP: Add support for Secure Connection Only Mode

This patch introduce new Kconfig option that is used to indicate if
device should operate in Secure Connection Only Mode. Enabling this
option removes support for LE Legacy Pairing.

Change-Id: If224b6786f4c840959fe87a31f0224bc1e21f90e
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-12-08 16:59:19 +01:00 committed by Anas Nashif
commit f80deda9d2
5 changed files with 74 additions and 5 deletions

View file

@ -129,6 +129,16 @@ config BLUETOOTH_SIGNING
help
This option enables data signing which is used for transferring
authenticated data in an unencrypted connection.
config BLUETOOTH_SMP_SC_ONLY
bool "Secure Connections Only Mode"
default n
help
This option enables support for Secure Connection Only Mode. In this
mode device shall only use Security Mode 1 Level 4 with exception
for services that only require Security Mode 1 Level 1 (no security).
Security Mode 1 Level 4 stands for authenticated LE Secure Connections
pairing with encryption. Enabling this option disables legacy pairing.
endif # BLUETOOTH_SMP
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL