Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1da177e4 LT |
2 | # |
3 | # Bluetooth subsystem configuration | |
4 | # | |
5 | ||
6 | menuconfig BT | |
1da177e4 | 7 | tristate "Bluetooth subsystem support" |
1a097181 MH |
8 | depends on NET && !S390 |
9 | depends on RFKILL || !RFKILL | |
f1e91e16 | 10 | select CRC16 |
daf4ce85 | 11 | select CRYPTO |
f1e91e16 UF |
12 | select CRYPTO_BLKCIPHER |
13 | select CRYPTO_AES | |
407cecf6 | 14 | select CRYPTO_CMAC |
f1e91e16 | 15 | select CRYPTO_ECB |
5a349186 | 16 | select CRYPTO_SHA256 |
58771c1c | 17 | select CRYPTO_ECDH |
1da177e4 LT |
18 | help |
19 | Bluetooth is low-cost, low-power, short-range wireless technology. | |
20 | It was designed as a replacement for cables and other short-range | |
21 | technologies like IrDA. Bluetooth operates in personal area range | |
22 | that typically extends up to 10 meters. More information about | |
23 | Bluetooth can be found at <http://www.bluetooth.com/>. | |
24 | ||
25 | Linux Bluetooth subsystem consist of several layers: | |
f1e91e16 UF |
26 | Bluetooth Core |
27 | HCI device and connection manager, scheduler | |
28 | SCO audio links | |
29 | L2CAP (Logical Link Control and Adaptation Protocol) | |
30 | SMP (Security Manager Protocol) on LE (Low Energy) links | |
1da177e4 | 31 | HCI Device drivers (Interface to the hardware) |
1da177e4 LT |
32 | RFCOMM Module (RFCOMM Protocol) |
33 | BNEP Module (Bluetooth Network Encapsulation Protocol) | |
34 | CMTP Module (CAPI Message Transport Protocol) | |
35 | HIDP Module (Human Interface Device Protocol) | |
36 | ||
37 | Say Y here to compile Bluetooth support into the kernel or say M to | |
38 | compile it as module (bluetooth). | |
39 | ||
40 | To use Linux Bluetooth subsystem, you will need several user-space | |
a0019bca GP |
41 | utilities like hciconfig and bluetoothd. These utilities and updates |
42 | to Bluetooth kernel modules are provided in the BlueZ packages. For | |
43 | more information, see <http://www.bluez.org/>. | |
1da177e4 | 44 | |
65efd2bf MH |
45 | config BT_BREDR |
46 | bool "Bluetooth Classic (BR/EDR) features" | |
47 | depends on BT | |
48 | default y | |
198ec9ae PM |
49 | help |
50 | Bluetooth Classic includes support for Basic Rate (BR) | |
51 | available with Bluetooth version 1.0b or later and support | |
52 | for Enhanced Data Rate (EDR) available with Bluetooth | |
53 | version 2.0 or later. | |
97550887 | 54 | |
1da177e4 LT |
55 | source "net/bluetooth/rfcomm/Kconfig" |
56 | ||
57 | source "net/bluetooth/bnep/Kconfig" | |
58 | ||
59 | source "net/bluetooth/cmtp/Kconfig" | |
60 | ||
61 | source "net/bluetooth/hidp/Kconfig" | |
62 | ||
244bc377 AW |
63 | config BT_HS |
64 | bool "Bluetooth High Speed (HS) features" | |
65 | depends on BT_BREDR | |
66 | default y | |
198ec9ae PM |
67 | help |
68 | Bluetooth High Speed includes support for off-loading | |
69 | Bluetooth connections via 802.11 (wifi) physical layer | |
70 | available with Bluetooth version 3.0 or later. | |
244bc377 | 71 | |
65efd2bf MH |
72 | config BT_LE |
73 | bool "Bluetooth Low Energy (LE) features" | |
74 | depends on BT | |
75 | default y | |
198ec9ae PM |
76 | help |
77 | Bluetooth Low Energy includes support low-energy physical | |
78 | layer available with Bluetooth version 4.0 or later. | |
65efd2bf MH |
79 | |
80 | config BT_6LOWPAN | |
81 | tristate "Bluetooth 6LoWPAN support" | |
82 | depends on BT_LE && 6LOWPAN | |
83 | help | |
84 | IPv6 compression over Bluetooth Low Energy. | |
85 | ||
6d5d2ee6 HK |
86 | config BT_LEDS |
87 | bool "Enable LED triggers" | |
88 | depends on BT | |
89 | depends on LEDS_CLASS | |
90 | select LEDS_TRIGGERS | |
91 | help | |
92 | This option selects a few LED triggers for different | |
93 | Bluetooth events. | |
94 | ||
ee485290 MH |
95 | config BT_SELFTEST |
96 | bool "Bluetooth self testing support" | |
97 | depends on BT && DEBUG_KERNEL | |
98 | help | |
99 | Run self tests when initializing the Bluetooth subsystem. This | |
100 | is a developer option and can cause significant delay when booting | |
101 | the system. | |
102 | ||
103 | When the Bluetooth subsystem is built as module, then the test | |
104 | cases are run first thing at module load time. When the Bluetooth | |
105 | subsystem is compiled into the kernel image, then the test cases | |
106 | are run late in the initcall hierarchy. | |
107 | ||
0b6415b6 JH |
108 | config BT_SELFTEST_ECDH |
109 | bool "ECDH test cases" | |
110 | depends on BT_LE && BT_SELFTEST | |
111 | help | |
112 | Run test cases for ECDH cryptographic functionality used by the | |
113 | Bluetooth Low Energy Secure Connections feature. | |
114 | ||
0a2b0f04 JH |
115 | config BT_SELFTEST_SMP |
116 | bool "SMP test cases" | |
117 | depends on BT_LE && BT_SELFTEST | |
118 | help | |
119 | Run test cases for SMP cryptographic functionality, including both | |
120 | legacy SMP as well as the Secure Connections features. | |
121 | ||
035a07d5 MH |
122 | config BT_DEBUGFS |
123 | bool "Export Bluetooth internals in debugfs" | |
124 | depends on BT && DEBUG_FS | |
125 | default y | |
126 | help | |
127 | Provide extensive information about internal Bluetooth states | |
128 | in debugfs. | |
129 | ||
1da177e4 | 130 | source "drivers/bluetooth/Kconfig" |