Message ID | 20230523174906.2751379-1-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 98a9a3c48ce8ce6017672a05176f949ea9f40980 |
Headers | show |
Series | [BlueZ] iso-tester: Make QoS parameters reflect the tests names | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/BuildEll | success | Build ELL PASS |
tedd_an/BluezMake | success | Bluez Make PASS |
tedd_an/MakeCheck | success | Bluez Make Check PASS |
tedd_an/MakeDistcheck | success | Make Distcheck PASS |
tedd_an/CheckValgrind | success | Check Valgrind PASS |
tedd_an/CheckSmatch | success | CheckSparse PASS |
tedd_an/bluezmakeextell | success | Make External ELL PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
tedd_an/ScanBuild | success | Scan Build PASS |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=750362 ---Test result--- Test Summary: CheckPatch PASS 0.48 seconds GitLint PASS 0.32 seconds BuildEll PASS 29.41 seconds BluezMake PASS 1055.99 seconds MakeCheck PASS 12.39 seconds MakeDistcheck PASS 169.26 seconds CheckValgrind PASS 277.56 seconds CheckSmatch PASS 381.92 seconds bluezmakeextell PASS 113.38 seconds IncrementalBuild PASS 918.82 seconds ScanBuild PASS 1221.52 seconds --- Regards, Linux Bluetooth
Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Tue, 23 May 2023 10:49:06 -0700 you wrote: > From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> > > AC 1 + 2 tests shall use their respective QoS parameters. > --- > tools/iso-tester.c | 35 +++++++++++++++++++++-------------- > 1 file changed, 21 insertions(+), 14 deletions(-) Here is the summary with links: - [BlueZ] iso-tester: Make QoS parameters reflect the tests names https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=98a9a3c48ce8 You are awesome, thank you!
diff --git a/tools/iso-tester.c b/tools/iso-tester.c index c59d12ef4ba6..63c37bd52161 100644 --- a/tools/iso-tester.c +++ b/tools/iso-tester.c @@ -101,6 +101,9 @@ #define QOS_IN_1(_interval, _latency, _sdu, _phy, _rtn) \ QOS_FULL(0x01, BT_ISO_QOS_CIS_UNSET, \ QOS_IO(_interval, _latency, _sdu, _phy, _rtn), {}) +#define QOS_IN_2(_interval, _latency, _sdu, _phy, _rtn) \ + QOS_FULL(0x02, BT_ISO_QOS_CIS_UNSET, \ + QOS_IO(_interval, _latency, _sdu, _phy, _rtn), {}) #define QOS_IN_1_1(_interval, _latency, _sdu, _phy, _rtn) \ QOS_FULL(0x01, 0x01, \ QOS_IO(_interval, _latency, _sdu, _phy, _rtn), {}) @@ -148,8 +151,12 @@ /* One unidirectional CIS. Unicast Server is Audio Sink */ #define AC_1_4 QOS_OUT(10000, 10, 40, 0x02, 2) +/* One unidirectional CIS. Unicast Server is Audio Sink CIG 0x01 */ +#define AC_1_4_1 QOS_OUT_1(10000, 10, 40, 0x02, 2) /* One unidirectional CIS. Unicast Server is Audio Source. */ #define AC_2_10 QOS_IN(10000, 10, 40, 0x02, 2) +/* One unidirectional CIS. Unicast Server is Audio Source CIG 0x02 */ +#define AC_2_10_2 QOS_IN_2(10000, 10, 40, 0x02, 2) /* One bidirectional CIS. Unicast Server is Audio Sink and Audio Source. */ #define AC_3_5 QOS(10000, 10, 40, 0x02, 2) /* Two unidirectional CISes. Unicast Server is Audio Sink. @@ -552,20 +559,6 @@ static const struct iso_client_data connect_1_16_2_1 = { .expect_err = 0 }; -static const struct iso_client_data connect_ac_1_2_cig_1_2 = { - .qos = QOS_1_16_2_1, - .qos_2 = QOS_2_16_2_1, - .expect_err = 0, - .mcis = true, -}; - -static const struct iso_client_data connect_ac_1_2 = { - .qos = QOS_16_2_1, - .qos_2 = QOS_16_2_1, - .expect_err = 0, - .mcis = true, -}; - static const struct iso_client_data connect_1_1_16_2_1 = { .qos = QOS_1_1_16_2_1, .expect_err = 0 @@ -918,6 +911,20 @@ static const struct iso_client_data connect_ac_11ii = { .defer = true, }; +static const struct iso_client_data connect_ac_1_2 = { + .qos = AC_1_4, + .qos_2 = AC_2_10, + .expect_err = 0, + .mcis = true, +}; + +static const struct iso_client_data connect_ac_1_2_cig_1_2 = { + .qos = AC_1_4_1, + .qos_2 = AC_2_10_2, + .expect_err = 0, + .mcis = true, +}; + static const struct iso_client_data bcast_16_2_1_send = { .qos = QOS_OUT_16_2_1, .expect_err = 0,
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> AC 1 + 2 tests shall use their respective QoS parameters. --- tools/iso-tester.c | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-)