mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 11:30:54 +07:00
5547e48c09
Instead of adding the 6LoWPAN functionality to Bluetooth module, we create a separate kernel module for it. Usage: In the slave side do this: $ modprobe bluetooth_6lowpan $ echo 62 > /sys/kernel/debug/bluetooth/6lowpan_psm $ hciconfig hci0 leadv In the master side do this: $ modprobe bluetooth_6lowpan $ echo 62 > /sys/kernel/debug/bluetooth/6lowpan_psm $ echo 'connect E0:06:E6:B7:2A:73 1' > \ /sys/kernel/debug/bluetooth/6lowpan_control The 6LoWPAN functionality can be controlled by psm value. If it is left to 0, then the module is disabled and all the 6LoWPAN connections are dropped if there were any. In the above example, the psm value is just an example and not a real value for 6LoWPAN service. The real psm value is yet to be defined in Bluetooth specification. The 6lowpan controlling interface is a temporary solution until the specifications are ready. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
#
|
|
# Bluetooth subsystem configuration
|
|
#
|
|
|
|
menuconfig BT
|
|
tristate "Bluetooth subsystem support"
|
|
depends on NET && !S390
|
|
depends on RFKILL || !RFKILL
|
|
select CRC16
|
|
select CRYPTO
|
|
select CRYPTO_BLKCIPHER
|
|
select CRYPTO_AES
|
|
select CRYPTO_ECB
|
|
select CRYPTO_SHA256
|
|
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
|
|
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 <http://www.bluez.org/>.
|
|
|
|
config BT_6LOWPAN
|
|
tristate "Bluetooth 6LoWPAN support"
|
|
depends on BT && IPV6
|
|
select 6LOWPAN_IPHC if BT_6LOWPAN
|
|
help
|
|
IPv6 compression over Bluetooth Low Energy.
|
|
|
|
source "net/bluetooth/rfcomm/Kconfig"
|
|
|
|
source "net/bluetooth/bnep/Kconfig"
|
|
|
|
source "net/bluetooth/cmtp/Kconfig"
|
|
|
|
source "net/bluetooth/hidp/Kconfig"
|
|
|
|
source "drivers/bluetooth/Kconfig"
|