Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp545663ybg; Tue, 9 Jun 2020 07:05:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5ENlRVBZHzndNWfJDyIJ8cSKT0v2WyL93TT06LomL1NNC5jhtw1iIr8eG5USbIt1L8PJY X-Received: by 2002:a50:afc2:: with SMTP id h60mr25945111edd.110.1591711511560; Tue, 09 Jun 2020 07:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591711511; cv=none; d=google.com; s=arc-20160816; b=EWkCQyo8PTzuFzPdSNL8evtArQ0MaNL7ogWd4LKGjR/XOlZEoFnmwqoHq6VVsb3X1L cnlmfKURh5IfwMoFHfrqRRAnfgVD5Im1lRt6fUVdSzOkHPeYPJMZBR9715Woyz5nbQSe MsxGh5JTXZvVTXkXg92FDsOMxJItrBzFXRO5tr73XBbn9ofUARVSbFGyCEjVs6Ql4cYL HtNcz2qa1BnY2FZyW3bJ2cjyM76FABwDMb+xIUwAu39kXsSsbIRBtG6XWJmNN4Cf7WHz /2bRtmwqSoXnwydIwbHsI5cQja3+vwWi2J5UsvLCkttSd4p8VlPOo0V0MOx1T0qODO8U SpHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=u3L0T/kPWaApJr3y242zYjxv2NxisenLnw2UesIvHR8=; b=uATJyi4veocrYJi/GPtOd9ybrfQ7nTNyLwI/NplUUONjJpXqPd9x1AaZ2rp6W7BcOY 1erkCKGVROndom2la4rqVgluXE1e1G9hq71/CX+bHrFpJoLPBIZ12mCEPsiN+oQHSbVb Tr3HDM2CrpxZQ2FqsEvdijWvqSWrtGr1111n6wVSj+k8elpDShjMttGjHbdUGZvynu0y cHDZkso0FGvpugasxRM0Orc3jfVsKPRdPH9p0QIzTMDpwfdYGwbfzmI2ih5G5kNAAP8u 1uZYO3tkX4gGezhhZ5a1E/qfdvNmIWrttLx6vmZwD4ZpGFpswRBeYGRU7o5ycmPa8F1R 52XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=SZmU3EiL; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d18si11018191edr.366.2020.06.09.07.04.22; Tue, 09 Jun 2020 07:05:11 -0700 (PDT) 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=@chromium.org header.s=google header.b=SZmU3EiL; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730107AbgFIOEA (ORCPT + 99 others); Tue, 9 Jun 2020 10:04:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729403AbgFIOD6 (ORCPT ); Tue, 9 Jun 2020 10:03:58 -0400 Received: from mail-vk1-xa43.google.com (mail-vk1-xa43.google.com [IPv6:2607:f8b0:4864:20::a43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30705C05BD1E for ; Tue, 9 Jun 2020 07:03:58 -0700 (PDT) Received: by mail-vk1-xa43.google.com with SMTP id i1so4894750vkp.8 for ; Tue, 09 Jun 2020 07:03:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=u3L0T/kPWaApJr3y242zYjxv2NxisenLnw2UesIvHR8=; b=SZmU3EiLLg/J3SNnvZNmiOFRWPhW8F23mfM40096TK697QBGFSCTxI12fnxuTqXIvK xUlXOOGLzL5wWjSuMtoxjFuKPnvxaDV1AwxHc2cJ/ZxLJWNSC19D7lXhFCEKtFPOs0S1 2QkxnXhbmSuzFFOY7sd91PZRmkb/qOBDPbPEg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=u3L0T/kPWaApJr3y242zYjxv2NxisenLnw2UesIvHR8=; b=lSX/VH+E/kQ+aJ7T+1MUOg6Lm3IvO8gexqR/7K3TYj8OzHMcUL3R9oeZn7hpckAAN1 4Ej8aEKYfsQvZlD/Y0XNboPMUSPz1GoMtEosowpFiPautj53/KNZ5DalqwMhYMDd1Nbq Ta0GxwuEfoP9YlmLoxQrn3pDMv+w28550gCp3RuLXx8kLBbmOVw7J3H+GAlwGzH1nUff 69VE7iibfZqGLJFzpa4nBYsmQG55Jpm2KdolYlMFX4JVg4MURC2JfCmHoqDxUMb8mrVx dloSmJvaU1T8ICcG4amptULZIxwgSUpDY+JJz5wPSGh6keT470t7CxazNEKfiAAHUEfp qwQg== X-Gm-Message-State: AOAM5314EhRgJcA3dPIAVsCAdDyJbq9N6p6VZ4YZxDUJYDji+FCnVd8f qhORIzeShNbp3Edg1AyN6FDZ6/gIyvU= X-Received: by 2002:ac5:c94b:: with SMTP id s11mr3129731vkm.8.1591711436311; Tue, 09 Jun 2020 07:03:56 -0700 (PDT) Received: from alain.c.googlers.com.com (252.177.243.35.bc.googleusercontent.com. [35.243.177.252]) by smtp.gmail.com with ESMTPSA id b7sm403849vsc.13.2020.06.09.07.03.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 07:03:55 -0700 (PDT) From: Alain Michaud To: linux-bluetooth@vger.kernel.org Cc: Alain Michaud Subject: [PATCH v1 0/3] Support reading and setting default system parameters Date: Tue, 9 Jun 2020 14:03:48 +0000 Message-Id: <20200609140351.153833-1-alainm@chromium.org> X-Mailer: git-send-email 2.27.0.278.ge193c7cf3a9-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This series adds support for reading and setting default system parameters from userspace. In particular, combined with the userspace changes, allows platforms to override default system parameters from a main.conf file. The series has been reviewed and tested on chromeos. Alain Michaud (3): mgmt: read/set system parameter definitions bluetooth:centralize default value initialization. bluetooth: implement read/set default system parameters mgmt include/net/bluetooth/hci_core.h | 18 ++ include/net/bluetooth/mgmt.h | 18 ++ net/bluetooth/hci_conn.c | 14 +- net/bluetooth/hci_core.c | 14 +- net/bluetooth/hci_request.c | 15 +- net/bluetooth/mgmt.c | 429 +++++++++++++++++++++++++++++++ 6 files changed, 487 insertions(+), 21 deletions(-) -- 2.27.0.278.ge193c7cf3a9-goog