iso-tester: Fix test ISO Connect2 CIG 0x01 - Success/Invalid
Luiz Augusto von Dentz
maintainerPATCH 1/1 iso-tester: Fix test ISO Connect2 CIG 0x01 - Success/Invalid
From: Luiz Augusto von Dentz <[email protected]>
This test shall succeed rather than fail as this appears to be a bug in the kernel code preventing Set CIG Parameters to work properly when there are concurrent tasks only one CIS is being programmed.
--- tools/iso-tester.c | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-)
tools/iso-tester.c +3 -26
@@ -2402,29 +2402,6 @@ static void test_connect2_seq(const void *test_data)setup_connect (data,0 , iso_connect2_seq_cb); } -static void test_connect2_nodefer (const void *test_data) -{ -struct test_data *data =tester_get_data (); -int sk, err; - -/* Second connect() shall fail, because CIG is then busy, -* but the first connect() shall succeed. -*/ -setup_connect (data,0 , iso_connect_cb); - - sk =create_iso_sock (data); -if (sk <0 ) { -tester_test_failed (); -return ; - } - - err =connect_iso_sock (data,1 , sk); -if (err != -EINVAL ) -tester_test_failed (); - -close (sk); -} -static gboolean iso_connect_close_cb (GIOChannel *io,GIOCondition cond,gpointer user_data) {
@@ -2697,13 +2674,13 @@ int main(int argc, char *argv[])test_iso ("ISO Connect Wait Close - Success" , &connect_16_2_1, setup_powered, test_connect_wait_close); -test_iso2 ("ISO Defer Connect2 CIG 0x01 - Success" , &defer_1_16_2_1, +test_iso2 ("ISO Connect2 CIG 0x01 - Success" , &connect_1_16_2_1, setup_powered, test_connect2); -test_iso2 ("ISO Connect2 CIG 0x01 - Success/Invalid" , &connect_1_16_2_1, +test_iso2 ("ISO Defer Connect2 CIG 0x01 - Success" , &defer_1_16_2_1, setup_powered, - test_connect2_nodefer); + test_connect2); test_iso("ISO Defer Send - Success", &connect_16_2_1_defer_send, setup_powered,
Signature · 1 line
2.41.0
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=773285
---Test result---
Test Summary:
CheckPatch PASS 0.47 seconds GitLint PASS 0.32 seconds BuildEll PASS 33.67 seconds BluezMake PASS 1007.74 seconds MakeCheck PASS 12.90 seconds MakeDistcheck PASS 188.31 seconds CheckValgrind PASS 301.79 seconds CheckSmatch PASS 406.93 seconds bluezmakeextell PASS 124.09 seconds IncrementalBuild PASS 828.35 seconds ScanBuild PASS 1284.84 seconds
---
Regards,
Linux Bluetooth
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 8 lines · On Fri, 4 Aug 2023 14:57:33 -0700 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
This test shall succeed rather than fail as this appears to be a bug in the kernel code preventing Set CIG Parameters to work properly when there are concurrent tasks only one CIS is being programmed.
--- tools/iso-tester.c | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-)
Here is the summary with links:
- [BlueZ] iso-tester: Fix test ISO Connect2 CIG 0x01 - Success/Invalid
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9665025cc042
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html