Kconfig 3.3 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5 6
#
# Bluetooth subsystem configuration
#

menuconfig BT
	tristate "Bluetooth subsystem support"
7 8
	depends on NET && !S390
	depends on RFKILL || !RFKILL
9
	select CRC16
10
	select CRYPTO
11 12
	select CRYPTO_BLKCIPHER
	select CRYPTO_AES
13
	select CRYPTO_CMAC
14
	select CRYPTO_ECB
15
	select CRYPTO_SHA256
16
	select CRYPTO_ECDH
L
Linus Torvalds 已提交
17 18 19 20 21 22 23 24
	help
	  Bluetooth is low-cost, low-power, short-range wireless technology.
	  It was designed as a replacement for cables and other short-range
	  technologies like IrDA.  Bluetooth operates in personal area range
	  that typically extends up to 10 meters.  More information about
	  Bluetooth can be found at <http://www.bluetooth.com/>.

	  Linux Bluetooth subsystem consist of several layers:
25 26 27 28 29
	     Bluetooth Core
		HCI device and connection manager, scheduler
		SCO audio links
		L2CAP (Logical Link Control and Adaptation Protocol)
		SMP (Security Manager Protocol) on LE (Low Energy) links
L
Linus Torvalds 已提交
30 31 32 33 34 35 36 37 38 39
	     HCI Device drivers (Interface to the hardware)
	     RFCOMM Module (RFCOMM Protocol)  
	     BNEP Module (Bluetooth Network Encapsulation Protocol)
	     CMTP Module (CAPI Message Transport Protocol)
	     HIDP Module (Human Interface Device Protocol)

	  Say Y here to compile Bluetooth support into the kernel or say M to
	  compile it as module (bluetooth).

	  To use Linux Bluetooth subsystem, you will need several user-space
40 41 42
	  utilities like hciconfig and bluetoothd.  These utilities and updates
	  to Bluetooth kernel modules are provided in the BlueZ packages.  For
	  more information, see <http://www.bluez.org/>.
L
Linus Torvalds 已提交
43

44 45 46 47
config BT_BREDR
	bool "Bluetooth Classic (BR/EDR) features"
	depends on BT
	default y
48

L
Linus Torvalds 已提交
49 50 51 52 53 54 55 56
source "net/bluetooth/rfcomm/Kconfig"

source "net/bluetooth/bnep/Kconfig"

source "net/bluetooth/cmtp/Kconfig"

source "net/bluetooth/hidp/Kconfig"

A
Arron Wang 已提交
57 58 59 60 61
config BT_HS
	bool "Bluetooth High Speed (HS) features"
	depends on BT_BREDR
	default y

62 63 64 65 66 67 68 69 70 71 72
config BT_LE
	bool "Bluetooth Low Energy (LE) features"
	depends on BT
	default y

config BT_6LOWPAN
	tristate "Bluetooth 6LoWPAN support"
	depends on BT_LE && 6LOWPAN
	help
	  IPv6 compression over Bluetooth Low Energy.

73 74 75 76 77 78 79 80 81
config BT_LEDS
	bool "Enable LED triggers"
	depends on BT
	depends on LEDS_CLASS
	select LEDS_TRIGGERS
	help
	  This option selects a few LED triggers for different
	  Bluetooth events.

82 83 84 85 86 87 88 89 90 91 92 93 94
config BT_SELFTEST
	bool "Bluetooth self testing support"
	depends on BT && DEBUG_KERNEL
	help
	  Run self tests when initializing the Bluetooth subsystem.  This
	  is a developer option and can cause significant delay when booting
	  the system.

	  When the Bluetooth subsystem is built as module, then the test
	  cases are run first thing at module load time.  When the Bluetooth
	  subsystem is compiled into the kernel image, then the test cases
	  are run late in the initcall hierarchy.

95 96 97 98 99 100 101
config BT_SELFTEST_ECDH
	bool "ECDH test cases"
	depends on BT_LE && BT_SELFTEST
	help
	  Run test cases for ECDH cryptographic functionality used by the
	  Bluetooth Low Energy Secure Connections feature.

102 103 104 105 106 107 108
config BT_SELFTEST_SMP
	bool "SMP test cases"
	depends on BT_LE && BT_SELFTEST
	help
	  Run test cases for SMP cryptographic functionality, including both
	  legacy SMP as well as the Secure Connections features.

109 110 111 112 113 114 115 116
config BT_DEBUGFS
	bool "Export Bluetooth internals in debugfs"
	depends on BT && DEBUG_FS
	default y
	help
	  Provide extensive information about internal Bluetooth states
	  in debugfs.

L
Linus Torvalds 已提交
117
source "drivers/bluetooth/Kconfig"