English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

project home | /[freewrt]/branches/freewrt_1_0/target/linux/generic-2.4/patches/221-usb_serial_endpoint_size.patch
ViewVC logotype

Log of /branches/freewrt_1_0/target/linux/generic-2.4/patches/221-usb_serial_endpoint_size.patch

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3782 - (view) (download) (annotate) - [select for diffs]
Added Wed Jul 30 17:29:57 2008 UTC (5 years, 6 months ago) by dnehring
File length: 1212 byte(s)
By default the linux usb core sees only 64 bytes of capacity. Without this work-around there is no way to specify what the maximum packet size on the inbound bulk endpoint should be. If you consider that the MTU on these cards is set at 1500 and the usb bulk endpoint callbacks are only reading 64 bytes at a time off of the serial tty, it doesn't take long to start dropping packets and seriously junkify your connection.

This patch adds a third module parameter so you can specify what you think the inbound endpoint maximum packet size should be. If the parameter is not set at module loading time, it defaults to 0 and the maximum packet size detected by the usb core will be used.

The parameter name is : maxSize.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20