Message ID | 20240829124918.84809-12-iulia.tanasescu@nxp.com |
---|---|
State | New |
Headers | show
Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011019.outbound.protection.outlook.com [52.101.70.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91C3D1B0138 for <linux-bluetooth@vger.kernel.org>; Thu, 29 Aug 2024 12:49:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.70.19 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724935800; cv=fail; b=WkHwqS+TvyXDnQK0tjuAn0q+I7wQ0t75gCSupJjgHGggQlFFMqPRp4Hae0Qg9A8IRASGsVoS8loviOEUmcijhyOdaRmowPt9vb2xgBYuUsITPhVaNdCeZc5K5TW4h2Jw9aLvMoR3ayLcA2NufYAWoN/e9Ey0AE9yXLtTd1OJ6f0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724935800; c=relaxed/simple; bh=gQ/sKGbq9Pq5HpYUoBWAVRiYG17NtQ4dKtd2VgJehNg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=BaPIU/xbPIjsiZc+wELDQheTjmVEYcuLcRxGMYnt/lBE/a+93k42v6NHiWWcQl5K9tsPUArAe8vF9A+4uPae4dYJ7FFloSxbCyWYepaIoNPUKp9c8TIfeJp6LJtCK45WTBgFdNqQWvJqQ1M5Oa452+ThS9G5hl4tcf9t7TCZDnc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=mKQDKxbj; arc=fail smtp.client-ip=52.101.70.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="mKQDKxbj" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IPIDAy88eJB+uzsa5eWptJz1c+G8QTQzmHCiEtM0Qg4wLteC0bhzECKbZ1hm5BsaQLcUdN2hjzlfpYO/ovQxAjFWbeBoD59BeDZNAViBOC3S0joL5aNhFJ8ZXYwUUnYjZxhnZp3BHzvsZsOQEgbP4r9rP5tZp4LTfH9+Qu8NcMgkukS360JpMqlxDj1iPTDvGU9fmG2tibZ6weuuPaZPjVVxiNQV1xhOE+voNgrnAXPZ7+Bs9wHc6WjSVa9/peUyMeADpya3tvjwsH7wjqhPAOFUpqEFISoJHMs+ZWrVreYJN/SpvPN/tlXDopLAc4Hd6+05GHG9ux5J0gHD0eabkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ZiAeQ+6qr9qHJ1ESsmm+AhEG1n4Cr3WY2eZEljg3aYc=; b=zAIdVDHe+79VhwgNi47Vc4DfEKVO10KUWqWR1dz0K2uwXlS401xCXa9534HFQShERwkAVKZmDehGnHTzLX9AW50UbbEOHAO84speMa2o/gH40kpRRhRFhp0WEQCHoGq6nrEu8FpEtHIx2dIzjZMuJlV+dG0vlp0wRCec4aXG7DcnWE6KPTP2pljHZu01Gn8MGgsJx2/jj407ldoQ11xseyE1gCsjusmTG0TtICVVXGiBAEemElb0vfyDUO+ueKekjZX6zRZuQavNZ66B6zljs0w7bajh7it8sv9dxn5/XWgXFfpXBnS3bU4ftJQMSOeMbZibpD81KjGUh5VuWFMLVA== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZiAeQ+6qr9qHJ1ESsmm+AhEG1n4Cr3WY2eZEljg3aYc=; b=mKQDKxbjQ+fXA1Ip/9H8kXzVn3NUsWx97dlCm3VKRaKQDXw58tsWAoLfcj1pkyjoKedP/611MpEIhCRM2J9AMuvpKvP+drfIV22RCekGjsSD6A92uzxG60js0G3dgYkPzoU9oT25c4xiUTft4j/oDV2iKnzXkuwp9TdTQ1LKj+xN7s2GQHRKqi6uVP73yPJunVVY1T9UB1bIn1GKmyGwu88u89IblRBEBEAflg52JGH5N1GAC0mMYWn6ikvWygMrCVo/KINR5Iu5/4vQHTkvbfG72a8lx9D7AIRBe2c2ksQka0fOdoZxO9cvEF0HCZ6eq5FldrOI0+lJrujv2BUcUQ== 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 AM8PR04MB7939.eurprd04.prod.outlook.com (2603:10a6:20b:241::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7918.20; Thu, 29 Aug 2024 12:49:56 +0000 Received: from AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::5e22:869c:33c:9654]) by AS8PR04MB8898.eurprd04.prod.outlook.com ([fe80::5e22:869c:33c:9654%5]) with mapi id 15.20.7897.027; Thu, 29 Aug 2024 12:49:56 +0000 From: Iulia Tanasescu <iulia.tanasescu@nxp.com> To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com, luiz.dentz@gmail.com, Iulia Tanasescu <iulia.tanasescu@nxp.com> Subject: [PATCH BlueZ v2 11/16] bap: Probe Broadcasters with BASS Date: Thu, 29 Aug 2024 15:49:13 +0300 Message-Id: <20240829124918.84809-12-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240829124918.84809-1-iulia.tanasescu@nxp.com> References: <20240829124918.84809-1-iulia.tanasescu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AS4P190CA0011.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5de::13) To AS8PR04MB8898.eurprd04.prod.outlook.com (2603:10a6:20b:42d::15) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: <linux-bluetooth.vger.kernel.org> List-Subscribe: <mailto:linux-bluetooth+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-bluetooth+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB8898:EE_|AM8PR04MB7939:EE_ X-MS-Office365-Filtering-Correlation-Id: e8ffb2d7-9b4e-4b84-11bc-08dcc8291591 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014; X-Microsoft-Antispam-Message-Info: p3JR5Ga20E8dsuF3MZvUP/wyA/B2aoq4vzG8uSOKPG2fip5za2iQYHkVq3OmC0AyhLM/lIQPkxP/HD3yCQVcbJKKU4S6f3p9oluCqxSO+aX3nEha7JhBHAMZ7uh5nTbvu6Apj0DuUOIZ7mGMk7PqFAjTdoVodFs9wuLKMg7BNgf63G/+mUyGGK+31enOXwucUIG9RzNwy4oBxph6hEGFV5v66d14IrXgKVxI/xRTocVpwVK7zU+OKUD5zmIhKIFcE1Yk4QWeoR7Qzt+oS/PNir7yFhJjZdkt0hNXlomiu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-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:(13230040)(1800799024)(366016)(376014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CxobE9E8MGtYw9nQgEoBfnlhf1NIQ6vvJg6aIW8NIGIc0Gh3dWtTmNKvBH2llNyR14a3/uPBapGxQvW7cmM4AKADYXqaWZQ6vfW5cqAMtTN2Tkksnc4h02AJ7qOkzl3ALVNKDZk3polscfLBkU+iX8YwjK5H3tvy3qNex8vdoT4RQTNYQNjZdENMaGfGBlEWyGJRSfj+VC8tnilU3PvMDweY4C2jxX6tW4yknUIUvmbNyOXXWtnhCYgbxGWhWZsNDSBgnRmA+C5gSebL8VjyJukyx6iikzkUr9yAn6vLePrh1vdrHXmgV8nwZVajcXeNWdtMD2l4to1UkZNtzJgbNYMFksO+c+4mpj+gJsB8DHM95yF5ZjwrOhiWuJR7sC6OfZbJ1+ke68HBIRayzRU5wmLbleopDYfcmKx1gTWATn2q9d/sdZfV1xfMUKcRfxJlpjf4QiEHcrW/a2uGWXkPfBA7PYgmXbdtbVXoZXBRPFcyyvry6YYD3xuZ+QzS9BKlv3G6Xo+M+FkjkrqzZCYnkoy6rPYjjOP70EPP1cywDP01OqCCQw237BPxwAQpu4Aq6Ed1ppvl23j56GGU1z6Ro+wiVJ30PEv6nEF6DdaFKJWRfpPnho7dc3Ax60ALGhM+T/FTivViH2Yb2nU4CZudZ+VBlOolbw3Rk7lgcmIOP0mePt20rsKplmXjn3X7HSghouMbXJYduqMfbmEYyfe5FPymQMK54xmkYu5oKvW1Pf1A+FNsZvwZ0egbUwcHx85Mrjh98m4Od1fXpCgVl30KB9txdxGfUyxqPI4kWae85QUS9mDiP+w9HGDIn9K1XsDMRrbLZzoJVU+w14CCa/cyIBBYnUdxcNL3+WY89QA0WCU7UdC5CWlvMTRHs0ADOiKt+jWmZWbVgWbdlPvSZpt2GTMsE96njtpBx3qBweHpzguJfIj41qRE2hA4bldSHhmXCZq/cFUsDclkUW9nj2wPI11MDHiZBcDj0AdvrOJ7yKi1fafHn5S6Ap6tPszDuriTrbawvw0sippvUsldiQLDgOaH4iKlkxqYbu6QUmRQBxFRqBETaBuQWm8IvQDkJJAS2+qyQwo4h5uG6luNZiQJ/owEllWHJGZZIi1S+LWsnHJnzBAGOVQKSc1NWfUGRSmaQpSLnYFv39AZVHkfRinR6f2Z9Y0v/EuYHR0Yt7J2qLkUiLofywzhySZPJLCNQQELmIQLg70XFFKnZMO1JedeqT5UZJDSY2+ShcmxSJJbhoQK7t71qU+aM3IG7wsz+OuPQyFcJrTSF4NaK5my++prAFepKq7Jq+ynh7XRmrbowG0F53kdahF2E0Njg8Z9Lo6py9zGIWMWdaZoi6gWN/dWqvKYGKebtebl56sUadqVSDDmOpAR8wqUSlvP1dxXNzAIGfpC0YWNzGUfyn55FTmd9Z+toE22ERQt5de48MZ8Y0bY7918CGUHLWFlL1OQIjsaniiSSJwmqjk3zWGnZn9q4pWDlnjVDW/qywZZCuizMXs0d9B7VKTWQaOQwjj/TpX99rBOd7USlskOcOpDKnkdJZoPepVLsuQSgYUpL3C9GGcYXVLKvzKxmXdQjTZu92nK71SefK/cnXNhCMudfjzWxA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8ffb2d7-9b4e-4b84-11bc-08dcc8291591 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2024 12:49:56.1816 (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: +N6n04xlnT5+V9oR5JFLi9HZYuIgiZXuGBEbMlclc98Lm3/bsRG0yRo3yz89ub9C9vjaPmLVplDJHe0ZmwQ27Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7939 |
Series |
Add Scan Delegator support for Add Source op
|
expand
|
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index 3b2a742c4..0daaae9fb 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -1276,6 +1276,9 @@ static gboolean big_info_report_cb(GIOChannel *io, GIOCondition cond, g_io_channel_shutdown(io, TRUE, NULL); } + /* Notify the BASS plugin about the session. */ + bass_bcast_probe(data->device, data->bap); + /* Analyze received BASE data and create remote media endpoints for each * BIS matching our capabilities */ @@ -3297,6 +3300,9 @@ static void bap_bcast_remove(struct btd_service *service) } free(req); + /* Notify the BASS plugin about the removed session. */ + bass_bcast_remove(device); + bap_data_remove(data); bass_remove_stream(device);