Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1299322rwd; Tue, 13 Jun 2023 07:26:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ67YeEtB6CycYZyuCxxUH54yjfl8LxWae0ptHLY4Ww9TVJM8H5bq/MfL4ohXQI7Vh6ghl37 X-Received: by 2002:a17:903:1247:b0:1b2:5070:c1d5 with SMTP id u7-20020a170903124700b001b25070c1d5mr9986313plh.13.1686666379253; Tue, 13 Jun 2023 07:26:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686666379; cv=pass; d=google.com; s=arc-20160816; b=xBNCWtT9gBnKXMvLi3rIVTlckVoAR1pwIWQYz70vFWW9MS1YdExGn23O86vwHypDpo 5fdKGQlMvcGrp6t0k7jhIzovIJdxU564tq9ZReeuX5iXbNiOA436iho/93rtBeTrl6/L poZ8JETs8SUJnb2cI87nXSfYsMA71+bLoPW+DTQXd/Qfy4IT76j4MxmzhQDjEFuTy6L+ av8kyGMGlIvFJMvFq4+yl+nbx4owhp6pcEJo/7gszTn7Dl1bIivwYwvCE/vq//kOGnSa yBRbqS7nrtHlZKaTuz+EOr2qO6Ms+UYKXbAv0fvqrpqlRcq8V3cYA5T3z6OHDnfI8TA4 6riw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=DPKKkEb4oTeoufduRP3H8d+ct9PJbTSTdUA7EgNdj+M=; b=c3Y7JK7rwvkVTY4u0pNsqF3ODv+mHZMD45llwlFM7M3PLDv4H5atsPSv+TWEcpcq3A qYwVsA0M2eXRWo0VbJsVQ+pP67jnDbtYmHUb4Nv2t9IqjFW0F5sZHE12j6qA/m86OBSx 12RNhDT+MVq3U7rxCyB9GX4Q/MQTaXhReX3ZtCS/cKSMgviEKk3dg9Dc66ejCgX0PoTu BdiQy25ef3QJd9eJskcJZAQM+WNCNCE6DYYP1a+HmPpOLHG/9PPyXOjOZE6YQAMTWhae dFNwkHZ/Hl8SxApQ4DPAIQaa6SmuTq2L+D9jUkwPWdzYDdjh7TVnnokCdYATw/u4/GDH Y0CA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="KFG3R/Gy"; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j14-20020a170902da8e00b001b3bb739eddsi4877614plx.138.2023.06.13.07.25.39; Tue, 13 Jun 2023 07:26:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b="KFG3R/Gy"; 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 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238753AbjFMOST (ORCPT + 99 others); Tue, 13 Jun 2023 10:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234563AbjFMOSS (ORCPT ); Tue, 13 Jun 2023 10:18:18 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2064.outbound.protection.outlook.com [40.107.21.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 980EFA7 for ; Tue, 13 Jun 2023 07:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HRECByIYqXF+7KsNSI9JfrGXoi58v7NVCMTzKV1iWla5rMnuVPXMXNeTh1h9x7m1SjwGjaztfpRDCiJu4zVT5YxoPnMItm/00YXiB6Jl06bQzaaOMuLs/Lh4GB8c459lhk8505ctKRi7iS+KV84R74gpFb5DPTj9Dh7ZbbKz3WxKEY6/zI8XkVp5+iKT6f4GS2EKgdplF9NsFT9/hXm3dfVQE4fcTmeJJViSuVjuMRX5lfGyaI9t3Kde3zCdg85ZqEpNhOk0vFKVJnBgI/gvVjRCev8Fu4L/5HEXJTQSK/ty6v897z6yr6TUZYCG+DnjyzcDDeWySNydvYZDcWyEHg== 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=DPKKkEb4oTeoufduRP3H8d+ct9PJbTSTdUA7EgNdj+M=; b=Ra14PLRlmxFhjhIAxPlbj7oxtD3x+ELH99OjHVav/C08EJePhrTAVofJyDOFeKpqRsCuObqthm0uQistfm7LqyZgiRf46O6tWnmR5a0LKc7lQmnh3Zkad/ef1z5D2L0XDH3QAN9HhUg/4IqHKfO3Lc0lxzGvff9JF64R0o2mLNiRlPZCeO33crOXRZ49YFMyPIrncd/EoQ9ljTy6HzUApI68fi7Fz6nuZbRatNBBBN2/gvKB3hEbE7JrT5E0RCFOiyWvjHP8CS8pxYWGPlMR/5EsdnNlKu+xAsuZnilZ3nR86Ca3BDiU+OkbTCwKisanYHWyDX4XCxSC7hGQFtv+SQ== 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=DPKKkEb4oTeoufduRP3H8d+ct9PJbTSTdUA7EgNdj+M=; b=KFG3R/GyDLb2N9RKKmgxaW/OmekxqOQbm/0AXXKe/NbQaJEXe2O9uwOob/vW4c/Ulu5orPoj7zHz26NDo0pyGykj4ff2/OOifRmgNodVtRmAvQph30wuP+hXfOzeqY9Y+9kaOLjfM/OZyJiWrPbxTB2fvhQF1QLEdI+00V0wWJo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) by PAXPR04MB8685.eurprd04.prod.outlook.com (2603:10a6:102:21c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.42; Tue, 13 Jun 2023 14:17:16 +0000 Received: from AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::7526:7510:9b32:e1fe]) by AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::7526:7510:9b32:e1fe%6]) with mapi id 15.20.6455.043; Tue, 13 Jun 2023 14:17:16 +0000 From: Iulia Tanasescu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, silviu.barbulescu@nxp.com, andrei.istodorescu@nxp.com, mihai-octavian.urzica@nxp.com, vlad.pruteanu@nxp.com, Iulia Tanasescu Subject: [PATCH BlueZ 0/2] shared/bass: Implement CP opcode handlers Date: Tue, 13 Jun 2023 17:16:23 +0300 Message-Id: <20230613141625.9197-1-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM4PR0501CA0046.eurprd05.prod.outlook.com (2603:10a6:200:68::14) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|PAXPR04MB8685:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a39eb8c-0fde-40a6-bcd6-08db6c18e3b3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 5rb/FXrkE4QDnOyK9zlWEB4S7xYdJupyfbYVncqayj3mZQxYXuAxX5rP3Iy/IEIpi+pPTxtjWMrWszg47BE5qAnzu1pPv8X62OtLZqVf6rJnNkaANClGZX33hrN4aNgp9/pxD6RTz0Nk58rM3R1gaJ/T8cce31vB/ythhHhwQm5NsanCv7bDaNfxywid0s9/ftGwVAvjlfmsIQxe/97ncLqfIj8wzRGTfihSyEykpQNUkBm+RDGoyPAI9rwbvCfhbxKchNXV2Y+I+G792YGNDff589a5s56sheKZ1ONL+k2wZfzwsqTmokx/XYw3xXlHaBe4G7SOrfvsMC5jQTJP3IaYT5HlhmSlSsdmwt734tzN+j2aWdnBA/XGmdwxOUTh4EFl88SWeQBDT3adpequmNhA6qYhCDq/DuYlZIrgcuwVnVJmyrKUB5Hnz6ydaWlaADRMmU5/1oZcyInBC4tc9eTYHOvUwsVNKiQ2xTUJ4VXU/D+yAGKHS91Fq0Oghi/HqayfG0/Lq4z1kHOmCqPXb8vOaCxpF8iMr1wEE7qgafqTKbcaA6XsnVmy1NpMLQdWOa0q0cXyZRrhw+mHFkHr0aB9EBNqMw+LU1ETCCvC6bAzADlrXXdy5vE2jEHDh/1k X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB8898.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(366004)(396003)(376002)(39860400002)(346002)(136003)(451199021)(86362001)(36756003)(38100700002)(38350700002)(6486002)(52116002)(2906002)(4744005)(6666004)(44832011)(186003)(6512007)(6506007)(1076003)(26005)(316002)(66946007)(6916009)(4326008)(66556008)(8936002)(8676002)(478600001)(5660300002)(41300700001)(66476007)(83380400001)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?d65AlcfBB6vMDrTL0+9zf5eIwAhNAwWAh1jPqIiM8D56jGRid5FW5umC5xGL?= =?us-ascii?Q?KVPezz8jJWMOCNAwRCZSFldTGd4XafGS563gm9o5JstfdgtcqqnAVwGkPxRC?= =?us-ascii?Q?AE8i9YZf190rlvkbYdl15ToKQ2WI+nJGlyblIEW++V8TdrYLKeINB9GPgP/G?= =?us-ascii?Q?EXWyrunoA0dFrnjuzEIeuuHh8TK9QGdsrNNfvQYMH7tpg7YA8sfDq4KZD7rc?= =?us-ascii?Q?N17dAdWUavISnoqL8hLJ+fT1mCdv2yJ3rjmwj06VWQEL75aT4Xp7FFGHQot9?= =?us-ascii?Q?tAXwZVJt5S/q3GbU21sux7cc23jNObW4oXx5Sriy3Xangq5do6oI4wz/ck0m?= =?us-ascii?Q?QVc8XIlCmEQdmqjmFe8Ayw8E94aa+AkAf9M1CK2RDyeGCS6Z4AFCkXU/aTDI?= =?us-ascii?Q?h4J7FDl/O69wWhS7B1jdjVTJFLb07/NycBkyM9KzgnU6GnMSeMf5K3rwgxmn?= =?us-ascii?Q?vquzBv2mQdMy2O/lU86V2yisYKfimKx10GxhcQPBFc8qSasV9Hw04vzeSF70?= =?us-ascii?Q?9EJDjYyW29B8hwp8E8DGwhnYW1ECqJ9niC26O2qqLfwtCNaiZjytJvKoOrvu?= =?us-ascii?Q?0nd++2LwmH7pP+RyTvlvSFTU1U0/UWp9tBPYn4O/eW8D3tdgy+dVnPFaGbR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pd52r7D/qhYIDvHm?= =?us-ascii?Q?l+rlgvfGEJfpbe/uv8wxaPwq/NH4LbACuvb1kMuZmiQm//GFhV07JhtKnduh?= =?us-ascii?Q?fQ=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a39eb8c-0fde-40a6-bcd6-08db6c18e3b3 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2023 14:17:15.9831 (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: SHE/z5loVTtPf42JLQV1QJ7Dg5A+Q9rtGDNu4wjqnmsEAqAJz3Uet+A1nDQXqz4OTVcIoyPCt6QkJJeCLk/inA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8685 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch series introduces opcode handlers for the following BASS Broadcast Audio Scan Control Point opcodes: Remote Scan Stopped Remote Scan Started Remove Source Iulia Tanasescu (2): gatt-server: Check pointer before memcpy shared/bass: Implement CP opcode handlers src/shared/bass.c | 155 +++++++++++++++++++++++++++++++++++---- src/shared/gatt-server.c | 5 +- 2 files changed, 146 insertions(+), 14 deletions(-) base-commit: 3030883005c02c77766e1a27a8d5c4d579daa9b5 -- 2.34.1