]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Bluetooth: Add synchronization train parameters reading support
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Sep 2013 08:40:01 +0000 (11:40 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 19 Sep 2013 15:20:07 +0000 (10:20 -0500)
commit5d4e7e8db0544ec53025383bac49a3328affdad3
tree5593027fba948dadfb1628dd10d5b508457ca138
parente793dcf082c847bd2b742c781252c20cbec37986
Bluetooth: Add synchronization train parameters reading support

This patch adds support for reading the synchronization train parameters
for controllers that support the feature. Since the feature is
detectable through the local features page 2, which is retreived only in
stage 3 of the HCI init sequence, there is no other option than to add a
fourth stage to the init sequence.

For now the patch doesn't yet add storing of the parameters, but it is
nevertheless convenient to have around to see what kind of parameters
various controllers use by default (analyzable e.g. with the btmon user
space tool).

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c