2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# Bluetooth subsystem configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig BT
|
|
|
|
tristate "Bluetooth subsystem support"
|
2009-06-14 17:21:25 +04:00
|
|
|
depends on NET && !S390
|
|
|
|
depends on RFKILL || !RFKILL
|
2011-12-21 07:32:09 +04:00
|
|
|
select CRC16
|
2011-06-22 21:08:11 +04:00
|
|
|
select CRYPTO
|
2011-12-21 07:32:09 +04:00
|
|
|
select CRYPTO_BLKCIPHER
|
|
|
|
select CRYPTO_AES
|
2014-05-02 15:19:47 +04:00
|
|
|
select CRYPTO_CMAC
|
2011-12-21 07:32:09 +04:00
|
|
|
select CRYPTO_ECB
|
2012-09-27 18:26:18 +04:00
|
|
|
select CRYPTO_SHA256
|
2005-04-17 02:20:36 +04:00
|
|
|
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:
|
2011-12-21 07:32:09 +04:00
|
|
|
Bluetooth Core
|
|
|
|
HCI device and connection manager, scheduler
|
|
|
|
SCO audio links
|
|
|
|
L2CAP (Logical Link Control and Adaptation Protocol)
|
|
|
|
SMP (Security Manager Protocol) on LE (Low Energy) links
|
2005-04-17 02:20:36 +04:00
|
|
|
HCI Device drivers (Interface to the hardware)
|
|
|
|
RFCOMM Module (RFCOMM Protocol)
|
|
|
|
BNEP Module (Bluetooth Network Encapsulation Protocol)
|
|
|
|
CMTP Module (CAPI Message Transport Protocol)
|
|
|
|
HIDP Module (Human Interface Device 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
|
2011-02-08 00:15:43 +03:00
|
|
|
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/>.
|
2005-04-17 02:20:36 +04:00
|
|
|
|
2014-11-02 05:32:25 +03:00
|
|
|
config BT_BREDR
|
|
|
|
bool "Bluetooth Classic (BR/EDR) features"
|
|
|
|
depends on BT
|
|
|
|
default y
|
2014-03-04 13:23:02 +04:00
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source "net/bluetooth/rfcomm/Kconfig"
|
|
|
|
|
|
|
|
source "net/bluetooth/bnep/Kconfig"
|
|
|
|
|
|
|
|
source "net/bluetooth/cmtp/Kconfig"
|
|
|
|
|
|
|
|
source "net/bluetooth/hidp/Kconfig"
|
|
|
|
|
2015-07-24 12:12:55 +03:00
|
|
|
config BT_HS
|
|
|
|
bool "Bluetooth High Speed (HS) features"
|
|
|
|
depends on BT_BREDR
|
|
|
|
default y
|
|
|
|
|
2014-11-02 05:32:25 +03:00
|
|
|
config BT_LE
|
|
|
|
bool "Bluetooth Low Energy (LE) features"
|
|
|
|
depends on BT
|
|
|
|
default y
|
|
|
|
|
|
|
|
config BT_6LOWPAN
|
|
|
|
tristate "Bluetooth 6LoWPAN support"
|
|
|
|
depends on BT_LE && 6LOWPAN
|
|
|
|
help
|
|
|
|
IPv6 compression over Bluetooth Low Energy.
|
|
|
|
|
2014-12-30 07:48:35 +03:00
|
|
|
config BT_SELFTEST
|
|
|
|
bool "Bluetooth self testing support"
|
|
|
|
depends on BT && DEBUG_KERNEL
|
|
|
|
help
|
|
|
|
Run self tests when initializing the Bluetooth subsystem. This
|
|
|
|
is a developer option and can cause significant delay when booting
|
|
|
|
the system.
|
|
|
|
|
|
|
|
When the Bluetooth subsystem is built as module, then the test
|
|
|
|
cases are run first thing at module load time. When the Bluetooth
|
|
|
|
subsystem is compiled into the kernel image, then the test cases
|
|
|
|
are run late in the initcall hierarchy.
|
|
|
|
|
2014-12-30 07:48:36 +03:00
|
|
|
config BT_SELFTEST_ECDH
|
|
|
|
bool "ECDH test cases"
|
|
|
|
depends on BT_LE && BT_SELFTEST
|
|
|
|
help
|
|
|
|
Run test cases for ECDH cryptographic functionality used by the
|
|
|
|
Bluetooth Low Energy Secure Connections feature.
|
|
|
|
|
2014-12-30 10:50:39 +03:00
|
|
|
config BT_SELFTEST_SMP
|
|
|
|
bool "SMP test cases"
|
|
|
|
depends on BT_LE && BT_SELFTEST
|
|
|
|
help
|
|
|
|
Run test cases for SMP cryptographic functionality, including both
|
|
|
|
legacy SMP as well as the Secure Connections features.
|
|
|
|
|
2015-02-15 00:40:06 +03:00
|
|
|
config BT_DEBUGFS
|
|
|
|
bool "Export Bluetooth internals in debugfs"
|
|
|
|
depends on BT && DEBUG_FS
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
Provide extensive information about internal Bluetooth states
|
|
|
|
in debugfs.
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
source "drivers/bluetooth/Kconfig"
|