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 |
Salvatore Benedetto | 58771c1c | 2017-04-24 13:13:20 +0100 | [diff] [blame] | 16 | select CRYPTO_ECDH |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | help |
| 18 | Bluetooth is low-cost, low-power, short-range wireless technology. |
| 19 | It was designed as a replacement for cables and other short-range |
| 20 | technologies like IrDA. Bluetooth operates in personal area range |
| 21 | that typically extends up to 10 meters. More information about |
| 22 | Bluetooth can be found at <http://www.bluetooth.com/>. |
| 23 | |
| 24 | Linux Bluetooth subsystem consist of several layers: |
Ulisses Furquim | f1e91e1 | 2011-12-21 01:32:09 -0200 | [diff] [blame] | 25 | Bluetooth Core |
| 26 | HCI device and connection manager, scheduler |
| 27 | SCO audio links |
| 28 | L2CAP (Logical Link Control and Adaptation Protocol) |
| 29 | SMP (Security Manager Protocol) on LE (Low Energy) links |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 30 | HCI Device drivers (Interface to the hardware) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 31 | RFCOMM Module (RFCOMM Protocol) |
| 32 | BNEP Module (Bluetooth Network Encapsulation Protocol) |
| 33 | CMTP Module (CAPI Message Transport Protocol) |
| 34 | HIDP Module (Human Interface Device Protocol) |
| 35 | |
| 36 | Say Y here to compile Bluetooth support into the kernel or say M to |
| 37 | compile it as module (bluetooth). |
| 38 | |
| 39 | To use Linux Bluetooth subsystem, you will need several user-space |
Gustavo F. Padovan | a0019bc | 2011-02-07 19:15:43 -0200 | [diff] [blame] | 40 | utilities like hciconfig and bluetoothd. These utilities and updates |
| 41 | to Bluetooth kernel modules are provided in the BlueZ packages. For |
| 42 | more information, see <http://www.bluez.org/>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 43 | |
Marcel Holtmann | 65efd2b | 2014-11-02 03:32:25 +0100 | [diff] [blame] | 44 | config BT_BREDR |
| 45 | bool "Bluetooth Classic (BR/EDR) features" |
| 46 | depends on BT |
| 47 | default y |
Pavel Machek | 198ec9a | 2017-08-08 15:48:40 +0200 | [diff] [blame] | 48 | help |
| 49 | Bluetooth Classic includes support for Basic Rate (BR) |
| 50 | available with Bluetooth version 1.0b or later and support |
| 51 | for Enhanced Data Rate (EDR) available with Bluetooth |
| 52 | version 2.0 or later. |
Alexander Aring | 9755088 | 2014-03-04 10:23:02 +0100 | [diff] [blame] | 53 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 54 | source "net/bluetooth/rfcomm/Kconfig" |
| 55 | |
| 56 | source "net/bluetooth/bnep/Kconfig" |
| 57 | |
| 58 | source "net/bluetooth/cmtp/Kconfig" |
| 59 | |
| 60 | source "net/bluetooth/hidp/Kconfig" |
| 61 | |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame] | 62 | config BT_HS |
| 63 | bool "Bluetooth High Speed (HS) features" |
| 64 | depends on BT_BREDR |
| 65 | default y |
Pavel Machek | 198ec9a | 2017-08-08 15:48:40 +0200 | [diff] [blame] | 66 | help |
| 67 | Bluetooth High Speed includes support for off-loading |
| 68 | Bluetooth connections via 802.11 (wifi) physical layer |
| 69 | available with Bluetooth version 3.0 or later. |
Arron Wang | 244bc37 | 2015-07-24 17:12:55 +0800 | [diff] [blame] | 70 | |
Marcel Holtmann | 65efd2b | 2014-11-02 03:32:25 +0100 | [diff] [blame] | 71 | config BT_LE |
| 72 | bool "Bluetooth Low Energy (LE) features" |
| 73 | depends on BT |
| 74 | default y |
Pavel Machek | 198ec9a | 2017-08-08 15:48:40 +0200 | [diff] [blame] | 75 | help |
| 76 | Bluetooth Low Energy includes support low-energy physical |
| 77 | layer available with Bluetooth version 4.0 or later. |
Marcel Holtmann | 65efd2b | 2014-11-02 03:32:25 +0100 | [diff] [blame] | 78 | |
| 79 | config BT_6LOWPAN |
| 80 | tristate "Bluetooth 6LoWPAN support" |
| 81 | depends on BT_LE && 6LOWPAN |
| 82 | help |
| 83 | IPv6 compression over Bluetooth Low Energy. |
| 84 | |
Heiner Kallweit | 6d5d2ee | 2016-01-08 19:28:58 +0100 | [diff] [blame] | 85 | config BT_LEDS |
| 86 | bool "Enable LED triggers" |
| 87 | depends on BT |
| 88 | depends on LEDS_CLASS |
| 89 | select LEDS_TRIGGERS |
| 90 | help |
| 91 | This option selects a few LED triggers for different |
| 92 | Bluetooth events. |
| 93 | |
Marcel Holtmann | ee48529 | 2014-12-29 20:48:35 -0800 | [diff] [blame] | 94 | config BT_SELFTEST |
| 95 | bool "Bluetooth self testing support" |
| 96 | depends on BT && DEBUG_KERNEL |
| 97 | help |
| 98 | Run self tests when initializing the Bluetooth subsystem. This |
| 99 | is a developer option and can cause significant delay when booting |
| 100 | the system. |
| 101 | |
| 102 | When the Bluetooth subsystem is built as module, then the test |
| 103 | cases are run first thing at module load time. When the Bluetooth |
| 104 | subsystem is compiled into the kernel image, then the test cases |
| 105 | are run late in the initcall hierarchy. |
| 106 | |
Johan Hedberg | 0b6415b | 2014-12-29 20:48:36 -0800 | [diff] [blame] | 107 | config BT_SELFTEST_ECDH |
| 108 | bool "ECDH test cases" |
| 109 | depends on BT_LE && BT_SELFTEST |
| 110 | help |
| 111 | Run test cases for ECDH cryptographic functionality used by the |
| 112 | Bluetooth Low Energy Secure Connections feature. |
| 113 | |
Johan Hedberg | 0a2b0f0 | 2014-12-30 09:50:39 +0200 | [diff] [blame] | 114 | config BT_SELFTEST_SMP |
| 115 | bool "SMP test cases" |
| 116 | depends on BT_LE && BT_SELFTEST |
| 117 | help |
| 118 | Run test cases for SMP cryptographic functionality, including both |
| 119 | legacy SMP as well as the Secure Connections features. |
| 120 | |
Marcel Holtmann | 035a07d | 2015-02-14 13:40:06 -0800 | [diff] [blame] | 121 | config BT_DEBUGFS |
| 122 | bool "Export Bluetooth internals in debugfs" |
| 123 | depends on BT && DEBUG_FS |
| 124 | default y |
| 125 | help |
| 126 | Provide extensive information about internal Bluetooth states |
| 127 | in debugfs. |
| 128 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 129 | source "drivers/bluetooth/Kconfig" |