]> git.baikalelectronics.ru Git - kernel.git/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)
commitd4e6c24b725d44b18c3cf51bf3b429b72ddcbf7b
treee9ca77ade0ae7b7f9d61725a85632098e6910f79
parent294b50fc2dab8f2d90093f70df6d0e900d6332a4
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