Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp296361lqb; Thu, 14 Mar 2024 11:24:50 -0700 (PDT) X-Forwarded-Encrypted: i=4; AJvYcCVLdJQTllU1bgxHXquk/dbAezWQlABYK4OjP+A3F4F/o6jjRjLLLUGSMKu3d5Bxaxsto6VInJ4LbfNtML16PF86wA1VfxMTxw2P0Bxidg== X-Google-Smtp-Source: AGHT+IF/NlPSoVACUDz99MCvKDkOSzkgwFCtCQdy5REEmFd2DulARnksXgtpMyRWzNN9jHtTEwuc X-Received: by 2002:a17:902:ec85:b0:1dd:dbcc:67da with SMTP id x5-20020a170902ec8500b001dddbcc67damr5906507plg.10.1710440690378; Thu, 14 Mar 2024 11:24:50 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1710440690; cv=pass; d=google.com; s=arc-20160816; b=EWcMOGN1iVRQSWJV3MDb2NMWUo8GHNB6hG5yLuFzM/TPCRryPuQpHnb6wmB84n6UZO B2+ufsFROsuKYzTnSrFb9Zd6eD16ys52kA7LySrjiaRonM7Mk5FDd2q1q3iCqM2diOY+ eWbaHIevwCj2VE9HLwWyXgZgMv1e4A6eRaLYKHjzM7nG7rKp0miTqY50jpueWCEAt8ed x8p6AhAjFYZ+YR4hiI7UCt1nxjiTZRhdKSiJmjHPkwHL+XdfEtxtMqRcrHHkB7rqT07d GioheZwsa0AoMgWTIISSOOdKoUPIiesl1YGerrF45wI+iGmWqNETp0AkjsI9RRI13Gni 2QjA== 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=xA7AUwImDT87ZTeJE80znpi+ITWurSLxsZ/MKNIXj2Jclbs6nyHJQxyQZoTKDBXbOt 7xQ7JCMw6YwaM6IjbB4tPlM0hcGz15upAi698jgo39m5SU1BnfXhlFIfddQgUWBkrMnR 2zcYYFptwYec7JpPn4dVCOy1i9cckoYSYZZsvF2mVXZH8zCTvPu8JGdRhHR3/tgo8yXj PenvBMULGvP70HfhF94Ub0nBmAp55W6fHRpTtlLB6IwS80WvwuCsCH6RLLLQXDZIFnG5 II7h3QqRZo9+4F4OE431Xh0hiZTqbJvdq8q0aZzbZyBCPmz0bUnqUFSM1tl4d6tWXcMG cWWQ==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@iki.fi header.s=lahtoruutu header.b=B8hcOs5F; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-2531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2531-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q14-20020a631f4e000000b005e4c83e4f41si1046477pgm.183.2024.03.14.11.24.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 11:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=lahtoruutu header.b=B8hcOs5F; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-2531-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2531-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DC63B22737 for ; Thu, 14 Mar 2024 18:24:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 281B477624; Thu, 14 Mar 2024 18:21:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="B8hcOs5F" X-Original-To: linux-bluetooth@vger.kernel.org Received: from lahtoruutu.iki.fi (lahtoruutu.iki.fi [185.185.170.37]) (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 EB5A91A38D0 for ; Thu, 14 Mar 2024 18:21:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=185.185.170.37 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710440497; cv=pass; b=DXqsUVPjNHIWcM2FViRFenpRGeSDWhSzMVco8DGVZc04fQb+KpTj171P5td/f161qIuinA0l1dzoALY74zMJPIUv/D7eVrNGOS4k8762if6J5ft29eA64mwQXvXOtIc0YcX2dTazdz7SRg601knDrbnHjOCDEO22HEds9+2BkQU= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710440497; c=relaxed/simple; bh=K+u0oLtWLd+fmilQfy2XV5Q9USzIQs1tly6O35BIZ+s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=j2sXglnFHJLj57Nsxx/GkSZwLTZM0BSJ/RmBBSRFfWnkC6OkulXpUqma/bedfh46dDl8yu4ZKBB89FDhSIXDB/Ymui8T220YzDDZifPRzzlQq0Gbcz4jEC26ZVpGWBadlisM+MfnCKHhGdFD/uPMA88CwHraRqxeQvD8Ji6mx1o= 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 (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b=B8hcOs5F; arc=pass smtp.client-ip=185.185.170.37 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.198]) (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 lahtoruutu.iki.fi (Postfix) with ESMTPSA id 4TwbLH1B2pz49Pv3; Thu, 14 Mar 2024 20:21:27 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1710440487; 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=B8hcOs5F2idyKd9SwfLRnBHflemwy0PFZ9BRnrZoERLLEUsHApKE8kHVplPDuWUzHqNWsm 0uaywo8tL/sdolVhK7shfZrxunBjuIvHq17+opjBGc07eVpJeAfaJxxP7FgqxXJB6YrFqG AkEsCyezoWGaM4PDLIIklwp2JHU1mUYPMDx5nRHqJjnjuuQIq4VoDnnwBeI/K33T/dtEc+ bvOUaIZ5UDi1JQbj+Hynk0blpxHGqdiLvUk7qq4NFxCAiyjvbc5dqTQgi3hp4pqlWlJjod Uc4hE3lX6nT01DzsEfDKPs560klAnKWaPhbTS92w8FxpDJjznz8OBfLG4nP68g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1710440487; 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=L3iUAz+7FBc7F3CPzNoXmitbVvQyt5LpcCgM14CddBa7WwOxzdcNXrAP/GdMlvxSWPbyZn udHIWJGrIKTzfoY4E6WUJ/qC/YaYEtpdWzKDqqG0//HGkEHMlAofZtpMdcVi8joS4Jc4Zn CDHbRcwgPQSmZ8SIdYFcJfS8mH0R7EChBcepg7100WwEj7SQ16nqzfA5RhNHSBpiWO1bML FXmHspI3EymHQJ0X9CF1WIIdOpo4F2ylrXR9i9nbun7fcJ4mvQa38Apl0g7TC34jfoiUCi MMRd6JF34FS1fp/wx+gKYuFJO8IWO89fyOtVpU/33iC3SwpTp5mPDsOuGpsDqA== ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Seal: i=1; s=lahtoruutu; d=iki.fi; t=1710440487; a=rsa-sha256; cv=none; b=deDEDPTIKX1nxtjkiBEZPIGHjlv4EaKKpgyQN5IXhXMH0Q7lME9MqtUEPPzizWT+ejv0Uo rgD5uhIvx/RE5n/4hnbiz83ORr0M7KKO/atfGie8njt9DUD1cpy4C4HSXtOQyowzpiHSdv 3bhV32uxOv7keaJUu19NmDXCD0wpfx5N+J8khOy74HjkuAI+Jh+bpxUC0/uaj+lxUZ/cQ0 vlUq+9S/JWrRPgZMVyTk32q0ifDUwEtMbG1Bbi3A77Ys513UCVuqr2/AwdTezVTiC25gLu 8vIHm5nIokhWs4a2E4O9lVC4gK50O5Ui+jV3E9vKELgBAMIPq6osmTu6GCrneg== From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ v2 1/9] lib: add BT_SCM_ERROR and BT_NO_ERRQUEUE_POLL Date: Thu, 14 Mar 2024 20:21:10 +0200 Message-ID: <1e611b09ab57ce0ba42c377a75f12a6eaf70e133.1710440408.git.pav@iki.fi> 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