1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 # 2 # 3 # Bluetooth subsystem configuration 3 # Bluetooth subsystem configuration 4 # 4 # 5 5 6 menuconfig BT 6 menuconfig BT 7 tristate "Bluetooth subsystem support" 7 tristate "Bluetooth subsystem support" 8 depends on !S390 8 depends on !S390 9 depends on RFKILL || !RFKILL 9 depends on RFKILL || !RFKILL 10 select CRC16 10 select CRC16 11 select CRYPTO 11 select CRYPTO 12 select CRYPTO_SKCIPHER 12 select CRYPTO_SKCIPHER 13 select CRYPTO_LIB_AES 13 select CRYPTO_LIB_AES 14 imply CRYPTO_AES 14 imply CRYPTO_AES 15 select CRYPTO_CMAC 15 select CRYPTO_CMAC 16 select CRYPTO_ECB 16 select CRYPTO_ECB 17 select CRYPTO_SHA256 17 select CRYPTO_SHA256 18 select CRYPTO_ECDH 18 select CRYPTO_ECDH 19 help 19 help 20 Bluetooth is low-cost, low-power, sh 20 Bluetooth is low-cost, low-power, short-range wireless technology. 21 It was designed as a replacement for 21 It was designed as a replacement for cables and other short-range 22 technologies like IrDA. Bluetooth o 22 technologies like IrDA. Bluetooth operates in personal area range 23 that typically extends up to 10 mete 23 that typically extends up to 10 meters. More information about 24 Bluetooth can be found at <https://w 24 Bluetooth can be found at <https://www.bluetooth.com/>. 25 25 26 Linux Bluetooth subsystem consist of 26 Linux Bluetooth subsystem consist of several layers: 27 Bluetooth Core 27 Bluetooth Core 28 HCI device and connection mana 28 HCI device and connection manager, scheduler 29 SCO audio links 29 SCO audio links 30 L2CAP (Logical Link Control an 30 L2CAP (Logical Link Control and Adaptation Protocol) 31 SMP (Security Manager Protocol 31 SMP (Security Manager Protocol) on LE (Low Energy) links 32 ISO isochronous links 32 ISO isochronous links 33 HCI Device drivers (Interface to 33 HCI Device drivers (Interface to the hardware) 34 RFCOMM Module (RFCOMM Protocol) 34 RFCOMM Module (RFCOMM Protocol) 35 BNEP Module (Bluetooth Network En 35 BNEP Module (Bluetooth Network Encapsulation Protocol) 36 CMTP Module (CAPI Message Transpo 36 CMTP Module (CAPI Message Transport Protocol) 37 HIDP Module (Human Interface Devi 37 HIDP Module (Human Interface Device Protocol) 38 38 39 Say Y here to compile Bluetooth supp 39 Say Y here to compile Bluetooth support into the kernel or say M to 40 compile it as module (bluetooth). 40 compile it as module (bluetooth). 41 41 42 To use Linux Bluetooth subsystem, yo 42 To use Linux Bluetooth subsystem, you will need several user-space 43 utilities like hciconfig and bluetoo 43 utilities like hciconfig and bluetoothd. These utilities and updates 44 to Bluetooth kernel modules are prov 44 to Bluetooth kernel modules are provided in the BlueZ packages. For 45 more information, see <http://www.bl 45 more information, see <http://www.bluez.org/>. 46 46 47 config BT_BREDR 47 config BT_BREDR 48 bool "Bluetooth Classic (BR/EDR) featu 48 bool "Bluetooth Classic (BR/EDR) features" 49 depends on BT 49 depends on BT 50 default y 50 default y 51 help 51 help 52 Bluetooth Classic includes support f 52 Bluetooth Classic includes support for Basic Rate (BR) 53 available with Bluetooth version 1.0 53 available with Bluetooth version 1.0b or later and support 54 for Enhanced Data Rate (EDR) availab 54 for Enhanced Data Rate (EDR) available with Bluetooth 55 version 2.0 or later. 55 version 2.0 or later. 56 56 57 source "net/bluetooth/rfcomm/Kconfig" 57 source "net/bluetooth/rfcomm/Kconfig" 58 58 59 source "net/bluetooth/bnep/Kconfig" 59 source "net/bluetooth/bnep/Kconfig" 60 60 61 source "net/bluetooth/cmtp/Kconfig" 61 source "net/bluetooth/cmtp/Kconfig" 62 62 63 source "net/bluetooth/hidp/Kconfig" 63 source "net/bluetooth/hidp/Kconfig" 64 64 >> 65 config BT_HS >> 66 bool "Bluetooth High Speed (HS) features" >> 67 depends on BT_BREDR >> 68 help >> 69 Bluetooth High Speed includes support for off-loading >> 70 Bluetooth connections via 802.11 (wifi) physical layer >> 71 available with Bluetooth version 3.0 or later. >> 72 65 config BT_LE 73 config BT_LE 66 bool "Bluetooth Low Energy (LE) featur 74 bool "Bluetooth Low Energy (LE) features" 67 depends on BT 75 depends on BT 68 default y 76 default y 69 help 77 help 70 Bluetooth Low Energy includes suppor 78 Bluetooth Low Energy includes support low-energy physical 71 layer available with Bluetooth versi 79 layer available with Bluetooth version 4.0 or later. 72 80 73 config BT_LE_L2CAP_ECRED 81 config BT_LE_L2CAP_ECRED 74 bool "Bluetooth L2CAP Enhanced Credit 82 bool "Bluetooth L2CAP Enhanced Credit Flow Control" 75 depends on BT_LE 83 depends on BT_LE 76 default y 84 default y 77 help 85 help 78 Bluetooth Low Energy L2CAP Enhanced 86 Bluetooth Low Energy L2CAP Enhanced Credit Flow Control available with 79 Bluetooth version 5.2 or later. 87 Bluetooth version 5.2 or later. 80 88 81 This can be overridden by passing bl 89 This can be overridden by passing bluetooth.enable_ecred=[1|0] 82 on the kernel commandline. 90 on the kernel commandline. 83 91 84 config BT_6LOWPAN 92 config BT_6LOWPAN 85 tristate "Bluetooth 6LoWPAN support" 93 tristate "Bluetooth 6LoWPAN support" 86 depends on BT_LE && 6LOWPAN 94 depends on BT_LE && 6LOWPAN 87 help 95 help 88 IPv6 compression over Bluetooth Low 96 IPv6 compression over Bluetooth Low Energy. 89 97 90 config BT_LEDS 98 config BT_LEDS 91 bool "Enable LED triggers" 99 bool "Enable LED triggers" 92 depends on BT 100 depends on BT 93 depends on LEDS_CLASS 101 depends on LEDS_CLASS 94 select LEDS_TRIGGERS 102 select LEDS_TRIGGERS 95 help 103 help 96 This option selects a few LED trigge 104 This option selects a few LED triggers for different 97 Bluetooth events. 105 Bluetooth events. 98 106 99 config BT_MSFTEXT 107 config BT_MSFTEXT 100 bool "Enable Microsoft extensions" 108 bool "Enable Microsoft extensions" 101 depends on BT 109 depends on BT 102 help 110 help 103 This options enables support for the 111 This options enables support for the Microsoft defined HCI 104 vendor extensions. 112 vendor extensions. 105 113 106 config BT_AOSPEXT 114 config BT_AOSPEXT 107 bool "Enable Android Open Source Proje 115 bool "Enable Android Open Source Project extensions" 108 depends on BT 116 depends on BT 109 help 117 help 110 This options enables support for the 118 This options enables support for the Android Open Source 111 Project defined HCI vendor extension 119 Project defined HCI vendor extensions. 112 120 113 config BT_DEBUGFS 121 config BT_DEBUGFS 114 bool "Export Bluetooth internals in de 122 bool "Export Bluetooth internals in debugfs" 115 depends on BT && DEBUG_FS 123 depends on BT && DEBUG_FS 116 default y 124 default y 117 help 125 help 118 Provide extensive information about 126 Provide extensive information about internal Bluetooth states 119 in debugfs. 127 in debugfs. 120 128 121 config BT_SELFTEST 129 config BT_SELFTEST 122 bool "Bluetooth self testing support" 130 bool "Bluetooth self testing support" 123 depends on BT && DEBUG_KERNEL 131 depends on BT && DEBUG_KERNEL 124 help 132 help 125 Run self tests when initializing the 133 Run self tests when initializing the Bluetooth subsystem. This 126 is a developer option and can cause 134 is a developer option and can cause significant delay when booting 127 the system. 135 the system. 128 136 129 When the Bluetooth subsystem is buil 137 When the Bluetooth subsystem is built as module, then the test 130 cases are run first thing at module 138 cases are run first thing at module load time. When the Bluetooth 131 subsystem is compiled into the kerne 139 subsystem is compiled into the kernel image, then the test cases 132 are run late in the initcall hierarc 140 are run late in the initcall hierarchy. 133 141 134 config BT_SELFTEST_ECDH 142 config BT_SELFTEST_ECDH 135 bool "ECDH test cases" 143 bool "ECDH test cases" 136 depends on BT_LE && BT_SELFTEST 144 depends on BT_LE && BT_SELFTEST 137 help 145 help 138 Run test cases for ECDH cryptographi 146 Run test cases for ECDH cryptographic functionality used by the 139 Bluetooth Low Energy Secure Connecti 147 Bluetooth Low Energy Secure Connections feature. 140 148 141 config BT_SELFTEST_SMP 149 config BT_SELFTEST_SMP 142 bool "SMP test cases" 150 bool "SMP test cases" 143 depends on BT_LE && BT_SELFTEST 151 depends on BT_LE && BT_SELFTEST 144 help 152 help 145 Run test cases for SMP cryptographic 153 Run test cases for SMP cryptographic functionality, including both 146 legacy SMP as well as the Secure Con 154 legacy SMP as well as the Secure Connections features. 147 155 148 config BT_FEATURE_DEBUG 156 config BT_FEATURE_DEBUG 149 bool "Enable runtime option for debugg 157 bool "Enable runtime option for debugging statements" 150 depends on BT && !DYNAMIC_DEBUG 158 depends on BT && !DYNAMIC_DEBUG 151 help 159 help 152 This provides an option to enable/di 160 This provides an option to enable/disable debugging statements 153 at runtime via the experimental feat 161 at runtime via the experimental features interface. 154 162 155 source "drivers/bluetooth/Kconfig" 163 source "drivers/bluetooth/Kconfig"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.