From patchwork Tue May 14 20:41:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pauli Virtanen X-Patchwork-Id: 13664421 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (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 EB06C365 for ; Tue, 14 May 2024 20:41:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719321; cv=pass; b=MMgUjn+FFQK50rp5quLe5H+M5dWqKl0b1cFmYmtSWGDjbsxFQrLMQ+vn1Nn8aTH87i7FCMegwVaV8BO7VQ8xLrb3/Q4QZriqavBqm8vYwuMwFktM9CjnQ3S1eNi6hpxzrtRqoSNLC/1JFwTa+ebKShXnNLvkE9WKwippwyA+ZTE= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719321; c=relaxed/simple; bh=o7xea0l3cdI7iKOBK11360xGhye9BD2hvlCxYhBNhok=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SFxmcr97dAh1qBWG5rBbQ1V6J4WkrLiB+JzqQsHs/3C9tq1scLhIfop83WuWwcKkIY+gdAzoTDrbLNxfOhCwgXQyyYfYrHHD0joww1S0YAacFNA3/r758C64+Um3u6MjBXDo5haKkt3qS5XtEzpgax0xi3K11dlqu0lQnpvIhUI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=FBlFdIAu; arc=pass smtp.client-ip=185.185.170.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="FBlFdIAu" Received: from monolith.lan (unknown [193.138.7.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4Vf7ZB1dSRz49Pxk; Tue, 14 May 2024 23:41:54 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=n5Q3RcNn6aqRf9vxqs0zp6Q/tBJ32vbsd0o+j0yspsE=; b=FBlFdIAubvxdeZcJ2K+q5ij0obYuB0cb9TVZU5w01tNlbz6mGy6xbnquhlP6VAiUVvDaLF RRAf/0a6qPQUQOZqI2p956ilKhRHSKkSdIUb8Hmim7Njcj133BjOSCHuDhgGLTP3QZIcye W97Xzq/z+CNIkb4NvwBKmYB6lMTQCGGTpQvzE+4IWhJLk8/BE+9FE1e9WC/7AgsopmWGlI 9SRYvRe2ZqBOUEQq1Z9M5RGqGkL6B7sAhTH/JUMYVktZdzYHxDMSwHOwkHeaT3CB0Q9m9R 4RGVtL3d6RAd9rdubwcEesosxcPfun7/KyYLsDt+Ab5QxUxJVhsdCXcdbK8G8Q== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1715719314; a=rsa-sha256; cv=none; b=KGyk3HWd1O/4PHkMAU6oRG+q4TLI4F9YTSxTaY7+hI0604qswTUu3wUiIYasdyN244MlON PUl0i/j+ZEO33ae38JAIcAi2o1HVxG/yyCCEZ4UO6WTGYTTydlBU8Pos25nDEZrlq4UoAL faopaIu5woIYSEiwva1dlA/O3JHrK+wlzUgBXHsJxiKK1YSsSCc0EoXXPQC8ck5kP9G6yl GBLAufuQvhTg/LP2VuaAyf4Fe6cNgzmsyjMDLrvSmV8ZpPWrMKWQaC3HvETjCuO0twzYt1 4rAYLK99D0sOvsDj1DjKr5LVhmUPnO/l9f9a0ExcNjdNMe+th5HW1Hc+WwVDsg== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719314; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=n5Q3RcNn6aqRf9vxqs0zp6Q/tBJ32vbsd0o+j0yspsE=; b=EfAEOPYzQtYFMLz0Zl4X0p3jYVr47lYhbNtpSxa0YNVrGiphmNOFLpzwvmGko/FGeeW0hh 3rlqbbCkLY1Pmw2+HY8gUnH+J8bZKK43imoU3ctV4yB1WPqXDe2dRFt3v8Sa6P124FBI/e nqRoVOc/m9jjyCZIRTF6fBlBRtI4jhtrDb5SGmy7Yqk1lkuC5gY74jQUEB/T4Ly22ORlgC /ITCpkF/ZC/FavkWmX0eCwzXDGJtivahs74YTKilTjnDfxyuShv7qqGdv2P9e4mSIQLwPP X5BfvMKTCzolw9MD3HFXgq3/yo1/be/kvFWVgevX3eya8zqJ3ZnhwmMGsfNRDw== From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ 1/3] shared/tester: add ability to skip tests unless explicitly selected Date: Tue, 14 May 2024 23:41:48 +0300 Message-ID: X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Make it possible to skip running a test, and skip running if the test was not explicitly selected on command line. --- Notes: This series disables the TX timestamping related tests by default for now. The TX timestamping itself should be OK, and the assumption is we'd re-enable these tests again once the kernel feature is reworked. I left the BT_POLL_ERRQUEUE parts in aside from the tests for now, not yet clear where if that is going to go further yet. src/shared/tester.c | 32 ++++++++++++++++++++++++++++++++ src/shared/tester.h | 2 ++ 2 files changed, 34 insertions(+) diff --git a/src/shared/tester.c b/src/shared/tester.c index a1ee5b687..56c8cba6f 100644 --- a/src/shared/tester.c +++ b/src/shared/tester.c @@ -563,6 +563,38 @@ void tester_pre_setup_failed(void) g_idle_add(done_callback, test); } +void tester_pre_setup_abort(void) +{ + struct test_case *test; + + if (!test_current) + return; + + test = test_current->data; + + if (test->stage != TEST_STAGE_PRE_SETUP) + return; + + if (test->timeout_id > 0) { + timeout_remove(test->timeout_id); + test->timeout_id = 0; + } + + print_progress(test->name, COLOR_YELLOW, "not run"); + + g_idle_add(done_callback, test); +} + +bool tester_pre_setup_skip_by_default(void) +{ + if (!option_prefix && !option_string) { + tester_pre_setup_abort(); + return true; + } + + return false; +} + void tester_setup_complete(void) { struct test_case *test; diff --git a/src/shared/tester.h b/src/shared/tester.h index 16f41022d..1f8138434 100644 --- a/src/shared/tester.h +++ b/src/shared/tester.h @@ -59,6 +59,8 @@ void *tester_get_data(void); void tester_pre_setup_complete(void); void tester_pre_setup_failed(void); +void tester_pre_setup_abort(void); +bool tester_pre_setup_skip_by_default(void); void tester_setup_complete(void); void tester_setup_failed(void); From patchwork Tue May 14 20:41:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pauli Virtanen X-Patchwork-Id: 13664419 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (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 EB0A23D69 for ; Tue, 14 May 2024 20:41:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719320; cv=pass; b=auv5r0tC5V9Uhq8EyOU/hnYaryFwxC+6UvVO575y/10HJE1uA50T0o4fL/by6slytTSvLqN11U7OxOgK1eP5KcTOihShwiHa2ZZWv1fsSLR/JaYmn6s4oME2gSwXMsvxv2WMzd/fEDfolE5iUSIQlqVOWiuFkV+m2Z3TDvmOpVs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719320; c=relaxed/simple; bh=smN4YFx3lN8TysEC1D7lSZu7UvDc7rfNaK8xnbkPPWY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RFLBw+zLt3aYfprexVX0HLDcZobsLNTXmITpz2Ypi73nmTNYeIjzFCRV6HxcMuGkVq1ZJv/TxlMicyQpm0Hz4agVNyK6I9aZWcUuiYoFS0oDe5E7JcegvSeaVUCLWzqssriStwoosKVBevBOYlOkl+MIbZNVMcDxfzuZd67LoLY= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=LOSyEO9U; arc=pass smtp.client-ip=185.185.170.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="LOSyEO9U" Received: from monolith.lan (unknown [193.138.7.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4Vf7ZC2jpzz49Q2Q; Tue, 14 May 2024 23:41:55 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Iqr216H90c1VZMKSKecVXtTYE+O2T0UB5R0wxqjVPoQ=; b=LOSyEO9Uj0e6zcKtWMSDf/CtNbwht548mKVF9SCLw7b22d0UpGWEVq2Q1un/vc8K80CSX3 9rqfzCsPhC1/HM2VXiqx7j49fVzp5I50+2OQj4f2USuyYC2KWsZRLx6rSZ06Newwv6IvVK JNnZ+TSa5wJ/S/StIKKarxH9nfqd9DItXVv8pkZz9cXVNTmBf3Q5S/J/FGo74bL10C+x8X fwYRay1U1MIRGVPC3D1GQgPGSrqUyOH/iex6wYj+yalErFIaBRNkEV3Lado8mL5D19vlTE Xfbuj6igA4Rme2xH3F4CIEOUV1bkcyFWW9ecbY/g2UFHh5UFoJzZVykt8yaIhQ== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1715719316; a=rsa-sha256; cv=none; b=iMhd/ZhmvXfxiFHu5q8fatD6z9JFlE+43ZlBbuud9j/WyzYk1gLDI+qawWPmeIteCJWvc+ iO2LA+KqZahQAKeYg2bAo8FHNC33uShNFfQSxEMxo2xUMsq+xLH/OmR2Q464qYPSvJJy9Z jr95Wsoi779iJtItnPXJnO7MtGg+bck+g2xXiMrgSgOJCziBx7j20QVBwDLnbXphcJ9DCU z8kB+U9plfXERPF1dOwk+Kr5VoLgcknkRunhUYDGU1ObQ4oRAW3kCaO/JetqxOUuNedXln nA1t/IAgPkn87Zf1uc4mBm40bNlWVxb4aeY9avMU0i42KUQKQcD1bwvFBgL5JA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Iqr216H90c1VZMKSKecVXtTYE+O2T0UB5R0wxqjVPoQ=; b=Hte4Axw62e8yEdwk7O+ZoYsFwE9FYSaDR5Athhr4pNhFKM3GDR9ONTHIdVqGeMqKX9MAw5 EFPClKWQgswO87qfW1bWm3Gbb3SkA7PcqwOpUaI2uy5qm6pUTX0QpNN3+Z/Vkxmm5n9Hk4 yxpkNkntQClL3PiSArtwTDUxFstyS1Luqiq+GdcJgbmbSHngMnC5Ae2y/g76tGEhVIX+KI +8IkKFvp0R2oikkJzXcLtWJGRM54czVLx4lgFvQse1gQAmQ3naakD/AdY3PWvOJ+pPfOws aM1WYE1U+Q7mPQLRZGNn7tXcj8N70yUxrVjJa8SCqD+cmpGA65yyMAEw99q2Iw== From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ 2/3] tools: disable running TX timestamping tests for now Date: Tue, 14 May 2024 23:41:49 +0300 Message-ID: <2913ef3da3faabea047ff977c579329a873cbff4.1715719254.git.pav@iki.fi> X-Mailer: git-send-email 2.45.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Disable the TX timestamping related tests for now, as the feature will need some further work. --- tools/iso-tester.c | 5 +++++ tools/l2cap-tester.c | 6 ++++++ tools/sco-tester.c | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/tools/iso-tester.c b/tools/iso-tester.c index d54fa56ec..e80c2159c 100644 --- a/tools/iso-tester.c +++ b/tools/iso-tester.c @@ -690,6 +690,11 @@ static void test_pre_setup(const void *test_data) struct test_data *data = tester_get_data(); const struct iso_client_data *isodata = test_data; + if (isodata && isodata->so_timestamping) { + if (tester_pre_setup_skip_by_default()) + return; + } + data->mgmt = mgmt_new_default(); if (!data->mgmt) { tester_warn("Failed to setup management interface"); diff --git a/tools/l2cap-tester.c b/tools/l2cap-tester.c index 02d1571d2..c34080654 100644 --- a/tools/l2cap-tester.c +++ b/tools/l2cap-tester.c @@ -214,6 +214,12 @@ static void read_index_list_callback(uint8_t status, uint16_t length, static void test_pre_setup(const void *test_data) { struct test_data *data = tester_get_data(); + const struct l2cap_data *l2data = test_data; + + if (l2data && l2data->so_timestamping) { + if (tester_pre_setup_skip_by_default()) + return; + } data->mgmt = mgmt_new_default(); if (!data->mgmt) { diff --git a/tools/sco-tester.c b/tools/sco-tester.c index ff8a3613f..a56cb9153 100644 --- a/tools/sco-tester.c +++ b/tools/sco-tester.c @@ -197,6 +197,12 @@ static void read_index_list_callback(uint8_t status, uint16_t length, static void test_pre_setup(const void *test_data) { struct test_data *data = tester_get_data(); + const struct sco_client_data *scodata = test_data; + + if (scodata && scodata->so_timestamping) { + if (tester_pre_setup_skip_by_default()) + return; + } data->mgmt = mgmt_new_default(); if (!data->mgmt) { From patchwork Tue May 14 20:41:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pauli Virtanen X-Patchwork-Id: 13664420 Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (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 C6B291E491 for ; Tue, 14 May 2024 20:41:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719320; cv=pass; b=MSRGA8cnGN8r1sNWjAEbi9okLflTdyRE4WB7QrvNU86+PqDoxlXOZfdj8n9l3D/3LHZAVfTv9qBEfwM4hmQeVpoWtHd7gJa8yRiTve+Zk2m/rfg3T5jnSZVzE4xQnFTx+nRrbqVgXUvmUXBB9tqpHp1Mq5v1rx9GmxKwCV3kNbo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715719320; c=relaxed/simple; bh=AVUzjYatJ02rlV3DInEUUBOTWGL6j4X8R8oL/qyuORY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nFSDJrK+GTV78TbxSbujaG7GuiCxfc8WezZH9od2E2lBHdVd1XZYsU4lPAfbCE6qYpDTYSGhVYt5/jdXZgU9/9F77c/MUGvLpxwvinHIAGdE7NN2tbasqct2e4JCt27arFzKum6CeHm1MHCkk9uw6NEz+mrjbiRBVHw6UPx9y1c= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=IffPbj66; arc=pass smtp.client-ip=185.185.170.37 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="IffPbj66" Received: from monolith.lan (unknown [193.138.7.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4Vf7ZD2YQnz49Q4h; Tue, 14 May 2024 23:41:56 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aUtJ/X/0s/LmzrB87rT0R8DAuO6wT9oVaxjR3BOoqx4=; b=IffPbj66qaVHE/ZfuOPoYkLLU76Niap3KbOEZwxvwXBcEcO8TXCGpCzu0pWcqaOpUsGqY4 +Hb14TV+8lnF0aarrM/yNgdCwVw69cCxJWTzViv35DNYhvM9x8Wdd/wbzyM87IuxXpB0I1 VQAl7PfxlTGgVtt45/+YY7WF7Bsi2xKa6ajMHHoQ7WB4FLqSSzQc6N3MuM4xg1/1RBJuyn IQhdZIODtWbXCO2wsVoNy0jOfEjDYZ8xz/7LtKWOs8GvHKTLrXAFc7WWd6bB6XcnwvOSg5 pqF/pweJ0mudq/+xTFxJ/lxDvDil0WHG9GUDHs6q/l8XLYLrumg8YL/gK4IXQg== ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1715719317; a=rsa-sha256; cv=none; b=iq2w5UxXuRfwLcrQ6wPJRBRlaoknKz9vyiGwbIeLyLFEqlHcPmGBApJ2fpOR/2UKLaL8zd CYke9I8mzbjNdTM+w8m3np/IbNrGk/oHdjaQKtpIWDk1TcbIUQBBJzPjYzd15JpCDUtcn8 +bX4WufHXsjyzjrPqmcw1jHpYWbmuJSzzi4wFcFVBrjxeyaOzBq+A+UMQrsraX7PaiqAu7 ZVvgFFC2sYWNde7El6DG/BIVbKKc9EZ8G/l4t14t9ZYqwGkYM464qGEqEsKjEuA5s97Qjw 1k8CXO1ei5/4kx2JOCqgNihfRwSxPHcdMpHZKkESDcfc07BRg+hpVZYQV4RP6w== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1715719316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aUtJ/X/0s/LmzrB87rT0R8DAuO6wT9oVaxjR3BOoqx4=; b=M0kk5TTAhSQw7k96BN3dQZI3uVQC78Qgrfj2mxlZfWjRzrdUVh1MXrAq5saG3KoqnFks9I AH/et/dIoLvw791X5P67NFu8icEhzNMuYvwLIfc4lvrmkxsVP1dlSvcOpJ/92nNSDeIKzu c6Pwaz8RoY8ZrnL856hLWcGJZn4eAkytko18jxytKXfFrrjxxsIpr8oy0SDFHMNFwH7M01 +X9uFApCJxRCUHojJ9hxlHyxp9g/87PW47rONtAm/66n1rdssBf6WYUGuf5EmIj+rgsl7l 6rnGXRkGArMKqowKXTyWc4l/egl/IfyWsRRWJTK553TKREXVm78SghNuLmif4A== From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ 3/3] Revert "mgmt-tester: update for Poll Errqueue experimental fature" Date: Tue, 14 May 2024 23:41:50 +0300 Message-ID: <3c7d838afab792b1445d1acd14a3170804895104.1715719254.git.pav@iki.fi> X-Mailer: git-send-email 2.45.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This reverts commit c777c55ab662db4e9853bb08a6e1e6c77b319e09. The kernel feature needs further work. --- tools/mgmt-tester.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 81636200e..8a4fbc2eb 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -9985,7 +9985,7 @@ static const struct generic_data read_exp_feat_success = { static const uint8_t read_exp_feat_param_success_index_none[] = { - 0x03, 0x00, /* Feature Count */ + 0x02, 0x00, /* Feature Count */ 0x1c, 0xda, 0x47, 0x1c, 0x48, 0x6c, /* UUID - Debug */ 0x01, 0xab, 0x9f, 0x46, 0xec, 0xb9, 0x30, 0x25, 0x99, 0xd4, @@ -9994,10 +9994,6 @@ static const uint8_t read_exp_feat_param_success_index_none[] = { 0x85, 0x98, 0x6a, 0x49, 0xe0, 0x05, 0x88, 0xf1, 0xba, 0x6f, 0x00, 0x00, 0x00, 0x00, /* Flags */ - 0x33, 0x57, 0x7b, 0xb4, 0x21, 0xc0, /* UUID - Poll Errqueue */ - 0xc1, 0x8b, 0x79, 0x46, 0x9f, 0xb6, - 0x4c, 0x8c, 0x51, 0x69, - 0x00, 0x00, 0x00, 0x00, /* Flags */ }; static const struct generic_data read_exp_feat_success_index_none = {