mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-30 13:38:40 +00:00
daf4ce85cd
Recent changes to hci_core.c use crypto interfaces, so select CRYPTO to make sure that those interfaces are present. Fixes these build errors when CRYPTO is not enabled: net/built-in.o: In function `hci_register_dev': (.text+0x4cf86): undefined reference to `crypto_alloc_base' net/built-in.o: In function `hci_unregister_dev': (.text+0x4f912): undefined reference to `crypto_destroy_tfm' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
71 lines
2.2 KiB
Plaintext
71 lines
2.2 KiB
Plaintext
#
|
|
# Bluetooth subsystem configuration
|
|
#
|
|
|
|
menuconfig BT
|
|
tristate "Bluetooth subsystem support"
|
|
depends on NET && !S390
|
|
depends on RFKILL || !RFKILL
|
|
select CRYPTO
|
|
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:
|
|
Bluetooth Core (HCI device and connection manager, scheduler)
|
|
HCI Device drivers (Interface to the hardware)
|
|
SCO Module (SCO audio links)
|
|
L2CAP Module (Logical Link Control and Adaptation Protocol)
|
|
RFCOMM Module (RFCOMM Protocol)
|
|
BNEP Module (Bluetooth Network Encapsulation Protocol)
|
|
CMTP Module (CAPI Message Transport Protocol)
|
|
HIDP Module (Human Interface Device Protocol)
|
|
SMP Module (Security Manager 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 <http://www.bluez.org/>.
|
|
|
|
if BT != n
|
|
|
|
config BT_L2CAP
|
|
bool "L2CAP protocol support"
|
|
select CRC16
|
|
select CRYPTO
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AES
|
|
select CRYPTO_ECB
|
|
help
|
|
L2CAP (Logical Link Control and Adaptation Protocol) provides
|
|
connection oriented and connection-less data transport. L2CAP
|
|
support is required for most Bluetooth applications.
|
|
|
|
Also included is support for SMP (Security Manager Protocol) which
|
|
is the security layer on top of LE (Low Energy) links.
|
|
|
|
config BT_SCO
|
|
bool "SCO links support"
|
|
help
|
|
SCO link provides voice transport over Bluetooth. SCO support is
|
|
required for voice applications like Headset and Audio.
|
|
|
|
endif
|
|
|
|
source "net/bluetooth/rfcomm/Kconfig"
|
|
|
|
source "net/bluetooth/bnep/Kconfig"
|
|
|
|
source "net/bluetooth/cmtp/Kconfig"
|
|
|
|
source "net/bluetooth/hidp/Kconfig"
|
|
|
|
source "drivers/bluetooth/Kconfig"
|
|
|