Linux-Bluetooth Archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] shared/btsnoop: Add proper identifiers for ISO packets
@ 2024-03-20 18:30 Luiz Augusto von Dentz
  2024-03-20 20:03 ` [BlueZ,v1] " bluez.test.bot
  2024-03-22 10:10 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 3+ messages in thread
From: Luiz Augusto von Dentz @ 2024-03-20 18:30 UTC (permalink / raw
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This adds ISO packets identifiers so they are properly stored on files.
---
 src/shared/btsnoop.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/shared/btsnoop.c b/src/shared/btsnoop.c
index 8b93203b3..bc5f7fcbe 100644
--- a/src/shared/btsnoop.c
+++ b/src/shared/btsnoop.c
@@ -305,6 +305,9 @@ static uint32_t get_flags_from_opcode(uint16_t opcode)
 	case BTSNOOP_OPCODE_SCO_TX_PKT:
 	case BTSNOOP_OPCODE_SCO_RX_PKT:
 		break;
+	case BTSNOOP_OPCODE_ISO_TX_PKT:
+	case BTSNOOP_OPCODE_ISO_RX_PKT:
+		break;
 	case BTSNOOP_OPCODE_OPEN_INDEX:
 	case BTSNOOP_OPCODE_CLOSE_INDEX:
 		break;
@@ -428,6 +431,14 @@ static bool pklg_read_hci(struct btsnoop *btsnoop, struct timeval *tv,
 		*index = 0x0000;
 		*opcode = BTSNOOP_OPCODE_SCO_RX_PKT;
 		break;
+	case 0x12:
+		*index = 0x0000;
+		*opcode = BTSNOOP_OPCODE_ISO_TX_PKT;
+		break;
+	case 0x13:
+		*index = 0x0000;
+		*opcode = BTSNOOP_OPCODE_ISO_RX_PKT;
+		break;
 	case 0x0b:
 		*index = 0x0000;
 		*opcode = BTSNOOP_OPCODE_VENDOR_DIAG;
@@ -470,6 +481,11 @@ static uint16_t get_opcode_from_flags(uint8_t type, uint32_t flags)
 			return BTSNOOP_OPCODE_SCO_TX_PKT;
 	case 0x04:
 		return BTSNOOP_OPCODE_EVENT_PKT;
+	case 0x05:
+		if (flags & 0x01)
+			return BTSNOOP_OPCODE_ISO_RX_PKT;
+		else
+			return BTSNOOP_OPCODE_ISO_TX_PKT;
 	case 0xff:
 		if (flags & 0x02) {
 			if (flags & 0x01)
-- 
2.44.0


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

* RE: [BlueZ,v1] shared/btsnoop: Add proper identifiers for ISO packets
  2024-03-20 18:30 [PATCH BlueZ v1] shared/btsnoop: Add proper identifiers for ISO packets Luiz Augusto von Dentz
@ 2024-03-20 20:03 ` bluez.test.bot
  2024-03-22 10:10 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: bluez.test.bot @ 2024-03-20 20:03 UTC (permalink / raw
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=836816

---Test result---

Test Summary:
CheckPatch                    PASS      0.45 seconds
GitLint                       PASS      0.32 seconds
BuildEll                      PASS      24.02 seconds
BluezMake                     PASS      1746.26 seconds
MakeCheck                     PASS      13.24 seconds
MakeDistcheck                 PASS      176.76 seconds
CheckValgrind                 PASS      248.79 seconds
CheckSmatch                   PASS      353.43 seconds
bluezmakeextell               PASS      120.04 seconds
IncrementalBuild              PASS      1488.60 seconds
ScanBuild                     PASS      996.75 seconds



---
Regards,
Linux Bluetooth


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

* Re: [PATCH BlueZ v1] shared/btsnoop: Add proper identifiers for ISO packets
  2024-03-20 18:30 [PATCH BlueZ v1] shared/btsnoop: Add proper identifiers for ISO packets Luiz Augusto von Dentz
  2024-03-20 20:03 ` [BlueZ,v1] " bluez.test.bot
@ 2024-03-22 10:10 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+bluetooth @ 2024-03-22 10:10 UTC (permalink / raw
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Wed, 20 Mar 2024 18:30:37 +0000 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> This adds ISO packets identifiers so they are properly stored on files.
> ---
>  src/shared/btsnoop.c | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Here is the summary with links:
  - [BlueZ,v1] shared/btsnoop: Add proper identifiers for ISO packets
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9250929edde3

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2024-03-22 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-20 18:30 [PATCH BlueZ v1] shared/btsnoop: Add proper identifiers for ISO packets Luiz Augusto von Dentz
2024-03-20 20:03 ` [BlueZ,v1] " bluez.test.bot
2024-03-22 10:10 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).