]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce force_bredr_smp debugfs option for testing
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 31 Dec 2014 22:43:16 +0000 (14:43 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 2 Jan 2015 21:22:03 +0000 (22:22 +0100)
commitc9ceedb80cd5cd29bc7e32979e7ce8e707c01c2a
tree5266acc0e99f83e468bb0e3416d6f2f718979e72
parent4da2ffd6a6cfb40228f346d505c644aab11ab767
Bluetooth: Introduce force_bredr_smp debugfs option for testing

Testing cross-transport pairing that starts on BR/EDR is only valid when
using a controller with BR/EDR Secure Connections. Devices will indicate
this by providing BR/EDR SMP fixed channel over L2CAP. To allow testing
of this feature on Bluetooth 4.0 controller or controllers without the
BR/EDR Secure Connections features, introduce a force_bredr_smp debugfs
option that allows faking the required AES connection.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h
net/bluetooth/l2cap_core.c
net/bluetooth/smp.c