Directory Files
.. 5
bnep 7
cmtp 7
hidp 6
rfcomm 6
File Size
6lowpan.c 28 kB
Kconfig 4.0 kB
Makefile 720 B
a2mp.c 22 kB
a2mp.h 3.3 kB
af_bluetooth.c 18 kB
amp.c 14 kB
amp.h 1.9 kB
bluetooth.mod.c 0 B
bluetooth_6lowpan.mod.c 0 B
ecdh_helper.c 6.0 kB
ecdh_helper.h 1.4 kB
hci_conn.c 44 kB
hci_core.c 110 kB
hci_debugfs.c 25 kB
hci_debugfs.h 1.6 kB
hci_event.c 145 kB
hci_request.c 72 kB
hci_request.h 5.3 kB
hci_sock.c 45 kB
hci_sysfs.c 2.2 kB
l2cap_core.c 185 kB
l2cap_sock.c 38 kB
leds.c 2.3 kB
leds.h 554 B
lib.c 3.4 kB
mgmt.c 200 kB
mgmt_util.c 6.3 kB
mgmt_util.h 2.2 kB
sco.c 25 kB
selftest.c 8.7 kB
selftest.h 1.6 kB
smp.c 97 kB
smp.h 5.1 kB

Linux v5.2.1 - bluetooth

# SPDX-License-Identifier: GPL-2.0-only
# Bluetooth subsystem configuration

menuconfig BT
	tristate "Bluetooth subsystem support"
	depends on NET && !S390
	depends on RFKILL || !RFKILL
	select CRC16
	select CRYPTO
	select CRYPTO_AES
	select CRYPTO_ECB
	select CRYPTO_SHA256
	  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 <>.

	  Linux Bluetooth subsystem consist of several layers:
	     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
	     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
	  utilities like hciconfig and bluetoothd.  These utilities and updates
	  to Bluetooth kernel modules are provided in the BlueZ packages.  For
	  more information, see <>.

config BT_BREDR
	bool "Bluetooth Classic (BR/EDR) features"
	depends on BT
	default y
	  Bluetooth Classic includes support for Basic Rate (BR)
	  available with Bluetooth version 1.0b or later and support
	  for Enhanced Data Rate (EDR) available with Bluetooth
	  version 2.0 or later.

source "net/bluetooth/rfcomm/Kconfig"

source "net/bluetooth/bnep/Kconfig"

source "net/bluetooth/cmtp/Kconfig"

source "net/bluetooth/hidp/Kconfig"

config BT_HS
	bool "Bluetooth High Speed (HS) features"
	depends on BT_BREDR
	default y
	  Bluetooth High Speed includes support for off-loading
	  Bluetooth connections via 802.11 (wifi) physical layer
	  available with Bluetooth version 3.0 or later.

config BT_LE
	bool "Bluetooth Low Energy (LE) features"
	depends on BT
	default y
	  Bluetooth Low Energy includes support low-energy physical
	  layer available with Bluetooth version 4.0 or later.

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

config BT_LEDS
	bool "Enable LED triggers"
	depends on BT
	depends on LEDS_CLASS
	  This option selects a few LED triggers for different
	  Bluetooth events.

	bool "Bluetooth self testing support"
	depends on BT && DEBUG_KERNEL
	  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.

	bool "ECDH test cases"
	depends on BT_LE && BT_SELFTEST
	  Run test cases for ECDH cryptographic functionality used by the
	  Bluetooth Low Energy Secure Connections feature.

	bool "SMP test cases"
	depends on BT_LE && BT_SELFTEST
	  Run test cases for SMP cryptographic functionality, including both
	  legacy SMP as well as the Secure Connections features.

	bool "Export Bluetooth internals in debugfs"
	depends on BT && DEBUG_FS
	default y
	  Provide extensive information about internal Bluetooth states
	  in debugfs.

source "drivers/bluetooth/Kconfig"