andreiw / RaspberryPiPkg

DEPRECATED - DO NOT USE | Go here instead ->
https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi3
746 stars 143 forks source link

Improve timeout handling in DwUsbHostDxe #139

Closed pbatard closed 4 years ago

pbatard commented 4 years ago

Networking applications (e.g. iPXE) might experience failures when submitting a bulk IN for the NIC's RX endpoint, because the bulk IN (correctly) times out when no received packet is waiting, but DwUsbHostDxe.c treats this as a fatal error.

With these patches, iPXE is able to successfully download a 128MB test file via HTTP.

Note: This is a merge of:

andreiw commented 4 years ago

Awesome. I wonder if this will fix CBI devices like USB floppy...and some continued reports of non-working keyboards.