blob: 7de74635a110cbbecbaaddf31ac5d39708362397 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 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 Furquimf1e91e12011-12-21 01:32:09 -020024 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 Torvalds1da177e2005-04-16 15:20:36 -070029 HCI Device drivers (Interface to the hardware)
Linus Torvalds1da177e2005-04-16 15:20:36 -070030 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. Padovana0019bc2011-02-07 19:15:43 -020039 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 Torvalds1da177e2005-04-16 15:20:36 -070042
Marcel Holtmann65efd2b2014-11-02 03:32:25 +010043config BT_BREDR
44 bool "Bluetooth Classic (BR/EDR) features"
45 depends on BT
46 default y
Alexander Aring97550882014-03-04 10:23:02 +010047
Linus Torvalds1da177e2005-04-16 15:20:36 -070048source "net/bluetooth/rfcomm/Kconfig"
49
50source "net/bluetooth/bnep/Kconfig"
51
52source "net/bluetooth/cmtp/Kconfig"
53
54source "net/bluetooth/hidp/Kconfig"
55
Marcel Holtmann65efd2b2014-11-02 03:32:25 +010056config BT_LE
57 bool "Bluetooth Low Energy (LE) features"
58 depends on BT
59 default y
60
61config BT_6LOWPAN
62 tristate "Bluetooth 6LoWPAN support"
63 depends on BT_LE && 6LOWPAN
64 help
65 IPv6 compression over Bluetooth Low Energy.
66
Marcel Holtmannee485292014-12-29 20:48:35 -080067config BT_SELFTEST
68 bool "Bluetooth self testing support"
69 depends on BT && DEBUG_KERNEL
70 help
71 Run self tests when initializing the Bluetooth subsystem. This
72 is a developer option and can cause significant delay when booting
73 the system.
74
75 When the Bluetooth subsystem is built as module, then the test
76 cases are run first thing at module load time. When the Bluetooth
77 subsystem is compiled into the kernel image, then the test cases
78 are run late in the initcall hierarchy.
79
Johan Hedberg0b6415b2014-12-29 20:48:36 -080080config BT_SELFTEST_ECDH
81 bool "ECDH test cases"
82 depends on BT_LE && BT_SELFTEST
83 help
84 Run test cases for ECDH cryptographic functionality used by the
85 Bluetooth Low Energy Secure Connections feature.
86
Johan Hedberg0a2b0f02014-12-30 09:50:39 +020087config BT_SELFTEST_SMP
88 bool "SMP test cases"
89 depends on BT_LE && BT_SELFTEST
90 help
91 Run test cases for SMP cryptographic functionality, including both
92 legacy SMP as well as the Secure Connections features.
93
Linus Torvalds1da177e2005-04-16 15:20:36 -070094source "drivers/bluetooth/Kconfig"