You're right, that makes no sense...as far as I can tell it should be 
taken out completely.  

Greg, do you know of any reason for that code?


On Fri, 29 Jul 2005, Alan Stern wrote:

>Dan:
>
>While you're looking at usb_calc_bus_time, check out the following two 
>lines from usb_check_bandwidth:
>
>       if (is_iso)
>               bustime /= urb->number_of_packets;
>
>I don't understand this at all.  bustime was computed based on the
>maxpacket size; it should have nothing to do with the number of packets in
>an ISO transfer.  Furthermore, bandwidth calculations are always done
>per-frame, whereas different ISO packets from an URB are sent in different
>frames (when running at full speed).
>
>Alan Stern
>

-- 
Dan Streetman
[EMAIL PROTECTED]
---------------------
186,272 miles per second:
It isn't just a good idea, it's the law!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to