Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp848593rdg; Fri, 13 Oct 2023 03:06:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHSgO8MByrDgPIzpdS2IdF0Sbsr3sHpRENoE4zMeBdT4BpsMXIkfdDvO2j6VBNV2aLoPtTA X-Received: by 2002:a05:6a20:e11c:b0:175:6c37:836d with SMTP id kr28-20020a056a20e11c00b001756c37836dmr4311315pzb.35.1697191609219; Fri, 13 Oct 2023 03:06:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697191609; cv=pass; d=google.com; s=arc-20160816; b=0zv3hDOk66by1y8JQjAGKvI8DlMGMWzW/bd706KpZ+dh1kAN67zr9UnDNFtFkrvhG4 18CdBs7I+tw2/Xsbk4V6VsNQT6JqkPxbB0fDsVFThfmkcUTehn8+FUH4WE7R0rhWy/54 q06nltt1uenL3GssNz9LaafsXLPuf7r/lmfWg9ZGpfWwYnN9t2S7mLYeinNH0C+W8ClN b2EfAsMvw7onmEZZuM0UtrAbUb+jjkFxVt+qI7r3CVIYt1Gfa1zoCarViUjfo3XKQvQW JVUOMK2zH3gSwEM4YRoTZHyaIAkjYNkF5XlTcw3ipe7o8WIPcz7Se26U9itT6ohn1Ahj vQQg== 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=U0fV0UGGjDE+5n1oyi5KZ2QlLOySQb17WtwmjyOZXmY=; fh=HAQgzeJNOQeZ5O8P9JfKfxG95tDrY1FP2Uw5QW2Xtcw=; b=wvy+6fceTYVWADzI0CxJhSqHVxxghC9xIZxtP8rFIqb90xWU9PAPUipKv/PN04qEP7 yD95iBThzjxxZzsqNeVe7bmsWraOBoDSPsjiPryjpBS/O+RmwofX2cin7AKLvDYy0Bhq v1gVf3Hwi1HKXmFsZ6ESyZCJUI/H0MK8zLOBpAErLq1+etSJ/Y7B1BrqV9h1idB39PyO 4vN6rneQlkVQ5hgjZb570BcolEE33igLkjss71qWjFEYTnImZBJ+CBF5JANzytryC3dr fk+9z7VbqiOrs/TjH1pblCLoCR3PdL9Hd/VZP7/2p9qShzlz9I+YtWuas52Cylrl1sFG 938Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=VOTCY2q5; 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 ja2-20020a170902efc200b001c9e9a0b16dsi2051778plb.168.2023.10.13.03.06.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 03:06:49 -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=VOTCY2q5; 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 DAB02803FC29; Fri, 13 Oct 2023 03:05:58 -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 S230444AbjJMKFw (ORCPT + 99 others); Fri, 13 Oct 2023 06:05:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230179AbjJMKFv (ORCPT ); Fri, 13 Oct 2023 06:05:51 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2065.outbound.protection.outlook.com [40.107.20.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49304A9 for ; Fri, 13 Oct 2023 03:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnWvoNn7WwdopZllFbigosb5QJK/hbe6GjYLJjnK1KVsfV6FwtGyrqNOtxrxydbU09qM6Indu4YofxLVklyHGd6a3Tr6+s7hDilBOHzdjSy9cATCAgezftDa0Gy3/nqJUH1tPGv8joB1a42EYgQ89DC+Vab/+aEk+/w4ljrZW2/dPpEWl/729DIzCskkBfqT+UjukasL2mU95wSGrTFc6gQfX/E1yeLqyCYjAJ4zWyrUx9BeHg4y+khgZup20IyL7fnSrPf889ESUJcJdejecwKhglrmTmqvt51W3BF8Pm3ukf0ZfnSzn9KG/8iXwhkKobzOqc/5kXusMTNtxVZDjA== 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=U0fV0UGGjDE+5n1oyi5KZ2QlLOySQb17WtwmjyOZXmY=; b=VZt9lMazEDtPrEMBFmoYPFx8RvIfNOamnfmzcY4QJl0wPultDJuzOt0Ry43NQGrNw86IyBe6kkMlLSLehxYmh4Gwru9LGK4mnFOrTxMwU42QoaVgBuE38VS7K9gd9MHJ449KjxdWfdZxWOhzjhztSsGy+h0NtjCNCNN1P8w3ke3ac4kwh3W5hvCaJ9IDrB1bZ68V14xfeFFZCAgShYoDjLbEjDgSONbAbH3aXP6T6Ai76+UB1WSWsG7wIj5PqWj8gEQaA9roYnOpG90Uf8QIU0kpC+AxkIjD0jD/1AoSI9Zc4fnxiRkT5eNAKOniMyu1kz5frwW5UAEL16kXaofkeQ== 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=U0fV0UGGjDE+5n1oyi5KZ2QlLOySQb17WtwmjyOZXmY=; b=VOTCY2q5eYdaihpDsjUlyaChuDBfMU3gruVUfAEmdkCoNdJU6do5bJCjAoHao4CYCfFA8fNF6afqR6+0t/ChodOBKoD8c+MEWb64PZiUIpyMYHFoBdN5M0hJv4e/BIes3R0so0Hcoi+k52hzaWObeAh5pI9yr/vnaZZ207WHtxQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from GV1PR04MB9151.eurprd04.prod.outlook.com (2603:10a6:150:26::9) by PA4PR04MB8064.eurprd04.prod.outlook.com (2603:10a6:102:cf::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.46; Fri, 13 Oct 2023 10:05:46 +0000 Received: from GV1PR04MB9151.eurprd04.prod.outlook.com ([fe80::a53f:4bda:e012:a73d]) by GV1PR04MB9151.eurprd04.prod.outlook.com ([fe80::a53f:4bda:e012:a73d%7]) with mapi id 15.20.6863.046; Fri, 13 Oct 2023 10:05:46 +0000 From: Claudia Draghicescu To: linux-bluetooth@vger.kernel.org Cc: iulia.tanasescu@nxp.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com, Claudia Draghicescu Subject: [PATCH BlueZ 0/2] bap: Fix source+sink endpoint registration Date: Fri, 13 Oct 2023 13:05:35 +0300 Message-Id: <20231013100537.3867-1-claudia.rosu@nxp.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1P195CA0079.EURP195.PROD.OUTLOOK.COM (2603:10a6:802:59::32) To GV1PR04MB9151.eurprd04.prod.outlook.com (2603:10a6:150:26::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1PR04MB9151:EE_|PA4PR04MB8064:EE_ X-MS-Office365-Filtering-Correlation-Id: 9bfb700e-21eb-451c-940c-08dbcbd3f829 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HdkspC8AOWlDG/FJgT3rWzvi2WdQFRTJ2VpKOKjxrvGG9Fvfcb7jmcLM+K15EUlikd5MaMh3zJKKU6zmjKAPUmLJor8kSJpwv6cf2/oSxIlXudB9TRdBXzqA8TGXiw4wwcKg/JBGAMMT6bv+MAPYKa/bqT4kacO00iVmjBZhCaSOJGSaefAZdj/86fIp9ZTW3mpVa+sM48YpsPumWqBYtTVZQiwxhP0O4BWklrmQ7dMhIfuMhpvMmL2gwHU1pQbaPB9+D9Gk40riLvQgQU0DoFFX2lcACmLRlDf4FLZVH7OiMNGD504gVvHLUMwkBT52kXo29cohjQ9FiF7JKz3Lpw6xwGokf6xB9xtTgZS6WLhqchtFrT7iCKg8ChDroQsrrB5aFvmrc7SYrG2pGVPaNKNaLWSVlR/rbwcKgTW8ghSxuSzh2+eMWt13tX3SEAvetZoyVv7tqKI3iW/58UCa3id0u4ziR2cB8MeE1RsQ+49Kt7Nxdqs5fxQlyxd490E9p3ZLxe0aqzeuhGJnAPJ1u2HuIVMRS9UyVnO7z28sWmw5rj4tbO1PfLRP30+1hmgq X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GV1PR04MB9151.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(376002)(346002)(39860400002)(396003)(366004)(230922051799003)(64100799003)(451199024)(1800799009)(186009)(6512007)(38100700002)(26005)(2616005)(478600001)(1076003)(6486002)(4326008)(5660300002)(8936002)(8676002)(86362001)(4744005)(2906002)(6666004)(66556008)(6916009)(316002)(36756003)(41300700001)(66476007)(66946007)(6506007)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?IBRJOe1KzZhcW6Wp6397JlGnQNLXC/gv/H3bhRa7x7DQmURT7w2BR2wsrmmp?= =?us-ascii?Q?73ezxHpl09DzYFegTNva8xeHztBMAvuDcnPSmx5IqaXyE0zUMADdRBUE/d3K?= =?us-ascii?Q?BAoPqGPg3Qb61WUZMTgzflRRalile7QSewTizU1Xy5SkTddWmobjxrpgoefS?= =?us-ascii?Q?Ebd1hD4aOf6mtcw+Qc/4osT74FW8ZP8u698m1TRgSAe0E0/DIAmZd6dwkC0Z?= =?us-ascii?Q?V9G2Bk6Bnlv2ppVd7ummYiBProt2e484ZBLVSWxHAmeHktKbiUapny/JAK9X?= =?us-ascii?Q?/QxGefKIowdZL+lpwc26EoRJfrCFSf4JKUHeaFjaNbHSIGLp3n1yVeidqIwy?= =?us-ascii?Q?HhGcQn+JtAajYcIzPr/KaWZtlR4n1bVediBHH92WRSYxrA0lvl6tNRLZkeZ3?= =?us-ascii?Q?hHcaQ3au/JJeubym2tAvNrnbxfX4rK555qxGyc3td8b3h61LGLCM30lk87ZJ?= =?us-ascii?Q?Mc1oghST4JoWysZ3pi24ru2exTsAIFRXaCy0pmfiAJHYou4J/5n3O3jugDw8?= =?us-ascii?Q?bHzR53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Is1nog11E7?= =?us-ascii?Q?3jQXfDbvO5wsbc1y1Oi3j6YiFM5FLTCL7620/WAHoxOTGTMMaV9pndJRg5vL?= =?us-ascii?Q?+/+E6d8JT+vTZvplm/M7xp17cPmp81HphHMFksiKdV9S+2v5VyzTu0fOmr0M?= =?us-ascii?Q?Khoyc/H1IvTUvjZD1s1DvKc7/fcIeVx9+f8oUIy/?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9bfb700e-21eb-451c-940c-08dbcbd3f829 X-MS-Exchange-CrossTenant-AuthSource: GV1PR04MB9151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2023 10:05:46.6708 (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: vWPXRerVeVp/XCG8CQAbNV9LlxPrzrqY4S4VrwQyk80kdbCUGNwzgFMPhLCEhQGJnK9Her8olwaqtMvYUCcIvg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB8064 X-Spam-Status: No, score=-0.8 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]); Fri, 13 Oct 2023 03:05:59 -0700 (PDT) Create new endpoint name for the simulated broadcast sink that is created when registering a broadcast source endpoint. This removes the ambiguity when having registered a local broadcast sink and fixes the situation when multiple remote endpoints are created when discovering a broadcast source. Claudia Draghicescu (2): bap: Fix source+sink endpoint registration bap: Fix source+sink endpoint registration profiles/audio/bap.c | 15 ++++++------ src/shared/bap.c | 54 +++++++++++++++++++++++++------------------- src/shared/bap.h | 1 + 3 files changed, 40 insertions(+), 30 deletions(-) base-commit: e347792f41a8ab2cf4f789b6544a4f8ec8464a53 -- 2.39.2