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



-------------------------------------------------------
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
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to