]> Pileus Git - ~andy/linux/commit
Bluetooth: Add management command for setting LE scan parameters
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 15:23:20 +0000 (08:23 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 16:18:13 +0000 (18:18 +0200)
commit14b49b9a49f0d80ef9a3ce7991b373f93016f5e4
treee9ca77ade0ae7b7f9d61725a85632098e6910f79
parentbef64738e3fb87eabc6fbeededad0c44ea173384
Bluetooth: Add management command for setting LE scan parameters

The scan interval and window parameters are used for LE passive
background scanning and connection establishment. This allows
userspace to change the values.

These two values should be kept in sync with whatever is used for
the scan parameters service on remote devices. And it puts the
controlling daemon (for example bluetoothd) in charge of setting
the values.

Main use case would be to switch between two sets of values. One
for foreground applications and one for background applications.

At this moment, the values are only used for manual connection
establishment, but soon that should be extended to background
scanning and automatic connection establishment.

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