Message ID | 20240821145602.92083-15-iulia.tanasescu@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011040.outbound.protection.outlook.com [52.101.65.40]) (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 8F2DC1B2EDE for <linux-bluetooth@vger.kernel.org>; Wed, 21 Aug 2024 14:56:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.65.40 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724252220; cv=fail; b=I6ogLWi9dc4TgsoLCykP8bmXV0t2tqdhFUwtdRPiC86VoJqBMm6ib3eXCwsizqLIDUxHQjXLn4tdu/MD72hlwD2AtRfPv7etdvrDFJ9k9acn7wEccZZCdV2Q6TKJoSQvMETopgIHvzLAVse7VkK+SYAONm8qvqqGuwL5EgnijIo= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724252220; c=relaxed/simple; bh=3870dVQT0bg8s166mnssLePIRVoYONnIUVlPwOpeSDw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=E+aYzdjnuhg+GTslT5p8JGmVLXmyPPF737xDEFJoaI2NLPcUlIsquEQn/5WNRZqP1kLszzqhUGXNCDhnJ3T0SfKvLg/K4C9RIENs9nisJX3yJImahWEQNLhymAWc4hqknk1Mc3KpXJFzzeLu+nugSOyD3+QbLxFaHpxohXqqYR4= 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=HPMkJzPa; arc=fail smtp.client-ip=52.101.65.40 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="HPMkJzPa" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wl4TIKPrE0xUjGDxoL87w+L/sbETyP8+lhv/P0UYtDDM9G6TKI20joKQD5pMu1bthXq9uqC4k2vfAVvS/cERxNge+THfzTxLXqSnWk31LlgnOFXJNaGCUntMObe/crOAAW9n67qT+WqOphbNyYO9547j5g7ZfEV/Fe02B6JZjYB8YYSbdTqfgvpKx81b8xpF97IBmkLtzeUucL4Qf83hOV7f7VS2uuUo5OUzpSZ+C9wlopww++QWlTNlOu+b7lXShon05wxG5Jky1CfYT4NAKQO6AGTnIBUlY2gZOrU05/BedBF5CLef4VapKIa62C7eYnNjPSrRvgSp0+RlWA1IDA== 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=WKbbd849qvszLUfPUqVzWaD+9YNN/hToCsnyJjyyKnY=; b=WaasLZn9HwBWUi25o0utoapgP7r/fADPljyodUsDx4ayASmJuhj8UdAun4AfB1OccV1JXLvy3fCdSreYIgSAlhTrgpPl2efDotD3CYKWpsjiy3Pa2O/pFwAatM+Crp6weuRrd/bBymdbjD+Vnc2q04dJ5zXCKSyQB5Y4+B+K/5VKw0aiRlqntqs55ZSqXhM/3cpnzW8c9MwcCILOGObPTi1i4vC4TG3OEpu9Glr0cZ071K/i3edxB71GFal39NsvE1YRsO+wkYFx1kjOHSRFOLCBueMcC6MiV696zH94HeHPhONu0no/1Ly4WtEeEMCPetC4pHoIzCHxkMwpedEObg== 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=WKbbd849qvszLUfPUqVzWaD+9YNN/hToCsnyJjyyKnY=; b=HPMkJzPaD+CvQcg+rfJErSS6nvSIIv1eHPfWus2CK9zu14Nwqyo1X2uOC7X6zjtUrmqLaKpZQZcfq8gETxyIy/WRp2mvAzoaywBhWg1LNY1v+r1rnFpNmiBJguTaz3D8hr9KiCaAvN86QBARUAQ1qnyJds1UHLYz7/Pcq+Jh5H/nwcTjh3HbqH+x6kDNGB3CDRU884hzfsTi4bgQko+MEjcpLk6BaVWtEUBhAKzYi5WAwFk5VBk7VaDZdUOy5odGhjcvc6m+b9ezXnvUcU5lrpPQvhk23/Cly/TFWZEvMMGHHR9r78423xwUl/z+25EZJPFoANk5ofA4K6An+rK1SA== 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 AS8PR04MB8753.eurprd04.prod.outlook.com (2603:10a6:20b:42c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.18; Wed, 21 Aug 2024 14:56:54 +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.7875.019; Wed, 21 Aug 2024 14:56:54 +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 14/14] bap: Create streams for required BISes Date: Wed, 21 Aug 2024 17:56:02 +0300 Message-Id: <20240821145602.92083-15-iulia.tanasescu@nxp.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240821145602.92083-1-iulia.tanasescu@nxp.com> References: <20240821145602.92083-1-iulia.tanasescu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM0PR02CA0126.eurprd02.prod.outlook.com (2603:10a6:20b:28c::23) 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_|AS8PR04MB8753:EE_ X-MS-Office365-Filtering-Correlation-Id: 98410cb2-5c51-419f-3e18-08dcc1f17efe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: BccbpsluWc5yCEleCWuCfUoif2cWo85OXGsybjGdPRB9+v8dMB0flELd53IS1oDQadi0MXQVjCGxL+6Apkjzkm4s+UFC15TvV5eyUdlHepbruee1n88qVR9N4jVrRjDDci63LNRzab53DFgbTPU086fmWUQ7iwP20J+TgSljrKkPaftDiAzggk7NYS+A6IIPnuo3YskK5CsTTpZnLwbMUiCg3kOqsybC6v5Xy5ohJQcJvcqnX2DQoKnyoGg7a0+3IK2Ju08HS7K4iUlBy4pZuylNfgXV0hT2z/qLjr7j3rxNr3xYs9UHU9sXLZfm0HLLQD8XvifYRZDkkPDXGd6BVZWqCDyizSPYky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;SFV:NSPM;H:AS8PR04MB8898.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(366016)(1800799024);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FqrJGV7Ju+hJk5wMOOmZ+HVo0jemPIaLFKsZ9u1j7nzAoEqDneDjV+jyHtjaXcra4+PePbg+YkFbdmdpmn+jMX8sz3uIHhEWKFVvXvFpNsvnROiNX0ydZE3nxhlSKdUUVJ5IlE7WsJesUE7qZxak49pBwrLiN/Hmei9SrETrnxhIYXAGaVrLTD6Sp+MLACEZxod7eQQZuEL4ToBTUIEYk/LybffjSCv9UYVw//vwXsgtg0gs2geKkPYLW+SRdsXU7evvz/Tmexo6cA5okz7hewwVCXe6+SRYDKneZQcgweBRCzRijG4dUymptnusm/Hu3zTn7M13PUORb5yzaOaXj5KWMepR2xLBwpgmtQTJ3t46ct5GW3RubnuL7Fmz8cD38OXel1hO4DhmcI3S+llwMXd5U5/isjBg0oBvZHTmTYfKTCPGKEdlK5dGs0qBjgLAdd62+wnSX3cgBZSfQ03eJt4ZqfVY6L4n1dJ29W05zebqrq7AmYSi3pwKi/t5d+UkbqThl+3B2yqKc9ep96puTBBTTvyF97XPG4f/BECupgpLcAgRAS0uPFJJwxlNl8sPTDgL0niCsxaXU+pLmB6oJIH7A/nR8raZG1FC2FfZLWB+kH/BE2Yy7zCA2Rk+8PMNa7/Xgpby0OBVxJn4/xgjuUbTJOjK1QMCuUgC5bS7bOLGvFevs3sp0HQa7jqxyZT5my603htaYnnQ/aaWL1s1rzTfFLXt5flf0c+0wkcaq75IEOfPFZZTsZxInhB0mKnn3uZeMAygXpGnPYQmSx92u9wG+GazCTD5c7P7sJiKrHEWK2i2hW2pCpFQUKy4r1YSgR06KIBX0x23tXZSWaA9RIEVnzYrtl7K2viDHJ3JW+bUPIodItbKCfyRF2pLJc+PJTzOb8P4Eg22jHipRZSop71hzijUYnFwzctP9/qJo7rA4Ll2CMuekyd01c62J4mlztgiOk17CAjx0prAdUKagaG+45vO1dBLIeC5pr2UYP2hW6J8HI9I5Ejbq2rAqjDYeV7G7tfg1Oi4B0LP98MCqwv0GTH/qtcLtcr1QsD+9L05U1jTXtSMaxwIK8VTKwk3YSUA7PB0I9TB/vqjSLgldQ9NQgkicNCP54wOQE0Gg9uvnW+qWOwJg4TmTIeLQHLKuXY1mA1/fze69+VBiZhte6+kp1LD2QAEc6jcXUcqvomEYT/xOtz0v/AUV7vxKuNMqB/rZPbdS8uUozLMFsOWQo5CXKBlrLsowBICLtbRBV3fiN9xmzCzhfKadIUM1WOS5zHfjOsZPjoDDklRhuWdTQpHhQi2sWtaj328DUV31dCIU1nva8mdKkOiBG9Bre+apYUWF8bTh1+vbXSksOBoCGY3Sd9PLcrCG/i4isEAfc0GXaCkA6ln9QdYX921Jqq9yqEoAhJHpvsyx46bXcug8/p1aHYXXLyj3dzF35zAtPtQUKmY+TsbFyPstVJIGidUOFmWNXGOoOfNMrPV/jneeG3lg+WaUVXF/zZA7xMQX1PSRHnOGSmwA3dwxx7TRsD1nITUnhHz4zvPzAGZODs/5BHO/oCBNYgaUOGKC4umuPGQKAo/vmi5YOWOA/OQ82/9Rad04ZSOlaWnde/regw+7A== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 98410cb2-5c51-419f-3e18-08dcc1f17efe X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8898.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2024 14:56:54.3315 (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: CUcoHdPXSc4LyzjxYKBBclwL78b/6U6gAFZah7IGTN+iXZCyEGQ6ANBi85BHAQJssnKx5CCd++VN6w+oebVIwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8753 |
Series |
Add Scan Delegator support for Add Source op
|
expand
|
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c index bf924932a..a6a9f5818 100644 --- a/profiles/audio/bap.c +++ b/profiles/audio/bap.c @@ -1226,6 +1226,15 @@ static bool parse_base(struct bap_data *bap_data, struct bt_iso_base *base, bass_add_stream(bap_data->device, meta, merged_caps, qos, idx, bis_index); + if (!bass_check_bis(bap_data->device, bis_index)) { + /* If this Broadcast Sink is acting as a Scan + * Delegator, only attempt to create streams + * for the BISes required by the peer Broadcast + * Assistant. + */ + continue; + } + /* Check if this BIS matches any local PAC */ bt_bap_verify_bis(bap_data->bap, bis_index, merged_caps, &matched_lpac);