Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp20495905rwd; Thu, 29 Jun 2023 03:09:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5rYfx6pCwKOr/Gv0gCFln4IdDLAXQTOJjDc1UoDDIeNN4yfh4yAg7pdrsZ5n79ITPt657c X-Received: by 2002:a17:903:44d:b0:1b8:10d:7391 with SMTP id iw13-20020a170903044d00b001b8010d7391mr8291077plb.4.1688033368826; Thu, 29 Jun 2023 03:09:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688033368; cv=pass; d=google.com; s=arc-20160816; b=BtGbcbXAXiTF/pcT/9OSRKPDoxSv/nhYgbdoKmEVR5Pm9sb4LlnpFanuY05ht0HZiC v1WT9VP1IILk6cLv2qR3HhHkfphTYvSi/oEGvVDf25MEEPK4LQ0Ytty+R3+dcTv+b7aq X5Yku6NAHApiJY8kVKt8Ca4cvkolxZSB4C52XYysqTzZThDBfPWCcjaOAMzMDWqQZEjY J0SMKbHxi5/+EE4JSlrqCRpUNIsRgcYXaLZqYSaaVB1CU5j42/s70GQa6liEiezlBaCU 4LCYcyH5COUtSs2lSwgEw0MW4Dt4Bh4XMn2pTWaXtPRwac/84oQBaP30BMQswczd/D3j WRGQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=p7N5tm7PQvy4w+WilK7luPaYi72vudljwocW7F7X7bo=; fh=GfOICsc20dfGG7mYIbuxhLRghsb4Y63nmWjHR4jd8Tc=; b=FPzhdmSqUVxU2TP5uMc/4jvsrJizUyea0YXSHLIL+L+033BNwze79WTU18hr7fGi+i 8aLgsf3DS68GOZDOsagpLs3BLLI/qtZftfnwUVZnXwkcvm0kqmHoJ8C597KhaT6ITB2L 3Z/oxBTlvjbw9/cKmsvRiZ62XRy2YQgw0ti/yU2FB24v3Bi1c76rHT7dBnnvsBtLYW7u 5CWmpj8itPkF3Qd+HNTdfxeoyfE72tatQMKuNwj48u6f9OksexlbJt8kgduDaDVpKyNx 05f/pUNn6vrLmL17qtkE7noE2yluxF+QUar4DBiihpGctkzCyxmtzcYocgGoT+fQuN8d y/7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fkIJVoyn; 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::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020a170902bd8e00b001ab1279d418si9584526pls.474.2023.06.29.03.09.12; Thu, 29 Jun 2023 03:09:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=fkIJVoyn; 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::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232240AbjF2KB5 (ORCPT + 99 others); Thu, 29 Jun 2023 06:01:57 -0400 Received: from mail-db8eur05on2084.outbound.protection.outlook.com ([40.107.20.84]:19553 "EHLO EUR05-DB8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232105AbjF2J74 (ORCPT ); Thu, 29 Jun 2023 05:59:56 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RIHmtuqJmtUNkj7a+0CTILBOF0Mo3qMFmCfZ+E/HAQyGGgfE32qaMYYmyNihN6FllIx+FxV1qeFlFeZz3vZNaOBIbQvjeTn9p6K442uzQjgF3Lt4DhOcJZL2XXeGc8FXZYgJ7u3wQqcF1EXmTcX54gX2EI/VxkdKZCxQWQqp2lfMotb+ppEU5h1nWby7HvXW44a2siivGey7kJiw8PwdbyXUsUXr3/G6VsQWAE48I3fw3WaEY6HIj0ARHLce00QgLmB4JR4B+FgE2RDyM+f/rnDUCRHED1fZEQzQmq/PsFPnHGo5e7HKSU91BHMHyttPGkmT7zb1Sj+KkDa9oi/J3w== 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=p7N5tm7PQvy4w+WilK7luPaYi72vudljwocW7F7X7bo=; b=Ru2HjZLVnge+Uq6zrIpQzkbbMbQrJOAU+BE6yZ4Lhpno8KgYcOOBd2lV5O5hrefgmlHDqewqyfLPBFE3+JAhCUYx5h0bvVj77ZxPIOwaJSymJXa5Y9XwrES0rkH3X01+NeVbilWueahU/d3N8Gj5mr4+nk9P9Sy9cPSZ2pgL+vBpevaIB6gUopYXTm4Ij5nNvZyRYcf3OVdJmSUDc8lArmQPk8amPydNQcAv59O2DMcp6JOV7zUaIGwXvqUoR7Zs+DFNrY/IiB5q7mKzs0hwbiPiI/cKJb36DyfFb1vPfBJZ8eKimxykSEYrGFuO7N+gRJGM+LNfbJWoVAzjn+pIqQ== 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=p7N5tm7PQvy4w+WilK7luPaYi72vudljwocW7F7X7bo=; b=fkIJVoynjyp5B775xbar4zK3QHxfbDoVW9VjT4XFbzzHZZRFH+igPZXzr+Ji2fg2jr3bGyqj2eF+VEhdvb1nL7XovdmWmDS/rUD3TnDiT+/VAowpx+X3JQykHPdEX/m4mGS6gYoRcEczKBZqe56ZU3cvDeT5OZMumjIRHrgnpao= 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 PA4PR04MB8013.eurprd04.prod.outlook.com (2603:10a6:102:c4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.26; Thu, 29 Jun 2023 09:59:19 +0000 Received: from GV1PR04MB9151.eurprd04.prod.outlook.com ([fe80::2cc8:4c5d:9b6f:5cab]) by GV1PR04MB9151.eurprd04.prod.outlook.com ([fe80::2cc8:4c5d:9b6f:5cab%7]) with mapi id 15.20.6521.026; Thu, 29 Jun 2023 09:59:19 +0000 From: Claudia Draghicescu To: linux-bluetooth@vger.kernel.org Cc: iulia.tanasescu@nxp.com, Claudia Draghicescu Subject: [PATCH v2 1/1] Bluetooth: hci_sync: Enable events for BIS capable devices Date: Thu, 29 Jun 2023 12:41:20 +0300 Message-Id: <20230629094120.5463-2-claudia.rosu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230629094120.5463-1-claudia.rosu@nxp.com> References: <20230629094120.5463-1-claudia.rosu@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AS4PR10CA0021.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5d8::9) To GV1PR04MB9151.eurprd04.prod.outlook.com (2603:10a6:150:26::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1PR04MB9151:EE_|PA4PR04MB8013:EE_ X-MS-Office365-Filtering-Correlation-Id: 5265f75e-dc2c-4800-542f-08db788781a6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: A4JRhkabato0ZLf3bHvmOKMpY7jvFz/bDOTw/vKBCkBivKTJxKZHIOhWeAU6jAEEehgbdJy66KFmcB466WvImgrnxThdVlqgVst+kwDBvV5YSoLk+skAlyfAfr0LlYsV9zdDvzvXGxtj/9rgzXrxwpssrY0eLNBzdzJ7IK9SeDShc2Ig20/Lgny7SFb4klrD60hNo6Ak+uNdJP4Igyjo4NhhHxW9aCi1WGOWHXd1GZZylzJ20zaGAlHtr3h9QZHlgM4cD5X14xU3wI2zhLl6H9ZBCbbukhqH5kpgjY+8kmxNooB318tLieqJDrvpQfH2l/VtvIwXHkqZ5cSUPyRGFlaZSVeJDrZMNlBVUzfm1rFDaT+oUF7ZTPrAB6IAGbnIkEXvhDdVpB/yAWjAZubFhWcdWZ5DXRNwdnWGXt2kbnQW/CYtDAQUYtrMS48i4vDq+xgW149IxXsRZ1uBrn/RCfInRSq7ti1QHKrW25EUYXlvQ6V3A3v+Z20Ok7LcIZNHtYf4PaRmZnt/NT6utR+deHurGvqT7FQdIDyCdSfXu5UmSjJTiNtQ69BS1VJ/ykWPP80ELOFyA1S3EgBxNVQ0zS5nVa5kKeoOyMW9/J19xD7etiAHvDKhrhA+Wn9Gljea 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:(13230028)(4636009)(376002)(39860400002)(396003)(366004)(346002)(136003)(451199021)(5660300002)(66476007)(26005)(2906002)(4744005)(186003)(1076003)(38100700002)(2616005)(38350700002)(6506007)(6512007)(8936002)(55236004)(41300700001)(66946007)(66556008)(36756003)(6666004)(6486002)(478600001)(86362001)(8676002)(4326008)(6916009)(52116002)(316002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?iXwo4T64inM9APq1I/3PyqY4MWpMbtO6j6LNchcS13jFAdBDj1YMAKq/vp3E?= =?us-ascii?Q?Km5Sf5SyPTNyin7SdkZb78bsJFe0emsy/VMGfIziGt3DqGx17p3TWxdA1ing?= =?us-ascii?Q?vQEe/3U1gV3lJijZdnXy5aY0PxbCFTnQuK4SJoo2c9mwF89ireHmZr8xQEGv?= =?us-ascii?Q?LveqTK3sfzemOiwoNRjSK8dlDZvqPS6XMtaKBSKOQQQsT0gxuX9khy9gtVDn?= =?us-ascii?Q?I1CS4B0neEkddDL/Nc2zksEok4kX1OfMs2YRpVOQlEIe0JhMcb4tszG03L7f?= =?us-ascii?Q?SDXFDxQdVohvdygGHuSO1EhEgiMgOYuibZBVveWRwFaVbdUpj5kRS0gH+SAH?= =?us-ascii?Q?I7Q3rDCOQ3TAQZO6groJIC1tRYDUto4olrbFskSwC3ylO7m3xWjz//xQKl40?= =?us-ascii?Q?zVkIZLdNilyG7h8QfJldXdWRnjm30ZpK7JZQcjhigKYQ6UBcLmwnwyn08Okf?= =?us-ascii?Q?b7jHhJfO5fiSWY1ql9FNcWsE1z/1nU64naab3orAcEaXpJfThRNBWEbucsfA?= =?us-ascii?Q?vZXOgWIKDp8wyMommEZZ5zldoIh3SnptoD5skenUHI5xzPorhRl4ErpqV0Dt?= =?us-ascii?Q?yTf1bwaGlo3eo7Ej0kJE79hr0SXe8RVEoyb/tRprWRZlHNr+yRjbkXWZEeJV?= =?us-ascii?Q?CkTLWYQQUGmVt7pI7S0bnci991pSk6dWukpf66Jdp0s/aXq801Ioytll6CDQ?= =?us-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OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5265f75e-dc2c-4800-542f-08db788781a6 X-MS-Exchange-CrossTenant-AuthSource: GV1PR04MB9151.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2023 09:59:19.6385 (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: JWlHRO1m+gNcvVIhNmVWC4yWlUPHrqlC4W9Cp2oPM16yxIDRQGHp6ebrz+guRcLB4fjGPLtfzlA+ohxqPAQOVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB8013 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Signed-off-by: Claudia Draghicescu --- net/bluetooth/hci_sync.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/bluetooth/hci_sync.c b/net/bluetooth/hci_sync.c index afb8e970e62c..73b49d0c1e11 100644 --- a/net/bluetooth/hci_sync.c +++ b/net/bluetooth/hci_sync.c @@ -4135,10 +4135,13 @@ static int hci_le_set_event_mask_sync(struct hci_dev *hdev) } if (bis_capable(hdev)) { + events[1] |= 0x20; /* LE PA Report */ + events[1] |= 0x40; /* LE PA Sync Established */ events[3] |= 0x04; /* LE Create BIG Complete */ events[3] |= 0x08; /* LE Terminate BIG Complete */ events[3] |= 0x10; /* LE BIG Sync Established */ events[3] |= 0x20; /* LE BIG Sync Loss */ + events[4] |= 0x02; /* LE BIG Info Advertising Report */ } return __hci_cmd_sync_status(hdev, HCI_OP_LE_SET_EVENT_MASK, -- 2.34.1