On Tue, Apr 04, 2006 at 04:22:32PM -0700, Matt Porter wrote:
> This adds in the KPC650 ID to the airprime driver. It also adds the
> ability for the buffer size to be overridden from a driver before
> calling usb_serial_probe() and sets this to 2KB in the airprime wrapper.
> The reason for this is that on an EVDO provider, using the advertised
> packet size of 64 bytes as the buffer size results in some pretty
> slow downstream speeds. With the default buffer size one get a maximum
> of 100-150kbps even in an EVDO serviced area. With a 2KB buffer size,
> one gets the 400-1000ish kbps bandwidth that folks on "other OSes" get.
> 
> Using driver_data to override buffer_size may not be the best way,
> but I didn't see any other convenient way to do it. I'm open to
> suggestions here. Works fine for me on both the KPC650 and AirPrime
> 5220 cards.

No, don't modify the usb serial core for this.  If you really want a
bigger buffer, then just create your own buffer in the driver and use
that.  Just like the anydata.c driver does it.

Why not just add your device id to that driver instead?

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to