Re: DWC3 DEPEVT_STATUS_SHORT

2019-01-18 Thread Felipe Balbi
(no top-posting, please david preetham writes: >> > How device controller will know short packet or end of transfer apart >> from >> > checking req length and received length from host is there anything host >> > informs this is short packet to device controller? Suppose there 2gb file >> > is g

Re: DWC3 DEPEVT_STATUS_SHORT

2019-01-16 Thread Felipe Balbi
Hi, (break your lines at 80-columns) david preetham writes: > In DWC3 USB device controller, on which basis event->status & > DEPEVT_STATUS_SHORT is set who will set? I understand if we receive > less bytes we are going to set short packet. > > Suppose gadget driver requested 1MB req length, D

Re: DWC3 DEPEVT_STATUS_SHORT

2019-01-11 Thread Felipe Balbi
Hi, david preetham writes: > Dear Balbi, > > In DWC3 USB device controller, on which basis event->status & > DEPEVT_STATUS_SHORT is set when we have a short packet > who will set? I understand if we receive less bytes we are going to HW will set it > set short packet. > > Suppose gadget driv