Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2004332rdb; Tue, 3 Oct 2023 07:37:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGWov3dQsQ/kdtg8zBgT+mNuLXekpFQkgoYVwCST18BEhWVOVFx4eg9Bl/Mzs8jICKTPreC X-Received: by 2002:a17:90a:15c9:b0:271:9a75:6cda with SMTP id w9-20020a17090a15c900b002719a756cdamr11648053pjd.14.1696343875223; Tue, 03 Oct 2023 07:37:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696343875; cv=pass; d=google.com; s=arc-20160816; b=wx6wc6DuGXTqPweFJYKg8WZUtYJBS9reGsefmy/VXZBoyw6/ydIBcNH4yNeKt6OJM/ gHo7UDY/eWAaOhbZFD/2ZBoDmuSHZhU4p8zNEPh/e2Tzbp4DH8qPrPFPibQy+VuJe0Yw 57TU287i1wd1lxOnYfmmyWMMRT0rGUjXNj3ARM5NjvH5sH8LJnWCvJa4/XerOpUr3HrO R7tKDsJMca/qkx7uVLhj1W3b71pQ2eujb0HmDovFP9j91oITln2KFsou6K3m7tN6QsRz BBSCnP4kVF5viNwOx82jj2WHBXLurZQLvuz43eqO3QODs9IGwzyuoerWwEDPJr7CTrJS 4lzw== 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=z19erPW7JM63EaxiDVkYShxv6siFsxkEHwimX6mX7+g=; fh=gOZmdXQWWYi2KI/CDlaL8bHElbVrtxjT8kPXxzTdvp8=; b=UfPNNS3ObRoeCDBvL9y20mxGob2H00WTijhXp32hjfwGPlHHFOe0UJ60kT8gFDmAbk 8xhNipq6ObhttKtNsKwP+tzszPUobuYCrJPyXErMpiec40LXzSQgMQqOxvwGlV95nRBf 0PPo/bgSozFEqaxZXaP1Btu7tZFhtC+0Lkcd9lNjzXoxzx7na66o/l+xAr65ajy3Vcty jsjBTQAUzUDFIqkWri2zrgH/dWEe2PsvM940LfRQuvQip33Ib/cVm8xIlkqCt7oZfMEC v97l43ARBkkramYhk1XqhS5qOntdZitSc3EEC4p3N03Dgfz0P5bLO49TVdg/w+l+PnM0 VqOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Ol1JU+tr; 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.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id fy24-20020a17090b021800b00278fe20df4dsi1474918pjb.43.2023.10.03.07.37.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 07:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=Ol1JU+tr; 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.35 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 groat.vger.email (Postfix) with ESMTP id 8FC7E810CA98; Tue, 3 Oct 2023 07:37:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239700AbjJCOhv (ORCPT + 99 others); Tue, 3 Oct 2023 10:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232488AbjJCOhv (ORCPT ); Tue, 3 Oct 2023 10:37:51 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2082.outbound.protection.outlook.com [40.107.247.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0238AC for ; Tue, 3 Oct 2023 07:37:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QCu7xOudxOGmO6EhbdYG+ACCfZLZF7N+bS4etv0wb50lQd725h/8iPRHCKvtbQPboYIGnQZtUpnuNHK7bKqd2032w/YvniSWMU2+sbK2xJmaIeQURRbRk02zTpiVKFRYsg0LRagPPB5EC9/afQbr1fo/bN/kyI6G5EdTd4FbQQn0ca9dNaeSof3YWwbeXilvLDCcmcqUsmi+xwYU6F35c0n1hJ0BKEd/VwAYzJcwROKLY1l0JZmkasblLDPNETlOtZImb7wdjxSBT9JCQLeD1rLWCkJrk4hFXe4Xqmmt1L3rXYuc15IHoqGs3eHCbVa5whvlOqnOkAAN0hZIqQvLEg== 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=z19erPW7JM63EaxiDVkYShxv6siFsxkEHwimX6mX7+g=; b=SUm7cIaI5UGw22GVRcAc0bOgIy0j70iurNBCXBbge36IwwDKz+3C9GwHlX0ng6GBd1HpiPz6vVdje4GDyWziLy4atKrSiOj1+1Z99U4QyhL6ZJ5UAK/NHowvxpdin+xAhQ5ynYaiMqnsSWgIAJrVxlBehXqfohK81F4D+mAkyyYj2ODHq7QW72M5ro17mZGoLAc3N91oQBlonGt8CILhI7YIFhFp12/ILdqL9eDc5kkRvUbGsP8J9ddtofQXcJGbshybiWnqCTnnToX446ZKpUnMqdRVosgVeWUCG8mEQPHdJyU//pLi3qrrT35rzQo63d45sG0Gs8lJJu0Sz4+I+g== 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=z19erPW7JM63EaxiDVkYShxv6siFsxkEHwimX6mX7+g=; b=Ol1JU+tri3Hl6pTKHw9BtBLd6tL73eP9kAZVZDWRqJza3O9q/zCB6VoBH4lWN+3R7BDuqleH4ze6l6SvHsqLNZw/3+pLZupXCPqtWO/dYekYNWGyjHLFkF8CM2CgGVmfOfpe1GlksnWU7aa+qVv0mWfFwhZawlDGdeXYKriExTs= 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 DBBPR04MB7882.eurprd04.prod.outlook.com (2603:10a6:10:1e7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6813.28; Tue, 3 Oct 2023 14:37:44 +0000 Received: from AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::7763:779b:1a89:47da]) by AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::7763:779b:1a89:47da%3]) with mapi id 15.20.6838.024; Tue, 3 Oct 2023 14:37:43 +0000 From: Iulia Tanasescu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com, luiz.dentz@gmail.com, Iulia Tanasescu Subject: [PATCH 0/1] Bluetooth: ISO: Match QoS adv handle with BIG handle Date: Tue, 3 Oct 2023 17:37:38 +0300 Message-Id: <20231003143739.2925-1-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1PR0202CA0004.eurprd02.prod.outlook.com (2603:10a6:803:14::17) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|DBBPR04MB7882:EE_ X-MS-Office365-Filtering-Correlation-Id: bfff8334-f19e-48e4-52d7-08dbc41e4d94 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rDPzfohCaPC+0YTLzv56p7TVhHV52Li1ol8XHAQzqFfdW9XCR8ucXz/nt3lJBXtIH5D7DbfUV4M1AKu7hdFwp7Feg6PQLyGqkFZogSXyHA+f1wU1x5IX402h2ypp2Z1eqWwK6BAoVlVW0mg1oqmSWxotnmEFmL6hbpfrSk2nNqNjGj1y8U9Frdu+Aub8aWrH+aY7Q0AYJlYa2ZE6gfOnwKLv7J78KrDpbvFvcQ6Ej0WQ9xOf/pVGX2bejbH6d5f/sNKNqj6PGL43OOfZsXMkfbcWMddbmocjaioBYQkR5k6+lAjRp9a81IBxweyjUHIEJlbI5CGs2Xd2WwP/rdmGCELyF5pxAOTLVc/e6JKrETP6IaDJipijqhtv3AhsN9BL2phRq+SsJMGXIsnOyIZKAErSL5XnsXZd6SQsEsI8DacLs6yAMMYgwMbEhPqpE+sLXF2pQuu29yJDPAEbehSXUAdvyrp5mJJi2T3cjwnAzDOHf7iULULPPlmM/8rWPnE/WZV0G2LsLnseqUCbCZqx1YR8ooOpauXDk/DS2gpTkNpkA4sLuFUTrI9Ijwc8IonO 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:(13230031)(346002)(396003)(366004)(136003)(376002)(39860400002)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(478600001)(6506007)(6666004)(6486002)(6512007)(2616005)(1076003)(26005)(2906002)(41300700001)(316002)(6916009)(5660300002)(4326008)(66946007)(44832011)(8936002)(66476007)(66556008)(8676002)(36756003)(4744005)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?o9+LJwdwtFo+Oxr/phMw1k0phZ6JI4B8wmpcsHwyukhC0WP1Pm6H+l4s+DPX?= =?us-ascii?Q?YUO5JyUzFcqpCaRxpXRTjYO/oB9jWSXUyeqdDXR7vWd2CGYreLOt2IdEfpLV?= =?us-ascii?Q?X4X0QvlhgOSXVhuBQpQeO8SNuieQC6pM5QqZEhxtLpxPkW+sRk8UuVaN51Ou?= =?us-ascii?Q?oBWq37Zyt7ceoFeO0hhBnOJiiY2mssKkjfts4lquGhpWoUfzuDg5mzRadQry?= =?us-ascii?Q?beTJG7d2Fmis5Mp7s8SS3/X++QEt3nnwMwBEmJ3/GGWn8jADREYTmPiqcXwy?= =?us-ascii?Q?LU23Vspq9wUdRbnZWasTiO3A5O45XMlq9Q7ix077FCN3LAQUTydgEnZM1AnY?= =?us-ascii?Q?zS3FiIP2Gyilk+y6Gtq7KFWg3xlxkadh7sErYsar2gIstx38aFTij+pEzzJW?= =?us-ascii?Q?vRUn+L2fYiUNOfUyExpAtTLuyQJr6jwshVDR0IsqNS/29gdGoMehwoM/eg3K?= =?us-ascii?Q?KJO+w2eEDW8lsk0fVSIoBB6rztEdSlZfGjzQOcfALADKg/BpdO1HsLDwCaIw?= =?us-ascii?Q?bWCc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F?= =?us-ascii?Q?mXIQb0NBFmZ8hMyNGH5WgeswPnaSF1wqfLrkQt0CZZsoiLJ8MT1GRPtEhxUQ?= =?us-ascii?Q?X0jHYIFMLaMcWC5oUoQ1Xkfg4Zq1KC6r0eJw+OaiMotytLs1kN6vaN+UMzzE?= =?us-ascii?Q?4eUc5LlmFW9BK98TcrhY5D+EPSb+iyIgznMLYIyNh6qfmNo6z5SBfUgEriM0?= =?us-ascii?Q?SA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bfff8334-f19e-48e4-52d7-08dbc41e4d94 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Oct 2023 14:37:43.4007 (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: pZfZRTg1z0R6lHkJwy7p3BVd48cIG0la3lbi6pQtfaPTUb2C7oZ/ZWbwYxCfCqYPt0+R6p8vLMpvdl8EUHjZlg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7882 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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 07:37:50 -0700 (PDT) Currently, if the user wants to bind multiple broadcast sockets to the same BIG handle, the BIG and BIS fields of the QoS structs must be set and identical for all sockets. It means that the user must remember both the BIG handle and the associated advertising handle that the BIG will be opened for. This information is redundant, since one BIG handle may only be associated with an unique adv handle. This patch makes it possible for the user to only provide a desired BIG handle and leave the advertising handle as unset - in this case, the kernel should allocate an unused adv handle for the first opened socket and then be able to match it for all other sockets that will be later bound for the same BIG. Iulia Tanasescu (1): Bluetooth: ISO: Match QoS adv handle with BIG handle net/bluetooth/hci_conn.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) base-commit: 091e25d6b54992d1d702ae91cbac139d4c243251 -- 2.39.2