From patchwork Fri Aug 18 13:35:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Silviu Florian Barbulescu X-Patchwork-Id: 714766 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C7993C71150 for ; Fri, 18 Aug 2023 13:37:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377189AbjHRNgn (ORCPT ); Fri, 18 Aug 2023 09:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377186AbjHRNgT (ORCPT ); Fri, 18 Aug 2023 09:36:19 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2075.outbound.protection.outlook.com [40.107.6.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6807D3589 for ; Fri, 18 Aug 2023 06:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JnP4W71qN+yJJrZMF1che956uY8WWg+u8GXNZGwspVcak+0I1D2roAk6gXZv9IL5FR47Mc5ugSPbongG+MZbfys1Xhc6CN8ryVDiGonz8EEhxJa6wItatEA6/gRyWiZ4t+HlOZ1xtg2IZVwYp4KaeqVfjOrM5SPunF2jUBK1Qpfyj4u8SMDDqYZMJsn6rU2GmSnnamt3WSPamygEmEJQwlHEy1sZEsbu+Iagqk3r7waULKOPqa4k/ZXIZZ+MV4N5Nj/I3abwDht+e0hpKVcHnnBCdt7czj0l4KTfgqTX6OD39g+AIt+/dnLpaaexGbPA35kD75nWEw90p72Bxk3MVQ== 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=NXmtftrW/2VWGBk7IfB0xlBTGRWpm1Prk2Q9r0xxnhM=; b=GWWpImt6LUDASyvCje/WHIYiHhA4kxWtXzkbPdAVinsF5d4OkvpKgUkB6ZJ64HWvr6JRCYFfkLczT9Cws8gcpyOpBzDh0MkSrKS8D+XG7ML6M1THpcyQJlz8SHr3/bdf/JxalMSFQbtozgEnMC3CalGtEDyHYlHfCDnsOfR+8sRlvF61BIFTOr8w/RW5plbhV2nbxmPjri0WYYnNZecUJyQ/NcDioUvDR45wEzTusrHP+2sFn0mx8GJaVvVmofKBh4WOJHHJI/EaORvGBpPyE2bTEEJ414VRz00+cZSL6WqlrUj4bA+LFdT5FQ/WMY3KbDwabM3wZLTI0TImXcJ9eA== 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=NXmtftrW/2VWGBk7IfB0xlBTGRWpm1Prk2Q9r0xxnhM=; b=bCDTTHhuOqCrg8z2eq/wH24S90k1XqHylS0SUR7li02eb11gijfHJvEqYai2dODlINUBSNj1vAK7R8paiFbjnmAxu1MpZyE41o7FJAlaOnyg2qLMxH4uHXn0JyOEkawlD5lj0BNYmXQtzSFAV9ywCR2RcOnTPYPugb8kEpXr25A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5344.eurprd04.prod.outlook.com (2603:10a6:803:4b::31) by AS8PR04MB8263.eurprd04.prod.outlook.com (2603:10a6:20b:3f9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.20; Fri, 18 Aug 2023 13:36:17 +0000 Received: from VI1PR04MB5344.eurprd04.prod.outlook.com ([fe80::cf28:7578:cc46:bc2c]) by VI1PR04MB5344.eurprd04.prod.outlook.com ([fe80::cf28:7578:cc46:bc2c%5]) with mapi id 15.20.6678.031; Fri, 18 Aug 2023 13:36:17 +0000 From: Silviu Florian Barbulescu To: linux-bluetooth@vger.kernel.org Cc: claudia.rosu@nxp.com, mihai-octavian.urzica@nxp.com, silviu.barbulescu@nxp.com, vlad.pruteanu@nxp.com, andrei.istodorescu@nxp.com, iulia.tanasescu@nxp.com Subject: [PATCH v3 3/3] client/player: Update Codec Config size in BASE Date: Fri, 18 Aug 2023 16:35:52 +0300 Message-Id: <20230818133552.20673-4-silviu.barbulescu@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230818133552.20673-1-silviu.barbulescu@nxp.com> References: <20230818133552.20673-1-silviu.barbulescu@nxp.com> X-ClientProxiedBy: AM0PR01CA0132.eurprd01.prod.exchangelabs.com (2603:10a6:208:168::37) To VI1PR04MB5344.eurprd04.prod.outlook.com (2603:10a6:803:4b::31) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VI1PR04MB5344:EE_|AS8PR04MB8263:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c9c6e2c-55b9-4f95-b837-08db9ff0196d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4JzFNiOTAv7KUtonpoGvalBG+Ko4GrT7a73iPs84jZLRzhZpGRj1paPjJV4XFF+jD37XYDaf0PNdjg9fqib1dXdMBlAHQ0rGVXkNMbF7EpRA1PZ0rHagzCgIp+0y1QShmpRuwmAMtsgF/IH7NU90d5C36BrkwnS0TkLld2YDkiAihHarrpK2Qv36Eq/+04LVul5swkrO/uwhRVI0h2PwA/SlKipE5Xvf8+CVczxCZjPq/k4oA4nj8I5enjrJDm0VwbV5kwgWB5211msOmj47TJWVun++fh3gK72nP7FoFYGoxgphifDAaKqcQuRWc6IMtHX3nHLd2wj2rpZ66g/iZE/N5BLo1Vtw/aQogVWAO0MqkZDbUhb74ZH00b0RSh524EjoMFxhO3Q88WI9+GBbJ9qEFYjqEIWIucCLXZy2hc53cfdmwSpDnsnhap2U7EKpDWdbU5Cn8Dun2M/C49NwF6CO1+Kc6xxZfWcOMbHuoy1m52xJ+GxWz+b0GzpRLx9PHdvgpXdfoBSW5DZ31Qcxdi84FsueoavteQPqJJCTJ1jBzLS+Es95utu+Vkfa7C/9XXIBiTZYhpfqs5BfVvNGlFEXhwVEOSF2Qi5RDEOvigZ+yDaFfkeafdnOZTUOWUcc X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5344.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(39860400002)(376002)(346002)(396003)(1800799009)(186009)(451199024)(86362001)(36756003)(66476007)(66556008)(66946007)(316002)(6916009)(478600001)(41300700001)(38350700002)(38100700002)(6512007)(6486002)(6666004)(26005)(6506007)(52116002)(1076003)(2616005)(15650500001)(8676002)(5660300002)(8936002)(4326008)(4744005)(2906002)(83380400001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AOJVNx+uRDjXBLyxx/mKlFGZyncKbuqcLYV3elCKX3BbFzrbMSeOXZnoTAYSZBSV9A7/ITebWfdWAxkTRwAccdKKv6MwrucWzbNdBEM9d/9xzynkA9JN8HJWtYFijzTHimRqyhqld9v9ALNUDtiwXZJy5JxM1JVc3qcc56gfBLhVZO/Xuwp3rxy8r3nbKsYi7wrBOO8iTyW5469CNXLBOOs05m3ypZeoIEcHsQB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V7T+gdDxbkUZ1H5edmdsQA37Lb3P8tx0meqK/Ty3dKgt+EYOuJsl4vJe4q9A3xeTNbxsEfZ6MaYfaTlJhQvjJf1yZ1DmlX5rVJpyTgGjYqFvdX7N1WVc0G464jxD+djPl6RNTErYlY6sFel2WzaeREJUTZYBC1rY72XakfNr0ULjmjWbFkpV2HWCAED3Lk2OUWxvhpHPETIyOVELFtFV2KU9N+QWDNky+pevNJkFuDpu9OiOkEFe2sFrPMuSpvsqncWjKj+/ObHAs+Q0G8pJNahWNLoGYja2t/wH4d+2D26mhmskW6Nv0Pgc+kEjNB7zgSkQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c9c6e2c-55b9-4f95-b837-08db9ff0196d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5344.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Aug 2023 13:36:17.2304 (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: skjpMedF+/sS+CQeFWnQaWfkniRtewJjoCzPs3vIqIurrvffsyAfqiyB07ksOPok+vsxHVMro/RU3xrJrjxTPjELG2PbabU173RddoVuuIo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8263 Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org client/player: Update Codec Specific Configuration size from the base structure --- client/player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/player.c b/client/player.c index 3611a8dfe..97ad4dbf5 100644 --- a/client/player.c +++ b/client/player.c @@ -111,7 +111,7 @@ static const uint8_t base_lc3_16_2_1[] = { 0x01, /* Number of Subgroups */ 0x01, /* Number of BIS */ 0x06, 0x00, 0x00, 0x00, 0x00, /* Code ID = LC3 (0x06) */ - 0x11, /* Codec Specific Configuration */ + 0x10, /* Codec Specific Configuration */ 0x02, 0x01, 0x03, /* 16 KHZ */ 0x02, 0x02, 0x01, /* 10 ms */ 0x05, 0x03, 0x01, 0x00, 0x00, 0x00, /* Front Left */