mbox series

[BlueZ,v7,0/7] tests: add TX timestamping tests

Message ID cover.1712243675.git.pav@iki.fi
Headers show
Series tests: add TX timestamping tests | expand

Message

Pauli Virtanen April 4, 2024, 4:21 p.m. UTC
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

Comments

patchwork-bot+bluetooth@kernel.org April 4, 2024, 7:10 p.m. UTC | #1
Hello:

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

On Thu,  4 Apr 2024 19:21:16 +0300 you wrote:
> Add tests for TX timestamping
> 
> v7:
> - Fix CI (false positive) compiler warning in sco-tester.c
> 
> v6:
> - Rebase.
> 
> [...]

Here is the summary with links:
  - [BlueZ,v7,1/7] lib: add BT_SCM_ERROR
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=b3bfe2110b7a
  - [BlueZ,v7,2/7] iso-tester: Add tests for TX timestamping
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5e85956e11e7
  - [BlueZ,v7,3/7] l2cap-tester: Add test for TX timestamping
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=349d7975e608
  - [BlueZ,v7,4/7] btdev: set nonzero SCO mtu & max pkt
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=7158101e6c35
  - [BlueZ,v7,5/7] sco-tester: add TX timestamping test
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9faf6f908fcc
  - [BlueZ,v7,6/7] bthost: handle client L2CAP conn in LE credit based mode
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9b21ce6f7956
  - [BlueZ,v7,7/7] l2cap-tester: add tests for LE Client read/write/tx-timestamping
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=4fe4fda73be1

You are awesome, thank you!