blob: 68f951b3e85aa725485bef77de63f162f0241d97 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Bluetooth subsystem configuration
3#
4
5menuconfig BT
Linus Torvalds1da177e2005-04-16 15:20:36 -07006 tristate "Bluetooth subsystem support"
Marcel Holtmann1a097182009-06-14 15:21:25 +02007 depends on NET && !S390
8 depends on RFKILL || !RFKILL
Ulisses Furquimf1e91e12011-12-21 01:32:09 -02009 select CRC16
Randy Dunlapdaf4ce82011-06-22 10:08:11 -070010 select CRYPTO
Ulisses Furquimf1e91e12011-12-21 01:32:09 -020011 select CRYPTO_BLKCIPHER
12 select CRYPTO_AES
Johan Hedberg407cecf2014-05-02 14:19:47 +030013 select CRYPTO_CMAC
Ulisses Furquimf1e91e12011-12-21 01:32:09 -020014 select CRYPTO_ECB
Andrei Emeltchenko5a349182012-09-27 17:26:18 +030015 select CRYPTO_SHA256
Salvatore Benedetto58771c1c2017-04-24 13:13:20 +010016 select CRYPTO_ECDH
Linus Torvalds1da177e2005-04-16 15:20:36 -070017 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 Furquimf1e91e12011-12-21 01:32:09 -020025 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 Torvalds1da177e2005-04-16 15:20:36 -070030 HCI Device drivers (Interface to the hardware)
Linus Torvalds1da177e2005-04-16 15:20:36 -070031 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. Padovana0019bc2011-02-07 19:15:43 -020040 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 Torvalds1da177e2005-04-16 15:20:36 -070043
Marcel Holtmann65efd2b2014-11-02 03:32:25 +010044config BT_BREDR
45 bool "Bluetooth Classic (BR/EDR) features"
46 depends on BT
47 default y
Alexander Aring97550882014-03-04 10:23:02 +010048
Linus Torvalds1da177e2005-04-16 15:20:36 -070049source "net/bluetooth/rfcomm/Kconfig"
50
51source "net/bluetooth/bnep/Kconfig"
52
53source "net/bluetooth/cmtp/Kconfig"
54
55source "net/bluetooth/hidp/Kconfig"
56
Arron Wang244bc372015-07-24 17:12:55 +080057config BT_HS
58 bool "Bluetooth High Speed (HS) features"
59 depends on BT_BREDR
60 default y
61
Marcel Holtmann65efd2b2014-11-02 03:32:25 +010062config BT_LE
63 bool "Bluetooth Low Energy (LE) features"
64 depends on BT
65 default y
66
67config BT_6LOWPAN
68 tristate "Bluetooth 6LoWPAN support"
69 depends on BT_LE && 6LOWPAN
70 help
71 IPv6 compression over Bluetooth Low Energy.
72
Heiner Kallweit6d5d2ee2016-01-08 19:28:58 +010073config BT_LEDS
74 bool "Enable LED triggers"
75 depends on BT
76 depends on LEDS_CLASS
77 select LEDS_TRIGGERS
78 help
79 This option selects a few LED triggers for different
80 Bluetooth events.
81
Marcel Holtmannee485292014-12-29 20:48:35 -080082config BT_SELFTEST
83 bool "Bluetooth self testing support"
84 depends on BT && DEBUG_KERNEL
85 help
86 Run self tests when initializing the Bluetooth subsystem. This
87 is a developer option and can cause significant delay when booting
88 the system.
89
90 When the Bluetooth subsystem is built as module, then the test
91 cases are run first thing at module load time. When the Bluetooth
92 subsystem is compiled into the kernel image, then the test cases
93 are run late in the initcall hierarchy.
94
Johan Hedberg0b6415b2014-12-29 20:48:36 -080095config BT_SELFTEST_ECDH
96 bool "ECDH test cases"
97 depends on BT_LE && BT_SELFTEST
98 help
99 Run test cases for ECDH cryptographic functionality used by the
100 Bluetooth Low Energy Secure Connections feature.
101
Johan Hedberg0a2b0f02014-12-30 09:50:39 +0200102config BT_SELFTEST_SMP
103 bool "SMP test cases"
104 depends on BT_LE && BT_SELFTEST
105 help
106 Run test cases for SMP cryptographic functionality, including both
107 legacy SMP as well as the Secure Connections features.
108
Marcel Holtmann035a07d2015-02-14 13:40:06 -0800109config BT_DEBUGFS
110 bool "Export Bluetooth internals in debugfs"
111 depends on BT && DEBUG_FS
112 default y
113 help
114 Provide extensive information about internal Bluetooth states
115 in debugfs.
116
Linus Torvalds1da177e2005-04-16 15:20:36 -0700117source "drivers/bluetooth/Kconfig"