Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4189021rba; Tue, 2 Apr 2024 09:43:28 -0700 (PDT) X-Forwarded-Encrypted: i=4; AJvYcCXIEvp+lwlVwedTnihMZGvixsgQV/eZjClnahqm2EZo+XEF+mufwaZdmhnxjP+kv5UZsRFvU29U+C/fx/Nw7JVwGjIJxdRFBn+bgFqI7A== X-Google-Smtp-Source: AGHT+IHIOJDqVSJaIOlArxukR/fds1cFzTHkj95PpN59LQ3Um252N3ruikHZjLMivThgG619Sevk X-Received: by 2002:a05:620a:4:b0:78a:22bd:d980 with SMTP id j4-20020a05620a000400b0078a22bdd980mr89794qki.64.1712076208557; Tue, 02 Apr 2024 09:43:28 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1712076208; cv=pass; d=google.com; s=arc-20160816; b=W8JVFeFmpFkCeiR4AbcgwJWSBwVm1NCa0jCvVH6h5CgsnLsTLftEoH9PR4FebgFDnz ws8ErkY2yeHNJp+eg7wCZKnp6zOY2VAbZHdeVBvNmiCGReUQR6qwrM94DUtBCxeSsVN7 2wXCw0Qa8OSknbE8zTK7rJg54LTCt2Ak75kWr8Jx6u0KVc2yshCbG31TDA6kGPpgoSDK iC5COdAOnt0BRpQ6rNL0DS9DXLIatvcce/iKbr8BzOsVNnSB6T95A6ZJySGtxl/dE7dn bBGG0MI9ImLfJ21gIFc3wA9hsWqi8SyeTWKVFO8asNsiM4wMFsEKDTruz6G06haUzlzI Q/+A== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=HbJSH9ORtrrC1U4ANhQMwZfXmtBmrQ/6M2eokaZ+tVM=; fh=ExGhjNQEFJgRqHmYATVc5UXZbS7abAmaHDitrfHKOuE=; b=b2mow9hNC/cko5IgcNHTTIrcQo7XgG2LnO4Vt89BGNrBG764Hwv6tVPSf7adYdpD1E EM+fbLNs4qLOEPVRv9dmdCwRC+YNYy4oPSjOMZ6h/QxHa6Z8C3I+VzvsRHI3v2Qx/cKG fjvBtGYqXsGgaJtrdTWv07gk7KyAzWgP3mGMeflrbH6yZhf/u+gqrnvpowdGj7dUpYHv W+Vwc1USZzBzWOg1rtwuO3zqPuPrdYTBWXJV4uNNb6z34nYhTGVKuEKJ3GHN0hUroepn Fk/xaTJggZKc1LCOh2l2w4VTdk6dvcEExZZ0dFggdHusWpa1EYvcfBS1Tysz89WQzh9c jdTA==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=LOeC8Pew; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3088-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t16-20020a05620a0b1000b00789f94f2f5csi11892972qkg.783.2024.04.02.09.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 09:43:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=LOeC8Pew; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3088-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 160971C22A5D for ; Tue, 2 Apr 2024 16:43:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A7A915A480; Tue, 2 Apr 2024 16:43:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=iki.fi header.i=@iki.fi header.b="LOeC8Pew" X-Original-To: linux-bluetooth@vger.kernel.org Received: from meesny.iki.fi (meesny.iki.fi [195.140.195.201]) (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 9D6C21598F6 for ; Tue, 2 Apr 2024 16:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=195.140.195.201 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712076195; cv=pass; b=HWyzyFJSvgNiKodq9n2X7u++TXCyElI1t9FgWWQmfu1DmbLa2qm7LooqpDh87BwxVUnWZRWYvVkCLcbH/FpP2GQnTbsNRX5gQMLd/kPYpQTg1cog8x4DTremyz05xvzA0j/JTm9/TN7WlEfQdWSUsWmf270MCxmp945mu/cqk8k= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712076195; c=relaxed/simple; bh=K+u0oLtWLd+fmilQfy2XV5Q9USzIQs1tly6O35BIZ+s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XZJQNxIts+BEMDQ+F0EB5HeIOtCSs7uW9JTBcZEY8om2v+sWfowIWonbCvUgqdWeacgNYJBVbq2iTl6v2piTrcKWaSX/cVtfxpQP2xAFw1suRtJANfaTWaX5B5RQfzG22A3Q3FLGrX5nhOykZjcxTDzVcS6T1H3gbCQstonJlGU= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi; spf=pass smtp.mailfrom=iki.fi; dkim=pass (1024-bit key) header.d=iki.fi header.i=@iki.fi header.b=LOeC8Pew; arc=pass smtp.client-ip=195.140.195.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iki.fi Received: from monolith.lan (unknown [193.138.7.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by meesny.iki.fi (Postfix) with ESMTPSA id 4V8DG71z0Jz101L; Tue, 2 Apr 2024 19:43:11 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1712076191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbJSH9ORtrrC1U4ANhQMwZfXmtBmrQ/6M2eokaZ+tVM=; b=LOeC8PewNHfphmeMxvNRUSwEAPLfXdZvUjQV4aEGH4rwSuTT4DNV59Muv8ZZ3CLuNwrXWz ms22Tb+GsR48qR1Y/+Ymwd0Qezkx67hqalyD/0OG2yu+1AWXhf8fHi6IrcNUpNfl5JRS5/ xvKoqNEh3iWi2EONrROyPtrLA4WtJTw= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1712076191; a=rsa-sha256; cv=none; b=bUigidJlRMmoVZytkSk5z6YoDE68lsesZSWxh7ZCpK6p9LgI3DRQULFbFn6BSdlNuwqzHQ wNlHPkoh1jZxhC8I6wH2Rzzs+duRw/PLfjo62iIv85IyVr+/sjV5t5+e4iwNFcmDxpC8k1 JUyw7ifeMX7HBaX878w5RpnkMqkW82c= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1712076191; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HbJSH9ORtrrC1U4ANhQMwZfXmtBmrQ/6M2eokaZ+tVM=; b=Z0IO+NdmSzgA8EvNTraxeyHfKWASgH9JIqRR/uA8xrNRx/FLeZl5Xhdl/z05m1tDeBDIPk ppJPKS749LxrE45umFU1CpuQxFzO8x287zoPmTnsoJqeMvFNniBp6LPXyNYTh/1FxBVfi7 rGt/+c/XdoF5z/Z7msXvihMQ/2v5uMY= From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ v3 1/8] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL Date: Tue, 2 Apr 2024 19:42:58 +0300 Message-ID: X-Mailer: git-send-email 2.44.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add new CMSG type used in new kernel TX timestamping support. Add new socket option. --- lib/bluetooth.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index 75dc960c8..7c310a69b 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -141,6 +141,7 @@ struct bt_voice { #define BT_PKT_STATUS 16 #define BT_SCM_PKT_STATUS 0x03 +#define BT_SCM_ERROR 0x04 #define BT_ISO_QOS 17 @@ -239,6 +240,8 @@ enum { #define BT_ISO_BASE 20 +#define BT_NO_ERRQUEUE_POLL 21 + /* Byte order conversions */ #if __BYTE_ORDER == __LITTLE_ENDIAN #define htobs(d) (d) -- 2.44.0