>
> @@ -178,16 +182,16 @@
>
> tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
> return (((input_dir) ? 7268L : 6265L) + BW_HOST_DELAY + tmp);
> -} /* end calc_bus_time */
> +}
How did you derive the magic constants?
> + bustime = usb_calc_bus_time (usb_pipeslow(pipe), usb_pipein(pipe),
> + usb_pipeisoc(pipe), usb_maxpacket(dev, pipe,
>usb_pipeout(pipe)));
> + if (usb_pipeisoc(pipe))
> + bustime = NS_TO_US(bustime) / urb->number_of_packets;
> + else
> + bustime = NS_TO_US(bustime);
I don't quite understand the logic of this. Why don't you take into
account the actual lengths of the packets? And why the division by
urb->number_of_packets?
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]