why a dwc3 usb controller didnot report xfercomplete event? Or the gadget driver missed that event?

Android phone that use usb connect to a PC, open the rndis, then do iperf test between the phone and the PC. After a few of hour's test, the endpoint of rndis, ep1out, didnot receive a xfercomplete event that the gadget driver should receve after sent transfer command.

I try to enlarge event buffer size from 256 to 4096, also enlage the grxfifosize from delault value , but the issue remains.

The code is open souce from the synopsys that you can find at kernel/drivers/usb/dwc3/gadget.c

Thanks in advance.

Read more here: https://stackoverflow.com/questions/65839985/why-a-dwc3-usb-controller-didnot-report-xfercomplete-event-or-the-gadget-driver

Content Attribution

This content was originally published by Boogie at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: