Linux bluetooth development
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: Pavan Savoy <pavan_savoy@sify.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: why is hciops a plugin ?
Date: Tue, 10 Aug 2010 22:16:10 -0400	[thread overview]
Message-ID: <20100811021610.GA8306@jh-x301> (raw)
In-Reply-To: <AANLkTino39jMNvdcV=EiekN33vrfNXLyJVNsHcHtq5wz@mail.gmail.com>

Hi,

On Tue, Aug 10, 2010, Pavan Savoy wrote:
> Any reason behind making hciops a plugin and bluetoothd making use of
> that plugin, wasn't everything straight up in hcid before ?

We're planning on redoing the kernel-userspace interface and in the long
run the traditional raw HCI access wont exist anymore in userspace. In
order to accommodate both old and new kernels in a clean way the
interface towards the kernel needs to be easily interchangable, which is
what hciops is trying to do (it's just a first step in that direction
though). One of the drivers for this change is the need to have the
security logic in one place instead of it being split between kernel and
userspace (this has caused all sorts of trouble with SSP for us).

Originally the plan for the new kernel interface was netlink but now the
idea is to simply extend the stack internal messages of raw HCI sockets
with a more complete two-way protocol between the kernel and userspace.
You should (hopefully) be seeing more patches for this still during this
year.

Johan

  reply	other threads:[~2010-08-11  2:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-10 22:18 why is hciops a plugin ? Pavan Savoy
2010-08-11  2:16 ` Johan Hedberg [this message]
2010-08-11 19:41   ` Pavan Savoy
2010-08-12  3:07     ` Johan Hedberg
2010-08-12 11:43       ` Marcel Holtmann
2010-08-13  0:35         ` Pavan Savoy

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=20100811021610.GA8306@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=pavan_savoy@sify.com \
    /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