OSDN Git Service

Bluetooth: Add conn info lifetime parameters to debugfs
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 14 May 2014 11:43:02 +0000 (13:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 16 May 2014 04:48:05 +0000 (21:48 -0700)
commit31ad169148df2252a774c73c504aff43bfa4b656
tree8ce9716ef7580777342c23c564026dc76c7fe5fd
parent5a134faeef82b46ff4ad244d11d8c6be41679834
Bluetooth: Add conn info lifetime parameters to debugfs

This patch adds conn_info_min_age and conn_info_max_age parameters to
debugfs which determine lifetime of connection information. Actual
lifetime will be random value between min and max age.

Default values for min and max age are 1000ms and 3000ms respectively.

Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c