Skip to content

RFC iso-tester: add tests for set & receive ISO HW timestamps

Pauli Virtanen linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4bthost: fix receiving timestamped ISO packetsemulator/bthost.c emulator/bthost.h tools/iso-tester.c+58 -301 reply
2/4btdev: implement LE Read ISO TX Sync commandemulator/btdev.c+147 -150 replies
3/4iso-tester: add tests for ISO HW timestampstools/iso-tester.c tools/l2cap-tester.c tools/sco-tester.c +1 more+88 -120 replies
4/4iso-tester: Add test for sending ISO packets with set timestampstools/iso-tester.c tools/tester.h+68 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH BlueZ 0/4] iso-tester: add tests for set & receive ISO HW timestamps

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(-)
Signature · 1 line
2.53.0