Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp432801rdb; Thu, 5 Oct 2023 09:59:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEodZVtXktJODUExIDg98ebnKxN/CrTxxDACn3XAypU2we1hShA0WOPw003SweAZaIv8oIp X-Received: by 2002:a05:6830:3d06:b0:6ba:865b:ca72 with SMTP id eu6-20020a0568303d0600b006ba865bca72mr5645875otb.31.1696525145127; Thu, 05 Oct 2023 09:59:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696525145; cv=pass; d=google.com; s=arc-20160816; b=v0HXhC/OhSRO9ZAqG30Ab4dgu5D8/0g9lvcdQPt7jLxtJIBp+gPT1j56w96R4TmLHO atwPqwey6HUDznd4nOqfIhjEEnHM7vLHlVB6qR6Ocxh8lPoWGWzIPZP5dKrgkp3a8C80 /OujyL1IIhIGIHwD/sq/KZzsACZpcm1h/89Pb2wTR6pFKtG8ERtUGw1RDoayKJh5TzYL gJqrK0HFRAFLcmKKL/j4SKozr7ux3VbOCWPZ+Bo5mRUExQiu8e4KAcnNm4VQWcdBmjOG Ktx9FPKWn5hyJ6pii9qsYQiu3BYZLFL9GqFQagN6fmto9y7bxnMIaOtQkGKG4sgDfkUG 9zBg== 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=gS3hR+D1Pb6LiVVi38Tq2eb9phXgmnA0bAAqT9IdonU=; fh=gOZmdXQWWYi2KI/CDlaL8bHElbVrtxjT8kPXxzTdvp8=; b=zXkagJgh3WoYQ/Ce9vQmH9W1EpuxysdQM0JmiZOGKCBuxf94wFAtQB2cj2Ss179pAB 7xzGHI772YE8nnYovVB8sylALSEbcyN3JhoRCRMGj4jzcApz+9yW6sXsl/DNzwftLfjn M3OA77d53WbJKps8gfm0rFCq5DEcr4Oa2tJvyKv0RY7MSIMEClys8y3l6evistxmaIHw huYZhFiqoj9xU/t7Dzf6eRR40jUdLNseMJMbLPgWhrAC169aaAFYOQCTyG9psJT8x8A7 VTE0ohhZpzVBRsqMo//HkuevU2zm4eRTmD1yTl4f8SxUJckqfgY4E4CSN2Euh5Jf9THs k3bQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=o1fi9j3q; 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:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id m22-20020a637116000000b005781afa41b3si1813600pgc.152.2023.10.05.09.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:59:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=o1fi9j3q; 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:1 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 morse.vger.email (Postfix) with ESMTP id 3CC96836E247; Fri, 29 Sep 2023 08:37:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233581AbjI2Phj (ORCPT + 99 others); Fri, 29 Sep 2023 11:37:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233517AbjI2Phi (ORCPT ); Fri, 29 Sep 2023 11:37:38 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2059.outbound.protection.outlook.com [40.107.21.59]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 36B25DB for ; Fri, 29 Sep 2023 08:37:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ct/9vrIS6D/+WHOtehVQsGehhTLSDTS+BNalyXhmw7SHs7JnXwEd7GqbOD67mOHS54BHMpHQq+xGM8RPwatVLJWLlo/yGzLxe59jLQXUACXu/McT/D8zY2MsT9cdImt2xSUc6W4kVHZTXsvumEMJF3UbLD4/lpbw62mSOXeNdWIJ8cnQrsyMXGmVpp1JHcmWX8jHXxLMzLNQDmeAOMD/4OCg0zt15eaUjXGJ+ny02pe3K6Deh4UgJHrnDCrrpZVBLI3fl+G2s9CKvwkdEyDBvTSIgaick42NZhup9zT9X5iyrpE6e+qUgxzbFbTrCIQaA+++wN7CPuBrxQqj+e9TUA== 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=gS3hR+D1Pb6LiVVi38Tq2eb9phXgmnA0bAAqT9IdonU=; b=Lu3gEY+QpnU/v4lxMpp9v0Me8i7wUlIfkSBu22uMt+sgeICOZcQ8GdQoTj36qnN93w4JBPPnrs8zfzY1yhe19MmQQYZ5aSoOOjOApt9Ymd6Q+t50+gRdTTdhJ4oVJ3MRyLYzWqv2JHF7x1PRnWC8zEghe43KHl0kzcbK+ild1JcbDNV6AcrfKoEsWUyqeGt6ta+OagnFwhHqomfFI+5nK2YcQOIxgzH3OX7CxWaGMWU5fnGs3j6r/tWIy9MYeiOCp44a4kDgj6tnJZ6yNSygtaTKCPhpv8la+oYT+sv1nH4YOOr9jTcWtex6oMXNhwP2fh2iUm3BO8fuwEL+jnzFIw== 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=gS3hR+D1Pb6LiVVi38Tq2eb9phXgmnA0bAAqT9IdonU=; b=o1fi9j3qMeoo2PfCMVhxZ+I/LoJY1RdhjEFvsqlknUwePgELtMIRUqMc2K/GOTa9wl2BlQsuuVpZ9N8Y5Dd8HgeynGcYrkKwii/3JY9zlrYlt2Uysc/UJUznnD73Ef+/rcIMwpUshuxEM7kHmUG0+FWlI4TUg+I9MjWCTqDcebQ= 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 DU2PR04MB8661.eurprd04.prod.outlook.com (2603:10a6:10:2dc::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.26; Fri, 29 Sep 2023 15:37:33 +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; Fri, 29 Sep 2023 15:37:33 +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: Fri, 29 Sep 2023 18:37:26 +0300 Message-Id: <20230929153727.3728-1-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1P195CA0062.EURP195.PROD.OUTLOOK.COM (2603:10a6:802:59::15) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|DU2PR04MB8661:EE_ X-MS-Office365-Filtering-Correlation-Id: bdfd820d-bcb6-4c4e-e4df-08dbc101ffb8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: f22Gk9zcd8Vyt25TdhfxJdyAJLQYXOOPnp4MK1ih0FaVXeQD7KYvKxkJ6DZFlnSG8eHSnGOmqz48m5U43JvqiJqlgJYlwxhtmZjDHyUN2WMiHtrzGWY03MtfnxlMtfiVxhp1A3jZFa24NEQqg3PhO+l4GZM3nEnRiYJ3wKcFM0Tq/tcVybH5K4sNGCvkXNp/VT0Mp70Qrvzr682Vez7NHGNSxbsICwAwnTxWR1KM56kn504mVT42ibUoLC8H9P8Go0eyFVLXcxqoz4BvMrT+UF0Jm2epFz2VpkXzy/HakoJ7o3WNEFtG77tmos3HG1uZ0OZncA0mkBNGDwtpmLbCd+blb8fY83Ol2Kh0w3fotHYMfwNuY5SP5fgkiFQJ+HJUq8spwt/739Xc+mFdR9c/UGw7WQwAkhF4OLKv+gHVJUPYyQdMVzrH2jQzhvYusIdhB16bS/Ty3OQRvtdsTly6zPCXxPu2C5kwkwrgss93xkUOD3JoskzLh4328mszKh6ppZnf8lrvhJOJ3W1vsR3A2ct8JtdWS4V8sFnbDIGPMiLbxXpzMuX7dj33Vn40ttak 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)(396003)(346002)(366004)(136003)(39860400002)(376002)(230922051799003)(451199024)(64100799003)(1800799009)(186009)(316002)(66556008)(66946007)(66476007)(6916009)(8676002)(4326008)(8936002)(1076003)(41300700001)(36756003)(26005)(2616005)(6486002)(478600001)(6506007)(6666004)(6512007)(86362001)(38100700002)(2906002)(4744005)(5660300002)(44832011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+UIzdni3UA6cwYtTmp5lW2TTgHbg3Fi+N00JleOXOul1kBCiAofRAsFLushW?= =?us-ascii?Q?jy/lMDRnmg68AyuhyafcAZU1g3wQozPBA7gwWhGAhqGAbNysfJwbuwjnZiO9?= =?us-ascii?Q?qeGx+m/2Lm2xpE83PXsC8yzSAgpUR4eEjozk8Y4h4Y96QSsAOFYmaaD5T5Cx?= =?us-ascii?Q?8UuBDOtv3gZmU43QwIrFS1SpFZ9sUNXxzGRT3OWKCnmXXpUjFbFChf7DhnNW?= =?us-ascii?Q?/p67uHMLaGE5ON9qSnMmssIvga/EPUuNVNte+pJ6fjCkMG1pwzZItbxaDJGe?= =?us-ascii?Q?2fOBKRU3lESuZbVgm/fWDnWQ4nB37Ig/AMTlUxe0BAECtVyx7HFoU1Pr74O2?= =?us-ascii?Q?K1NsLsk2jNOJlU1ZtlZza9Z+d4k1fi5Tll33B1zd6q3TN75q6W9EO5DXzwzL?= =?us-ascii?Q?JyPxEQP4ZAGYwjaMBTmqTXxT3ZNe1MYR6Q2ZGwvg8XeHvwST56NycQIdBVF1?= =?us-ascii?Q?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9vLY5/g2UV?= =?us-ascii?Q?knEF8jUvH5qcsNO/3C2sZl1Ju9o26T8sQT5tCKrBHc4QiRzO4Yz0iqXFOia8?= =?us-ascii?Q?pbGJ69vR7fDPMHorakzvGcJMx8XcQoba7LdAN3VhfbA2xKoU+CDNPPEoxHKf?= =?us-ascii?Q?tCIINcViUJlAlEhViW741NNGvChR4qT+s1GZCg7u/MHKFCGWBK1qLdlFoIpM?= =?us-ascii?Q?r4OD9okIRy1sVHAqSNViYGMZssg0Snvc4xubwoK+s4z4a+t21fpu/Xt//Nco?= =?us-ascii?Q?7A=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdfd820d-bcb6-4c4e-e4df-08dbc101ffb8 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2023 15:37:33.3872 (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: FAspHxDx4FV2bI+hk/fpOecAbgmZ1Fjl5xEKTh6BSLT9MIDTwzGczpkWg++WpGWL0Oj+e1IPyRKONAZgqYkEiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8661 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 morse.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 (morse.vger.email [0.0.0.0]); Fri, 29 Sep 2023 08:37:39 -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 identical for all sockets. It means that the user must remember both the desired 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