mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-02 16:44:18 +08:00
tools: Add iso-tester
This adds iso-tester which tests BTPROTO_ISO socket: Basic Framework - Success Basic ISO Socket - Success Basic ISO Get Socket Option - Success Basic ISO Set Socket Option - Success ISO QoS 8_1_1 - Success ISO QoS 8_2_1 - Success ISO QoS 16_1_1 - Success ISO QoS 16_2_1 - Success ISO QoS 16_2_1 CIG 0x01 - Success ISO QoS 16_2_1 CIG 0x01 CIS 0x01 - Success ISO QoS 24_1_1 - Success ISO QoS 24_2_1 - Success ISO QoS 32_1_1 - Success ISO QoS 32_2_1 - Success ISO QoS 44_1_1 - Success ISO QoS 44_2_1 - Success ISO QoS 48_1_1 - Success ISO QoS 48_2_1 - Success ISO QoS 48_3_1 - Success ISO QoS 48_4_1 - Success ISO QoS 48_5_1 - Success ISO QoS 48_6_1 - Success ISO QoS 8_1_2 - Success ISO QoS 8_2_2 - Success ISO QoS 16_1_2 - Success ISO QoS 16_2_2 - Success ISO QoS 24_1_2 - Success ISO QoS 24_2_2 - Success ISO QoS 32_1_2 - Success ISO QoS 32_2_2 - Success ISO QoS 44_1_2 - Success ISO QoS 44_2_2 - Success ISO QoS 48_1_2 - Success ISO QoS 48_2_2 - Success ISO QoS 48_3_2 - Success ISO QoS 48_4_2 - Success ISO QoS 48_5_2 - Success ISO QoS 48_6_2 - Success ISO QoS - Invalid ISO Connect2 CIG 0x01 - Success ISO Send - Success ISO Receive - Success ISO Defer - Success ISO Defer Send - Success ISO Defer Receive - Success ISO Defer Reject - Success ISO Send and Receive - Success ISO Broadcaster - Success ISO Broadcaster BIG 0x01 - Success ISO Broadcaster BIG 0x01 BIS 0x01 - Success ISO Broadcaster Receiver - Success
This commit is contained in:
parent
b1b575cf17
commit
26ee34d7be
@ -86,7 +86,7 @@ noinst_PROGRAMS += emulator/btvirt emulator/b1ee emulator/hfp \
|
||||
tools/l2cap-tester tools/sco-tester \
|
||||
tools/smp-tester tools/hci-tester \
|
||||
tools/rfcomm-tester tools/bnep-tester \
|
||||
tools/userchan-tester
|
||||
tools/userchan-tester tools/iso-tester
|
||||
|
||||
emulator_btvirt_SOURCES = emulator/main.c monitor/bt.h \
|
||||
emulator/serial.h emulator/serial.c \
|
||||
@ -194,6 +194,15 @@ tools_userchan_tester_SOURCES = tools/userchan-tester.c monitor/bt.h \
|
||||
emulator/smp.c
|
||||
tools_userchan_tester_LDADD = lib/libbluetooth-internal.la \
|
||||
src/libshared-glib.la $(GLIB_LIBS)
|
||||
|
||||
tools_iso_tester_SOURCES = tools/iso-tester.c monitor/bt.h \
|
||||
emulator/hciemu.h emulator/hciemu.c \
|
||||
emulator/vhci.h emulator/vhci.c \
|
||||
emulator/btdev.h emulator/btdev.c \
|
||||
emulator/bthost.h emulator/bthost.c \
|
||||
emulator/smp.c
|
||||
tools_iso_tester_LDADD = lib/libbluetooth-internal.la \
|
||||
src/libshared-glib.la $(GLIB_LIBS)
|
||||
endif
|
||||
|
||||
if TOOLS
|
||||
|
1702
tools/iso-tester.c
Normal file
1702
tools/iso-tester.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -192,7 +192,6 @@ static char *const qemu_argv[] = {
|
||||
"-machine", "type=q35,accel=kvm:tcg",
|
||||
"-m", "192M",
|
||||
"-nographic",
|
||||
"-vga", "none",
|
||||
"-net", "none",
|
||||
"-no-acpi",
|
||||
"-no-hpet",
|
||||
@ -249,7 +248,7 @@ static void start_qemu(void)
|
||||
snprintf(cmdline, sizeof(cmdline),
|
||||
"console=ttyS0,115200n8 earlyprintk=serial "
|
||||
"rootfstype=9p "
|
||||
"rootflags=trans=virtio,version=9p2000.L "
|
||||
"rootflags=trans=virtio,version=9p2000.u "
|
||||
"acpi=off pci=noacpi noapic quiet ro init=%s "
|
||||
"bluetooth.enable_ecred=1 "
|
||||
"TESTHOME=%s TESTDBUS=%u TESTDAEMON=%u "
|
||||
@ -614,6 +613,7 @@ static const char *test_table[] = {
|
||||
"l2cap-tester",
|
||||
"rfcomm-tester",
|
||||
"sco-tester",
|
||||
"iso-tester",
|
||||
"bnep-tester",
|
||||
"check-selftest",
|
||||
"tools/mgmt-tester",
|
||||
@ -621,6 +621,7 @@ static const char *test_table[] = {
|
||||
"tools/l2cap-tester",
|
||||
"tools/rfcomm-tester",
|
||||
"tools/sco-tester",
|
||||
"tools/iso-tester",
|
||||
"tools/bnep-tester",
|
||||
"tools/check-selftest",
|
||||
NULL
|
||||
|
Loading…
Reference in New Issue
Block a user