Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp232095rdb; Sun, 14 Jan 2024 14:41:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPXAXCAR1gqLKqOZXaMhQ85r9uMioEajQMCPfpiGtellkccgldhVq8mxb7GrQ4pEBr1z7w X-Received: by 2002:a05:620a:2142:b0:783:6283:7b2f with SMTP id m2-20020a05620a214200b0078362837b2fmr230151qkm.47.1705272080296; Sun, 14 Jan 2024 14:41:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705272080; cv=pass; d=google.com; s=arc-20160816; b=NY5Pww5VMLDeIN/MeL7RiOIUVeIlcyoK3rtOAkeDhK0Nhie6nHpZ6RNuZO3EOXtEnC Ypf/iIIPS8fnxEDUsYkWPxp5giKp7A/zqDCyH1J/y9cIFjzkUrRTxLuC6OcXGxU2IcyX nzaMHSTEAusAaNG2s4glnkfwj5SNB4/dSjcG38JQIi24OYz4Y0hB3u9EoK/mraosZjfA R7KASbuOYfjMj+sgeQ0QPOJl1xHnpd/6zYamqK5S2Utt+DFRpsWYxGDUwED6BSFDfeto N+nrsQ2VjyM9N8Rnh+Gsy+/GjtqarSuPaUDQrH5tApkSlbVzn1JFzrBRsL376c0y0UbG jFMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature; bh=b0jZhE8S0+4ety6uJGrF4VfVve6jr6kHwvYqwlNmCHE=; fh=uQbC/w6kdVn3v23H7PjlTb3WFcElN0V1z1VKdIW7eiE=; b=PlQI3Twso0wXrrpCnJDuUsHE9MT0spBsjiVz0bVBCARKHnh640vyr1B/6jqgg6rmTy BK6RMc6+BWFKyIj89+ZL/sQDA4YlJA1Y/HNMWqCDGS3u4Fb+a5xD0SydJCiIo2TdElZK 1ZI35aSLx8T/JvAb8aSUh52obQww6AaronOkYZ5jGVuJUb8zS7/0jE+4nEFmlDB3S4F4 rv0q/Dr9E1aoYswDBLB+lCOtctQZAooy2xXJJf2nbE1Gi0mfLGo6JAxhOT3gkTdYe5ro 3UlkRk560XwHSHoo4yqEaJIjfrpOsjXheXypybrl6/MidwMVhABJZFacK+izBsSEHH6w KEQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=A7Lhy353; 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+bounces-1080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y14-20020a37e30e000000b00781b2d54711si6933136qki.452.2024.01.14.14.41.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Jan 2024 14:41:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=A7Lhy353; 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+bounces-1080-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 02BB61C20A17 for ; Sun, 14 Jan 2024 22:41:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AEC322C1B8; Sun, 14 Jan 2024 22:41:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="A7Lhy353" X-Original-To: linux-bluetooth@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2052.outbound.protection.outlook.com [40.107.20.52]) (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 1476B14010 for ; Sun, 14 Jan 2024 22:41:11 +0000 (UTC) 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 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XRHpBJu2CE5phm/Pi+wPvkqgj59dg8wKcsQVxDApy3vFW3q345sRHTs+UQGWblB6sfojVFolRaKd7IxOjITYdvN1rCbgvA/lMWeMLildEyeARAp2IVDMawCo/fS02/F6pGNgrM0fbjQYHnk5Kxsq/AB8LM+HMJ73iZr/DrAst6/7YAR3QeNDwOCzssWBGkP9ZooZkbKiagxMGbIghJL8Yvt5dLEagvejcFMcrsisYZL2nPc7lk1cDH9aj+IJUzeVy13m4MMN8I9hTJaDAPWwt9otkAssQlz+cLKRStCcHH8ivZ0rEep9hzDKLpHjTrJVEQcYQToyhO2PqjyHVzKtDQ== 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=b0jZhE8S0+4ety6uJGrF4VfVve6jr6kHwvYqwlNmCHE=; b=kSIV9cLi2edhujcWuRdIcgjBGXo/4Hc00labZ5yAu8wvqQpyr8VcpcnHXj/WfmiOnfQ3O3JnS9QyNKErd23+2GM0E2skmvnssIpqEL57+poDY2B7gDV1vTa5MEGOH3eD2unvLG1rWeYaK2QY/KfN/V2+JpJ484E1QA2wyCzZSg22NdEQYaEteMvu+cIR7uXQnQOhOhNet2dkhTwgHHMHrna6VA7M8LIRP15OKytpwcxKKUkAjM1wZMUgiSjvpZ1hwwukoMNNf5eB0V+opVXWCGFPAZfn/+rMZe9IZw955kVqUgijLriS00tfDICWHKOKbKoIhpnxXrM+6A6zIb5fDg== 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=b0jZhE8S0+4ety6uJGrF4VfVve6jr6kHwvYqwlNmCHE=; b=A7Lhy353LipIxUZ3iAosSgp02Os2/6/Jmpy4zYagTzwR5C9YJLCE3qMnImI53Ix+Hp4HMuiSWqv2dXVtakXJfNj4QsJBPQivCSaKfAmh0UX/PHJybSHmdzdeRSDs43Gx5PWr9lGrWkI6gBPbqZFjHIAIzhUKnM63kggTLOFx7yw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB10073.eurprd04.prod.outlook.com (2603:10a6:800:1dd::8) by AS8PR04MB8961.eurprd04.prod.outlook.com (2603:10a6:20b:42c::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.19; Sun, 14 Jan 2024 22:41:07 +0000 Received: from VI1PR04MB10073.eurprd04.prod.outlook.com ([fe80::c5e1:5be0:c78e:5d81]) by VI1PR04MB10073.eurprd04.prod.outlook.com ([fe80::c5e1:5be0:c78e:5d81%7]) with mapi id 15.20.7181.019; Sun, 14 Jan 2024 22:41:07 +0000 From: Silviu Florian Barbulescu To: linux-bluetooth@vger.kernel.org Cc: mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com, luiz.dentz@gmail.com, iulia.tanasescu@nxp.com Subject: [PATCH v3 0/2] Add code to support dynamically generated BASE Date: Mon, 15 Jan 2024 00:41:02 +0200 Message-Id: <20240114224104.37716-1-silviu.barbulescu@nxp.com> X-Mailer: git-send-email 2.39.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: VI1P190CA0032.EURP190.PROD.OUTLOOK.COM (2603:10a6:802:2b::45) To VI1PR04MB10073.eurprd04.prod.outlook.com (2603:10a6:800:1dd::8) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB10073:EE_|AS8PR04MB8961:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c43dad9-f6ff-426e-0d85-08dc1551e5b5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vbz6fBgFbBAXjC1lPS7uXN2X9Qsq8KanIQT35yx4RKGQbnXIPcC0QpFgB/HKEPN3wC2jFkCximm/c23NZnkiBpcDMiWkNHsHI/mY3uZgBPWUhIjZDb3eQu3HzLqu3/jpvzFLOuk//n9OAu2Bg315TOeoL1KR6lDr5yQgJMW78E9tml6ye1fnFie8Z0r4DcdY2rOyn1lhSdIdiu3subEDA+ttGti9WUpI+88yGBm2YX+Glnp+L8h5TbQ8myVh/2kGRwoRxwh+WLJ3m9opyNOTAWvD6KrmI2o0TRi0OgJ9YFk04UGB76cg3slj39zbQIzLOPdvfJIsoPokdF8u57KRMPa/rDJCAqvKH8JU+4/cied7WefVOR/M8M09OvQwp1O8R0EQZJsyWLrMBCJ+4KeWwopMDpPvQkhhubNMCGl+IUZiyeQkn/Y5YT/YzZNx/YMuw2lpPgd+kOqMyhbFqqPrGQelWFX+ePWib+JJDkR8S6epC+lId1Hd9225QKWNL1zO+hnuwJZKDTZ/KZkFX++r48tWktigQ6BU3y+x6pbnaSbXBKx0D5O3F2yPBB9DGf4u X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB10073.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366004)(376002)(346002)(39860400002)(396003)(136003)(230922051799003)(451199024)(186009)(64100799003)(1800799012)(5660300002)(8676002)(4326008)(8936002)(2906002)(6916009)(4744005)(316002)(66476007)(66946007)(66556008)(6666004)(6512007)(6506007)(6486002)(478600001)(83380400001)(2616005)(26005)(1076003)(36756003)(41300700001)(86362001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ywRH3nKovI2OKwpcbDg6vVq0fGeMZm3ioqkjEcyL/ZEBnUgqln75F6YaJIBI?= =?us-ascii?Q?vdq2jc67tv2/f3sWtgReXBmV+A5LWx88/Vr2UZKohR97X2q8WbHy44+OcXck?= =?us-ascii?Q?RlOeCQn3fA15nno3tFJPWEyelBAFB2C1ALFhYHnzVKD/wRJ4ByGok4wHs8q6?= =?us-ascii?Q?7iHG8VcYHz+e4T7R1tgm2Iryk2Xhwho2DXJa/1xpTcwN6gbQvkGsrvXCoB1o?= =?us-ascii?Q?ICIanz2zfEfjnqp4JlryQSj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ascii?Q?dciFZnNYIxcELz0mUiZVPuBw3sv8RYAhmA3UIu6HKLb1H0ZpTkZpZZuTppQ+?= =?us-ascii?Q?eq5pelQYpq3og/Pc5XYlTu3gP1RDRNH80+bGYqeS3qTneGHyXu+/vn1ygx7q?= =?us-ascii?Q?gDl5Q310CXB53roeaoMK6Fe9Zi2ijw1ScBUvgm6/rksDgOclJ4XjTK5c/0Cu?= =?us-ascii?Q?jjmSZVGppOpQUwhodLo90vtk/qd7lLnoK2h3qs3D29E/dBl2mrlVJPy+OBie?= =?us-ascii?Q?3nEDY9vMte1Xs94j6sTC0pIVoLl0jXTtRNwS8SyMt4HS2P7auI33XEnuRkhd?= =?us-ascii?Q?6k7SH+Jl2gA4v9OG9evhBS0kmgNrTBdsoEE+dZUlBd25Z9wpb3rIofNgZRUF?= =?us-ascii?Q?pIZ5LrJ2ouc/IbpOvSWK0DaPucizUX4w5e9CNJlVM8lk6Moj1VCPEcldDmob?= =?us-ascii?Q?pvat/AJj3yr/mezpEjoA4deDfpO8qmFNgmiOoMyZy9gs4QPEKIZQqE21prQZ?= =?us-ascii?Q?lA=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c43dad9-f6ff-426e-0d85-08dc1551e5b5 X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB10073.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2024 22:41:07.1335 (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: agVNYSSqMJ7IEFvhr/3I6HoAIkilaGCWs4JhAD9dT+Ucj6OoX9At7nqJXP+cGj/EokSol5n3xr6pRFH2ZR7lCwRIJUESN58gXh8dWgyf2tg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8961 Added code that will be used to generate the BASE dynamically in Bluez. This code will help when will remove the base_lc3_16_2_1 from player.c so we can use the preset from the endpoint.config command. Added fix for ScanBuild error: Dereference of null pointer Silviu Florian Barbulescu (2): shared/bap: Fix ScanBuild error: Dereference of null pointer shared/bap: Add code to support dynamically generated BASE from presets src/shared/bap.c | 494 ++++++++++++++++++++++++++++++++++++++++++++++- src/shared/bap.h | 2 + 2 files changed, 495 insertions(+), 1 deletion(-) base-commit: 770ad5614e7e8074133e6f563495ce4822f63fe4 -- 2.39.2