On Sat, 5 Oct 2002, invictus rm wrote:

| hi ,
|   While implementing sensors for streaming data transfer(isoc) , i needed to
| know the isochronous bandwidth allocation scheme being followed in usb.c .
| To be more precise, the following lines, from usb.c
|
| if (!isoc)              /* Input or Output */
|         {
|                 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
|                 return (9107L + BW_HOST_DELAY + tmp);
|         } /* end not Isoc */
|
|         /* for isoc: */
|
|         tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
|         return (((input_dir) ? 7268L : 6265L) + BW_HOST_DELAY + tmp);
| }
|
| Can somebody explain me the meaning of all the numbers used ?? What is the
| basis of using the above formula..

Uhm, they are mostly based on numbers in the USB 1.1 spec,
but that was what, 2-3 years ago, so I can't tell you for sure.

| Any help will speeden up my development progress.

This comes up occasionally, i.e., there are a few past emails
about it:  bandwidth allocation/management in linux-usb needs
a good bit of work.  Please search archives for the discussion.

I expect that noone is seriously using bandwidth allocation in
linux-usb right now.

-- 
~Randy



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to