1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Bluetooth subsystem configuration 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 61da177e4SLinus Torvaldsmenuconfig BT 71da177e4SLinus Torvalds tristate "Bluetooth subsystem support" 81a097181SMarcel Holtmann depends on NET && !S390 91a097181SMarcel Holtmann depends on RFKILL || !RFKILL 10f1e91e16SUlisses Furquim select CRC16 11daf4ce85SRandy Dunlap select CRYPTO 12b95bba5dSEric Biggers select CRYPTO_SKCIPHER 1328a220aaSArd Biesheuvel select CRYPTO_LIB_AES 1428a220aaSArd Biesheuvel imply CRYPTO_AES 15407cecf6SJohan Hedberg select CRYPTO_CMAC 16f1e91e16SUlisses Furquim select CRYPTO_ECB 175a349186SAndrei Emeltchenko select CRYPTO_SHA256 1858771c1cSSalvatore Benedetto select CRYPTO_ECDH 191da177e4SLinus Torvalds help 201da177e4SLinus Torvalds Bluetooth is low-cost, low-power, short-range wireless technology. 211da177e4SLinus Torvalds It was designed as a replacement for cables and other short-range 221da177e4SLinus Torvalds technologies like IrDA. Bluetooth operates in personal area range 231da177e4SLinus Torvalds that typically extends up to 10 meters. More information about 241da177e4SLinus Torvalds Bluetooth can be found at <http://www.bluetooth.com/>. 251da177e4SLinus Torvalds 261da177e4SLinus Torvalds Linux Bluetooth subsystem consist of several layers: 27f1e91e16SUlisses Furquim Bluetooth Core 28f1e91e16SUlisses Furquim HCI device and connection manager, scheduler 29f1e91e16SUlisses Furquim SCO audio links 30f1e91e16SUlisses Furquim L2CAP (Logical Link Control and Adaptation Protocol) 31f1e91e16SUlisses Furquim SMP (Security Manager Protocol) on LE (Low Energy) links 321da177e4SLinus Torvalds HCI Device drivers (Interface to the hardware) 331da177e4SLinus Torvalds RFCOMM Module (RFCOMM Protocol) 341da177e4SLinus Torvalds BNEP Module (Bluetooth Network Encapsulation Protocol) 351da177e4SLinus Torvalds CMTP Module (CAPI Message Transport Protocol) 361da177e4SLinus Torvalds HIDP Module (Human Interface Device Protocol) 371da177e4SLinus Torvalds 381da177e4SLinus Torvalds Say Y here to compile Bluetooth support into the kernel or say M to 391da177e4SLinus Torvalds compile it as module (bluetooth). 401da177e4SLinus Torvalds 411da177e4SLinus Torvalds To use Linux Bluetooth subsystem, you will need several user-space 42a0019bcaSGustavo F. Padovan utilities like hciconfig and bluetoothd. These utilities and updates 43a0019bcaSGustavo F. Padovan to Bluetooth kernel modules are provided in the BlueZ packages. For 44a0019bcaSGustavo F. Padovan more information, see <http://www.bluez.org/>. 451da177e4SLinus Torvalds 4665efd2bfSMarcel Holtmannconfig BT_BREDR 4765efd2bfSMarcel Holtmann bool "Bluetooth Classic (BR/EDR) features" 4865efd2bfSMarcel Holtmann depends on BT 4965efd2bfSMarcel Holtmann default y 50198ec9aeSPavel Machek help 51198ec9aeSPavel Machek Bluetooth Classic includes support for Basic Rate (BR) 52198ec9aeSPavel Machek available with Bluetooth version 1.0b or later and support 53198ec9aeSPavel Machek for Enhanced Data Rate (EDR) available with Bluetooth 54198ec9aeSPavel Machek version 2.0 or later. 5597550887SAlexander Aring 561da177e4SLinus Torvaldssource "net/bluetooth/rfcomm/Kconfig" 571da177e4SLinus Torvalds 581da177e4SLinus Torvaldssource "net/bluetooth/bnep/Kconfig" 591da177e4SLinus Torvalds 601da177e4SLinus Torvaldssource "net/bluetooth/cmtp/Kconfig" 611da177e4SLinus Torvalds 621da177e4SLinus Torvaldssource "net/bluetooth/hidp/Kconfig" 631da177e4SLinus Torvalds 64244bc377SArron Wangconfig BT_HS 65244bc377SArron Wang bool "Bluetooth High Speed (HS) features" 66244bc377SArron Wang depends on BT_BREDR 67244bc377SArron Wang default y 68198ec9aeSPavel Machek help 69198ec9aeSPavel Machek Bluetooth High Speed includes support for off-loading 70198ec9aeSPavel Machek Bluetooth connections via 802.11 (wifi) physical layer 71198ec9aeSPavel Machek available with Bluetooth version 3.0 or later. 72244bc377SArron Wang 7365efd2bfSMarcel Holtmannconfig BT_LE 7465efd2bfSMarcel Holtmann bool "Bluetooth Low Energy (LE) features" 7565efd2bfSMarcel Holtmann depends on BT 7665efd2bfSMarcel Holtmann default y 77198ec9aeSPavel Machek help 78198ec9aeSPavel Machek Bluetooth Low Energy includes support low-energy physical 79198ec9aeSPavel Machek layer available with Bluetooth version 4.0 or later. 8065efd2bfSMarcel Holtmann 8165efd2bfSMarcel Holtmannconfig BT_6LOWPAN 8265efd2bfSMarcel Holtmann tristate "Bluetooth 6LoWPAN support" 8365efd2bfSMarcel Holtmann depends on BT_LE && 6LOWPAN 8465efd2bfSMarcel Holtmann help 8565efd2bfSMarcel Holtmann IPv6 compression over Bluetooth Low Energy. 8665efd2bfSMarcel Holtmann 876d5d2ee6SHeiner Kallweitconfig BT_LEDS 886d5d2ee6SHeiner Kallweit bool "Enable LED triggers" 896d5d2ee6SHeiner Kallweit depends on BT 906d5d2ee6SHeiner Kallweit depends on LEDS_CLASS 916d5d2ee6SHeiner Kallweit select LEDS_TRIGGERS 926d5d2ee6SHeiner Kallweit help 936d5d2ee6SHeiner Kallweit This option selects a few LED triggers for different 946d5d2ee6SHeiner Kallweit Bluetooth events. 956d5d2ee6SHeiner Kallweit 96*145373cbSMiao-chen Chouconfig BT_MSFTEXT 97*145373cbSMiao-chen Chou bool "Enable Microsoft extensions" 98*145373cbSMiao-chen Chou depends on BT 99*145373cbSMiao-chen Chou help 100*145373cbSMiao-chen Chou This options enables support for the Microsoft defined HCI 101*145373cbSMiao-chen Chou vendor extensions. 102*145373cbSMiao-chen Chou 1033d233604SMarcel Holtmannconfig BT_DEBUGFS 1043d233604SMarcel Holtmann bool "Export Bluetooth internals in debugfs" 1053d233604SMarcel Holtmann depends on BT && DEBUG_FS 1063d233604SMarcel Holtmann default y 1073d233604SMarcel Holtmann help 1083d233604SMarcel Holtmann Provide extensive information about internal Bluetooth states 1093d233604SMarcel Holtmann in debugfs. 1103d233604SMarcel Holtmann 111ee485290SMarcel Holtmannconfig BT_SELFTEST 112ee485290SMarcel Holtmann bool "Bluetooth self testing support" 113ee485290SMarcel Holtmann depends on BT && DEBUG_KERNEL 114ee485290SMarcel Holtmann help 115ee485290SMarcel Holtmann Run self tests when initializing the Bluetooth subsystem. This 116ee485290SMarcel Holtmann is a developer option and can cause significant delay when booting 117ee485290SMarcel Holtmann the system. 118ee485290SMarcel Holtmann 119ee485290SMarcel Holtmann When the Bluetooth subsystem is built as module, then the test 120ee485290SMarcel Holtmann cases are run first thing at module load time. When the Bluetooth 121ee485290SMarcel Holtmann subsystem is compiled into the kernel image, then the test cases 122ee485290SMarcel Holtmann are run late in the initcall hierarchy. 123ee485290SMarcel Holtmann 1240b6415b6SJohan Hedbergconfig BT_SELFTEST_ECDH 1250b6415b6SJohan Hedberg bool "ECDH test cases" 1260b6415b6SJohan Hedberg depends on BT_LE && BT_SELFTEST 1270b6415b6SJohan Hedberg help 1280b6415b6SJohan Hedberg Run test cases for ECDH cryptographic functionality used by the 1290b6415b6SJohan Hedberg Bluetooth Low Energy Secure Connections feature. 1300b6415b6SJohan Hedberg 1310a2b0f04SJohan Hedbergconfig BT_SELFTEST_SMP 1320a2b0f04SJohan Hedberg bool "SMP test cases" 1330a2b0f04SJohan Hedberg depends on BT_LE && BT_SELFTEST 1340a2b0f04SJohan Hedberg help 1350a2b0f04SJohan Hedberg Run test cases for SMP cryptographic functionality, including both 1360a2b0f04SJohan Hedberg legacy SMP as well as the Secure Connections features. 1370a2b0f04SJohan Hedberg 1381da177e4SLinus Torvaldssource "drivers/bluetooth/Kconfig" 139