Kconfig 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. #
  2. # Bluetooth subsystem configuration
  3. #
  4. menuconfig BT
  5. tristate "Bluetooth subsystem support"
  6. depends on NET && !S390
  7. depends on RFKILL || !RFKILL
  8. select CRC16
  9. select CRYPTO
  10. select CRYPTO_BLKCIPHER
  11. select CRYPTO_AES
  12. select CRYPTO_CMAC
  13. select CRYPTO_ECB
  14. select CRYPTO_SHA256
  15. select CRYPTO_ECDH
  16. help
  17. Bluetooth is low-cost, low-power, short-range wireless technology.
  18. It was designed as a replacement for cables and other short-range
  19. technologies like IrDA. Bluetooth operates in personal area range
  20. that typically extends up to 10 meters. More information about
  21. Bluetooth can be found at <http://www.bluetooth.com/>.
  22. Linux Bluetooth subsystem consist of several layers:
  23. Bluetooth Core
  24. HCI device and connection manager, scheduler
  25. SCO audio links
  26. L2CAP (Logical Link Control and Adaptation Protocol)
  27. SMP (Security Manager Protocol) on LE (Low Energy) links
  28. HCI Device drivers (Interface to the hardware)
  29. RFCOMM Module (RFCOMM Protocol)
  30. BNEP Module (Bluetooth Network Encapsulation Protocol)
  31. CMTP Module (CAPI Message Transport Protocol)
  32. HIDP Module (Human Interface Device Protocol)
  33. Say Y here to compile Bluetooth support into the kernel or say M to
  34. compile it as module (bluetooth).
  35. To use Linux Bluetooth subsystem, you will need several user-space
  36. utilities like hciconfig and bluetoothd. These utilities and updates
  37. to Bluetooth kernel modules are provided in the BlueZ packages. For
  38. more information, see <http://www.bluez.org/>.
  39. config BT_BREDR
  40. bool "Bluetooth Classic (BR/EDR) features"
  41. depends on BT
  42. default y
  43. help
  44. Bluetooth Classic includes support for Basic Rate (BR)
  45. available with Bluetooth version 1.0b or later and support
  46. for Enhanced Data Rate (EDR) available with Bluetooth
  47. version 2.0 or later.
  48. source "net/bluetooth/rfcomm/Kconfig"
  49. source "net/bluetooth/bnep/Kconfig"
  50. source "net/bluetooth/cmtp/Kconfig"
  51. source "net/bluetooth/hidp/Kconfig"
  52. config BT_HS
  53. bool "Bluetooth High Speed (HS) features"
  54. depends on BT_BREDR
  55. default y
  56. help
  57. Bluetooth High Speed includes support for off-loading
  58. Bluetooth connections via 802.11 (wifi) physical layer
  59. available with Bluetooth version 3.0 or later.
  60. config BT_LE
  61. bool "Bluetooth Low Energy (LE) features"
  62. depends on BT
  63. default y
  64. help
  65. Bluetooth Low Energy includes support low-energy physical
  66. layer available with Bluetooth version 4.0 or later.
  67. config BT_6LOWPAN
  68. tristate "Bluetooth 6LoWPAN support"
  69. depends on BT_LE && 6LOWPAN
  70. help
  71. IPv6 compression over Bluetooth Low Energy.
  72. config BT_LEDS
  73. bool "Enable LED triggers"
  74. depends on BT
  75. depends on LEDS_CLASS
  76. select LEDS_TRIGGERS
  77. help
  78. This option selects a few LED triggers for different
  79. Bluetooth events.
  80. config BT_SELFTEST
  81. bool "Bluetooth self testing support"
  82. depends on BT && DEBUG_KERNEL
  83. help
  84. Run self tests when initializing the Bluetooth subsystem. This
  85. is a developer option and can cause significant delay when booting
  86. the system.
  87. When the Bluetooth subsystem is built as module, then the test
  88. cases are run first thing at module load time. When the Bluetooth
  89. subsystem is compiled into the kernel image, then the test cases
  90. are run late in the initcall hierarchy.
  91. config BT_SELFTEST_ECDH
  92. bool "ECDH test cases"
  93. depends on BT_LE && BT_SELFTEST
  94. help
  95. Run test cases for ECDH cryptographic functionality used by the
  96. Bluetooth Low Energy Secure Connections feature.
  97. config BT_SELFTEST_SMP
  98. bool "SMP test cases"
  99. depends on BT_LE && BT_SELFTEST
  100. help
  101. Run test cases for SMP cryptographic functionality, including both
  102. legacy SMP as well as the Secure Connections features.
  103. config BT_DEBUGFS
  104. bool "Export Bluetooth internals in debugfs"
  105. depends on BT && DEBUG_FS
  106. default y
  107. help
  108. Provide extensive information about internal Bluetooth states
  109. in debugfs.
  110. source "drivers/bluetooth/Kconfig"