Alan Stern wrote:

On Tue, 1 Mar 2005, Stavros Markou wrote:



In order to see that feature I 've issued ping to another network device with sizes divisible to maxpacketsize . Unfortunately, I haven't seen a zero - length packet using my usb analyzer.



Exactly what _do_ you see? And can you indicate where the zero-length packets should occur but don't?




I issue a ping request at another host with packet size that results a transfer buffer for bulk out urb that has length equal to maxpacketsize for the out endpoint (512).
The URB_ZERO_PACKET flag if set enables the host controller driver , I presume, to send a short packet containing no data if the data is aligned to an endpoint packet boundary. In my case when I set this flag I get the same behaviour when my data are aligned to packet size boundary and also when they aren't (no zero packet).


Alan Stern



Stavros Markou.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to