linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/3] tests: add TX timestamping tests
@ 2024-03-02 20:09 Pauli Virtanen
  2024-03-02 20:09 ` [PATCH BlueZ 1/3] lib: add BT_SCM_ERROR sock_extended_err CMSG Pauli Virtanen
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Pauli Virtanen @ 2024-03-02 20:09 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add tests for ISO and L2CAP TX timestamping

Pauli Virtanen (3):
  lib: add BT_SCM_ERROR sock_extended_err CMSG
  iso-tester: Add tests for TX timestamping
  l2cap-tester: Add test for TX timestamping

 lib/bluetooth.h      |   1 +
 tools/iso-tester.c   | 169 ++++++++++++++++++++++++++++++++++++++++---
 tools/l2cap-tester.c | 106 +++++++++++++++++++++++++--
 tools/tester-utils.h | 163 +++++++++++++++++++++++++++++++++++++++++
 4 files changed, 424 insertions(+), 15 deletions(-)
 create mode 100644 tools/tester-utils.h

-- 
2.44.0


^ permalink raw reply	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v2 1/9] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL
@ 2024-03-14 18:21 Pauli Virtanen
  2024-03-14 19:20 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-03-14 18:21 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.

Add new socket option.
---
 lib/bluetooth.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..7c310a69b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
@@ -239,6 +240,8 @@ enum {
 
 #define BT_ISO_BASE		20
 
+#define BT_NO_ERRQUEUE_POLL	21
+
 /* Byte order conversions */
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #define htobs(d)  (d)
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v3 1/8] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL
@ 2024-04-02 16:42 Pauli Virtanen
  2024-04-02 17:59 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-04-02 16:42 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.

Add new socket option.
---
 lib/bluetooth.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..7c310a69b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
@@ -239,6 +240,8 @@ enum {
 
 #define BT_ISO_BASE		20
 
+#define BT_NO_ERRQUEUE_POLL	21
+
 /* Byte order conversions */
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #define htobs(d)  (d)
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v4 1/7] lib: add BT_SCM_ERROR
@ 2024-04-02 18:49 Pauli Virtanen
  2024-04-02 19:56 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-04-02 18:49 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.
---
 lib/bluetooth.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..a4ed65d0b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v5 1/7] lib: add BT_SCM_ERROR
@ 2024-04-03 16:43 Pauli Virtanen
  2024-04-03 17:11 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-04-03 16:43 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.
---
 lib/bluetooth.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..a4ed65d0b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v6 1/7] lib: add BT_SCM_ERROR
@ 2024-04-03 18:26 Pauli Virtanen
  2024-04-03 20:48 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-04-03 18:26 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.
---
 lib/bluetooth.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..a4ed65d0b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH BlueZ v7 1/7] lib: add BT_SCM_ERROR
@ 2024-04-04 16:21 Pauli Virtanen
  2024-04-04 20:47 ` tests: add TX timestamping tests bluez.test.bot
  0 siblings, 1 reply; 13+ messages in thread
From: Pauli Virtanen @ 2024-04-04 16:21 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Pauli Virtanen

Add new CMSG type used in new kernel TX timestamping support.
---
 lib/bluetooth.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 75dc960c8..a4ed65d0b 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -141,6 +141,7 @@ struct bt_voice {
 #define BT_PKT_STATUS		16
 
 #define BT_SCM_PKT_STATUS	0x03
+#define BT_SCM_ERROR		0x04
 
 #define BT_ISO_QOS		17
 
-- 
2.44.0


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

end of thread, other threads:[~2024-04-04 20:47 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-02 20:09 [PATCH BlueZ 0/3] tests: add TX timestamping tests Pauli Virtanen
2024-03-02 20:09 ` [PATCH BlueZ 1/3] lib: add BT_SCM_ERROR sock_extended_err CMSG Pauli Virtanen
2024-03-02 21:06   ` tests: add TX timestamping tests bluez.test.bot
2024-03-02 20:09 ` [PATCH BlueZ 2/3] iso-tester: Add tests for TX timestamping Pauli Virtanen
2024-03-02 20:09 ` [PATCH BlueZ 3/3] l2cap-tester: Add test " Pauli Virtanen
2024-03-04 14:43 ` [PATCH BlueZ 0/3] tests: add TX timestamping tests Luiz Augusto von Dentz
  -- strict thread matches above, loose matches on Subject: below --
2024-03-14 18:21 [PATCH BlueZ v2 1/9] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL Pauli Virtanen
2024-03-14 19:20 ` tests: add TX timestamping tests bluez.test.bot
2024-04-02 16:42 [PATCH BlueZ v3 1/8] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL Pauli Virtanen
2024-04-02 17:59 ` tests: add TX timestamping tests bluez.test.bot
2024-04-02 18:49 [PATCH BlueZ v4 1/7] lib: add BT_SCM_ERROR Pauli Virtanen
2024-04-02 19:56 ` tests: add TX timestamping tests bluez.test.bot
2024-04-03 16:43 [PATCH BlueZ v5 1/7] lib: add BT_SCM_ERROR Pauli Virtanen
2024-04-03 17:11 ` tests: add TX timestamping tests bluez.test.bot
2024-04-03 17:14   ` Luiz Augusto von Dentz
2024-04-03 18:26 [PATCH BlueZ v6 1/7] lib: add BT_SCM_ERROR Pauli Virtanen
2024-04-03 20:48 ` tests: add TX timestamping tests bluez.test.bot
2024-04-04 16:21 [PATCH BlueZ v7 1/7] lib: add BT_SCM_ERROR Pauli Virtanen
2024-04-04 20:47 ` tests: add TX timestamping tests bluez.test.bot

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 NNTP newsgroup(s).