Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: [Bluez-devel] Feature mask retrieval for L2CAP RFC
Date: Thu, 24 Mar 2005 11:40:50 +0100	[thread overview]
Message-ID: <1111660850.1916.49.camel@pegasus> (raw)

Hi,

to fully support the L2CAP 1.2 retransmission and flow control (RFC) you
need to send an info request first to request the extended feature mask.
The part of the the specification when to request this information is
quite lame. It actually says only you have to do so before configuring
for any RFC settings (volume 3, part A, chapter 8.1).

The extended feature mask is a global value and thus it should be enough
to request it once for the underlaying ACL link. This means that we may
should request this value before creating any L2CAP channel. The problem
is that older BlueZ L2CAP implementations send wrong responses for an
info request. This may result into problems with L2CAP 1.1 (SEQPACKET)
only connections and so I don't wanna do that until we really need to
configure RFC.

My idea is to send the request for the extended feature mask only once
before we try to open the first L2CAP 1.2 channel. This means before we
send the connection request for that channel. The mask should be stored
in the l2cap_conn structure and then used for further channel requests.
Using such a scheme means that no info requests will be sent if only
L2CAP 1.1 channels are used and using a L2CAP 1.2 channel will result in
only one info request/response transaction from our side. This looks to
me like the most sane approach.

Comments?

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

                 reply	other threads:[~2005-03-24 10:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1111660850.1916.49.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /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