From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: btusb and HCI_RAW
Date: Fri, 28 Nov 2008 10:13:42 +0100 [thread overview]
Message-ID: <492FB646.3010808@parrot.com> (raw)
In-Reply-To: <E076769D-FF2D-4ADC-8E00-4CCAFD5A53FA@holtmann.org>
Hi Marcel,
Marcel Holtmann a écrit :
> Hi Matthieu,
>
>> But hci_usb wasn't doing that (ie always use max alternate setting +
>> submit sco/alc urb), and I wasn't under the impression that it costs too
>> much CPU power.
>
> there is not concept of max alternate setting. You just have to use the
> right one and powertop showed the difference in power consumption.
>
Ok, but in normal case HCI_RAW isn't enabled ?
So the high power consumption only happen when you use this mode, which
shouldn't happen for normal users ?
>>> So this is a little bit
>>> pointless here and before just worked by pure luck. Why do you want this
>>> support in the first place?
>>>
>> This can be helpful to test userspace bluetooth stack or do some fuzzing.
>
> I seriously couldn't care less about any userspace Bluetooth stack. Also
> why is RAW not working for ACL packets.
Do you mean HCI_RAW or l2cap raw ?
For HCI_RAW case, what will call hci_connect for ACL_LINK ?
This seems need to have "hdev->conn_hash.acl_num > 0" .
> adapter is brought up properly and switched to RUNNING state. SCO will
> not be possible without magic.
Also why in hci_sock_sendmsg there isn't check to return error if it is
impossible to send raw sco/acl ?
Regards,
Matthieu
prev parent reply other threads:[~2008-11-28 9:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-10 17:01 btusb and HCI_RAW Matthieu CASTET
2008-11-24 2:57 ` Marcel Holtmann
2008-11-27 17:02 ` Matthieu CASTET
2008-11-27 19:08 ` Marcel Holtmann
2008-11-28 9:13 ` Matthieu CASTET [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=492FB646.3010808@parrot.com \
--to=matthieu.castet@parrot.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=marcel@holtmann.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.