Re: spec violation of xHCI?

看板FB_current作者時間12年前 (2013/12/22 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串14/16 (看更多)
On 12/12/13 08:15, Hans Petter Selasky wrote: > On 12/12/13 01:59, Kohji Okuno wrote: > > Hi Kohji, > > Did you check using a USB analyzer what the difference is when setting > the CHAIN bit and not setting the chain bit? > > I would guess that if you set the CHAIN-bit in this case, no ZLP will be > sent, because the TRB is associated with the previous one. > > What endpoint type is this? BULK/CONTROL/INTR/ISOC > > What direction is this? IN or OUT? > > --HPS Hi Kohji, If there is no CHAIN bit in the IN-direction, my TD chain will receive multiple short packets. This is of course not correct. This only happens if you have very large buffers above 64KByte that don't fit in a single TD. For OUT direction: There are no short packets received, though errors can happen and those will stop the endpoint. Are we sure that by setting the CHAIN bit, that the HC's will transfer ZLP's if the length of the second last "TD" is a multiple of wMaxPacketSize and the last one has a length of zero bytes? I will do some testing to verify the corner cases. Thank you! --HPS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1Ijbqqqg (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1Ijbqqqg (FB_current)