Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp377709lqi; Wed, 6 Mar 2024 22:52:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwsG4cQrli1+k+DJpKOGA/zRwrLq7bm+FWhrZLYYHpy1EQ9t/yibw9IJamEcAzR3GlSPfBi+JW9WyolaU5hN4sk2HES7FonNQVY317sg== X-Google-Smtp-Source: AGHT+IEiZEHpN6EkbVCGTk0/Df7jY5pBzvKb2mnHuf5hOieZ0TW7ioFNZDgxhKhC3bBjzIpeVfKb X-Received: by 2002:ac2:47fb:0:b0:512:fdc8:4910 with SMTP id b27-20020ac247fb000000b00512fdc84910mr735345lfp.36.1709794355104; Wed, 06 Mar 2024 22:52:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709794355; cv=pass; d=google.com; s=arc-20160816; b=s1rL4QjT+Yi6H3d5PWGdkCDP+pb1Xdf3d4tcQUhXwkfZsDbst4X3ttNCSTKpTwM3qG cU3NBTlPXveNm2SoQb8BvJ5XQ6IUIOil4GXfVLoRnQ9RSEGrsWWIuFqEZeKsTNKz0gvW JoJ67JlcTJBoqxEec/W1e06g9sgLYkHVTcqgNkGKFUN1Uu/6DMqZ6Eu5AuK/klCKTik0 ar53pO3BUf22YqVNWKRQV65jA1sq19HNCgCPfqF459EcB1eZJqNaJtK33ArwQbxRNg8x hnTfBud+9d2H+SfPNwPM9t4+mFdKxH4Q2NFWCKI/rC8yMjs3P5UW0A3i30TpiLKgbHr5 vWbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:cc:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=2BqLy9Rp+WJylBZMkZzLnFPmtR+LHVe8gD4wwFnL2xE=; fh=v4Z3N2Htbr8NtGqMLkQjkIE/EbeUcf6lhEWEAm07n3g=; b=dERfPf+NgqW7glxLhW+ATJq3ZWv2mki2+vCW6OsQj6A3p9I96tAMOY+mJ8dypsfrXo RL2+RC+eLZzGBGN08pPB1o/Yc7ZNyJ6cbBxpDvhVyd7M7Erj2Bv1IGvEcEZGQonhXAbH 4n/LpLe5w8oU8cgBDfIncXSSllURTp/+gjpsOBE9fGY8bU+BjJWD1Od8rC7dweEIMyv3 Ep2o7kepjLnSCllZ7VleqRHKm6mnElryI4WQ7TAoj7MQKoUQ0d25/zHURIGLeQVl1yMv fKT2JREi5frD6BE/GasZW5V7ibDDjqraL954h17WuH2R4CPYEHFYnuugm7Brbnl1gSKA Ranw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-bluetooth+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id v14-20020a1709060b4e00b00a458d17e081si2686992ejg.221.2024.03.06.22.52.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 22:52:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-bluetooth+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2336-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id CE3531F2175E for ; Thu, 7 Mar 2024 06:52:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 052F31CD2D; Thu, 7 Mar 2024 06:52:30 +0000 (UTC) X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (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 E42F711184 for ; Thu, 7 Mar 2024 06:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709794349; cv=none; b=YkvbhVuYl30naXg/tOnKJ7XAKPVxMo0XMPcxNQdlOBGb9B2f6yBNDsgltQc4TIz4QLPNvxlw6FP2o5uAE4VUgeBogD5oj+uu16feDDzL6j0dPy9/QlM5EI02VBqQ5gkFIYrWv82K4jMz9b7jlTK2SUwY+OMQwXj5j2AEEnqUvIQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709794349; c=relaxed/simple; bh=IR8Tbl8AbRZNrSic2xl1YTnHsWYtoydH2mze7mpoKjQ=; h=Message-ID:Date:MIME-Version:Subject:To:References:Cc:From: In-Reply-To:Content-Type; b=gvaLQkiGGyYJbtfxEq55zYHZ4Y93oXLBNWJkywzgwukcuHlJP3ZVlw2r6JkW3oaBZVPq3oHIVL6AoDp+CHZ3j+KN73NKVshk+qjkRI+B1NbGKYnJT+Qfvd/nO14w0JbwErBAyspq9Wn9qPCHdt1z/dJdUhlMLzhWeLWXYUzrEvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [192.168.0.224] (ip5f5aeb84.dynamic.kabel-deutschland.de [95.90.235.132]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 5B5E661E5FE04; Thu, 7 Mar 2024 07:52:14 +0100 (CET) Message-ID: <660e13ab-0139-4acf-a4b5-8fd817eef213@molgen.mpg.de> Date: Thu, 7 Mar 2024 07:52:09 +0100 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH BlueZ v2 1/2] shared/lc3: Add definitions for Audio Configurations Content-Language: en-US To: Luiz Augusto von Dentz References: <20240306230440.3983598-1-luiz.dentz@gmail.com> Cc: linux-bluetooth@vger.kernel.org From: Paul Menzel In-Reply-To: <20240306230440.3983598-1-luiz.dentz@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dear Luiz, Am 07.03.24 um 00:04 schrieb Luiz Augusto von Dentz: > From: Luiz Augusto von Dentz This summary could be: Define macros for Audio Configurations > This adds defines for Audio Configurations so it can be used for > upcoming tests. > --- > src/shared/lc3.h | 482 +++++++++++++++++++++++++++++++++++++++-------- > 1 file changed, 401 insertions(+), 81 deletions(-) > > diff --git a/src/shared/lc3.h b/src/shared/lc3.h > index e0b2cdfc346d..41b29d4d1c8f 100644 > --- a/src/shared/lc3.h > +++ b/src/shared/lc3.h > @@ -88,77 +88,200 @@ > 0x02, LC3_CONFIG_DURATION, _duration, \ > 0x03, LC3_CONFIG_FRAME_LEN, _len, _len >> 8) > > +#define LC3_AC_BITS(_ac) (BIT(_ac) - 1) I’d appreciate a comment, that AC means audio configuration. […] Kind regards, Paul