From: Marcel Holtmann <marcel@holtmann.org>
To: Eponymous - <the.epon@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: What is involved in supporting SCO packets in HCI_RAW mode?
Date: Sat, 26 Jan 2013 04:23:46 +0100 [thread overview]
Message-ID: <1359170626.16748.4.camel@aeonflux> (raw)
In-Reply-To: <CAJ+AEyM4aZY80+Eo7g5=z+3t2fZB+n0rW6a02p8G2CJZ9JvAQQ@mail.gmail.com>
Hi,
> After the patch was added to btusb.c to allow ACL packets to be
> sent/received in HCI_RAW mode I was wondering what would be involved
> in allowing raw SCO packets to be sent/received?
>
> This would be a useful feature for someone like me who works with
> Bluetooth firmware at this level on a daily basis.
>
> However, I can understand there may be some limitations.
>
> Is this something that can be realistically done?
I do not see a way to do this properly. The main problem here is the USB
transport. It requires special settings and active URBs.
Once you switch it to HCI_RAW mode, the Bluetooth host stack does no
command/event tracking and with that no connection tracking anymore.
This means it can not inform the driver about any changes. And for USB
it is required to change its alternate setting based on the number of
connections and start ISOC URBs. Having ISOC URBs submitted all the time
is not feasible either since that consumes way too much power.
For other transports like UART, the SCO packets in HCI_RAW mode should
still work.
Regards
Marcel
next prev parent reply other threads:[~2013-01-26 3:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-26 0:21 What is involved in supporting SCO packets in HCI_RAW mode? Eponymous -
2013-01-26 3:23 ` Marcel Holtmann [this message]
2013-01-28 9:45 ` Eponymous -
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=1359170626.16748.4.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=the.epon@gmail.com \
/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