1# 2# Bluetooth subsystem configuration 3# 4 5menuconfig BT 6 tristate "Bluetooth subsystem support" 7 depends on NET && !S390 8 depends on RFKILL || !RFKILL 9 select CRC16 10 select CRYPTO 11 select CRYPTO_BLKCIPHER 12 select CRYPTO_AES 13 select CRYPTO_CMAC 14 select CRYPTO_ECB 15 select CRYPTO_SHA256 16 select CRYPTO_ECDH 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: 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 30 HCI Device drivers (Interface to the hardware) 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 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/>. 43 44config BT_BREDR 45 bool "Bluetooth Classic (BR/EDR) features" 46 depends on BT 47 default y 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. 53 54source "net/bluetooth/rfcomm/Kconfig" 55 56source "net/bluetooth/bnep/Kconfig" 57 58source "net/bluetooth/cmtp/Kconfig" 59 60source "net/bluetooth/hidp/Kconfig" 61 62config BT_HS 63 bool "Bluetooth High Speed (HS) features" 64 depends on BT_BREDR 65 help 66 Bluetooth High Speed includes support for off-loading 67 Bluetooth connections via 802.11 (wifi) physical layer 68 available with Bluetooth version 3.0 or later. 69 70config BT_LE 71 bool "Bluetooth Low Energy (LE) features" 72 depends on BT 73 default y 74 help 75 Bluetooth Low Energy includes support low-energy physical 76 layer available with Bluetooth version 4.0 or later. 77 78config BT_6LOWPAN 79 tristate "Bluetooth 6LoWPAN support" 80 depends on BT_LE && 6LOWPAN 81 help 82 IPv6 compression over Bluetooth Low Energy. 83 84config BT_LEDS 85 bool "Enable LED triggers" 86 depends on BT 87 depends on LEDS_CLASS 88 select LEDS_TRIGGERS 89 help 90 This option selects a few LED triggers for different 91 Bluetooth events. 92 93config BT_SELFTEST 94 bool "Bluetooth self testing support" 95 depends on BT && DEBUG_KERNEL 96 help 97 Run self tests when initializing the Bluetooth subsystem. This 98 is a developer option and can cause significant delay when booting 99 the system. 100 101 When the Bluetooth subsystem is built as module, then the test 102 cases are run first thing at module load time. When the Bluetooth 103 subsystem is compiled into the kernel image, then the test cases 104 are run late in the initcall hierarchy. 105 106config BT_SELFTEST_ECDH 107 bool "ECDH test cases" 108 depends on BT_LE && BT_SELFTEST 109 help 110 Run test cases for ECDH cryptographic functionality used by the 111 Bluetooth Low Energy Secure Connections feature. 112 113config BT_SELFTEST_SMP 114 bool "SMP test cases" 115 depends on BT_LE && BT_SELFTEST 116 help 117 Run test cases for SMP cryptographic functionality, including both 118 legacy SMP as well as the Secure Connections features. 119 120config BT_DEBUGFS 121 bool "Export Bluetooth internals in debugfs" 122 depends on BT && DEBUG_FS 123 default y 124 help 125 Provide extensive information about internal Bluetooth states 126 in debugfs. 127 128source "drivers/bluetooth/Kconfig" 129