Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp413887rdh; Wed, 7 Feb 2024 08:17:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXO3RVXEofHRIjniwPcXSmGojcdAl56xP/cJQh2FntudnfqS8l9K6YzUHKLuYx8uvKjyWO X-Received: by 2002:a17:90a:6e4c:b0:296:1881:fea4 with SMTP id s12-20020a17090a6e4c00b002961881fea4mr3525920pjm.7.1707322656897; Wed, 07 Feb 2024 08:17:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707322656; cv=pass; d=google.com; s=arc-20160816; b=XeaPysgxBwVrsrw8jQNFn/nFsFrxF8Jha4q8jVq6Ac2yhky03OJQLF3nYzB22IKZsS 8dkYPn+gz+uJhj944HleuBWxekecvnX54mUdmmypJKiu0AJM78PRA6nb+2NvOpdCDkcF SSnln0WPbIPLBOhLlIZ6ZUf+2ju6GFbT3cGOlAdMYoAGo6nFkO2xgzKzeIYs8E0qXI3s SbX5HPTtm/PbGtEUhhNyg0Vujlc7wt++31WSzJ0shAAz4ZYRYN1CuDuk+P3EZwXfMhnm w9urocBO472+eJ5E+sbLKG8Si+N2ANdOox3NsXQvNR7TjxgMTJiCT8+mFGuO9uiB1elu 9uew== 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:to:from :dkim-signature; bh=LoBYPN7lwn0KGxzF/gbIhV2NMNOTgUJVv347uNrhKW8=; fh=MJFTAyNbGIOFS/NrfN4VYhGP6vDbnSGUh1l4x/ayZFo=; b=WDNG6XXrwvZjcA1aTDTOvmgoQTGspwUbL7TC/vgcx2CZQHW5NUbboaQQlMC4j1DrIP rOGuNrx2Wvkd3i5ZOVujDxYGcgPsIPqIkUUo9G2zigu2DEfLHyQ/6vVOrwS1DD8I+JgO tpxq/jBxZpF7x6XlJeXPg9yU09V08/Ix1qslcgXM2F1OHMFQd39QUt/MOQrU4xLhcMAY LMzKkvzY22r8qX5wdhSQrWQkoJm2nMx7vITDE+oFsOvma2sLinoCvTACOvoUxFvq3zWw u4nWDHq+5gZu+FQOCjzBv1ZHhKnRwtGa2A8LxM+qy7WtyUnt7SX+6Ae0ifdddnd/Y8nU WIzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DtgOuItn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1671-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCVFxOosMpvxS7Ul9Vl35S3Wd4m3ciFRcpwAL24joKDJWcZyk0xZa+r/81lZvKQCAs+YU79C6Tt0k/J+AcmAApLI3SPOrS0eH+/gYmk1zw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mw4-20020a17090b4d0400b002967d86f14csi3939338pjb.68.2024.02.07.08.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 08:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1671-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DtgOuItn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1671-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1671-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 884A228C3C0 for ; Wed, 7 Feb 2024 16:17:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCD4D80BE8; Wed, 7 Feb 2024 16:17:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DtgOuItn" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93D3C8062A for ; Wed, 7 Feb 2024 16:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707322650; cv=none; b=BaxiMSTm1HDvoABUS/FGyIKXw1THPlSiYlD1w9ljblMxOvRrYIGirg7II8cSpE2P7uKCgpUUq70fq5mg4OX4/Mebt7+RaF4PFjQfxNbmdfMi8JCGYF70YB09ODvM2+NzshDH1WHKe1MrescbNlkfOn3zklgh6+0w3zSJRywEV2Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707322650; c=relaxed/simple; bh=SobKBw2h77U32SBbhJz76Rm9HzQeBieXOZnD8ULzwy8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=ij0KMJe3uWvxmEmauYxSQqBfH1eRHHVJw1OnBRmM4VvIw6L94ZmXtO/npyVjaKZssWR6rDd2Kk/HshoLMD/3iOhzhbnpfYuv67mB0E4D+ISnHI73Joe/SInXtkFYkCfexqIK6Lh7uGnipaIynx2kuMxFKRh1iveN+NLIyB0/j6s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DtgOuItn; arc=none smtp.client-ip=209.85.222.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ua1-f42.google.com with SMTP id a1e0cc1a2514c-7d5bbbe592dso346636241.0 for ; Wed, 07 Feb 2024 08:17:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707322647; x=1707927447; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=LoBYPN7lwn0KGxzF/gbIhV2NMNOTgUJVv347uNrhKW8=; b=DtgOuItnykgWiALBHSGwTYjDm0S0S0YPFXESCEmjKN+OsOpJ+4tm20ZldxCEyw7p8D WHCpDk1Zh2baE4ynFsNayJoHnr88tUK444BusHT/fAXl+tIFEMPLPr1SgVd+HVURxIKJ S+WdIUHSyEFnw8Wfo++ruP5xE6LcrU89uruzvQlvDP4SI0N8vfWIrN9kiVnvG676Xl02 r6j7jdAkMyC4fIZnP4krLHWYLcq4MbrpBfRacXNuvhtS6+u+jQcmJfujgBEQH7XEoS+s 3GFM3iCe7NOV2Twh05qIhJAUCFekueBWd1PZU+Z+l4YLp94AsexTbTZLyPfqT3E0pzW7 zP/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707322647; x=1707927447; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LoBYPN7lwn0KGxzF/gbIhV2NMNOTgUJVv347uNrhKW8=; b=OB9yJG9zbu+LH8Q72LpeGGbGMi90ct088K7soYnIff+YoPhwadzXKJC7REwXB0vl9y 12g+W4e2s5A5Vh6vA+3RxKsgnOWlGYLEZfHHDqvS8a6emSsh4r3nXiXX/8FErj76C1/A vwLkTdHXYmdcSy4NM4hzhAbJGhh6AQ8m7E32G5+SEy2kjjR09r/Jq82RNdk/oCOj+iaJ 9Svwb/jfZGAhDQ4kBHfJdwF8DgffmapCQoM4Pes3Bsf31B9PSmZ15vkI5z6/fvMqeiLY HAL7gDMv6305JAv4wPtnAhqCoUOB5TvFmgq34ulvvaeIFTpmeyeB5Uvdq4eOjaVkTKj1 zxrw== X-Gm-Message-State: AOJu0YwZuhn2N/hh3qUH2q5y2tXD/AeLKHjcw1zP6Q/jJ1mFS1ndmu3r 8KbQbzAci0ZfojIqsipQaUS8AmUJItfgdvDpeWUk93Pwc9dKx5KIorhKAcez X-Received: by 2002:a05:6122:1807:b0:4c0:1f44:6707 with SMTP id ay7-20020a056122180700b004c01f446707mr3145250vkb.11.1707322645684; Wed, 07 Feb 2024 08:17:25 -0800 (PST) Received: from lvondent-mobl4.. (071-047-239-151.res.spectrum.com. [71.47.239.151]) by smtp.gmail.com with ESMTPSA id m13-20020ac5cacd000000b004c0460eeea3sm226480vkl.43.2024.02.07.08.17.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 08:17:25 -0800 (PST) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v1] mgmt-tester: Remove High Speed test cases Date: Wed, 7 Feb 2024 11:17:24 -0500 Message-ID: <20240207161724.2906072-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Luiz Augusto von Dentz High Speed is has been removed so these tests are not run anymore so they can be safely removed. --- tools/mgmt-tester.c | 63 --------------------------------------------- 1 file changed, 63 deletions(-) diff --git a/tools/mgmt-tester.c b/tools/mgmt-tester.c index 2411267bcb4c..e85fbacdacec 100644 --- a/tools/mgmt-tester.c +++ b/tools/mgmt-tester.c @@ -1688,53 +1688,6 @@ static const struct generic_data set_sc_only_on_success_test_2 = { .expect_hci_len = sizeof(set_sc_on_write_sc_support_param), }; -static const char set_hs_on_param[] = { 0x01 }; -static const char set_hs_invalid_param[] = { 0x02 }; -static const char set_hs_garbage_param[] = { 0x01, 0x00 }; -static const char set_hs_settings_param_1[] = { 0xc0, 0x01, 0x00, 0x00 }; - -static const struct generic_data set_hs_on_success_test = { - .setup_settings = settings_ssp, - .send_opcode = MGMT_OP_SET_HS, - .send_param = set_hs_on_param, - .send_len = sizeof(set_hs_on_param), - .expect_status = MGMT_STATUS_SUCCESS, - .expect_param = set_hs_settings_param_1, - .expect_len = sizeof(set_hs_settings_param_1), - .expect_settings_set = MGMT_SETTING_HS, -}; - -static const struct generic_data set_hs_on_invalid_param_test_1 = { - .setup_settings = settings_ssp, - .send_opcode = MGMT_OP_SET_HS, - .expect_status = MGMT_STATUS_INVALID_PARAMS, -}; - -static const struct generic_data set_hs_on_invalid_param_test_2 = { - .setup_settings = settings_ssp, - .send_opcode = MGMT_OP_SET_HS, - .send_param = set_hs_invalid_param, - .send_len = sizeof(set_hs_invalid_param), - .expect_status = MGMT_STATUS_INVALID_PARAMS, -}; - -static const struct generic_data set_hs_on_invalid_param_test_3 = { - .setup_settings = settings_ssp, - .send_opcode = MGMT_OP_SET_HS, - .send_param = set_hs_garbage_param, - .send_len = sizeof(set_hs_garbage_param), - .expect_status = MGMT_STATUS_INVALID_PARAMS, -}; - -static const struct generic_data set_hs_on_invalid_index_test = { - .setup_settings = settings_ssp, - .send_index_none = true, - .send_opcode = MGMT_OP_SET_HS, - .send_param = set_hs_on_param, - .send_len = sizeof(set_hs_on_param), - .expect_status = MGMT_STATUS_INVALID_INDEX, -}; - static uint16_t settings_le[] = { MGMT_OP_SET_LE, 0 }; static const char set_le_on_param[] = { 0x01 }; @@ -13088,22 +13041,6 @@ int main(int argc, char *argv[]) &set_sc_only_on_success_test_2, NULL, test_command_generic); - test_hs("Set High Speed on - Success", - &set_hs_on_success_test, - NULL, test_command_generic); - test_hs("Set High Speed on - Invalid parameters 1", - &set_hs_on_invalid_param_test_1, - NULL, test_command_generic); - test_hs("Set High Speed on - Invalid parameters 2", - &set_hs_on_invalid_param_test_2, - NULL, test_command_generic); - test_hs("Set High Speed on - Invalid parameters 3", - &set_hs_on_invalid_param_test_3, - NULL, test_command_generic); - test_hs("Set High Speed on - Invalid index", - &set_hs_on_invalid_index_test, - NULL, test_command_generic); - test_bredrle("Set Low Energy on - Success 1", &set_le_on_success_test_1, NULL, test_command_generic); -- 2.43.0