logo       

Updated WM5 patch: msg#00020

handhelds.ipaq.synce.devel

Subject: Updated WM5 patch

Hi,

Here's an updated version of the original WM5 patch. It doesn't yet
solve the compatibility problem with some WM5 devices, which is still
under investigation.

What's new is that performance has been improved from ~150 kB/sec
(testing with pcp, with vdccm running without any debug output), to
450-460 kB/sec, which is a 3x performance improvement. This was
achieved by fixing a bug in usbnet.c where it doesn't cope with
partial frames, so that if one USB transfer contains say 300 bytes of
the first RNDIS packet message, and the next transfer contains the
rest of it plus say 5 more RNDIS packet messages, they would all just
get dropped resulting in multiple re-transmits, and thus a big
performance hit.
I'm not sure if my fix is the "right" approach, as I'm still quite new
to kernel development in general, but at least it's a step in the
right direction.

There's also much more debug output now, as rndis_host does far more
querying when the device is connected, which could prove useful in
pinpointing the differences between working and non-working devices.

Regards,
Ole André

Attachment: linux-2.6.16.2-rndis_host-wm5-r5-verbose.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise