Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Andrei Emeltchenko <andrei.emeltchenko.news@gmail.com>
Cc: Bluettooth Linux <linux-bluetooth@vger.kernel.org>
Subject: Re: Workaround for buggy BT dongles
Date: Mon, 09 Aug 2010 09:36:59 -0400	[thread overview]
Message-ID: <1281361019.12579.198.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTimt4CN6Oegrnf3Z5mhb0L7QLiiaPdHCSdp=rLTw@mail.gmail.com>

Hi Andrei,

> We have experienced L2CAP disconnections with A-Link BT dongles (lsusb
> shows Broadcom Corp. BCM2046B1 chip).
> 
> There is race condition in a controller so that sometimes "L2CAP
> Connect Req" is received after "HCI Encryption Change":
> ...
> 2308 *REF*                                                   HCI_EVT
> Simple Pairing Complete
> 2309 0.089720                                                HCI_EVT
> Link Key Notification
> 2310 0.126607                                                L2CAP
> Rcvd Connection Request
> 2311 0.126721                                                L2CAP
> Sent Connection Response
> 2312 0.127278                                                HCI_EVT
> Encrypt Change
> ...
> 
> This is correct behavior since all non-SDP connections shall be
> encrypted for SSP devices.
> 
> If we send "L2CAP Connect Request" with a little delay the problem
> disappears (this is of course too hackish way).
> 
> Shall we address this problem? I do not see good way of dealing with the chip.

I would prefer to address this problem as follows. Open your window and
through the dongle out that same window ;)

Regards

Marcel



      reply	other threads:[~2010-08-09 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-09 13:21 Workaround for buggy BT dongles Andrei Emeltchenko
2010-08-09 13:36 ` Marcel Holtmann [this message]

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=1281361019.12579.198.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=andrei.emeltchenko.news@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