Bluetooth: Make LE scan interval and window a controller option
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 15:23:19 +0000 (08:23 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 11 Oct 2013 16:18:11 +0000 (18:18 +0200)
commitbef64738e3fb87eabc6fbeededad0c44ea173384
tree1f5e1f7e7174a8d8f23860e2c4580d74ca46c726
parent3932eb335a7da8d43090378ea11ba84c3ec0b94a
Bluetooth: Make LE scan interval and window a controller option

The scan interval and window for LE passive scanning and connection
establishment should be configurable on a per controller basis. So
introduce a setting that later on will allow modifying it.

This setting does not affect LE active scanning during device
discovery phase. As long as that phase uses interleaved discovery,
it will continuously scan.

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