Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2970857rdb; Tue, 6 Feb 2024 03:28:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxQ4hYEZV/HAMhDBJSTG4cHfcqcBwS+0jcqY246Gwm6S4Il08E9BHJOfEz2sf5hnh/dyUf X-Received: by 2002:a05:6a21:998f:b0:19e:34ea:36ab with SMTP id ve15-20020a056a21998f00b0019e34ea36abmr1483592pzb.16.1707218909931; Tue, 06 Feb 2024 03:28:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707218909; cv=pass; d=google.com; s=arc-20160816; b=bPxklFR1+KZPKPzfIgC+qB/sa0x+kYZ6Zk3RMKAS8I/cN3dugD4WaDCH4spRv3rjk1 Y+s9LyxAHOLQGBFG1zS2bsRcQapkM/wSg+VixL85GRVVPoc5dE1A0ACrmL/x4P5PIzHA WQfM3nsP20F6i7OO6tj5g4T6tkfJkBPa9H3irmk4JtdwriHGTUeF7P/NvujEfkzGr1kS /yWbA8p6FjKlz12nPT3VJfM7LPtE+Je3NjHPKGhpOml+5vt9VsCwlCmd26biLzi6oLNM +3jJMkad3A7qZPUOQhiz3lvlsyfvw3uPC9q6rtixvQZYIBtEoHRRhuSUzG1QZoyA4uel qCPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=kZxQjr/UBpWAWW9DTtr90WfSnywfaJ744VnEo3QB08o=; fh=b/BGcKN+EvFiNCtL2z5UlKnfA4/n/DI22vYBmJ930Fo=; b=fmS3j9D+3+TOYWjweaRFVufFTMLQs4QqPWtFAcBbwIChtkJbwtjV4ePUs8BO9CfUey LrJLbqxBrH/3Iv1G+8hBMln7Um0WRwy4jLE8uhSDebvKMnkD7dbZX3vqNlKo7IexG2dT cPxVH0Pcybvp+9tqnq/zRDLtU1KoR7myz4o7UhrvK9Pk+Y6htev5SoNXfpJV2Pdnedrm zQhstWYmMCU4DzeqmevuYlHkjmp/iL+q/pYqMkE3nJ6VCkoLOkUUhIrH795LKBOw27cY H6lgvT3BrrbHWehL4b8nlQpgJinSio1KQ6E0ZmP8JxlKcUCyICKRsKX0GYfRACXj77mV Me5A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=v0yd.nl); spf=pass (google.com: domain of linux-bluetooth+bounces-1628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1628-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCW9wbqnXMhM1qJKaDQyOlnyfUYSGiFzHXuOOpNO3NY3lHI+IZ7+FDj0lchATeL5hNimv37cn9X6EoIHh8aIGYeHIOyi3WxyeH/CvyfmEw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u11-20020a056a00124b00b006e04a3a3e01si1514997pfi.171.2024.02.06.03.28.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 03:28:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=v0yd.nl); spf=pass (google.com: domain of linux-bluetooth+bounces-1628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1628-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6DBEFB22BA7 for ; Tue, 6 Feb 2024 11:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7402D6DCF7; Tue, 6 Feb 2024 11:23:13 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F287D43AB8 for ; Tue, 6 Feb 2024 11:23:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.241.56.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218593; cv=none; b=Hiy4E0+7Qd6QJryvsEs8FSf2uUqUsSc8ggwDHH90spxyZH7zMSD8QxGs1hiBWFeZ28BajOmiSKz6A8vnCaOuQtMJ4fAc26ygu9a76Z4x1Wfg5sFVU8NkDqWnjpl5On63Di9zOz/ZySqq3FeKJPwWcupTdSq4LgU/CZyfJidHA+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707218593; c=relaxed/simple; bh=mkzuY9bRKNTMqmmTgQ4z+EnRoUhF4H/VsBLIipsIeZs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=DYe0LjFBuznozpVlgi6GpNApPn8ITzzVRY1AcjNGyw1qLqnz6aIEpUH5rFWl17ja/QRafdm60PrTEY3QgLkunD+LHleJFung4XCZNDZqTabVjMD6VSb/jJkLrGsBxez6AEsMwE4GTQLyT6BKunlS2Gl72b93vDuG+RX6CxgQj8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=v0yd.nl; spf=pass smtp.mailfrom=v0yd.nl; arc=none smtp.client-ip=80.241.56.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=v0yd.nl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=v0yd.nl Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TTgpf3Jfcz9t3V; Tue, 6 Feb 2024 12:23:06 +0100 (CET) From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= To: linux-bluetooth@vger.kernel.org, Luiz Augusto von Dentz Cc: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Subject: [PATCH BlueZ v2 0/4] Adjust tests for sequential conn establishing Date: Tue, 6 Feb 2024 12:22:49 +0100 Message-ID: <20240206112253.76446-1-verdre@v0yd.nl> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We're going to change the logic to establish connections to ACL devices in the kernel so that they only happen sequentially, similar to what we're already doing for "LE Create Connection". This needs a change in mgmt-tester, and while at it, let's also introduce a test verifying the new behavior. Also included in this series is a small drive-by fix for running mgmt-tester with address sanititzer. Kernel series: https://lore.kernel.org/linux-bluetooth/20240206110816.74995-1-verdre@v0yd.nl/ --- v1: https://lore.kernel.org/linux-bluetooth/20240129114900.92919-1-verdre@v0yd.nl/ v2: - Switched to terminating lists for expect_hci_list using {} instead of opcode = 0 as suggested by review - Changed the timeout for sending page timeout error to 5.12 seconds as suggested by review Jonas Dreßler (4): mgmt-tester: Add a 0-entry to expect_hci_list lists mgmt-tester: Adjust a test for recent kernel changes emulator/btdev: Send page timeout after 5.12 secs delay mgmt-tester: Add a test for connecting sequentially emulator/btdev.c | 32 +++++++++++- tools/mgmt-tester.c | 115 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 145 insertions(+), 2 deletions(-) -- 2.43.0