Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp889000lqe; Sun, 7 Apr 2024 08:19:01 -0700 (PDT) X-Forwarded-Encrypted: i=4; AJvYcCVsf6ftlappGqpmrMO8XE7xdwAmi5NGDuUlF6W5/r0zO4HYU7Bz0oNCfpayw09JJ8zPVRR2Ljc6kkmOb5U93zqF5p/N26U+5qMhlzdynA== X-Google-Smtp-Source: AGHT+IEngUU9LqIogFoDaq1zN5t7ZunWY+RntvM8slPQVG3TI/aezfNGkq7IN4bJfOIvXdQGlGJc X-Received: by 2002:a05:6a20:6a24:b0:1a7:78e3:89f6 with SMTP id p36-20020a056a206a2400b001a778e389f6mr134950pzk.2.1712503141598; Sun, 07 Apr 2024 08:19:01 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1712503141; cv=pass; d=google.com; s=arc-20160816; b=ZkmkbCko/+loDmNlcUWFF7Wye3+/Yai9+mUOdKZQYnPhvsaVlHdo4FdExPz5Nbj5EJ dNSkhc+ngl9QqNTM5K6UIOuwUq6896mjjSSvYEWmgAaXMIsvHh8iHZ5EARi3dEPFKIEX kuPM3GHuHn1NYbEtfWtZPJZTmij1a7s1CwWjRy5eDh09IITHCuHGvpkYod5qIHmiNlX/ lAYYXw5Hm9AJThCb4gIAIfKi6Kfk2Fos6JwBtmzDpzw4biPl8uDzcudRi29jNeqyA52O PrGrGKpnsUkPaqdu6bi7/Mh28q6V8tI7oeFXj2WU+NrOH9zMu/oumh+12fpqPahEmAU0 dZfw== 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=VNLLr0NQi2kr/SMLWRwgdU/Jenen+0NCeqNkRe2weCA=; fh=ExGhjNQEFJgRqHmYATVc5UXZbS7abAmaHDitrfHKOuE=; b=mKXeIwkXt2Th0v0KJZxAdxGZ3K3Xvpd+bB/h5QbRCavYHCWxmi5ymzHmtRaZVMAMRd IipSOZRGMj3+XTdXIfN+ml/gysN8+ceH91FP6pcZ+Kj+TyAaU6k3sD9YtDPuRjWVh62f DaXYxGXeLkw4hS2s7yObbV9SqnUqNmOr4FX9b8sZVmiGcq93v1cK5MMtFEKaz0+jagE0 1PkUsdVJcWkz7i3agmrCapgXP9ncmHNU3yvDT1eyCfUpNAP832L3HPLtVCcA4ZN11209 WogAvsVcDXAlsXEchpFKVY5kab+CyG7dVJrDWr7VmVbasUuZWE1qHkw+jBzlC5cylOLQ xrig==; dara=google.com ARC-Authentication-Results: i=3; mx.google.com; dkim=pass header.i=@iki.fi header.s=lahtoruutu header.b=HTqpNrlH; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3326-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3326-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id l63-20020a638842000000b005e42b5db0ffsi4635332pgd.40.2024.04.07.08.19.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 08:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-3326-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=lahtoruutu header.b=HTqpNrlH; arc=pass (i=2 spf=pass spfdomain=iki.fi dkim=pass dkdomain=iki.fi); spf=pass (google.com: domain of linux-bluetooth+bounces-3326-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-3326-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 9E50EB21AA4 for ; Sun, 7 Apr 2024 15:18:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3164339FF3; Sun, 7 Apr 2024 15:18:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=iki.fi header.i=@iki.fi header.b="HTqpNrlH" 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 CA1F612E48 for ; Sun, 7 Apr 2024 15:18:46 +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=1712503128; cv=pass; b=iCeG6syq9x/d+ZylbyU3hxb84KR7TPByah4tu1WtjMFL67+UIdLTQ9jau+HNaITCMdL09pBb5giUwvSzN/t2QbQSGH4V2J1VTjxJhgJsRN9qKGusMvCfPc+1Rvk0x/oRqZkiedK9y59kTnODJ6TJKZDpgUyygAvSHZ02RPYSbs0= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712503128; c=relaxed/simple; bh=AnDkPOtpfsLUqO5g6XJ74kh282XH6RDvhB0iIpcXSeo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MO4gp1WjEISf7U1aYVOHpcAU1V/KfaUYEYmoVsLL0vYXOwuFQjCpF8WJpDEfte+sWP26CnLmkVC6RAWgBps3/crOr0H69mY17FSNCs2PbF6DW6mB9rD5zLTTDuQnxmYu+xiSif+5m2GsiTnKsI2M96UcTAkJLuXC8CA+iYVllWA= 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=HTqpNrlH; 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.158]) (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 4VCG8N0NSSz49Q12; Sun, 7 Apr 2024 18:18:43 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1712503124; 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=VNLLr0NQi2kr/SMLWRwgdU/Jenen+0NCeqNkRe2weCA=; b=HTqpNrlHyIn2QKIabHcfZvi7FpXiryPKjQkin2QZ3HNEVJ+1hs8LPbMpZoZ0do4clwrD5K MJBYZ6PWA2YVq/68hP4yEx3HS0azShNt7dzvmg7daOmISz21nyLMjhS4ZHzfIeqhX2TkCK fEb8evoqUXY/XlqJQrio+/52c3ICH2IqfkrArXcK7k64eyQfKP2BMt+LIZmda5ZpGIz+5c 9smdIL9jJ+5FKnAh3LCGgiitIgl/83btvaPjhSpGUKuGnJ9K0aVScwngY+W3lfYS2t4YnM UHzLFiaSxsow2UOBebAhtcBpenwpE/exs91/A4NZMRlyduDDxx7rNwbWwZs8mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=lahtoruutu; t=1712503124; 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=VNLLr0NQi2kr/SMLWRwgdU/Jenen+0NCeqNkRe2weCA=; b=jGUWfqUvoPVaPbFtrrdGaK7vE5OUxbMWLbDXEuwSY0Rnmuc3bSBdZmbXfG7qXkXBjWrfNN PbB9YtTbOQGfYUdmB4fjUIWBS0a1jzIFmuvaaKJ1ATMAKIhTeV9YcRhjZ/VIuK+53XRDfF pZ8MdXhxmGaFPtGaDZC2VsDCTkoLOxQvErg7gHX1F+qrlpcFZsmh2IQfWMNgBzpOrNcEug eagvLOG2bKSKuWGshZuJGWf1rEElDV6klXR7pWFJPNJ4W7NXTkcLUpFI1Eo6R6+se+7ipO dcJqWf8hZh9frIlnQ3FBE5sCOVhsQowd9GXyCd6vh7Ge97j6rcylTIZbq3U44Q== 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=1712503124; a=rsa-sha256; cv=none; b=pgPEBBONLeEb5jiexpDZnqygNQ+3szVcV/wa9KEBIOQ/nkAShegfe4CJ19I63LQs4HWL4J +CWjKJQ6adYT8NI9wJ62zkw4ZhVX/PijSA9y88MMH68PQagfTyR9YVoCDvM9mhyvAGRadE KeNCzwrsOhx9VWOlCdtaji8FR0/fNKn5DiKTjKYobTOlCVg7CyPI8IN4h/BQjsKRoFXVRU BvTTboLWY25ypUuJN8pXLSkK2P9GUb7SIexfzRwQIHbwYtKlmm7OpyeONI/fB0mF2jvQ71 Q5SnZrSkl++t26PNJIPlryyisC6FSj9EFcurKhGCstZMSdWe+D9pljGbLf46hg== From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ 1/5] lib: add BT_POLL_ERRQUEUE socket option Date: Sun, 7 Apr 2024 18:18:34 +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 (experimental) socket option. --- lib/bluetooth.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index a4ed65d0b..073ed875d 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -240,6 +240,8 @@ enum { #define BT_ISO_BASE 20 +#define BT_POLL_ERRQUEUE 21 + /* Byte order conversions */ #if __BYTE_ORDER == __LITTLE_ENDIAN #define htobs(d) (d) -- 2.44.0