All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ 1/1] monitor: Ellisys: Add iso packet support
@ 2022-10-22  3:13 xiaokeqinhealth
  2022-10-22  4:49 ` [BlueZ,1/1] " bluez.test.bot
  2022-10-24 20:00 ` [PATCH BlueZ 1/1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: xiaokeqinhealth @ 2022-10-22  3:13 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Yao Xiao

From: Yao Xiao <xiaoyao@rock-chips.com>

Ellisys Bluetooth Analyzer Injection API Services.pdf

HCI Packet Type Object
Value   HCI Packet Type
0x05    HCI ISO Data (host to controller)
0x85    HCI ISO Data (controller to host)
---
 monitor/ellisys.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/monitor/ellisys.c b/monitor/ellisys.c
index 61ac24c23..56d280e9b 100644
--- a/monitor/ellisys.c
+++ b/monitor/ellisys.c
@@ -131,6 +131,12 @@ void ellisys_inject_hci(struct timeval *tv, uint16_t index, uint16_t opcode,
 	case BTSNOOP_OPCODE_SCO_RX_PKT:
 		msg[20] = 0x83;
 		break;
+	case BTSNOOP_OPCODE_ISO_TX_PKT:
+		msg[20] = 0x05;
+		break;
+	case BTSNOOP_OPCODE_ISO_RX_PKT:
+		msg[20] = 0x85;
+		break;
 	default:
 		return;
 	}
-- 
2.25.1


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

end of thread, other threads:[~2022-10-24 21:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-22  3:13 [PATCH BlueZ 1/1] monitor: Ellisys: Add iso packet support xiaokeqinhealth
2022-10-22  4:49 ` [BlueZ,1/1] " bluez.test.bot
2022-10-24 20:00 ` [PATCH BlueZ 1/1] " patchwork-bot+bluetooth

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.