]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Store latency and supervision timeout in connection params
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 29 Jun 2014 14:43:26 +0000 (16:43 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:50 +0000 (17:42 +0200)
commitf044eb0524a02ea7f921c9234fbdba43290da1e2
tree98a3ac81fdefaa594f2f4bb17058b8fe278bd0d9
parent1c1697c0cad41fa468e3cb6061ce74debb4f3733
Bluetooth: Store latency and supervision timeout in connection params

When the slave updates the connection parameters, store also the
connection latency and supervision timeout information in the
internal list of connection parameters for known devices.

Having these values available allowes the auto-connection
procedure to use the correct values from the beginning without
having to request an update on every connection establishment.

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_conn.c
net/bluetooth/hci_core.c