public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pauli Virtanen <pav@iki.fi>
To: linux-bluetooth@vger.kernel.org
Cc: Pauli Virtanen <pav@iki.fi>
Subject: [RFC PATCH BlueZ 0/4] iso-tester: add tests for set & receive ISO HW timestamps
Date: Wed, 11 Mar 2026 18:16:16 +0200	[thread overview]
Message-ID: <cover.1773245672.git.pav@iki.fi> (raw)

Add tests that utilize sending BT_SCM_PKT_ISO_TS / BT_SCM_PKT_SEQNUM to
kernel, and receiving HW timestamps from HCI LE Read ISO TX Sync.

RFC mainly because BT_SCM_PKT_SEQNUM. In cases where userspace decides
to not send packets on all intervals, this might be reasonable to allow
userspace to set, but not fully though out.

Adds tests:

ISO Send - HW Timestamping
ISO Send - SWHW Timestamping
ISO Send - Set HW Timestamp

Pauli Virtanen (4):
  bthost: fix receiving timestamped ISO packets
  btdev: implement LE Read ISO TX Sync command
  iso-tester: add tests for ISO HW timestamps
  iso-tester: Add test for sending ISO packets with set timestamps

 emulator/btdev.c     | 162 +++++++++++++++++++++++++++++++++++++++----
 emulator/bthost.c    |  83 ++++++++++++++--------
 emulator/bthost.h    |   2 +-
 tools/iso-tester.c   | 103 ++++++++++++++++++++++++---
 tools/l2cap-tester.c |   2 +-
 tools/sco-tester.c   |   2 +-
 tools/tester.h       |  70 ++++++++++++++++---
 7 files changed, 359 insertions(+), 65 deletions(-)

-- 
2.53.0


             reply	other threads:[~2026-03-11 16:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-11 16:16 Pauli Virtanen [this message]
2026-03-11 16:16 ` [RFC PATCH BlueZ 1/4] bthost: fix receiving timestamped ISO packets Pauli Virtanen
2026-03-11 17:22   ` iso-tester: add tests for set & receive ISO HW timestamps bluez.test.bot
2026-03-11 16:16 ` [RFC PATCH BlueZ 2/4] btdev: implement LE Read ISO TX Sync command Pauli Virtanen
2026-03-11 16:16 ` [RFC PATCH BlueZ 3/4] iso-tester: add tests for ISO HW timestamps Pauli Virtanen
2026-03-11 16:16 ` [RFC PATCH BlueZ 4/4] iso-tester: Add test for sending ISO packets with set timestamps Pauli Virtanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1773245672.git.pav@iki.fi \
    --to=pav@iki.fi \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox