Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp479675pxb; Tue, 3 Nov 2020 04:54:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyY9BA3XMhQpOsYgDWxTyEe2F620WAWNIBmJEfcuooDWdLynHboCPpzdtQx/hWF9Au5uKK8 X-Received: by 2002:a17:906:7c9:: with SMTP id m9mr18772706ejc.178.1604408052661; Tue, 03 Nov 2020 04:54:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604408052; cv=none; d=google.com; s=arc-20160816; b=GWPO3L4iWQQeC5B3Vr22GSCcVdfvpyKgafkS1LhGw2jRaF4+UJNg93iDjwEyIsrfts Bp1mqrx/wLNxyy9MabMKRvg7GDiHHYnKWW3l4qO5UZusMoi9JqmozxaHy6IlVx8XWipD BzbpNSGebVlO1WSG3py2JwYfRVQBuULyp8pBuPEizyRmARVqeXPqLukk043Aqpie8ZDJ Y82DbuyZCL/YWburFgldCFkzLDXNetosphaQeZXTLgIBEBBm03wYPVReJSD7Xbpqv/1S qD4rMRtYK28fVLb29ZXeGJGxZ6v8kDkvJpuxN1udpq3heHn9Y8p1MAB+2tP+WSi/GGIc hd4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:date:message-id:subject:from:references :dkim-signature:to; bh=wl27CpQ7tW7cIM6SvpK8wYdh3KilwoW53XT+BdfwIo0=; b=yHVQU7mb3rIUPUB3sCrgQ5bvDCtyf+iEj/KjDsO4jm7Zg/VkZhaDIK+Ys1u65ovCx7 b2aIz0hdy86tfc59ftmgYI86pKwuUNoABneFV7VVVI5G1RmzKIhmx4MnPE04qJhGIAbq 4l9TJXXUBIFn4el5Ay2Bhep76VKzmFN+BtdBqFdZay6QMfkOTi8oVmFlmUvSbLUe5+2U DJBPy0sCEHUVWz9QCcJO+1iNJVFWVG5HbtM1r2NKW3d2RIsCt3nToGlxsdosLR36BtHl jmRnnEK1emJqsN0fA7kwufvQ2PBSbTrLAAUi/zmaZagdJ0dMxB4/5VQME3MDv/se9fxz jhkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@litza.de header.s=default header.b=xPAqkyfM; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g8si15273244ejm.497.2020.11.03.04.53.35; Tue, 03 Nov 2020 04:54:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@litza.de header.s=default header.b=xPAqkyfM; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727821AbgKCMxP (ORCPT + 99 others); Tue, 3 Nov 2020 07:53:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726388AbgKCMxP (ORCPT ); Tue, 3 Nov 2020 07:53:15 -0500 X-Greylist: delayed 601 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 03 Nov 2020 04:53:14 PST Received: from mail.jplitza.de (mailgate.jplitza.de [IPv6:2a02:16d0:2004:1::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D63C8C0613D1 for ; Tue, 3 Nov 2020 04:53:14 -0800 (PST) To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Luiz Augusto von Dentz , Ujjwal Sharma , Andrew Fuller , Aleksandar Kostadinov , David Heidelberg , Marcel Holtmann , Johan Hedberg , "linux-bluetooth@vger.kernel.org" , Pavel Machek , usharma@chromium.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=litza.de; s=default; t=1604407389; bh=wl27CpQ7tW7cIM6SvpK8wYdh3KilwoW53XT+BdfwIo0=; h=To:References:From:Subject:Date:In-Reply-To:From; b=xPAqkyfMpMcqtdveudDK3BbOHEtRxOOR7zxGzApA3YmufbyDVwJl/oHrpFwHB8K1/ 0aIWYkDHmQRUnbiWFYSpnp2t3rrMk56L9hvtHUMGTUUdJ3rxlXnXblX40Pujr0uoAI SkjqABjrCB10m2Q0H6krwPuMSywFYSc7+KqP5LIw= References: <20200419234937.4zozkqgpt557m3o6@pali> <177c5794-1cd7-8f76-b66f-e9473ed37a31@redhat.com> <20200516075340.3z37ejs3fuhctunl@pali> <20200518165011.jfarrp5mtqoy3mqz@pali> <6da08b42-34d5-9d20-bfc1-161cc8d0f2ea@igalia.com> <20200604204343.eor47oe3fbzf6rbv@pali> From: Jan-Philipp Litza Subject: Re: Bluetooth: Allow to use configure SCO socket codec parameters Message-ID: <020e740e-807b-ccda-0036-f307fe453c1a@litza.de> Date: Tue, 3 Nov 2020 13:43:08 +0100 MIME-Version: 1.0 In-Reply-To: <20200604204343.eor47oe3fbzf6rbv@pali> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.102.4 at mail.jplitza.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Pali Rohár wrote: > Have I missed something? setsockopt() solution which I described in > <20200419234937.4zozkqgpt557m3o6@pali> email is already runtime option. I think what Luiz meant was that there has to be a module option that enables the additional kernel code, for example modprobe bluetooth enable_voice_setup=1 This would enable us interested folk to test the changes, while they cannot blow up other peoples Bluetooth stack. At least that's the reasoning that I assume. The setsockopt() is a runtime option on the application side but doesn't "protect" the kernel. Content-wise, I understand Luiz' message as an approval of the general API you proposed, as long as it is not active by default. Best regards, Jan-Philipp