All of lore.kernel.org
 help / color / mirror / Atom feed
From: roystonr@codeaurora.org
To: "Luiz Augusto von Dentz" <luiz.dentz@gmail.com>,
	"Johan Hedberg" <johan.hedberg@gmail.com>
Cc: linux-bluetooth@vger.kernel.org, roystonr@codeaurora.org,
	skrovvid@codeaurora.org, rshaffer@codeaurora.org
Subject: Re: A2DP reconfigure with BMW Carkit (supporting multi streams)     timeouts.
Date: Fri, 10 Dec 2010 04:19:33 -0800 (PST)	[thread overview]
Message-ID: <2ec0d2a2febdbcf4ab73812ad709f542.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <c2cb901974d908ed9f808324e4b4f6fb.squirrel@www.codeaurora.org>

Hi Johan/Luiz,

> On Fri, Dec 10, 2010, Luiz Augusto von Dentz wrote:
> I guess it would be better to have the call to
> avdtp_stream_get_remote_sep on close_cfm, it is probably safer to do
> there and less code too, but the fix is probably right.

Along with this as per my understanding, struct avdtp_remote_sep *rsep has
to be added as member to struct a2dp_setup and rsep should be overridden
as follows in a2dp_reconfigure after call to avdtp_get_seps which returns
the sep corresponding to the stream not in use. If the remote device
supports multi-stream then sep returned would be based on the order of
get_capabilities response. Hence the following override is needed to
ensure that closed stream is reconfigured. Correct me if mistaken.

if (setup->rsep) {
  rsep = setup->rsep;
}

Have provided the patch to the tester to verify as we don't have the BMW
CK available locally. Would update the feedback received.

Regards,
Royston Rodrigues




  parent reply	other threads:[~2010-12-10 12:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 13:54 A2DP reconfigure with BMW Carkit (supporting multi streams) timeouts roystonr
2010-12-09 14:41 ` 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 [this message]
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=2ec0d2a2febdbcf4ab73812ad709f542.squirrel@www.codeaurora.org \
    --to=roystonr@codeaurora.org \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.