Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2272606rdb; Thu, 21 Sep 2023 13:38:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEJctHckf6Vuvqhe4XBSeNBToPtjtTyYE38HYNYi3q5/KRVb95n2Zp5Am1vek+CIu3t+WJx X-Received: by 2002:a05:6a21:47ca:b0:147:d861:50e4 with SMTP id as10-20020a056a2147ca00b00147d86150e4mr5441469pzc.33.1695328700172; Thu, 21 Sep 2023 13:38:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695328700; cv=pass; d=google.com; s=arc-20160816; b=Zrr8g6OahkuIadhxnw2bZgWo7xtq3+v1wM+BXzXmZ+iHOPDpIgwqcPu+/wFkEPOVRQ e5m4NynEf8Up6vcDB9UKFRMcnB/JJkUJXpG6rZBYrWGmUt019aMv+e3O/2W7gqaRmKjU w6cJIqXc9CNvgn3OJjdID4c/w/ujObDaRD21sjvIkpCA18OECFiRwNLXHXEYdtlY0CCu iIWcc+6qmuGyITrElEvCGX9QyWYCkCBWzGCmFfF+b2InFyPfBg3l8TzquWc5xpTZX0YY 4U0e45sWwQrCYxu8VsGMWYIyHudj8ZWNVPOIaJAdQjj2LKzhfNhKxMofJ9vo0lMwBvsL Rn0A== 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=YLqYUDT0g3sKUHnPKZ2RVdLWDWQB1qg5HLvBvvTWVvY=; fh=7Z+/tfbfahhzn+lgTpsSk6DtjDdKYroB11sp4UHJY8I=; b=SAmHxv2JBHgcif80L3J429EmUrdf8W7vdXVJtd6FYJ+oJIYicqlCFoX4le8XioeXEv ohQ2A7K2S3j0T3SmXL8Ncvs5XjZK4yzBOZaoS2CjzIpD1J6pZgvy3cH7bMu1vrj9NxPr Uik060pNIyJBwOAwpepeUFVFjgLUg4co9kgTKhbbZme0MCDsb+yUgKw3NaVwEGVUloy7 EkW2oupd4EMlAjtFkKNR3/Q7w+h+Ep1UpxleJbzhCbJVbl2UREtOf0S1VgWAmQ9Hw4ga ODGr0fKGfcRijkbiQdZ0MjZo6+yxzMRBBbqldSjS1Qryq2VwhDRE/tsP3A/ZkeojdCbD NcIg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FW868Tj+; 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::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id n12-20020a170902d2cc00b001b69ede5b79si2355637plc.470.2023.09.21.13.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 13:38:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=FW868Tj+; 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::3:7 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 snail.vger.email (Postfix) with ESMTP id 978E38239BAF; Thu, 21 Sep 2023 10:09:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjIURJX (ORCPT + 99 others); Thu, 21 Sep 2023 13:09:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229924AbjIURJL (ORCPT ); Thu, 21 Sep 2023 13:09:11 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on060a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::60a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F17B6A69 for ; Thu, 21 Sep 2023 10:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PGguiPEojqL9h7A2i5kK4l3OvEydsaOzqt6tu9xOO32aJ10/VEDV9D19ao91hqZ5OlSFXA12NrQ8oaTXq1fUOq03H6iXdR07RWZqjUs5Qr2BrKJbpk7QRy9zrPapBeH5T1L1u1FSr6kPMwyRpHBVznfzcio4J6A5NO+qxM8s/w+WkrlukfkjDYG0y3leidWdb6fWm+1JU39leIVCeeJAfP0RvcrQ2ChLP8BahhGDCfYERWWIeQXmH/uZ1Ya82FpyPxSKxgCxN9qJQ46Rb1F7qtrIS9bFeCTP+1vFwFEnq11a3QfVXPx596ce5ultw4ZjxwpI7L+jHK/wQlUSxz/nEA== 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=YLqYUDT0g3sKUHnPKZ2RVdLWDWQB1qg5HLvBvvTWVvY=; b=dPXfv41h/+IsrvJ3v2bwjLDooZ5oPn8y574DGv6rJJT5QCSLpeeU+Ijr1n93y1trabS4zYFUzGlU9YCiAxwpu3aMMWwNMc7P1vcVrP+WCLpf01arsD3WhwSkfEstnBTvywP9DncBgkPQ7EoS/HhsLzGcQj2nR0FZ/G11dMcxsvmRhyvyPyxAtkChTby469boEOTo1YiDxNiB0zAHC+2FW4IhTTaXAHclLYAzzxdQeMioRSxcuDj8L3MkghkkLNElBqLUFpSKcWPNRPKOBfp/EPMBu4XLoJFELGFsz6Fseat2LiQFPbUiBiWr/yj6GYzS/QEQqY/eqW99SRbeHVYMgg== 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=YLqYUDT0g3sKUHnPKZ2RVdLWDWQB1qg5HLvBvvTWVvY=; b=FW868Tj+wPoQkJLZSPlZrJCRYyvLYINYOoHuFt4BRAejWJyxk3WlWlpQJKU3Euy/Y265R3yyqIz3KrHD87nFEwmUC30tefGxvA204WI0bQu9T+vmV79lInWHAhZEwHmC8LciYPII7udLN+QuSi/CB+zAiaTSXWLtXKSvsZNyO4A= 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 AS8PR04MB7653.eurprd04.prod.outlook.com (2603:10a6:20b:299::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.20; Thu, 21 Sep 2023 10:40:09 +0000 Received: from PAXPR04MB9398.eurprd04.prod.outlook.com ([fe80::4131:3e13:f138:f636]) by PAXPR04MB9398.eurprd04.prod.outlook.com ([fe80::4131:3e13:f138:f636%4]) with mapi id 15.20.6792.026; Thu, 21 Sep 2023 10:40:09 +0000 From: Vlad Pruteanu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, silviu.barbulescu@nxp.com, iulia.tanasescu@nxp.com, andrei.istodorescu@nxp.com, mihai-octavian.urzica@nxp.com, Vlad Pruteanu Subject: [PATCH BlueZ 0/1] client/player: Allow the user to control BIG encryption Date: Thu, 21 Sep 2023 13:39:44 +0300 Message-Id: <20230921103945.36180-1-vlad.pruteanu@nxp.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MR1P264CA0194.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:57::9) To PAXPR04MB9398.eurprd04.prod.outlook.com (2603:10a6:102:2b4::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9398:EE_|AS8PR04MB7653:EE_ X-MS-Office365-Filtering-Correlation-Id: 668e2673-e0c7-4a7e-124f-08dbba8f2077 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XhGKQlf0KKFJXOllHCLOkvfJNENYlwmT0ZOJNacHvtUdzLZtAObcTV5EydlMBSg3fGT0nmMo+LjyRWYN2vf4wqKtmE127upJVApX4KpiqxKxkoTFlww+qgDRRyNoFb66nWhgRcYbkT6oupid2UMT4wGCmMb9516pVByvEZzuJzC4FZoFNPzAqX7fKefB1oEASpcofpmuo6mNMIW8tEH/rmNtaU0nbVQPeRJqP0zvN7JRg1/7k33AojgU7JpCEC38c8Sj8X4jJwLRLPSDjOMcNifrt/FsgoRKPJdH2EJY+OuX2JZQrRdGUDDLtFtLAr8iuNLtoLd7G7iptsBszSbUCXaFW5+ac3xyaWwOhpkwGWf8AVLToLf9Jo36h850HLy2OntyJuOfLSxEU3cNg7amwKtfPoOM0Cju/3s+r8Hx313TcVcMMTDNvJPAnSiQcFcQH9OLEC26ovmbnApmKUUnk9L+CokYmB3mT5PsYf+OLq8RZyofvPWB1FHw4kIBC9aWiGFfc26Oxdu0rZPK3r4Bew/xnogugbT4nB+GLxuk9fJccra5k6wTQxvak0Dedmvn 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)(346002)(39860400002)(366004)(376002)(396003)(136003)(186009)(451199024)(1800799009)(2906002)(6916009)(66946007)(66476007)(66556008)(41300700001)(316002)(4326008)(5660300002)(4744005)(8676002)(8936002)(44832011)(86362001)(36756003)(1076003)(83380400001)(26005)(2616005)(38100700002)(478600001)(6506007)(6666004)(6486002)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?u5REe4bAB8puNHt2wHfKqND78Zxr0naGh1k9Wji1aPUpweOsk/IQ5bKqyQrH?= =?us-ascii?Q?VJ96XzBv1mMajbTAzNRQhVW6I08hPH6RTAwS6nUAcjod4RXbQ1kUaCnKg3ev?= =?us-ascii?Q?+hhcH8O+iCqEEuaeBrjEs/i85tj88tOKcgq+GQ3OUs7EWoi+U67JgYFm0NUT?= =?us-ascii?Q?IlCVN0gQTmgrJzwmp7zJRYtYBtuBV/1jikkEpgaeBCQ2rr9igIfVPtv97Mw+?= =?us-ascii?Q?RzggugIRlwfzOE9SPitpQZOsqIuSpHmLH9RzolbluARdADp+srSoqO0wLH51?= =?us-ascii?Q?+3E+EPWURXv7h1uP22+JKMDhqJg7XTQD17HmwGM24DSIKp0aU06CVG1w1FOi?= =?us-ascii?Q?LwoqU/cXDAKzJBnrraReDtqrC3hajs+7KfSONaBNTH8Ftolmbssjy9fSLUSg?= =?us-ascii?Q?VEHYuU8bfTRJ9OwCyE1zusrYYenKuQkEgNpi5z1rLTgDFo9Q27tUJcVxflnQ?= =?us-ascii?Q?DO8PYsFJyz+NUCIbdKEdOyxExvBJ6sRSbbi8E7lYpYLT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HPReKTF96H4dLXwA7s85kLk/neBrgCZVM4ZjBSIVRubtWX56WcBjUPU?= =?us-ascii?Q?4ExKphubwR1Lo53+ZW4gQ/c0pcihGc8bmyOUa7o7ojTe6C2Vyfo1k7YbZMQe?= =?us-ascii?Q?7oCzYh+1v40DjaJzc0LPZASHx8jMYwOCtFLW9pZYcBA00y63TiFkuTa0fdvV?= =?us-ascii?Q?qFYWUWFHcP08iT88E43HO9IalG9Wac5Bb+6bWX6Y?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 668e2673-e0c7-4a7e-124f-08dbba8f2077 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9398.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2023 10:40:09.2534 (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: yl5oqSs8QIMSci9+1F5Blh/g2TvjZdxoc0psvY1Heymrmy7ZsOmQvtLEsi4X/SUlXYIMV7jbfHHid7MUhKxVuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7653 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 (snail.vger.email [0.0.0.0]); Thu, 21 Sep 2023 10:09:23 -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 the use of encryption client/player.c | 50 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 7 deletions(-) -- 2.39.2