Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1444533rdb; Mon, 2 Oct 2023 09:38:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpEKcqaZAxK0RlYY0aPNyoJuRkCJWaVdnPhJX3peI6vTgplavJ19rLz0WFLYDLawP0hwn+ X-Received: by 2002:a17:90b:1194:b0:269:32d2:5ac4 with SMTP id gk20-20020a17090b119400b0026932d25ac4mr12311190pjb.25.1696264717222; Mon, 02 Oct 2023 09:38:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696264717; cv=pass; d=google.com; s=arc-20160816; b=gUY5HnUoOODP/w+C6UG6pYnKZjjQNw2de4FLMfgMVGh9ALYvBnQsq621BaAmHUjUfU mLaMMu3sBv8fBVVy6Hw9ulnMbOKsPfa1Abc8pys2oWgFEHzcn53M8LqbD9Irz3o//8EK hQyrCxG+N0g8in39L622/b6C7yhTMCQOPUtH/B3/Xgm7pOmgUPf7Hm7pSvGLFmBy3ybj CrHjLb1Sl5JfPCeH5NHkXWL6kd2F5TPME+bc4UHtoUIWJu7wKdsEWqz2rZw3830s3Ex0 uVBQ4oNX7+VMV2ALtUxTR5WB0wbXZtsa7HVgb9LcqWMQ3E+Nsy6sy6bbcp/+BwqDdLP+ 38Aw== 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=oE5h5c3mJmBDWq21Zj3KBLTiAbMv/EOMjeOv2WyQSmk=; fh=dNeyhZHnpfEyZCMyfArFhpr7HCmC7e6TeGeaWzLZcWs=; b=iTMvyNW0rUnzIcIB6varpikwfOlALvPsvpuSYsgZadwLceBdVcD0Va4fDS6esZxUkg stZKaMG+Gn68ZBTke+a8By+A9ej8unjJnkRfAzmdEPEDnr4/L5h0hccoMBa2Q8yjBDqm 30qlUnGUtvcEZ/7UFbWXrf29mRKHTpsCTMbQZeOBrD7B9QrbmfUOIxuyMNAmN2SLvWDS bHu0JpJi2lqmH2VIevUuiZFW/+7ft2aSiWaykMOpm2cxoJ9bV4CDE8adA1dcZHf1/zpU N6Sts4DPAcignk6JV7B6MXD8BZz5VEQ6o8GuNBMZo4upp84l5QOGnGhRD/taD7pHSQmL 1XQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FynHkXtX; 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.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p7-20020a17090a868700b002791d79bbf9si7646833pjn.187.2023.10.02.09.38.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 09:38:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FynHkXtX; 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.32 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 agentk.vger.email (Postfix) with ESMTP id 3E62E809D44D; Mon, 2 Oct 2023 05:37:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236662AbjJBMhv (ORCPT + 99 others); Mon, 2 Oct 2023 08:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236623AbjJBMhu (ORCPT ); Mon, 2 Oct 2023 08:37:50 -0400 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2062.outbound.protection.outlook.com [40.107.22.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E636F83 for ; Mon, 2 Oct 2023 05:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EKuNSdyzQTZrugCjAqGEPaeuuU0GSkjCjKWFm3l/1Ilh7AOlYToqhlD2EK8T03InJkH62ZfWIVyZYjIlJWO8UClgzxVzAiRtp/tGbdRR5LoeZ5oMI5Vq5ArR+eb8O/8m1aLieAa3itlVEDida4vedeooLGPY7K3Bg1Rq4ZSdmOSXrkDhSoP9BoLht6kfYMrZX/V0DllbBSRkdnk20f7w5UvcMUxkDunA4ZhF1svq5EhpG8fv6L0D6Y5samiEmX0+ZgWqWA1+Wjsj20/VI5Fx5S7Q58QbGjlGMTuob2W5ademiSJF4uJYzuI1RxdoQFseGRdrtr15XfaGM8rG8GXLeg== 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=oE5h5c3mJmBDWq21Zj3KBLTiAbMv/EOMjeOv2WyQSmk=; b=GCJZfyMIs4Kj6K16cAzfBKjydHOvX1T+cAkb7ReKfYElBn3lYjUtv3n6oyDg9GLK61d1SwjbZ0e5lxbCjxWxea5hXXifoeTiBbMPDqlb6LTfgXMVON+n8aSxczu+OLZ+QT0rTinvOwtH0OuCUJTnbFb/RWTtyP7Us3P6pgthGq8k7R69zoEx5yjBxv/G6XzcFBah5sPWTxoAhrvI46nQ0OK7074r9NZnnRSEof1Iu4LIfDlJv41pXKKZaBfN5nfw1Lj+wyv6S5Ur5tJyah/+I6a6G11u60jsoRAq0eAHaTO4+Wbf/eFneCx/FH62im1+lmEA17jBWtxGfRO0COCL4A== 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=oE5h5c3mJmBDWq21Zj3KBLTiAbMv/EOMjeOv2WyQSmk=; b=FynHkXtXyhAFMmJfj8oywCrPVXFQl75oDEtf1PxgDVO5lF+ZODSQKqdBg7a1BVmwA7ooJIaAYCVyu7Pnt43H6TyNkyXL6kSCgMIMCkBc5Hfn4KQTwUQeWEgU7QeSO4YXcWxPlzvD68zmZUCSMXBQg6P/TbmSbBfnmU6dqH91m6g= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9398.eurprd04.prod.outlook.com (2603:10a6:102:2b4::19) by VE1PR04MB7471.eurprd04.prod.outlook.com (2603:10a6:800:1a7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Mon, 2 Oct 2023 12:37:43 +0000 Received: from PAXPR04MB9398.eurprd04.prod.outlook.com ([fe80::7838:af8e:f859:cb04]) by PAXPR04MB9398.eurprd04.prod.outlook.com ([fe80::7838:af8e:f859:cb04%6]) with mapi id 15.20.6838.028; Mon, 2 Oct 2023 12:37:43 +0000 From: Vlad Pruteanu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, iulia.tanasescu@nxp.com, andrei.istodorescu@nxp.com, luiz.dentz@gmail.com, Vlad Pruteanu Subject: [PATCH BlueZ 0/1] client/player: Allow the user to control BIG encryption Date: Mon, 2 Oct 2023 15:37:37 +0300 Message-Id: <20231002123738.22210-1-vlad.pruteanu@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1P190CA0049.EURP190.PROD.OUTLOOK.COM (2603:10a6:800:1bb::7) To PAXPR04MB9398.eurprd04.prod.outlook.com (2603:10a6:102:2b4::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9398:EE_|VE1PR04MB7471:EE_ X-MS-Office365-Filtering-Correlation-Id: a7037cd6-ab5e-4424-e0e8-08dbc3445f84 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A1+1RisNTBeuh/bMACZCIHi4GIfgu8Iyy8yxuaEbK73sXrQgopLIRlisdp9IUgoMj/ziYaxYm5mVbFSz1fOeY8oqqdEpl853KEenjHzgbQ6OMg/nu4diAQ5ZyUePrDWKUdsPj/2FI49rRVYiOgGcWit2Zrpq6n2HQdH9ZXEPSNSI7hYRBKQnbla6RS0PZtnuqcewBN12uicozDeIydZYWsH0q/W4dEd0RnTv0KS8FxBjutME55fYlQG6xGRs+s4Sh23wzP1m0QGqy3KnfSi81y9ZNIomITaB7zoJHDpQsRf5Q3njeBoW2jh42lectnrHEE6Oawa6Mb13H+1W7oiVtCp0pExOyQybWf+oZvRoflKK9r+LWCxGmD48iQZ+CV8Z1w4C18XJdCcmLEEOpZV8sr3vw0VwdVYIdiwJl+zvFGgpdgwZZNKsAhvcA40l6WMy8HLOutlfDoYF6nEDJ/ZkVemaa6rbS07nWMb75yiLRYjLQ/jNtaeNdkZEsm3RhD6UpFdaLHHWQ/e1kdk9r5BZiWUVkm5Nvhc/VDB3psMoCP3UzDNv4HsyPpSTdQGW3jwG X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9398.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(39860400002)(136003)(366004)(346002)(376002)(230922051799003)(1800799009)(451199024)(186009)(64100799003)(6512007)(6666004)(6486002)(6506007)(83380400001)(86362001)(1076003)(38100700002)(2616005)(36756003)(26005)(2906002)(41300700001)(316002)(66556008)(66476007)(66946007)(8936002)(6916009)(4326008)(478600001)(4744005)(8676002)(5660300002)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?uCDVsu/e6NsRkuVPkkT2/hJi/pwStMk69HG9vSlJAzCumnB/UDW8/8MKj0nw?= =?us-ascii?Q?UQXGN3jSnzxTr//PymBxnN2Y/erwafuNWK5+ovuaso6bVqz4aO1u/MycKN4l?= =?us-ascii?Q?y4in6vWQk2msTC02DjizIqy+xGPi8XlvfOCaNdEbj0Rb59tmfw3iB0JlyU06?= =?us-ascii?Q?MiHaV6+XjAEVXnGCag7k1vvTGvGZ2BMb+rtfDsEZnhv/23Si2QpvQCExEyuQ?= =?us-ascii?Q?fi2UvRxRV7Pnro94J97h2kyeTTz5pYLuhEg9Eh1ZOqyetMO7OCOl68L8uUkN?= =?us-ascii?Q?GJX4Bf26heDWQZ6t2rSaLOd0Cy+hsxZ+aGMkvJhSSYDsfL4Kw+psJTa8YE00?= =?us-ascii?Q?m/M4nevdn/V0LGuq00xeUqqCl8lReLD2oJyQM1cffbKOk619SaS3yq5KkPbB?= =?us-ascii?Q?togOI9MPskFpPmcGqTum80UhN+SYQr+b6EHOyu/JdGBrsvVlfgxP0T6bdhsy?= =?us-ascii?Q?F8ue+dhYysdtC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hBB?= =?us-ascii?Q?cb2pSEDwN6nslmZWieavCITyqqoOEoaWu2sUIAlSDp30gH0WwzZPNHDaRhzR?= =?us-ascii?Q?6FiJFCa28G3Art39wZA9EBU10pXxCmdwcWpDaxEINf3x1nQ+kKM1avm0jwS8?= =?us-ascii?Q?PhxR7F66mWyuNQoYbaqRtTSIEC5ODbph18v2NkSpfMOFulCGVl7MWlY4HJLL?= =?us-ascii?Q?V7OvFuJOp7UKxttyKIaU0ARG4xn9dw1+/7xIq71k?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a7037cd6-ab5e-4424-e0e8-08dbc3445f84 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9398.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Oct 2023 12:37:43.3123 (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: 3j2KO9oe6pIJZSysiwovZhVgScywmGYun2q7wR1YN5tVB8cXZfOSeKOK9f75NrjHjc3STvYep1kCF2MWqQ4Z8A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7471 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Mon, 02 Oct 2023 05:37:50 -0700 (PDT) This commit adds support for controling the use of encryption and setting the broadcast code. This is done as part of the endpoint.config command. For source endpoints the encryption flag and broadcast code can be set, while the sink supports only broadcast code setting. If no custom broadcast code is provided, the default one will be used. Vlad Pruteanu (1): client/player: Allow the user to control BIG encryption client/player.c | 50 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 7 deletions(-) -- 2.34.1