]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add simultaneous dual mode scan
authorJakub Pawlowski <jpawlowski@google.com>
Tue, 17 Mar 2015 16:04:14 +0000 (09:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 17 Mar 2015 16:31:00 +0000 (18:31 +0200)
commit0a2cb2b9af511039b1c1057a4cedeeeba0486baf
treea6d218d89270d7713d418ce44034691f101142b5
parent5fcd360124fbaa92372f506f78051f7f90173e9b
Bluetooth: Add simultaneous dual mode scan

When doing scan through mgmt api, some controllers can do both le and
classic scan at same time. They can be distinguished by
HCI_QUIRK_SIMULTANEOUS_DISCOVERY set.

This patch enables them to use this feature when doing dual mode scan.
Instead of doing le, then classic scan, both scans are run at once.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/mgmt.c