Skip to content

tests: add TX timestamping tests

Pauli Virtanen linux-bluetooth 7 versions – Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest7 patches 1 replyApplied
  2. v67 patches 1 replySuperseded
  3. v57 patches 2 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v47 patches1 replySuperseded
v38 patches3 repliesSuperseded
v29 patches1 replySuperseded
v13 patches2 repliesSuperseded

Changes in v7 from the cover letter

- Fix CI (false positive) compiler warning in sco-tester.c

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/7lib: add BT_SCM_ERRORlib/bluetooth.h+1 -01 reply
2/7iso-tester: Add tests for TX timestampingtools/iso-tester.c tools/tester.h+335 -100 replies
3/7l2cap-tester: Add test for TX timestampingtools/l2cap-tester.c+102 -50 replies
4/7btdev: set nonzero SCO mtu & max pktemulator/btdev.c+9 -20 replies
5/7sco-tester: add TX timestamping testtools/sco-tester.c+94 -40 replies
6/7bthost: handle client L2CAP conn in LE credit based modeemulator/bthost.c+180 -250 replies
7/7l2cap-tester: add tests for LE Client read/write/tx-timestampingtools/l2cap-tester.c+40 -10 replies

Reviews trailers per patch

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

Read the v7 thread

Cover letter [PATCH BlueZ v7 0/7] tests: add TX timestamping tests

Add tests for TX timestamping

v7:
- Fix CI (false positive) compiler warning in sco-tester.c

v6:
- Rebase.

v5:
- Add comments & rename send_extra* test data fields
- Rename tester-utils.h -> tester.h
- Use int, not struct so_timestamping for setting SO_TIMESTAMPING, as CI seems to be running old environment without the struct.

v4:
- Drop BT_NO_ERRQUEUE_POLL test and lib #define

v3:
- BT_NO_ERRQUEUE_POLL experimental flag enable in tests
- Drop tester cmdline patch as it's unrelated

v2:
- L2CAP LE Client tests
- SCO TX timestamping test
- Fix emulator bthost L2CAP LE credits send/recv
- Fix emulator SCO send pkts
- BT_NO_ERRQUEUE_POLL test
- Tester command-line option -n

Pauli Virtanen (7):
lib: add BT_SCM_ERROR
iso-tester: Add tests for TX timestamping
l2cap-tester: Add test for TX timestamping
btdev: set nonzero SCO mtu & max pkt
sco-tester: add TX timestamping test
bthost: handle client L2CAP conn in LE credit based mode
l2cap-tester: add tests for LE Client read/write/tx-timestamping

 emulator/btdev.c     |  11 ++-
 emulator/bthost.c    | 205 +++++++++++++++++++++++++++++++++++++------
 lib/bluetooth.h      |   1 +
 tools/iso-tester.c   | 182 +++++++++++++++++++++++++++++++++++---
 tools/l2cap-tester.c | 148 +++++++++++++++++++++++++++++--
 tools/sco-tester.c   |  98 ++++++++++++++++++++-
 tools/tester.h       | 163 ++++++++++++++++++++++++++++++++++
 7 files changed, 761 insertions(+), 47 deletions(-)
 create mode 100644 tools/tester.h
Signature · 1 line
2.44.0