All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 1/6] Bluetooth: Introduce HCI_QUIRK_SIMULTANEOUS_DISCOVERY
@ 2015-03-17 16:04 Jakub Pawlowski
  2015-03-17 16:04 ` [PATCH v6 2/6] Bluetooth: Refactor BR/EDR inquiry and LE scan triggering Jakub Pawlowski
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jakub Pawlowski @ 2015-03-17 16:04 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Jakub Pawlowski

Some controllers allow both LE scan and BR/EDR inquiry to run at
the same time, while others allow only one, LE SCAN or BR/EDR
inquiry at given time.

Since this is specific to each controller, add a new quirk setting
that allows drivers to tell the core wether given controller can
do both LE scan and BR/EDR inquiry at same time.

Signed-off-by: Jakub Pawlowski <jpawlowski@google.com>
---
 include/net/bluetooth/hci.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h
index a6ea156..06e7eee 100644
--- a/include/net/bluetooth/hci.h
+++ b/include/net/bluetooth/hci.h
@@ -160,6 +160,14 @@ enum {
 	 * during the hdev->setup vendor callback.
 	 */
 	HCI_QUIRK_STRICT_DUPLICATE_FILTER,
+
+	/* When this quirk is set, LE scan and BR/EDR inquiry is done
+	 * simultaneously, otherwise it's interleaved.
+	 *
+	 * This quirk can be set before hci_register_dev is called or
+	 * during the hdev->setup vendor callback.
+	 */
+	HCI_QUIRK_SIMULTANEOUS_DISCOVERY,
 };
 
 /* HCI device flags */
-- 
2.2.0.rc0.207.ga3a616c


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-17 16:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-17 16:04 [PATCH v6 1/6] Bluetooth: Introduce HCI_QUIRK_SIMULTANEOUS_DISCOVERY Jakub Pawlowski
2015-03-17 16:04 ` [PATCH v6 2/6] Bluetooth: Refactor BR/EDR inquiry and LE scan triggering Jakub Pawlowski
2015-03-17 16:04 ` [PATCH v6 3/6] Bluetooth: Add simultaneous dual mode scan Jakub Pawlowski
2015-03-17 16:04 ` [PATCH v6 4/6] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_ATH3012 Jakub Pawlowski
2015-03-17 16:04 ` [PATCH v6 5/6] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_INTEL Jakub Pawlowski
2015-03-17 16:04 ` [PATCH v6 6/6] Bluetooth: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for BTUSB_CSR Jakub Pawlowski
2015-03-17 16:43 ` [PATCH v6 1/6] Bluetooth: Introduce HCI_QUIRK_SIMULTANEOUS_DISCOVERY Johan Hedberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.