Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp50890rdg; Tue, 10 Oct 2023 04:07:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGd5wrt6deVjPK599DMMzMatLiKTDOYmwpiYqaH5WabSlj/lWsrDyzfu6VS/Isg8+dBkePM X-Received: by 2002:a17:902:c952:b0:1c5:d8a3:8783 with SMTP id i18-20020a170902c95200b001c5d8a38783mr24046330pla.11.1696936061256; Tue, 10 Oct 2023 04:07:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696936061; cv=pass; d=google.com; s=arc-20160816; b=bA2Ptf3+BTaatakYv40qaJWPqGUHC5wjYxtmOg/MhcY6cMK8TgsD1FljS2PmtqyaRR FwkM9kCYPeu2pbeA6uUoNUsnbkBHrWV0ymslLXOi4z0FByBa/YxQaXsimXL1XLIsgQlU fE8f/Hk7OZAWp5PhqlM+lX+CMgOV483jeSeLGsVJKeWfpidwGe02OMYXYkQybJt3eMa4 vdCnrscDcweDiH3C7NlL+4/E2uqN6OyiSR6QIPSFNGj7SXVs6kYLKdHV3Yhh8PysU8dl du4CtzhUo/0dzluOa5BPNY9UXrAjoU1vPpyQubt4oXveQ9tPlhOQBzG0Uy+DGpKC5LfJ KN3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=l8zkOfhEUDm/vBM1yPsF+Y6qmiPF+bzjj6apEd6ABrU=; fh=duZAgilSPHgzCYvY5pAd84kUqYN4DcqX/O1uZ45xRsg=; b=ZM/gxZdgLyvzZ49YfatSGYMS5i/hEvEbrAijoB7Ah9UHf0B7nXeXJDECoqjwm5a1P4 5+UfcdnxVlhT+0HN/nzhd8/3fO5qSut6akp4vbq36Qgzf7anJyafLzQmujEyL7LTxNSX hPajtqnT7YwHYC3dDWMvS1kIj0pU5/VxxLcS3z6qHhSLIvbJE48Wkd7/vT10b+G+HwRC ekKyNYKeilBXawBkyV5fd1GHVBe6TnpGDUcBoHBinnP99qRy+q1x3baRMAQQEsBGshXH dlth3XB0Vi1fLZyMmAzSO4/qmAjKKZuTxfRzZFpraF6EXKPqKPUMBzniP3S316L9ulE9 6E9w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gmbdAmFt; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id u10-20020a17090282ca00b001c71f14ba7fsi11184792plz.247.2023.10.10.04.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 04:07:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=gmbdAmFt; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 2BC83826E8E1; Tue, 10 Oct 2023 04:06:41 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230328AbjJJLGk (ORCPT + 99 others); Tue, 10 Oct 2023 07:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbjJJLGj (ORCPT ); Tue, 10 Oct 2023 07:06:39 -0400 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2070.outbound.protection.outlook.com [40.107.105.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B835F94 for ; Tue, 10 Oct 2023 04:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q0MZDFkQxeCFZ8mv0Vgo3916v+Vqrc43CzN3WMvk4kcRb93uXW/dVyLz4JX4vf4exVVtTAlSbYzWcrX4dD0dHVucj7cs3io4vV1jxJ1G1igakVhuP+2HKW3ma5+KXtGInnZN4Q562nBNAgUjHfRfAnWPy2wfYIY9J9JUluqhg/r1RxZK5LLqGb7/Yq6JbmHJLwWsgCsC5RJWPoVERhqvaq9jgMZr+AlgWrzduP6m0JLxDxsLUKWScWWsKl+3me5VMAueUemC+uaem489ORPvI3Pesh2m3wDDRShQMjg+IKFnDSYwA+k9neiQUA3u9oEziT745gZglcSBuPGTl3czNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=l8zkOfhEUDm/vBM1yPsF+Y6qmiPF+bzjj6apEd6ABrU=; b=Z1EAwE79WhB+iyBEHNEXlO0V1vvMvFgM6SKliJZQyDqY8ePYOT0PGGbFF9YDLDllwBOxLzA1Z1jOSJQV3S4Lak/a5dgjax+jk8Z0H1RspDTVXNDl2R41pbRsHiM88QuQeCp3/SQnOsMMR3BcoQpr1PlSba3pvn58N6KE1uWihkIUb60DxiA2pifdqH/E30Kl1I5xDzLsZcRtETh0EUHxNoVFrnRfNGBxebvYhwz2XUfEkavZJrH2Nqt+mF17qjkTmifwze7ep4GoXSRe8WwuprlPxhOnVqUkcxKz8P0HcXRYGOw4UxUSsAkpWbYsJFegJr4eSQ37fjmQBgIDTOP0bQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l8zkOfhEUDm/vBM1yPsF+Y6qmiPF+bzjj6apEd6ABrU=; b=gmbdAmFt6y3G3Cbxubl3oF/z5XZVI9X2r5AbNtIJejU4/dvHbqklITLgexvrn4n4zGgx2mirl9nwhTAAAOf1RPAHq3q+uSjhOFttjWU6GfDtf+G1Spd8x/nr2dgy++Bg1ESoX1MEnhOUJOz+iWW1HNScdWo8nJoEuK8ZcqiM+Ts= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS1PR04MB9654.eurprd04.prod.outlook.com (2603:10a6:20b:476::22) by PAXPR04MB8112.eurprd04.prod.outlook.com (2603:10a6:102:1cd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.38; Tue, 10 Oct 2023 11:06:27 +0000 Received: from AS1PR04MB9654.eurprd04.prod.outlook.com ([fe80::74d9:fef3:348a:ef3b]) by AS1PR04MB9654.eurprd04.prod.outlook.com ([fe80::74d9:fef3:348a:ef3b%7]) with mapi id 15.20.6863.032; Tue, 10 Oct 2023 11:06:27 +0000 From: Mahesh Talewad To: linux-bluetooth@vger.kernel.org Cc: luiz.dentz@gmail.com, devyani.godbole@nxp.com, nitin.jadhav@nxp.com, mahesh.talewad@nxp.com Subject: [PATCH BlueZ v1 1/1] unit/test-vcp.c: VOCS unit test case implementation Date: Tue, 10 Oct 2023 14:05:49 +0300 Message-Id: <20231010110549.14302-2-mahesh.talewad@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010110549.14302-1-mahesh.talewad@nxp.com> References: <20231010110549.14302-1-mahesh.talewad@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG3P274CA0003.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::15) To AS1PR04MB9654.eurprd04.prod.outlook.com (2603:10a6:20b:476::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS1PR04MB9654:EE_|PAXPR04MB8112:EE_ X-MS-Office365-Filtering-Correlation-Id: 2221e7a0-3f9c-43fc-e92c-08dbc980f290 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cF/4Sr6+9AW34GauKzhiysxWzrY1jYONk5f6nAcNMXF9ZTnUOMA77lce8qKDILS5zZrkOR5zNJE6Qj5a0VwL6TEJrPR9xgV+/M84YmcKpOEesrjgveE6Kh+kfJ1qomn+GAg6lmnP75+aYMtZHfgitVFyVi3jyGF6lvYm2GnvQ09tuEJlRHKkVc9A1sj+WxbxVpXmSZ3RBoo2gaNiLQKwNChJfd5zQM+k55yARmO/dYMaCngYWeU3wJSv9XZ1aFGBB9AQPjGyUpUFlQ99jNxla9LwODDCUj/1jh9QLGPHBACBCTk9i7a7zCHFhV2j8oXQ75VbmFIB4c3A3XkhxDKJVFaSvlaAQyRv0Rqz3Uo1z34JnFDb2vK8tv9U5WqVlMH+X3rdQjJ8h9k1ZvNtLGJDVIPhWze+K2SLmD9RV2b/mHzxVl/AvYTR+T8NXNQsd3GHqi/REIedIZuc0SxpsolLvGJEb/tTmYQcVGYOcutotUD5EAeEx49mKKWjPIBo472HcSV9mA0fIP0g02CV4lHsWV3aD+ajiEuF6N//dWNWXX7wb++wX+tI36+Ogw6vnspdmL0bLvMXVwQhFUhdSjifthh/bDkPFo/2iVi4ZWiz7ssu/I/IuaQMlJj1XczjNDJ6 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:ro;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS1PR04MB9654.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(346002)(376002)(366004)(396003)(136003)(39860400002)(230922051799003)(1800799009)(186009)(64100799003)(451199024)(52116002)(55236004)(1076003)(6512007)(36756003)(86362001)(38100700002)(38350700002)(26005)(44832011)(2906002)(83380400001)(30864003)(6486002)(6666004)(2616005)(6506007)(478600001)(4326008)(6916009)(8936002)(8676002)(41300700001)(5660300002)(316002)(66556008)(66946007)(66476007)(559001)(579004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?wWdgTUo4qNkTpuBKvm/dLapGkFJ74lFNbLVR4WKnhir8IfcjloAOuLSeRjEl?= =?us-ascii?Q?by9qqQ1sUOIHyi7a8nERk3/3oL7ZoFiRBNOnu7lRTxlktpNXkdnxWrxKHXYe?= =?us-ascii?Q?B5kwcEqKbUcUa8PPCM9TAfe7FJN8pekEDZtn+4MdvOJZCoi1hbBQPhbbjBly?= =?us-ascii?Q?JejknFV7+uSyrPySzHqwGa8wewzHJux+x3oicqIZPRpRuf9msdFfghenVOWp?= =?us-ascii?Q?xGUU4LqnePm+tjeRGfqeG6esfbtmmi48MPSTdiML8glu0UJwintDW9k7hvVn?= =?us-ascii?Q?Ynj4Ho790YvCGcFvb+cJ00EEGmiVHSkmvrseYp/790So54Q0AGy4Bn5Uf3Mh?= =?us-ascii?Q?T9oIPTyBbEOfonTWBUVH7hrYd6tjIknQHGJc2p5Zt39Vcku//Ojzjm07l2xY?= =?us-ascii?Q?kBa7lgxkV3spzo3RPd4FwyRmpN2IUzK5OmaBIfeU4aCS4GkTa5ZfGOcBhAYd?= =?us-ascii?Q?D4KmWyEzaXWw9CutBuv3pnaKhblk4C4u2YDMLzChDWDnOShFehqFAwInAssF?= =?us-ascii?Q?rC7ml3fDwe6UM17iIB9r/4FYYhYRGEqbPcTN8T+k4PzaQEROcO4Xdz8E8YDi?= =?us-ascii?Q?X93gf5L5T/SLiKT7XZx67CAwlQUzVRp/f3+zJVaN6KmoOmn3vIKMSesJozCt?= =?us-ascii?Q?T7sQYL16hLOGg5szyrHDWa0Yv2KWhIHkT2dCd7pWbkUYkKAvUgLu6MB+CUgc?= =?us-ascii?Q?TUUdnotGOdHOtqjw0So+yaUMd4yG5gm3svice5rUUUCd00ukytdUi/nphGrJ?= =?us-ascii?Q?hcc2eIgbA0K9N04J9TOlPzRc9ymNr4zB1uvgyLbyBebGYMcVr5qlmBysm4No?= =?us-ascii?Q?zrq1bYu+jp337eJnH5/tp4c51o6fM+ZCqILQGOA/k8U6adAAcctAexCZWtYS?= =?us-ascii?Q?xtRf3w0wB5s4+tZrrd94Ikd0YO9FdtBf7jHcdN1Qvfp3dUkYmUi6J8YWpn2f?= =?us-ascii?Q?DgzoeYGi+H2uy1e8ydjMoY2fOteum79qwaeIPIQ1dFI3ioVvty2w+Zf6YHBK?= =?us-ascii?Q?QuOJnLCKFfOW7zGMVd3Pz70AI8ptGNQDSaKT5/yIb2cy/TCKq//YWemm8ayv?= =?us-ascii?Q?YD/89fUpWJaJaq/ve+knbT+PJcFL8CmjjD7Tjl6672SV9gTUlbECLhKhcTIM?= =?us-ascii?Q?XHHbjuwd9Di6lRmtbayh2uyPN/yuqmcLetqOOXE4qulI5sDAvpQ99k7yE6iV?= =?us-ascii?Q?vRImHJq666nymGPjvKu1jBSfEm2zxtF4Z9TBrRkTwZqABWQtsW9NHUcYuz1B?= =?us-ascii?Q?TOYKIOhaMrhSWnJNEs2HNb6MnioeVbnT3ypiJkad+tjr2Xgfpty/g7auEkDo?= =?us-ascii?Q?Yg9ZwUaY+2aZWasae/QEI7LIgSzbkcMqUIu/cRKfhhCuH3msFGz7gaQ5qYNX?= =?us-ascii?Q?ZMNnbORJZhNV3YunTU23dC9BVDW8/416zAD+CkE9Yozn1SV58yNCVgk5EiUB?= =?us-ascii?Q?1wv7Kp3r1sHUzf9PH24XDBDfGrMXTEX/W/H5UiR0g/oJ14EM3pi4aF2NU5jJ?= =?us-ascii?Q?Bb6ZrqvsML1kX97NcMbr3uvYrGUZxB7IOe6ZQ48A4uqmX3n0j3RNGfKSdTGd?= =?us-ascii?Q?1LCcRC/fhhNao1OtOvvw25nrXiBEdaJ9b+vqM7qIBtcpTFPxyinv1HxJvJb9?= =?us-ascii?Q?wA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2221e7a0-3f9c-43fc-e92c-08dbc980f290 X-MS-Exchange-CrossTenant-AuthSource: AS1PR04MB9654.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2023 11:06:26.9315 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xiE4iXTopV2tYvVvVNEU0DTLepjoSZM3VSNSDb9xRffRM8x4B1kgPmDyEjGHXbVQnnEw6DcMxBOhl3iLrOwQpg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8112 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 10 Oct 2023 04:06:41 -0700 (PDT) X-Spam-Level: ** -Implementated all(10) mandatory VOCS unit testcases. -Tested above all mandatory testcases and working fine. -Specification referred for implementation: VOCS.TS.p1.pdf --- Makefile.am | 6 + unit/test-vcp.c | 1359 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 1365 insertions(+) create mode 100644 unit/test-vcp.c diff --git a/Makefile.am b/Makefile.am index c28c59a05..cc6bcf400 100644 --- a/Makefile.am +++ b/Makefile.am @@ -585,6 +585,12 @@ unit_test_bass_SOURCES = unit/test-bass.c $(btio_sources) unit_test_bass_LDADD = src/libshared-glib.la \ lib/libbluetooth-internal.la $(GLIB_LIBS) +unit_tests += unit/test-vcp + +unit_test_vcp_SOURCES = unit/test-vcp.c $(btio_sources) +unit_test_vcp_LDADD = src/libshared-glib.la \ + lib/libbluetooth-internal.la $(GLIB_LIBS) + if MIDI unit_tests += unit/test-midi unit_test_midi_CPPFLAGS = $(AM_CPPFLAGS) $(ALSA_CFLAGS) -DMIDI_TEST diff --git a/unit/test-vcp.c b/unit/test-vcp.c new file mode 100644 index 000000000..ea1bc9876 --- /dev/null +++ b/unit/test-vcp.c @@ -0,0 +1,1359 @@ +// SPDX-License-Identifier: LGPL-2.1-or-later +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2023 NXP Semiconductors. All rights reserved. + * + * This file contains only VOCS related Unit Test cases. + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#define _GNU_SOURCE +#include +#include +#include +#include + +#include + +#include "lib/bluetooth.h" +#include "lib/uuid.h" +#include "src/shared/util.h" +#include "src/shared/tester.h" +#include "src/shared/queue.h" +#include "src/shared/att.h" +#include "src/shared/gatt-db.h" +#include "src/shared/gatt-client.h" +#include "src/shared/gatt-server.h" +#include "src/shared/vcp.h" + +struct test_data { + struct gatt_db *db; + struct bt_vcp *vcp; + struct bt_gatt_server *server; + struct queue *ccc_states; + size_t iovcnt; + struct iovec *iov; +}; + +struct notify { + uint16_t handle, ccc_handle; + uint8_t *value; + uint16_t len; + bt_gatt_server_conf_func_t conf; + void *user_data; +}; + +struct ccc_state { + uint16_t handle; + uint16_t value; +}; + +#define iov_data(args...) ((const struct iovec[]) { args }) + +#define define_test(name, function, _cfg, args...) \ + do { \ + const struct iovec iov[] = { args }; \ + static struct test_data data; \ + data.iovcnt = ARRAY_SIZE(iov_data(args)); \ + data.iov = util_iov_dup(iov, ARRAY_SIZE(iov_data(args))); \ + tester_add(name, &data, NULL, function, \ + test_teardown); \ + } while (0) + +static void test_complete_cb(const void *user_data) +{ + tester_test_passed(); +} + +static void print_debug(const char *str, void *user_data) +{ + const char *prefix = user_data; + + if (tester_use_debug()) + tester_debug("%s%s", prefix, str); +} + +static void test_teardown(const void *user_data) +{ + struct test_data *data = (void *)user_data; + + bt_vcp_unref(data->vcp); + bt_gatt_server_unref(data->server); + util_iov_free(data->iov, data->iovcnt); + + gatt_db_unref(data->db); + + queue_destroy(data->ccc_states, free); + + tester_teardown_complete(); +} + +static bool ccc_state_match(const void *a, const void *b) +{ + const struct ccc_state *ccc = a; + uint16_t handle = PTR_TO_UINT(b); + + return ccc->handle == handle; +} + +static struct ccc_state *find_ccc_state(struct test_data *data, + uint16_t handle) +{ + return queue_find(data->ccc_states, ccc_state_match, + UINT_TO_PTR(handle)); +} + +static struct ccc_state *get_ccc_state(struct test_data *data, + uint16_t handle) +{ + struct ccc_state *ccc; + + ccc = find_ccc_state(data, handle); + if (ccc) + return ccc; + + ccc = new0(struct ccc_state, 1); + ccc->handle = handle; + queue_push_tail(data->ccc_states, ccc); + + return ccc; +} + +static void gatt_notify_cb(struct gatt_db_attribute *attrib, + struct gatt_db_attribute *ccc, + const uint8_t *value, size_t len, + struct bt_att *att, void *user_data) +{ + struct test_data *data = user_data; + struct notify notify; + + memset(¬ify, 0, sizeof(notify)); + + notify.handle = gatt_db_attribute_get_handle(attrib); + notify.ccc_handle = gatt_db_attribute_get_handle(ccc); + notify.value = (void *) value; + notify.len = len; + + if (!bt_gatt_server_send_notification(data->server, + notify.handle, notify.value, + notify.len, false)) + printf("%s: Failed to send notification\n", __func__); +} + +static void gatt_ccc_read_cb(struct gatt_db_attribute *attrib, + unsigned int id, uint16_t offest, + uint8_t opcode, struct bt_att *att, + void *user_data) +{ + struct test_data *data = user_data; + struct ccc_state *ccc; + uint16_t handle; + uint8_t ecode = 0; + const uint8_t *value = NULL; + size_t len = 0; + + handle = gatt_db_attribute_get_handle(attrib); + + ccc = get_ccc_state(data, handle); + if (!ccc) { + ecode = BT_ATT_ERROR_UNLIKELY; + goto done; + } + + len = sizeof(ccc->value); + value = (void *) &ccc->value; + +done: + gatt_db_attribute_read_result(attrib, id, ecode, value, len); +} + +static void test_server(const void *user_data) +{ + struct test_data *data = (void *)user_data; + struct bt_att *att; + struct io *io; + + io = tester_setup_io(data->iov, data->iovcnt); + g_assert(io); + + tester_io_set_complete_func(test_complete_cb); + + att = bt_att_new(io_get_fd(io), false); + g_assert(att); + + bt_att_set_debug(att, BT_ATT_DEBUG, print_debug, "bt_att:", NULL); + + data->db = gatt_db_new(); + g_assert(data->db); + + gatt_db_ccc_register(data->db, gatt_ccc_read_cb, NULL, + gatt_notify_cb, data); + + data->vcp = bt_vcp_new(data->db, NULL); + g_assert(data->vcp); + + data->server = bt_gatt_server_new(data->db, att, 64, 0); + g_assert(data->server); + + bt_gatt_server_set_debug(data->server, print_debug, "bt_gatt_server", + NULL); + + data->ccc_states = queue_new(); + + tester_io_send(); + + bt_att_unref(att); +} + + /* ATT: Exchange MTU Request (0x02) len 2 + * Client RX MTU: 64 + * ATT: Exchange MTU Response (0x03) len 2 + * Server RX MTU: 64 + */ +#define VOCS_EXCHANGE_MTU \ + IOV_DATA(0x02, 0x40, 0x00), \ + IOV_DATA(0x03, 0x40, 0x00) + + /* ATT: Read By Group Type Request (0x10) len 6 + * Handle range: 0x0001-0xffff + * Attribute group type: Primary Service (0x2800) + * + * ATT: Read By Group Type Response (0x11) len 7 + * Attribute data length: 6 + * Attribute group list: 1 entry + * Handle range: 0x000d-0x0016 + * UUID: Volume Control (0x1844) + * + * ATT: Read By Group Type Request (0x10) len 6 + * Handle range: 0x0017-0xffff + * Attribute group type: Primary Service (0x2800) + * + * ATT: Error Response (0x01) len 4 + * Read By Group Type Request (0x10) + * Handle: 0x0017 + * Error: Attribute Not Found (0x0a) + */ +#define VOCS_PRIMARY_SERVICE_VCS \ + IOV_DATA(0x10, 0x01, 0x00, 0xff, 0xff, 0x00, 0x28), \ + IOV_DATA(0x11, 0x06, 0x0d, 0x00, 0x16, 0x00, 0x44, 0x18), \ + IOV_DATA(0x10, 0x17, 0x00, 0xff, 0xff, 0x00, 0x28), \ + IOV_DATA(0x01, 0x10, 0x17, 0x00, 0x0a) + + /* ATT: Read By Group Type Request (0x10) len 6 + * Handle range: 0x0001-0xffff + * Attribute group type: Secondary Service (0x2801) + * + * ATT: Read By Group Type Response (0x11) len 7 + * Attribute data length: 6 + * Attribute group list: 1 entry + * Handle range: 0x0001-0x000c + * UUID: Volume Offset Control (0x1845) + * + * ATT: Read By Group Type Request (0x10) len 6 + * Handle range: 0x000d-0xffff + * Attribute group type: Secondary Service (0x2801) + * + * ATT: Error Response (0x01) len 4 + * Read By Group Type Request (0x10) + * Handle: 0x000d + * Error: Attribute Not Found (0x0a) + */ +#define VOCS_SECONDARY_SERVICE_VOCS \ + IOV_DATA(0x10, 0x01, 0x00, 0xff, 0xff, 0x01, 0x28), \ + IOV_DATA(0x11, 0x06, 0x01, 0x00, 0x0c, 0x00, 0x45, 0x18), \ + IOV_DATA(0x10, 0x0d, 0x00, 0xff, 0xff, 0x01, 0x28), \ + IOV_DATA(0x01, 0x10, 0x0d, 0x00, 0x0a) + + /* ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x0001-0xffff + * Attribute type: Include (0x2802) + * + * ATT: Read By Type Response (0x09) len 9 + * Attribute data length: 8 + * Attribute data list: 1 entry + * Handle: 0x000e + * Value: 01000c004518 + * + * ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x000f-0xffff + * Attribute type: Include (0x2802) + * + * ATT: Error Response (0x01) len 4 + * Read By Type Request (0x08) + * Handle: 0x000f + * Error: Attribute Not Found (0x0a) + */ +#define VOCS_INCLUDED_SERVICE_VOCS \ + IOV_DATA(0x08, 0x01, 0x00, 0xff, 0xff, 0x02, 0x28), \ + IOV_DATA(0x09, 0x08, \ + 0x0e, 0x00, 0x01, 0x00, 0x0c, 0x00, 0x45, 0x18), \ + IOV_DATA(0x08, 0x0f, 0x00, 0xff, 0xff, 0x02, 0x28), \ + IOV_DATA(0x01, 0x08, 0x0f, 0x00, 0x0a) + + /* ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x0001-0x000c + * Attribute type: Characteristic (0x2803) + * + * ATT: Read By Type Response (0x09) len 29 + * Attribute data length: 7 + * Attribute data list: 4 entries + * Handle: 0x0002 + * Value: 120300802b + * Handle: 0x0005 + * Value: 120600812b + * Handle: 0x0008 + * Value: 080900822b + * Handle: 0x000a + * Value: 120b00832b + * + * ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x000b-0x000c + * Attribute type: Characteristic (0x2803) + * + * ATT: Error Response (0x01) len 4 + * Read By Type Request (0x08) + * Handle: 0x000b + * Error: Attribute Not Found (0x0a) + */ +#define VOCS_DISC_CHAR \ + IOV_DATA(0x08, 0x01, 0x00, 0x0c, 0x00, 0x03, 0x28), \ + IOV_DATA(0x09, 0x07, \ + 0x02, 0x00, 0x12, 0x03, 0x00, 0x80, 0x2b, \ + 0x05, 0x00, 0x12, 0x06, 0x00, 0x81, 0x2b, \ + 0x08, 0x00, 0x08, 0x09, 0x00, 0x82, 0x2b, \ + 0x0a, 0x00, 0x12, 0x0b, 0x00, 0x83, 0x2b), \ + IOV_DATA(0x08, 0x0b, 0x00, 0x0c, 0x00, 0x03, 0x28), \ + IOV_DATA(0x01, 0x08, 0x0b, 0x00, 0x0a) + + /* ATT: Find Information Request (0x04) len 4 + * Handle range: 0x0004-0x0004 + * + * ATT: Find Information Response (0x05) len 5 + * Format: UUID-16 (0x01) + * Handle: 0x0004 + * UUID: Client Characteristic Configuration (0x2902) + * + * ATT: Find Information Request (0x04) len 4 + * Handle range: 0x0007-0x0007 + * + * ATT: Find Information Response (0x05) len 5 + * Format: UUID-16 (0x01) + * Handle: 0x0007 + * UUID: Client Characteristic Configuration (0x2902) + * + * ATT: Find Information Request (0x04) len 4 + * Handle range: 0x000c-0x000c + * + * ATT: Find Information Response (0x05) len 5 + * Format: UUID-16 (0x01) + * Handle: 0x000c + * UUID: Client Characteristic Configuration (0x2902) + */ +#define VOCS_DISC_CHAR_DESC \ + IOV_DATA(0x04, 0x04, 0x00, 0x04, 0x00), \ + IOV_DATA(0x05, 0x01, 0x04, 0x00, 0x02, 0x29), \ + IOV_DATA(0x04, 0x07, 0x00, 0x07, 0x00), \ + IOV_DATA(0x05, 0x01, 0x07, 0x00, 0x02, 0x29), \ + IOV_DATA(0x04, 0x0c, 0x00, 0x0c, 0x00), \ + IOV_DATA(0x05, 0x01, 0x0c, 0x00, 0x02, 0x29) + + /* ATT: Read Request (0x0a) len 2 + * Handle: 0x0004 + * + * ATT: Read Response (0x0b) len 2 + * + * ATT: Read Request (0x0a) len 2 + * Handle: 0x0007 + * + * ATT: Read Response (0x0b) len 2 + * + * ATT: Read Request (0x0a) len 2 + * Handle: 0x000c + * + * ATT: Read Request (0x0a) len 2 + * Handle: 0x000c + */ +#define VOCS_READ_CHAR_DESC \ + IOV_DATA(0x0a, 0x04, 0x00), \ + IOV_DATA(0x0b, 0x00, 0x00), \ + IOV_DATA(0x0a, 0x07, 0x00), \ + IOV_DATA(0x0b, 0x00, 0x00), \ + IOV_DATA(0x0a, 0x0c, 0x00), \ + IOV_DATA(0x0b, 0x00, 0x00) + + /* ATT: Read Request (0x0a) len 2 + * Handle: 0x0003 + * + * ATT: Read Response (0x0b) len 3 + */ +#define VOCS_READ_CHAR_VOL_OFFSET \ + IOV_DATA(0x0a, 0x03, 0x00), \ + IOV_DATA(0x0b, 0x00, 0x00, 0x00) + + /* ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x0002-0x0003 + * Attribute type: Offset State (0x2b80) + * + * ATT: Read By Type Response (0x09) len 6 + * Attribute data length: 5 + * Attribute data list: 1 entry + * Handle: 0x0003 + * Value: 000000 + */ +#define VOCS_READ_CHAR_VOL_OFFSET_UUID \ + IOV_DATA(0x08, 0x02, 0x00, 0x03, 0x00, 0x80, 0x2b), \ + IOV_DATA(0x09, 0x05, 0x03, 0x00, 0x00, 0x00, 0x00) + + /* ATT: Read Request (0x0a) len 2 + * Handle: 0x0006 + * + * ATT: Read Response (0x0b) len 4 + */ +#define VOCS_READ_CHAR_AUD_LOC \ + IOV_DATA(0x0a, 0x06, 0x00), \ + IOV_DATA(0x0b, 0x02, 0x00, 0x00, 0x00) + + /* ATT: Read By Type Request (0x08) len 6 + * Handle range: 0x0005-0x0006 + * Attribute type: Audio Location (0x2b81) + * + * ATT: Read By Type Response (0x09) len 7 + * Attribute data length: 6 + * Attribute data list: 1 entry + * Handle: 0x0006 + * Value: 02000000 + */ +#define VOCS_READ_CHAR_AUD_LOC_UUID \ + IOV_DATA(0x08, 0x05, 0x00, 0x06, 0x00, 0x81, 0x2b), \ + IOV_DATA(0x09, 0x06, 0x06, 0x00, 0x02, 0x00, 0x00, 0x00) + + /* ATT: Write Request (0x12) len 6 + * Handle: 0x0009 + * Data: 01280a00 + * + * ATT: Error Response (0x01) len 4 + * Write Request (0x12) + * Handle: 0x0009 + * Error: Reserved (0x80) + */ +#define VOCS_CP_INVALID_CHNG_COUNTER \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x28, 0x0a, 0x00),\ + IOV_DATA(0x01, 0x12, 0x09, 0x00, 0x80) + + /* ATT: Write Request (0x12) len 6 + * Handle: 0x0009 + * Data: 00007800 + * + * ATT: Error Response (0x01) len 4 + * Write Request (0x12) + * Handle: 0x0009 + * Error: Reserved (0x81) + */ +#define VOCS_CP_INVALID_OPCODE \ + IOV_DATA(0x12, 0x09, 0x00, 0x00, 0x00, 0x78, 0x00),\ + IOV_DATA(0x01, 0x12, 0x09, 0x00, 0x81) + + /* ATT: Write Request (0x12) len 6 + * Handle: 0x0009 + * Data: 01000e01 + * + * ATT: Error Response (0x01) len 4 + * Write Request (0x12) + * Handle: 0x0009 + * Error: Reserved (0x82) + * + * ATT: Write Request (0x12) len 6 + * Handle: 0x0009 + * Data: 0100f2fe + * + * ATT: Error Response (0x01) len 4 + * Write Request (0x12) + * Handle: 0x0009 + * Error: Reserved (0x82) + */ +#define VOCS_CP_OUT_OF_RANGE_VALUE \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x00, 0x0e, 0x01), \ + IOV_DATA(0x01, 0x12, 0x09, 0x00, 0x82), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x00, 0xf2, 0xfe),\ + IOV_DATA(0x01, 0x12, 0x09, 0x00, 0x82) + + /* ATT: Write Request (0x12) len 4 + * Handle: 0x0004 + * Data: 0100 + * + * ATT: Write Response (0x13) len 0 + */ +#define VOCS_ENNABLE_VOL_OFFSET_CCD \ + IOV_DATA(0x12, 0x04, 0x00, 0x01, 0x00), \ + IOV_DATA(0x13) + +#define VOCS_SR_SGGIT_CHA_TST_CMDS \ + VOCS_EXCHANGE_MTU, \ + VOCS_PRIMARY_SERVICE_VCS, \ + VOCS_SECONDARY_SERVICE_VOCS, \ + VOCS_INCLUDED_SERVICE_VOCS, \ + VOCS_DISC_CHAR, \ + VOCS_DISC_CHAR_DESC, \ + VOCS_READ_CHAR_DESC + +#define VOCS_SR_SGGIT_SER_BV_01_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS + +#define VOCS_SR_SGGIT_CHA_BV_01_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_READ_CHAR_VOL_OFFSET, \ + VOCS_READ_CHAR_VOL_OFFSET_UUID + +#define VOCS_SR_SGGIT_CHA_BV_02_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_READ_CHAR_AUD_LOC, \ + VOCS_READ_CHAR_AUD_LOC_UUID + +#define VOCS_SR_SGGIT_CHA_BV_03_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS + +#define VOCS_SR_SGGIT_CHA_BV_04_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS + +#define VOCS_SR_SGGIT_CP_BI_01_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_CP_INVALID_CHNG_COUNTER + +#define VOCS_SR_SGGIT_CP_BI_02_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_CP_INVALID_OPCODE + +#define VOCS_SR_SGGIT_CP_BI_03_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_CP_OUT_OF_RANGE_VALUE + +#define VOCS_SR_SPE_BI_01_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_READ_CHAR_AUD_LOC + /* + * VOCS/SR/CP/BV-01-C [Set Volume Offset] + * Do Initial Condition Proedures + * 1. The Lower Tester executes the GATT Read Characteristic + * Value sub-procedure for the Volume Offset State characteristic. + * Repeat steps 2-4 for (255 - Change_Counter value) + 1 times. + * 2. The Lower Tester executes the GATT Write Characteristic Value + * sub-procedure for the Volume + * Offset Control Point characteristic with the Set Volume Offset + * Opcode, with the Volume Offset parameters set to a random value + * different from the last one, and the Change_Counter parameter. + * 3. The Lower Tester receives a Write Response indicating that the IUT + * has accepted the Opcode. + * 4. The Lower Tester receives a GATT Characteristic Value Notification + * for the Volume Offset State characteristic. + */ +#define VOCS_SR_CP_BV_01_C \ + VOCS_SR_SGGIT_CHA_TST_CMDS, \ + VOCS_ENNABLE_VOL_OFFSET_CCD, \ + VOCS_READ_CHAR_VOL_OFFSET, \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x00, 0xde, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xde, 0x00, 0x01), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x01, 0xda, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xda, 0xff, 0x02), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x02, 0x1a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1a, 0x00, 0x03), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x03, 0x49, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x49, 0xff, 0x04), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x04, 0x05, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x05, 0xff, 0x05), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x05, 0xf1, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xf1, 0xff, 0x06), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x06, 0xca, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xca, 0xff, 0x07), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x07, 0x5c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5c, 0x00, 0x08), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x08, 0xaf, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xaf, 0x00, 0x09), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x09, 0x5f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5f, 0x00, 0x0a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0a, 0x69, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x69, 0xff, 0x0b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0b, 0x3d, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3d, 0xff, 0x0c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0c, 0xb6, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb6, 0xff, 0x0d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0d, 0xa4, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa4, 0x00, 0x0e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0e, 0x14, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x14, 0xff, 0x0f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x0f, 0x2a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x2a, 0xff, 0x10), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x10, 0x51, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x51, 0x00, 0x11), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x011, 0xc4, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xc4, 0xff, 0x12), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x12, 0xe8, 00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xe8, 0x00, 0x13), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x13, 0xca, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xca, 0xff, 0x14), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x14, 0xe6, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xe6, 0xff, 0x15), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x15, 0x62, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x62, 0x00, 0x16), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x16, 0x22, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x22, 0x00, 0x17), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x17, 0xa1, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa1, 0xff, 0x18), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x18, 0xaa, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xaa, 0x00, 0x19), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x19, 0x65, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x65, 0x00, 0x1a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1a, 0x11, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x11, 0xff, 0x1b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1b, 0x69, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x69, 0xff, 0x1c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1c, 0xee, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xee, 0x00, 0x1d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1d, 0xaa, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xaa, 0xff, 0x1e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1e, 0x1f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1f, 0xff, 0x1f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x1f, 0xbe, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbe, 0x00, 0x20), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x20, 0x93, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x93, 0xff, 0x21), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x21, 0x11, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x11, 0xff, 0x22), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x22, 0x83, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x83, 0xff, 0x23), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x23, 0xf8, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xf8, 0x00, 0x24), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x24, 0x90, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x90, 0xff, 0x25), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x25, 0x0c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0c, 0x00, 0x26), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x26, 0xc8, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xc8, 0x00, 0x27), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x27, 0x59, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x59, 0xff, 0x28), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x28, 0x80, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x80, 0xff, 0x29), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x29, 0x0d, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0d, 0xff, 0x2a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2a, 0x0c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0c, 0x00, 0x2b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2b, 0x0a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0a, 0x00, 0x2c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2c, 0x12, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x12, 0x00, 0x2d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2d, 0x0b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0b, 0xff, 0x2e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2e, 0x83, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x83, 0xff, 0x2f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x2f, 0x91, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x91, 0xff, 0x30), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x30, 0x71, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x71, 0xff, 0x31), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x31, 0x72, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x72, 0xff, 0x32), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x32, 0x75, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x75, 0xff, 0x33), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x33, 0x78, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x78, 0xff, 0x34), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x34, 0x61, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x61, 0xff, 0x35), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x35, 0x63, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x63, 0xff, 0x36), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x36, 0x38, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x38, 0xff, 0x37), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x37, 0x21, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x21, 0xff, 0x38), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x38, 0xa4, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa4, 0x00, 0x39), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x39, 0xb4, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb4, 0x00, 0x3a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3a, 0xb5, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb5, 0xff, 0x3b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3b, 0xac, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xac, 0x00, 0x3c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3c, 0xab, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xab, 0x00, 0x3d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3d, 0xad, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xad, 0x00, 0x3e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3e, 0x83, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x83, 0xff, 0x3f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x3f, 0x84, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x84, 0xff, 0x40), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x40, 0x85, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x85, 0xff, 0x41), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x41, 0x86, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x86, 0xff, 0x42), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x42, 0x87, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x87, 0xff, 0x43), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x43, 0x87, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x87, 0xff, 0x44), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x44, 0x05, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x05, 0x000, 0x45), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x45, 0xce, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xce, 0x00, 0x46), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x46, 0x96, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x96, 0x00, 0x47), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x47, 0x07, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x07, 0x00, 0x48), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x48, 0x08, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x08, 0x00, 0x49), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x49, 0x09, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x09, 0xff, 0x4a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4a, 0x0a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0a, 0xff, 0x4b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4b, 0x11, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x11, 0xff, 0x4c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4c, 0x22, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x22, 0xff, 0x4d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4d, 0x33, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x33, 0xff, 0x4e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4e, 0x09, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x09, 0xff, 0x4f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x4f, 0x19, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x19, 0xff, 0x50), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x50, 0x1a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1a, 0xff, 0x51), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x51, 0x1b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1b, 0xff, 0x52), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x52, 0xa1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa1, 0x00, 0x53), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x53, 0xa2, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa2, 0x00, 0x54), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x54, 0xb2, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb2, 0x00, 0x55), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x55, 0xb3, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb3, 0x00, 0x56), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x56, 0x68, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x68, 0x00, 0x57), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x57, 0x69, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x69, 0x00, 0x58), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x58, 0x6a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6a, 0x00, 0x59), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x59, 0x7a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7a, 0x00, 0x5a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5a, 0x7b, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7b, 0x00, 0x5b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5b, 0x8c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x8c, 0x00, 0x5c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5c, 0x9c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9c, 0x00, 0x5d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5d, 0x9b, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9b, 0x00, 0x5e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5e, 0x9c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9c, 0x00, 0x5f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x5f, 0x9d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9d, 0x00, 0x60), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x60, 0x9e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9e, 0x00, 0x61), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x61, 0x21, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x21, 0x00, 0x62), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x62, 0x23, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x23, 0x00, 0x63), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x63, 0x24, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x24, 0x00, 0x64), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x64, 0x34, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x34, 0x00, 0x65), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x65, 0x44, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x44, 0x00, 0x66), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x66, 0x45, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x45, 0x00, 0x67), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x67, 0x9d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9d, 0x00, 0x68), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x68, 0x9d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9d, 0x00, 0x69), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x69, 0x9d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9d, 0x00, 0x6a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6a, 0x49, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x49, 0x00, 0x6b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6b, 0x39, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x39, 0x00, 0x6c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6c, 0x9d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9d, 0x00, 0x6d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6d, 0x9e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9e, 0x00, 0x6e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6e, 0x9f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9f, 0x00, 0x6f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x6f, 0x91, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x91, 0x00, 0x70), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x70, 0x18, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x18, 0x00, 0x71), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x71, 0x34, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x34, 0xff, 0x72), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x72, 0x44, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x44, 0xff, 0x73), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x73, 0x05, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x05, 0xff, 0x74), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x74, 0x06, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x06, 0xff, 0x75), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x75, 0x38, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x38, 0x00, 0x76), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x76, 0x48, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x48, 0x00, 0x77), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x77, 0x58, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x58, 0x00, 0x78), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x78, 0x88, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x88, 0x00, 0x79), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x79, 0x98, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x98, 0x00, 0x7a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7a, 0x91, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x91, 0x00, 0x7b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7b, 0x95, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x95, 0x00, 0x7c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7c, 0x89, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x89, 0x00, 0x7d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7d, 0x82, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x82, 0x00, 0x7e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7e, 0x88, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x88, 0x00, 0x7f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x7f, 0x66, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x66, 0x00, 0x80), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x80, 0x55, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x55, 0x00, 0x81), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x81, 0x44, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x44, 0x00, 0x82), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x82, 0x33, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x33, 0x00, 0x83), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x83, 0x22, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x22, 0x00, 0x84), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x84, 0x11, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x11, 0x00, 0x85), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x85, 0x01, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x01, 0x00, 0x86), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x86, 0x3a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3a, 0x00, 0x87), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x87, 0x3b, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3b, 0x00, 0x88), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x88, 0x3c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3c, 0x00, 0x89), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x89, 0x4c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x4c, 0x00, 0x8a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8a, 0x5c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5c, 0x00, 0x8b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8b, 0x6c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6c, 0x00, 0x8c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8c, 0xab, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xab, 0xff, 0x8d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8d, 0xac, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xac, 0xff, 0x8e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8e, 0xbc, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbc, 0x00, 0x8f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x8f, 0xbb, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbb, 0x00, 0x90), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x90, 0x11, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x11, 0x00, 0x91), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x91, 0x21, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x21, 0x00, 0x92), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x92, 0x31, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x31, 0x00, 0x93), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x93, 0x21, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x21, 0x00, 0x94), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x94, 0x31, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x31, 0x00, 0x95), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x95, 0x41, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x41, 0x00, 0x96), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x96, 0x51, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x51, 0x00, 0x97), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x97, 0x61, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x61, 0x00, 0x98), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x98, 0x81, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x81, 0x00, 0x99), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x99, 0x55, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x55, 0x00, 0x9a), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9a, 0x59, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x59, 0x00, 0x9b), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9b, 0x56, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x56, 0x00, 0x9c), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9c, 0x57, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x57, 0x00, 0x9d), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9d, 0x58, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x58, 0x00, 0x9e), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9e, 0x59, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x59, 0x00, 0x9f), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0x9f, 0x60, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x60, 0x00, 0xa0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa0, 0x0b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0b, 0xff, 0xa1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa1, 0x0c, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0c, 0xff, 0xa2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa2, 0x0c, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0c, 0xff, 0xa3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa3, 0x0d, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0d, 0xff, 0xa4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa4, 0x53, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x53, 0xff, 0xa5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa5, 0x54, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x54, 0xff, 0xa6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa6, 0x75, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x75, 0xff, 0xa7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa7, 0x76, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x76, 0xff, 0xa8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa8, 0x77, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x77, 0xff, 0xa9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xa9, 0x78, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x78, 0xff, 0xaa), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xaa, 0x76, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x76, 0xff, 0xab), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xab, 0xa1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa1, 0x00, 0xac), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xac, 0xc1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xc1, 0x00, 0xad), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xad, 0xd1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd1, 0x00, 0xae), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xae, 0xe1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xe1, 0x00, 0xaf), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xaf, 0xf1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xf1, 0x00, 0xb0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb0, 0xae, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xae, 0x00, 0xb1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb1, 0xbe, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbe, 0x00, 0xb2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb2, 0xdd, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xdd, 0x00, 0xb3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb3, 0xee, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xee, 0x00, 0xb4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb4, 0x1d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1d, 0x00, 0xb5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb5, 0x3a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3a, 0x00, 0xb6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb6, 0x4a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x4a, 0x00, 0xb7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb7, 0x5a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5a, 0x00, 0xb8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb8, 0x7e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7e, 0x00, 0xb9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xb9, 0x3f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3f, 0x00, 0xba), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xba, 0x3f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3f, 0x00, 0xbb), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xbb, 0xa1, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa1, 0x00, 0xbc), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xbc, 0xa2, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa2, 0x00, 0xbd), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xbd, 0xa3, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa3, 0x00, 0xbe), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xbe, 0xa4, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa4, 0x00, 0xbf), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xbf, 0xa5, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa5, 0x00, 0xc0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc0, 0xa6, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xa6, 0x00, 0xc1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc1, 0x1f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1f, 0x00, 0xc2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc2, 0x2f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x2f, 0x00, 0xc3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc3, 0x3f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3f, 0x00, 0xc4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc4, 0x4f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x4f, 0x00, 0xc5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc5, 0x5f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5f, 0x00, 0xc6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc6, 0x6f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6f, 0x00, 0xc7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc7, 0x7f, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7f, 0x00, 0xc8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc8, 0x1d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1d, 0x00, 0xc9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xc9, 0xaa, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xaa, 0x00, 0xca), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xca, 0xbb, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbb, 0x00, 0xcb), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xcb, 0xcd, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xcd, 0x00, 0xcc), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xcc, 0xce, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xce, 0x00, 0xcd), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xcd, 0xde, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xde, 0x00, 0xce), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xce, 0xdf, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xdf, 0x00, 0xcf), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xcf, 0xdb, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xdb, 0x00, 0xd0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd0, 0x6e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6e, 0x00, 0xd1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd1, 0x5e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5e, 0x00, 0xd2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd2, 0x8e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x8e, 0x00, 0xd3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd3, 0x9e, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x9e, 0x00, 0xd4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd4, 0xae, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xae, 0x00, 0xd5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd5, 0xbe, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xbe, 0x00, 0xd6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd6, 0xee, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xee, 0x00, 0xd7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd7, 0x1c, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1c, 0x00, 0xd8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd8, 0x33, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x33, 0x00, 0xd9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xd9, 0x88, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x88, 0x00, 0xda), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xda, 0x0d, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0d, 0x00, 0xdb), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xdb, 0x88, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x88, 0x00, 0xdc), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xdc, 0x99, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x99, 0x00, 0xdd), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xdd, 0x66, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x66, 0x00, 0xde), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xde, 0x49, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x49, 0x00, 0xdf), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xdf, 0x86, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x86, 0x00, 0xe0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe0, 0x3a, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3a, 0x00, 0xe1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe1, 0xd0, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd0, 0x00, 0xe2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe2, 0xd2, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd2, 0x00, 0xe3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe3, 0xd3, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd3, 0x00, 0xe4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe4, 0xd4, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd4, 0x00, 0xe5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe5, 0xdf, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xdf, 0x00, 0xe6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe6, 0xef, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xef, 0x00, 0xe7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe7, 0xed, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xed, 0x00, 0xe8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe8, 0xcc, 0x00), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xcc, 0x00, 0xe9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xe9, 0x1f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x1f, 0xff, 0xea), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xea, 0x2f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x2f, 0xff, 0xeb), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xeb, 0x3f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x3f, 0xff, 0xec), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xec, 0x4f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x4f, 0xff, 0xed), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xed, 0x5f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x5f, 0xff, 0xee), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xee, 0x6f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6f, 0xff, 0xef), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xef, 0x7f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7f, 0xff, 0xf0), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf0, 0xc9, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xc9, 0xff, 0xf1), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf1, 0xb9, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xb9, 0xff, 0xf2), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf2, 0xd9, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xd9, 0xff, 0xf3), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf3, 0xe1, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0xe1, 0xff, 0xf4), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf4, 0x8f, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x8f, 0xff, 0xf5), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf5, 0x7a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7a, 0xff, 0xf6), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf6, 0x7b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7b, 0xff, 0xf7), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf7, 0x7c, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7c, 0xff, 0xf8), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf8, 0x7d, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7d, 0xff, 0xf9), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xf9, 0x7e, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7e, 0xff, 0xfa), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xfa, 0x6a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6a, 0xff, 0xfb), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xfb, 0x6b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x6b, 0xff, 0xfc), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xfc, 0x7e, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x7e, 0xff, 0xfd), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xfd, 0x0a, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0a, 0xff, 0xfe), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xfe, 0x0b, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0b, 0xff, 0xff), \ + IOV_DATA(0x12, 0x09, 0x00, 0x01, 0xff, 0x0c, 0xff), \ + IOV_DATA(0x13), \ + IOV_DATA(0x1b, 0x03, 0x00, 0x0c, 0xff, 0x00) + +int main(int argc, char *argv[]) +{ + tester_init(&argc, &argv); + + /* VOCS Unit Testcases */ + define_test("VOCS/SR/SGGIT/SER/BV-01-C", test_server, NULL, + VOCS_SR_SGGIT_SER_BV_01_C); + + define_test("VOCS/SR/SGGIT/CHA/BV-01-C", test_server, NULL, + VOCS_SR_SGGIT_CHA_BV_01_C); + define_test("VOCS/SR/SGGIT/CHA/BV-02-C", test_server, NULL, + VOCS_SR_SGGIT_CHA_BV_02_C); + define_test("VOCS/SR/SGGIT/CHA/BV-03-C", test_server, NULL, + VOCS_SR_SGGIT_CHA_BV_03_C); + define_test("VOCS/SR/SGGIT/CHA/BV-04-C", test_server, NULL, + VOCS_SR_SGGIT_CHA_BV_04_C); + + define_test("VOCS/SR/SGGIT/CP/BI-01-C", test_server, NULL, + VOCS_SR_SGGIT_CP_BI_01_C); + define_test("VOCS/SR/SGGIT/CP/BI-02-C", test_server, NULL, + VOCS_SR_SGGIT_CP_BI_02_C); + define_test("VOCS/SR/SGGIT/CP/BI-03-C", test_server, NULL, + VOCS_SR_SGGIT_CP_BI_03_C); + + define_test("VOCS/SR/SPE/BI-01-C", test_server, NULL, + VOCS_SR_SPE_BI_01_C); + + define_test("VOCS/SR/CP/BV-01-C", test_server, NULL, + VOCS_SR_CP_BV_01_C); + + return tester_run(); +} + -- 2.34.1