netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: Daniel Winkler <danielwinkler@google.com>
Cc: Marcel Holtmann <marcel@holtmann.org>,
	BlueZ <linux-bluetooth@vger.kernel.org>,
	chromeos-bluetooth-upstreaming 
	<chromeos-bluetooth-upstreaming@chromium.org>,
	"David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:NETWORKING [GENERAL]" <netdev@vger.kernel.org>
Subject: Re: [PATCH v4 0/5] Bluetooth: Add new MGMT interface for advertising add
Date: Thu, 29 Oct 2020 14:44:57 -0700	[thread overview]
Message-ID: <CABBYNZJ65vXxeyJmZ_L_D+9pm7uDHo0+_ioHzMyh0q8sVmREsQ@mail.gmail.com> (raw)
In-Reply-To: <CAP2xMbtC0invbRT2q6LuamfEbE9ppMkRUO+jOisgtBG17JkrwA@mail.gmail.com>

Hi Daniel,

On Thu, Oct 29, 2020 at 2:35 PM Daniel Winkler <danielwinkler@google.com> wrote:
>
> Hello Maintainers,
>
> Just a friendly reminder to review this kernel patch series. I may
> have accidentally named this series the same as the userspace series,
> so I apologize if it has caused the set to be hidden in anybody's
> inbox. I'll be sure not to do this in the future.

I will review them coming next, one of the things that seems to be
missing these days is to update mgmt-tester when a new command is
introduced, this should actually be added along side the kernel
changes since we do plan to have the CI verify the kernel patches as
well, also there is a way to test the kernel changes directly in the
host with use of tools/test-runner you just need insure the options
mentioned in doc/test-runner are set so you can run the kernel with
the changes directly.

> Thanks in advance for your time!
>
> Best regards,
> Daniel Winkler
>
> On Thu, Oct 1, 2020 at 4:04 PM Daniel Winkler <danielwinkler@google.com> wrote:
> >
> > Hi Maintainers,
> >
> > This patch series defines the new two-call MGMT interface for adding
> > new advertising instances. Similarly to the hci advertising commands, a
> > mgmt call to set parameters is expected to be first, followed by a mgmt
> > call to set advertising data/scan response. The members of the
> > parameters request are optional; the caller defines a "params" bitfield
> > in the structure that indicates which parameters were intentionally set,
> > and others are set to defaults.
> >
> > The main feature here is the introduction of min/max parameters and tx
> > power that can be requested by the client. Min/max parameters will be
> > used both with and without extended advertising support, and tx power
> > will be used with extended advertising support. After a call for hci
> > advertising parameters, a new TX_POWER_SELECTED event will be emitted to
> > alert userspace to the actual chosen tx power.
> >
> > Additionally, to inform userspace of the controller LE Tx power
> > capabilities for the client's benefit, this series also changes the
> > security info MGMT command to more flexibly contain other capabilities,
> > such as LE min and max tx power.
> >
> > All changes have been tested on hatch (extended advertising) and kukui
> > (no extended advertising) chromebooks with manual testing verifying
> > correctness of parameters/data in btmon traces, and our automated test
> > suite of 25 single- and multi-advertising usage scenarios.
> >
> > A separate patch series will add support in bluetoothd. Thanks in
> > advance for your feedback!
> >
> > Daniel Winkler
> >
> >
> > Changes in v4:
> > - Add remaining data and scan response length to MGMT params response
> > - Moving optional params into 'flags' field of MGMT command
> > - Combine LE tx range into a single EIR field for MGMT capabilities cmd
> >
> > Changes in v3:
> > - Adding selected tx power to adv params mgmt response, removing event
> > - Re-using security info MGMT command to carry controller capabilities
> >
> > Changes in v2:
> > - Fixed sparse error in Capabilities MGMT command
> >
> > Daniel Winkler (5):
> >   Bluetooth: Add helper to set adv data
> >   Bluetooth: Break add adv into two mgmt commands
> >   Bluetooth: Use intervals and tx power from mgmt cmds
> >   Bluetooth: Query LE tx power on startup
> >   Bluetooth: Change MGMT security info CMD to be more generic
> >
> >  include/net/bluetooth/hci.h      |   7 +
> >  include/net/bluetooth/hci_core.h |  12 +-
> >  include/net/bluetooth/mgmt.h     |  49 +++-
> >  net/bluetooth/hci_core.c         |  47 +++-
> >  net/bluetooth/hci_event.c        |  19 ++
> >  net/bluetooth/hci_request.c      |  29 ++-
> >  net/bluetooth/mgmt.c             | 424 +++++++++++++++++++++++++++++--
> >  7 files changed, 542 insertions(+), 45 deletions(-)
> >
> > --
> > 2.28.0.709.gb0816b6eb0-goog
> >



-- 
Luiz Augusto von Dentz

  reply	other threads:[~2020-10-29 21:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 23:03 [PATCH v4 0/5] Bluetooth: Add new MGMT interface for advertising add Daniel Winkler
2020-10-01 23:03 ` [PATCH v4 1/5] Bluetooth: Add helper to set adv data Daniel Winkler
2020-10-01 23:04 ` [PATCH v4 2/5] Bluetooth: Break add adv into two mgmt commands Daniel Winkler
2020-10-01 23:04 ` [PATCH v4 3/5] Bluetooth: Use intervals and tx power from mgmt cmds Daniel Winkler
2020-10-01 23:04 ` [PATCH v4 4/5] Bluetooth: Query LE tx power on startup Daniel Winkler
2020-10-01 23:04 ` [PATCH v4 5/5] Bluetooth: Change MGMT security info CMD to be more generic Daniel Winkler
2020-10-29 21:32 ` [PATCH v4 0/5] Bluetooth: Add new MGMT interface for advertising add Daniel Winkler
2020-10-29 21:44   ` Luiz Augusto von Dentz [this message]
2020-10-29 22:25     ` Daniel Winkler
2020-10-30  0:04       ` Luiz Augusto von Dentz
2020-11-03 17:42         ` Daniel Winkler
2020-11-03 21:25           ` Luiz Augusto von Dentz
2020-11-24 18:11             ` Daniel Winkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABBYNZJ65vXxeyJmZ_L_D+9pm7uDHo0+_ioHzMyh0q8sVmREsQ@mail.gmail.com \
    --to=luiz.dentz@gmail.com \
    --cc=chromeos-bluetooth-upstreaming@chromium.org \
    --cc=danielwinkler@google.com \
    --cc=davem@davemloft.net \
    --cc=johan.hedberg@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).