Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Bluetooth subsystem configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig BT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | tristate "Bluetooth subsystem support" |
Marcel Holtmann | 1a09718 | 2009-06-14 15:21:25 +0200 | [diff] [blame] | 7 | depends on NET && !S390 |
| 8 | depends on RFKILL || !RFKILL |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 9 | select CRC16 |
Randy Dunlap | daf4ce8 | 2011-06-22 10:08:11 -0700 | [diff] [blame] | 10 | select CRYPTO |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 11 | select CRYPTO_BLKCIPHER |
| 12 | select CRYPTO_AES |
Johan Hedberg | 407cecf | 2014-05-02 14:19:47 +0300 | [diff] [blame] | 13 | select CRYPTO_CMAC |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 14 | select CRYPTO_ECB |
Andrei Emeltchenko | 5a34918 | 2012-09-27 17:26:18 +0300 | [diff] [blame] | 15 | select CRYPTO_SHA256 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | help |
| 17 | Bluetooth is low-cost, low-power, short-range wireless technology. |
| 18 | It was designed as a replacement for cables and other short-range |
| 19 | technologies like IrDA. Bluetooth operates in personal area range |
| 20 | that typically extends up to 10 meters. More information about |
| 21 | Bluetooth can be found at <http://www.bluetooth.com/>. |
| 22 | |
| 23 | Linux Bluetooth subsystem consist of several layers: |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 24 | Bluetooth Core |
| 25 | HCI device and connection manager, scheduler |
| 26 | SCO audio links |
| 27 | L2CAP (Logical Link Control and Adaptation Protocol) |
| 28 | SMP (Security Manager Protocol) on LE (Low Energy) links |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | HCI Device drivers (Interface to the hardware) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | RFCOMM Module (RFCOMM Protocol) |
| 31 | BNEP Module (Bluetooth Network Encapsulation Protocol) |
| 32 | CMTP Module (CAPI Message Transport Protocol) |
| 33 | HIDP Module (Human Interface Device Protocol) |
| 34 | |
| 35 | Say Y here to compile Bluetooth support into the kernel or say M to |
| 36 | compile it as module (bluetooth). |
| 37 | |
| 38 | To use Linux Bluetooth subsystem, you will need several user-space |
Gustavo F. Padovan | a0019bc | 2011-02-07 19:15:43 -0200 | [diff] [blame] | 39 | utilities like hciconfig and bluetoothd. These utilities and updates |
| 40 | to Bluetooth kernel modules are provided in the BlueZ packages. For |
| 41 | more information, see <http://www.bluez.org/>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | |
Marcel Holtmann | 65efd2b | 2014-11-02 03:32:25 +0100 | [diff] [blame] | 43 | config BT_BREDR |
| 44 | bool "Bluetooth Classic (BR/EDR) features" |
| 45 | depends on BT |
| 46 | default y |
Alexander Aring | 9755088 | 2014-03-04 10:23:02 +0100 | [diff] [blame] | 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | source "net/bluetooth/rfcomm/Kconfig" |
| 49 | |
| 50 | source "net/bluetooth/bnep/Kconfig" |
| 51 | |
| 52 | source "net/bluetooth/cmtp/Kconfig" |
| 53 | |
| 54 | source "net/bluetooth/hidp/Kconfig" |
| 55 | |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame^] | 56 | config BT_HS |
| 57 | bool "Bluetooth High Speed (HS) features" |
| 58 | depends on BT_BREDR |
| 59 | default y |
| 60 | |
Marcel Holtmann | 65efd2b | 2014-11-02 03:32:25 +0100 | [diff] [blame] | 61 | config BT_LE |
| 62 | bool "Bluetooth Low Energy (LE) features" |
| 63 | depends on BT |
| 64 | default y |
| 65 | |
| 66 | config BT_6LOWPAN |
| 67 | tristate "Bluetooth 6LoWPAN support" |
| 68 | depends on BT_LE && 6LOWPAN |
| 69 | help |
| 70 | IPv6 compression over Bluetooth Low Energy. |
| 71 | |
Marcel Holtmann | ee48529 | 2014-12-29 20:48:35 -0800 | [diff] [blame] | 72 | config BT_SELFTEST |
| 73 | bool "Bluetooth self testing support" |
| 74 | depends on BT && DEBUG_KERNEL |
| 75 | help |
| 76 | Run self tests when initializing the Bluetooth subsystem. This |
| 77 | is a developer option and can cause significant delay when booting |
| 78 | the system. |
| 79 | |
| 80 | When the Bluetooth subsystem is built as module, then the test |
| 81 | cases are run first thing at module load time. When the Bluetooth |
| 82 | subsystem is compiled into the kernel image, then the test cases |
| 83 | are run late in the initcall hierarchy. |
| 84 | |
Johan Hedberg | 0b6415b | 2014-12-29 20:48:36 -0800 | [diff] [blame] | 85 | config BT_SELFTEST_ECDH |
| 86 | bool "ECDH test cases" |
| 87 | depends on BT_LE && BT_SELFTEST |
| 88 | help |
| 89 | Run test cases for ECDH cryptographic functionality used by the |
| 90 | Bluetooth Low Energy Secure Connections feature. |
| 91 | |
Johan Hedberg | 0a2b0f0 | 2014-12-30 09:50:39 +0200 | [diff] [blame] | 92 | config BT_SELFTEST_SMP |
| 93 | bool "SMP test cases" |
| 94 | depends on BT_LE && BT_SELFTEST |
| 95 | help |
| 96 | Run test cases for SMP cryptographic functionality, including both |
| 97 | legacy SMP as well as the Secure Connections features. |
| 98 | |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 99 | config BT_DEBUGFS |
| 100 | bool "Export Bluetooth internals in debugfs" |
| 101 | depends on BT && DEBUG_FS |
| 102 | default y |
| 103 | help |
| 104 | Provide extensive information about internal Bluetooth states |
| 105 | in debugfs. |
| 106 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 107 | source "drivers/bluetooth/Kconfig" |