From: roystonr@codeaurora.org
To: linux-bluetooth@vger.kernel.org
Cc: skrovvid@codeaurora.org, rshaffer@codeaurora.org
Subject: A2DP reconfigure with BMW Carkit (supporting multi streams) timeouts.
Date: Thu, 9 Dec 2010 05:54:07 -0800 (PST) [thread overview]
Message-ID: <3b53a90114d801b0adba526895deed74.squirrel@www.codeaurora.org> (raw)
Hi All,
During the interop tests with BMW Carkit using DUT (Device under Test)
running Bluez stack, we observe that A2DP reconfiguration timeouts.
Scenario:
1) Connect A2DP from DUT
2) Start streaming
3) Power down the BMW carkit
4) Power on the BMW carkit
5) A2DP streaming not resuming.
>From the sniffer logs, firstly we observe that the BMW carkit supports
multiple stream endpoints whereas the DUT supports only one. We observe
that after powering on, the BMW carkit(CK) was initiating an inbound A2DP
connection there by configuring the stream (INT and ACP SEID were 1 for
set configuration). Later on we observe that the DUT tries to reconfigure
the stream by sending a AVDTP_CLOSE as the stream had capabilities
differing from the remote device (CK in this case). The BMW CK rightly
acknowledges the AVDTP_CLOSE (here ACP SEID = 1). Following this the DUT
sends a stream configuration with INT SEID as 1 and ACP SEID as 2. To this
the remote CK doesn't respond.
We suspect this behaviour because the set configuration lastly send from
the DUT after an AVDTP_CLOSE should have been with ACP SEID as 1 and not
2. As per our understanding of the code, 2 is used as the ACP SEID because
avdtp_get_seps returns the 1st not in use SEP from the list that was
contructed based on the device capabalities retreived by the DUT from the
remote CK. It is observed that the DISCOVER response from the remote CK
provided SEID 2 info before 1.
Change expected:
avdtp_get_seps should be able to provide the SEP of the one used in the
AVDTP_CLOSE previously. But there weren't any previously closed streams
then provide the SEP which is not in use (as done currently).
Kindly let us know whether our understanding is right and can this be a
suspected cause of the issue seen. Correct if mistaken.
Regards,
Royston Rodrigues
next reply other threads:[~2010-12-09 13:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-09 13:54 roystonr [this message]
2010-12-09 14:41 ` A2DP reconfigure with BMW Carkit (supporting multi streams) timeouts Johan Hedberg
2010-12-10 9:51 ` Luiz Augusto von Dentz
2010-12-10 10:32 ` Johan Hedberg
[not found] ` <c2cb901974d908ed9f808324e4b4f6fb.squirrel@www.codeaurora.org>
2010-12-10 12:19 ` roystonr
2011-02-01 14:16 ` Lukasz Rymanowski
2011-02-08 14:59 ` Höglind, Henrik
2011-02-08 19:06 ` Johan Hedberg
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=3b53a90114d801b0adba526895deed74.squirrel@www.codeaurora.org \
--to=roystonr@codeaurora.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=rshaffer@codeaurora.org \
--cc=skrovvid@codeaurora.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).