From patchwork Tue Mar 28 07:25:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iulia Tanasescu X-Patchwork-Id: 667972 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DB72C76196 for ; Tue, 28 Mar 2023 07:26:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbjC1H0V (ORCPT ); Tue, 28 Mar 2023 03:26:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbjC1H0S (ORCPT ); Tue, 28 Mar 2023 03:26:18 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2051.outbound.protection.outlook.com [40.107.6.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB79F3A91 for ; Tue, 28 Mar 2023 00:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JA7xZC1nWCL34DoBuJMtS4y8mCxNHqSR15yvujRZfjSvgF5h2XSnKBQFmRm1u9UEU8ZsuiEq2qCfWGIljl0qMtyJ1wtKbgirTexoLn+PBe9OSHkiUz4T8K0+ScjVsEM2s4uj88ytAlnxEMxOr2LupN83i0sv6rVa45wODsODbeJR8OywMGA8vhKrG92JnAlSYs+nt3591WP5jtF44Em1lNDLJJTydvFLZ81NYkjdv9ZVBaJW/PS35d/CwgJ/XyvZ7nyD0usJbMKiMc9UClRswxWRB2kMgFW6RnSmjnFfWPkES1eXd8ZrOOAX6O1VxAiE919mr+uQbp6pWDdxgIT0dg== 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=W3z59vyvw5iQfUQxgNhTvuUrHn98+98i26lPPBh4Qo0=; b=f8oA1S4mhIKmc8fO75TNU3O+vgu+Saxjux8Oqb+ogGeqc9l6XaaayXk92xppWIZUlFsu+tLGfuA94xXAX5QS8ZMWN2r+kTaY6QlLNwyHagwch8+/N+7tucH9pBtmbDs/PdJuUgFte+hoKZQVvKjSzSAz17hyY0L0UFp08aX22/iqdEQp+lS/LJdF0QEoOLvc6VSQztE69HjtbxtLcHItM/u9wzNsid7gEZbAq843UnQ3pvlyc1Zi9jsoQ/4unHFRwMaw7OAvmU54c2aoKDw/Xq+oWnEyo2dXYLTPE/emCn0tg3pQ15cpCOQ3MmfWOCOZ9ZnLAEaMvLzkgr1dTzG2mg== 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=W3z59vyvw5iQfUQxgNhTvuUrHn98+98i26lPPBh4Qo0=; b=C1XtbHteHHcfhAw0yXEOPkEeUROdU4lhZsCDNTvNXCJ7XZnzkoVy1WDqtSUQJi5340C/rUJiHLl1ierbvOucyMHaOAg0Jt4Q6kgFka2s8cKw5QNGwosR7ocpfBmowIbqYcut+myHMY29hAbvEbXLGA41v4lDDTAs/KRMcGRDWL0= 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 VE1PR04MB7328.eurprd04.prod.outlook.com (2603:10a6:800:1a5::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.41; Tue, 28 Mar 2023 07:26:11 +0000 Received: from AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::afb8:bb33:948f:d1e1]) by AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::afb8:bb33:948f:d1e1%8]) with mapi id 15.20.6222.033; Tue, 28 Mar 2023 07:26:11 +0000 From: Iulia Tanasescu To: linux-bluetooth@vger.kernel.org Cc: Iulia Tanasescu Subject: [PATCH v2 0/1] Bluetooth: Split bt_iso_qos into dedicated structures Date: Tue, 28 Mar 2023 10:25:44 +0300 Message-Id: <20230328072545.16876-1-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: AM0PR02CA0121.eurprd02.prod.outlook.com (2603:10a6:20b:28c::18) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|VE1PR04MB7328:EE_ X-MS-Office365-Filtering-Correlation-Id: 84a9cafd-268a-4de4-b989-08db2f5db4f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Yx8IXzTBohnwFNYFGcO9d9qhVoOdsc9AbyulaBjiFI9Ue8tuFwXtXsR4E1rG4ZvSQXonVGzohDyBXDTuZq79D0Vmbz0ztF0K1W37hbHIYOmg1qlQ9FcuIcigOFpSlcCirbwAW/oS1Ykl4hIwWcFhzKHrxDfBH0MOed0CrjlxzJ5A/xmyTPNoql4DCUUPpkID/JCJDrqdiE0auohkT7Li3yUwMxrz0CRvysnFzBSa88UTDWoEEq2bgyLctDUmvvBnVj/Yp9G709+DiTvfL8SJklfjSQf/cxsVZWx/DBQdu9QIv18evpdnMH+QwZ2EOaVpk7BCFitq9owXPSePzgjCS2YbJUkmnUDSyI4wjPzMBx1OHwy/ThrCDyGn1vyansvPqyaQikz/Ly13JfEcfmoVLZ8r2ThJJ7GYbWXqeObjLs3Ll7BVHM48buoHVk+HcJzDfnaMYlrCmsHQ9KAsXvTW/XSLGvmCg0q6lc4ghpoab5iB03HFYe0JG5dui6F7z4qMAciGdQvT/btHTlbklDhsQOkOUsrCe+ISJFz3TQBHfuLAHdTlKHvVPJqOtPFFVCkjAtZG5xUeB4SYza9QS+zGWvYYrAIIcBazgu5Kt0o5fIU= 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)(39860400002)(366004)(376002)(136003)(346002)(396003)(451199021)(6666004)(83380400001)(86362001)(316002)(186003)(6506007)(55236004)(6512007)(26005)(1076003)(2616005)(52116002)(6486002)(41300700001)(8676002)(38350700002)(38100700002)(36756003)(8936002)(6916009)(478600001)(66556008)(66946007)(4326008)(5660300002)(66476007)(2906002)(44832011)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K9y7OWtG4JdK6F4I4ahuU4aztnp3oXiKfHigYbty+fCJa0dd3xodq61x3pqlVNrzW3BoOp2gNwtUBDWw8qPr3QCi0M8YLuc74VqlXMksg/GCEWHlkoZxUhP5pFcXmiSETB0RCVU7uG8gxjp2KhO8BrYv9ckWpfzefnLPONhjGF/luXGElMFg3PNc5hKxdtZ9t3mFmHFIvGmeMGupVV7M80R4b0BtWgZE+jSCs74ysMsvwKzpFBNdQKODjg2BePo8emwRrDr3VvP2HRgi/xrB6BTT9sjHmveebLUu+s+7JyMZcyi1Bp4/KYz91ZmRaLb5LPGibvhkvRbq7Urw88pMbKlMURRTfWPK6+MqGJSu8Onxw7N4aVwWnSNbu37ksrHHL19RFHtqbKxYA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rXWmby8Wpixih7OUz5ZTg5zeV5xcGNptssfP5VUgQTjmBo5h0P3QLNY9ndaxPklJQDY8q9L2ZnbsgDZfXwz0FcoiO97EscRxHhti8TqaRaaP/ZQDbRhmr/BoqX6+erWzo71ySUbhuMUlOR5tZPycgM0xPnUXCA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84a9cafd-268a-4de4-b989-08db2f5db4f0 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Mar 2023 07:26:11.8525 (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: 07AWERvOVPtDObJyPsT6ba5cB60tBE7myuGz52RYZ+kkBr5ZxSRk7kpEugNhznehNznvEEQtly73ap2t4W0v/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7328 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This patch adds support for additional ISO broadcast QoS parameters, that the user can set before performing broadcast procedures using an ISO socket. This patch splits the "bt_iso_qos" structure into dedicated unicast and broadcast structures, so that ISO sockets can be configured with dedicated QoS options depending on the type of ISO procedures to run. This patch depends on the BlueZ patch [BlueZ,v2,1/1] Split bt_iso_qos into dedicated structures. Iulia Tanasescu (1): Split bt_iso_qos into dedicated structures include/net/bluetooth/bluetooth.h | 56 ++++++-- include/net/bluetooth/hci_core.h | 17 +-- net/bluetooth/hci_conn.c | 104 +++++++++------ net/bluetooth/hci_event.c | 38 +++--- net/bluetooth/iso.c | 205 ++++++++++++++++++++++++------ 5 files changed, 305 insertions(+), 115 deletions(-) base-commit: db0fc80ec686774f1ca4606e752bf42af1f1cd97