From: Jui-Hao Chiang <windtracekimo@gmail.com>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] Questions when tracing the hci_usb
Date: Mon, 14 Jul 2008 02:30:16 +0000 (UTC) [thread overview]
Message-ID: <loom.20080714T020902-534@post.gmane.org> (raw)
Hello, I am starting tracing the source code of hci_usb, and want to test the
Alternative Setting patches from Alok. But I have some questions:
(1) In hci_usb_isoc_rx_submit, I saw the usb_rcvisocpipe are initializing
settings for Host-side. But why is it necessary to call usb_submit_urb() to send
the urb, and then repeat infinitely in hci_usb_rx_complete when the returned
count is 0? Is that mandatory to do this to permit the usb device to send data
up to Host?
(2) Why the isoc is set to 2 in the beginning? What will happen when we set it
to something like "5" in the beginning? (Alok's patches seems to dynamically
adjust it depending on hdev->conn_hash.sco_num)
Thanks,
Jui-Hao
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2008-07-14 2:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-14 2:30 Jui-Hao Chiang [this message]
2008-07-21 3:05 ` [Bluez-devel] Questions when tracing the hci_usb Jui-Hao Chiang
2008-07-22 3:21 ` Jui-Hao Chiang
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=loom.20080714T020902-534@post.gmane.org \
--to=windtracekimo@gmail.com \
--cc=bluez-devel@lists.sourceforge.net \
/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