linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gustavo F. Padovan" <gustavo@padovan.org>
To: "João Paulo Rechi Vita" <jprvita@gmail.com>
Cc: jcaden@libresoft.es, linux-bluetooth@vger.kernel.org
Subject: Re: HDP proposed API(0.5)
Date: Mon, 17 May 2010 18:38:38 -0300	[thread overview]
Message-ID: <20100517213838.GB19907@vigoh> (raw)
In-Reply-To: <AANLkTikCmZydkLG863_MbrMhiNlWx5GecQaXitr1q0xX@mail.gmail.com>

Hi,

* João Paulo Rechi Vita <jprvita@gmail.com> [2010-05-17 18:17:58 -0300]:

<snip>

> On Mon, May 17, 2010 at 11:54, José Antonio Santos Cadenas
> <jcaden@libresoft.es> wrote:
> >
> >                array GetDataChannelFileDescriptor(uint16 mdlid)
> >
> 
> Wouldn't be better to pass the fd through the LinkConnected call on
> Agent? Doing it here allows any process to get the fds.

I was thinking about the MCAP in kernel implementation, my conclusion is
that we can solve one of the biggest problem of HDP API if we do it in
kernel: the transparency of MCAP reconnection. HDP will open an MCAP
socket and pass it to the user(IEEE app). Then if we need a
reconnection, MCAP will transparently reconnect changing the L2CAP
channel to transmit the data without the need to change the socket
opened with the userspace.

Keep the MCAP socket open means that we are keeping the MCL state for
further reconnection.

Doing it inside the kernel removes a big amount of complexity of HDP and
IEEE profiles, since we won't need any pipe or change of fd. That could
be a killer feature to make it in the kernel.

Any comments? Is this reasonable?

<snip>

-- 
Gustavo F. Padovan
http://padovan.org

  reply	other threads:[~2010-05-17 21:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-17 14:54 HDP proposed API(0.5) José Antonio Santos Cadenas
2010-05-17 21:17 ` João Paulo Rechi Vita
2010-05-17 21:38   ` Gustavo F. Padovan [this message]
     [not found]     ` <DCEDCB0F-6BA3-4100-96F9-0A33AC440F82@signove.com>
2010-05-17 23:20       ` Gustavo F. Padovan
2010-05-18  2:42         ` Nathan Holstein
2010-05-18  8:10           ` José Antonio Santos Cadenas
2010-05-18 14:05             ` Elvis Pfützenreuter
2010-05-18  9:28         ` Santiago Carot-Nemesio
2010-05-23  2:54           ` Gustavo F. Padovan
2010-05-18  7:33     ` José Antonio Santos Cadenas
2010-05-17 21:40   ` José Antonio Santos Cadenas

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=20100517213838.GB19907@vigoh \
    --to=gustavo@padovan.org \
    --cc=jcaden@libresoft.es \
    --cc=jprvita@gmail.com \
    --cc=linux-bluetooth@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).