Hi Andrzej, > This patch adds debugfs entry to configure minimum interval between > refreshing data using Get Connection Information request. Default value > is 2000ms. > > Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@xxxxxxxxx> > --- > include/net/bluetooth/hci_core.h | 3 +++ > net/bluetooth/hci_core.c | 4 ++++ > net/bluetooth/mgmt.c | 5 ++--- > 3 files changed, 9 insertions(+), 3 deletions(-) > > diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h > index 8d7d48b..a1eb022 100644 > --- a/include/net/bluetooth/hci_core.h > +++ b/include/net/bluetooth/hci_core.h > @@ -145,6 +145,8 @@ struct oob_data { > /* Default LE RPA expiry time, 15 minutes */ > #define HCI_DEFAULT_RPA_TIMEOUT (15 * 60) > > +#define DEFAULT_CONN_INFO_INTERVAL 2000 > + > struct amp_assoc { > __u16 len; > __u16 offset; > @@ -200,6 +202,7 @@ struct hci_dev { > __u16 le_conn_min_interval; > __u16 le_conn_max_interval; > __u16 discov_interleaved_timeout; > + __u16 conn_info_interval; > __u8 ssp_debug_mode; the name should be either conn_info_max_age or conn_info_lifetime. It is not an interval since we are not the ones doing the polling. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html