All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Bluetooth: hci_sync: Enable events for BIS capable device
@ 2023-06-29  9:41 Claudia Draghicescu
  2023-06-29  9:41 ` [PATCH v2 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices Claudia Draghicescu
  0 siblings, 1 reply; 5+ messages in thread
From: Claudia Draghicescu @ 2023-06-29  9:41 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: iulia.tanasescu, Claudia Draghicescu

In the case of a Synchronized Receiver capable device, enable at start-up the
events for PA reports, PA Sync Established and Big Info Adv reports.

Claudia Draghicescu (1):
  Bluetooth: hci_sync: Enable events for BIS capable devices

 net/bluetooth/hci_sync.c | 3 +++
 1 file changed, 3 insertions(+)


base-commit: e63d8ed98082395ca509163f386f5b04f53872b3
-- 
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread
* [PATCH v3 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices
@ 2023-06-29 13:45 Claudia Draghicescu
  2023-06-29 14:36 ` Bluetooth: hci_sync: Enable events for BIS capable device bluez.test.bot
  0 siblings, 1 reply; 5+ messages in thread
From: Claudia Draghicescu @ 2023-06-29 13:45 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: iulia.tanasescu, Claudia Draghicescu

In the case of a Synchronized Receiver capable device, enable at start-up the
events for PA reports, PA Sync Established and Big Info Adv reports.

Signed-off-by: Claudia Draghicescu <claudia.rosu@nxp.com>
---
 net/bluetooth/hci_sync.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index afb8e970e62c..73b49d0c1e11 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -4135,10 +4135,13 @@ static int hci_le_set_event_mask_sync(struct hci_dev *hdev)
 	}
 
 	if (bis_capable(hdev)) {
+		events[1] |= 0x20;	/* LE PA Report */
+		events[1] |= 0x40;	/* LE PA Sync Established */
 		events[3] |= 0x04;	/* LE Create BIG Complete */
 		events[3] |= 0x08;	/* LE Terminate BIG Complete */
 		events[3] |= 0x10;	/* LE BIG Sync Established */
 		events[3] |= 0x20;	/* LE BIG Sync Loss */
+		events[4] |= 0x02;	/* LE BIG Info Advertising Report */
 	}
 
 	return __hci_cmd_sync_status(hdev, HCI_OP_LE_SET_EVENT_MASK,
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices
@ 2023-06-29  8:37 Claudia Draghicescu
  2023-06-29  9:40 ` Bluetooth: hci_sync: Enable events for BIS capable device bluez.test.bot
  0 siblings, 1 reply; 5+ messages in thread
From: Claudia Draghicescu @ 2023-06-29  8:37 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: iulia.tanasescu, Claudia Draghicescu

---
 net/bluetooth/hci_sync.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c
index afb8e970e62c..73b49d0c1e11 100644
--- a/net/bluetooth/hci_sync.c
+++ b/net/bluetooth/hci_sync.c
@@ -4135,10 +4135,13 @@ static int hci_le_set_event_mask_sync(struct hci_dev *hdev)
 	}
 
 	if (bis_capable(hdev)) {
+		events[1] |= 0x20;	/* LE PA Report */
+		events[1] |= 0x40;	/* LE PA Sync Established */
 		events[3] |= 0x04;	/* LE Create BIG Complete */
 		events[3] |= 0x08;	/* LE Terminate BIG Complete */
 		events[3] |= 0x10;	/* LE BIG Sync Established */
 		events[3] |= 0x20;	/* LE BIG Sync Loss */
+		events[4] |= 0x02;	/* LE BIG Info Advertising Report */
 	}
 
 	return __hci_cmd_sync_status(hdev, HCI_OP_LE_SET_EVENT_MASK,
-- 
2.34.1


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

end of thread, other threads:[~2023-06-29 14:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-29  9:41 [PATCH v2 0/1] Bluetooth: hci_sync: Enable events for BIS capable device Claudia Draghicescu
2023-06-29  9:41 ` [PATCH v2 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices Claudia Draghicescu
2023-06-29 10:35   ` Bluetooth: hci_sync: Enable events for BIS capable device bluez.test.bot
  -- strict thread matches above, loose matches on Subject: below --
2023-06-29 13:45 [PATCH v3 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices Claudia Draghicescu
2023-06-29 14:36 ` Bluetooth: hci_sync: Enable events for BIS capable device bluez.test.bot
2023-06-29  8:37 [PATCH 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices Claudia Draghicescu
2023-06-29  9:40 ` Bluetooth: hci_sync: Enable events for BIS capable device bluez.test.bot

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.