]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add debug setting for changing minimum encryption key size
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 16 Jul 2019 18:34:41 +0000 (20:34 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 17 Aug 2019 10:54:40 +0000 (13:54 +0300)
commitf62bd5e043311e4bb5104c0688c52178dbe5a586
tree3232c0e7f6658ead557a8d5c6055676143dd3456
parent960ee0cbc5e276bb934e2348cfd9c476b12d923c
Bluetooth: Add debug setting for changing minimum encryption key size

For testing and qualification purposes it is useful to allow changing
the minimum encryption key size value that the host stack is going to
enforce. This adds a new debugfs setting min_encrypt_key_size to achieve
this functionality.

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