Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp917694pxb; Tue, 3 Nov 2020 16:38:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwUhmbVMJf0DCYOYasiJXjZpvVatOQdS2oOTkBA1lwFwSNr3Pn7NAuB5f14Bs/OTto2Ohb/ X-Received: by 2002:aa7:c647:: with SMTP id z7mr25047700edr.350.1604450312829; Tue, 03 Nov 2020 16:38:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604450312; cv=none; d=google.com; s=arc-20160816; b=zMqCsxJujSs0tvxBrx3EbHFNJWgpnGFpSz9PuGUEjuQ6yKfGX6fsNhrRisoAG3nt/0 ZruOSMcGI45lEv0mAErQE0s64s8UlyJvhBLGZnfUTirpaRjOtm7S60iTbdXuWDkeCcgW 1RsSh9MgOj7fajfFREdrI8dDMoUuQNtd4EVcDvP5EqsSGtbwhHSk9Ryv5OjL7MDQLFsk fhpJQ/RjJVc3AWgXh9pd313oyPV4uPheM4aA6EEkFVkAl7hHbajaPeAcdseeoPkVNZcy xIPrQCm30YZf8WbGHtuJR4yhqDvUrUzVd+l7Vqr9Z517q5CZ7KyAxMQ33Kcb29VaWryz Pl+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zx2KCew9yJOLhuCRAceiFOfGxJZgoLHik50VTTlt3O4=; b=rQziwE/r4Wj8epKcKzn306WwHQclPtkjCBAk8MvrCk/wBbhp2cT9z7zx7KbrOlaI6d ysBAesqnn77/uthS+2jPT3q6ALKI+srN2RHm24F+/9KSjbmTud5r8wPnWy+LR/4yrYk7 L2DuyIrT5DWlpP7t3bNsBsHHA+/Ki6vSZRqT9x46PGAZ4YEsfKc7gAFLBnckbdUoKEoE ol4WfLuAz/CxKTDCwHJxFhnZlEjLJDzN7vyfEblZToZxieJJ1akNvtZ5hpwZByI1UVB9 fiPXnk3P7Zii2qEQ1LOo9t6H1UfNiaV67tczhdXk1TbbUAOOpzv45ibJqFkfiIa76Qg/ qzeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=maRBeobL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ar8si352830ejc.496.2020.11.03.16.37.50; Tue, 03 Nov 2020 16:38:32 -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=@gmail.com header.s=20161025 header.b=maRBeobL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728319AbgKDAhm (ORCPT + 99 others); Tue, 3 Nov 2020 19:37:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgKDAhm (ORCPT ); Tue, 3 Nov 2020 19:37:42 -0500 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67F4DC061A4B for ; Tue, 3 Nov 2020 16:37:42 -0800 (PST) Received: by mail-oi1-x242.google.com with SMTP id m143so11067555oig.7 for ; Tue, 03 Nov 2020 16:37:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=zx2KCew9yJOLhuCRAceiFOfGxJZgoLHik50VTTlt3O4=; b=maRBeobLiBGBAYA4seRENrW3fOr3Rmg+a8/gSLyqj08+TvhHOh2+RLyB8jk4ivSnKy MIPGt/xaXAqcqDeBlgD759fqw3kxhp00YAvoNSrfI9XIFJyZ1zoFilPWbK7992X+ZYAa +CRQoJ18+106tgKhOvcuJN6l3AaJXCnfIF2T/KqqbB9rvm29UO9BjxOxr3ID+zYcSQme jMeUSNmaBbN+onU18xFlZa2bLLLsDU0eGzXd2Q05Sgry4DwO3Alz+DC6o7lPPeroVISD eYY3K+0N4ZhEx8zLatKyxrM2gXEYYzOKN7y0CYollDeLnUmRKOfc9dWPlZ0G/lwCww94 eynw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=zx2KCew9yJOLhuCRAceiFOfGxJZgoLHik50VTTlt3O4=; b=fh7bdl3Pzw5B227vEzzfyyJzct9Lhqkw/VkwotkO/CUWjB1/jrM3q7gZKf087pkEjq X2h9GsSLXId5zd8tL1qy+DcQ8Yc6RzxH6cxeHbF0BNun3uRhyl0mu2Pfhjh8/LVLvaHk bT8Qs8FKpVpwAHwvYqHxf082FmW30EO6kjJ7C6ctCOTztyuLEDPtdil6diTEfM8f9GEi o7+51ntDsaSh4xYrcxphEO3adJ4gjt0hZZLaPEQCDdzxlzvg6dSAmXbzfA3M/WHJsLg8 f1P77XEwRfEfmTJ3kYs/Q94jnDrcFaG5YIATRQH+LRyToNa6svPdgkMwP6jO/lSkO0ei PI+g== X-Gm-Message-State: AOAM5317XOPWDQMVLCtNKerdRMdxLXtEf92W8AWicbnkYB72hR53FvIH dv0G3QAg/d/iTdXi7J70gk4HGc/7426zsofKAfU= X-Received: by 2002:aca:c70b:: with SMTP id x11mr1170908oif.58.1604450261429; Tue, 03 Nov 2020 16:37:41 -0800 (PST) MIME-Version: 1.0 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> <020e740e-807b-ccda-0036-f307fe453c1a@litza.de> In-Reply-To: <020e740e-807b-ccda-0036-f307fe453c1a@litza.de> From: Luiz Augusto von Dentz Date: Tue, 3 Nov 2020 16:37:30 -0800 Message-ID: Subject: Re: Bluetooth: Allow to use configure SCO socket codec parameters To: Jan-Philipp Litza Cc: =?UTF-8?Q?Pali_Roh=C3=A1r?= , Ujjwal Sharma , Andrew Fuller , Aleksandar Kostadinov , David Heidelberg , Marcel Holtmann , Johan Hedberg , "linux-bluetooth@vger.kernel.org" , Pavel Machek , usharma@chromium.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Jan-Philipp, On Tue, Nov 3, 2020 at 4:43 AM Jan-Philipp Litza wrot= e: > > Pali Roh=C3=A1r 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=3D1 > > 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. Yes, in fact we are trending to introduce experimental interfaces for most of our new features so we can polish them and users can test with either build time option or runtime option like you mentioned above, this should balance the stabilization of new features with power users that do want to use them even though there are not marked as stable. --=20 Luiz Augusto von Dentz