![Vinicius Costa Gomes](/assets/img/avatar_default.png)
This will allow using the crypto subsystem for encrypting data. As SMP (Security Manager Protocol) is implemented almost entirely on the host side and the crypto module already implements the needed methods (AES-128), it makes sense to use it. There's now a new module option to enable/disable SMP support. Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org> Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
70 lines
2.2 KiB
Plaintext
70 lines
2.2 KiB
Plaintext
#
|
|
# Bluetooth subsystem configuration
|
|
#
|
|
|
|
menuconfig BT
|
|
tristate "Bluetooth subsystem support"
|
|
depends on NET && !S390
|
|
depends on RFKILL || !RFKILL
|
|
help
|
|
Bluetooth is low-cost, low-power, short-range wireless technology.
|
|
It was designed as a replacement for cables and other short-range
|
|
technologies like IrDA. Bluetooth operates in personal area range
|
|
that typically extends up to 10 meters. More information about
|
|
Bluetooth can be found at <http://www.bluetooth.com/>.
|
|
|
|
Linux Bluetooth subsystem consist of several layers:
|
|
Bluetooth Core (HCI device and connection manager, scheduler)
|
|
HCI Device drivers (Interface to the hardware)
|
|
SCO Module (SCO audio links)
|
|
L2CAP Module (Logical Link Control and Adaptation Protocol)
|
|
RFCOMM Module (RFCOMM Protocol)
|
|
BNEP Module (Bluetooth Network Encapsulation Protocol)
|
|
CMTP Module (CAPI Message Transport Protocol)
|
|
HIDP Module (Human Interface Device Protocol)
|
|
SMP Module (Security Manager Protocol)
|
|
|
|
Say Y here to compile Bluetooth support into the kernel or say M to
|
|
compile it as module (bluetooth).
|
|
|
|
To use Linux Bluetooth subsystem, you will need several user-space
|
|
utilities like hciconfig and bluetoothd. These utilities and updates
|
|
to Bluetooth kernel modules are provided in the BlueZ packages. For
|
|
more information, see <http://www.bluez.org/>.
|
|
|
|
if BT != n
|
|
|
|
config BT_L2CAP
|
|
bool "L2CAP protocol support"
|
|
select CRC16
|
|
select CRYPTO
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AES
|
|
select CRYPTO_ECB
|
|
help
|
|
L2CAP (Logical Link Control and Adaptation Protocol) provides
|
|
connection oriented and connection-less data transport. L2CAP
|
|
support is required for most Bluetooth applications.
|
|
|
|
Also included is support for SMP (Security Manager Protocol) which
|
|
is the security layer on top of LE (Low Energy) links.
|
|
|
|
config BT_SCO
|
|
bool "SCO links support"
|
|
help
|
|
SCO link provides voice transport over Bluetooth. SCO support is
|
|
required for voice applications like Headset and Audio.
|
|
|
|
endif
|
|
|
|
source "net/bluetooth/rfcomm/Kconfig"
|
|
|
|
source "net/bluetooth/bnep/Kconfig"
|
|
|
|
source "net/bluetooth/cmtp/Kconfig"
|
|
|
|
source "net/bluetooth/hidp/Kconfig"
|
|
|
|
source "drivers/bluetooth/Kconfig"
|
|
|