FASTBOOT: Download performance tuning

Increase bulk packet size from 512 to 1024, which helps download
throughput on Linux.  For some reason my MacbookPro gives slower
download throughput.

Also eliminate one level of memcpy by changing the rcv_urb buffer
to point directly to our transfer buffer during a download.

Change-Id: Ie9d687f7d6bd56f0e7967a9bbab0b8a3b4a27b0b
Signed-off-by: Mike J. Chen <[email protected]>
2 files changed