Commit 67c752b4 authored by Duncan Sands's avatar Duncan Sands Committed by Greg Kroah-Hartman

[PATCH] USBATM: change the default speedtouch iso altsetting

The maximum possible bandwidth for a speedtouch modem is about 7Mbaud.
You can only get this by using isochronous urbs (enable_isoc=1) and
altsetting 3.  With the current default altsetting of 2, the modem
maxes out at about 4Mbaud.  So change the default altsetting to 3
when using isochronous urbs.  It would be nice to base the altsetting
on the detected line speed, but that's hard given the current design.
Signed-off-by: default avatarDuncan Sands <baldrick@free.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 839ab1d4
...@@ -69,7 +69,7 @@ static const char speedtch_driver_name[] = "speedtch"; ...@@ -69,7 +69,7 @@ static const char speedtch_driver_name[] = "speedtch";
#define RESUBMIT_DELAY 1000 /* milliseconds */ #define RESUBMIT_DELAY 1000 /* milliseconds */
#define DEFAULT_BULK_ALTSETTING 1 #define DEFAULT_BULK_ALTSETTING 1
#define DEFAULT_ISOC_ALTSETTING 2 #define DEFAULT_ISOC_ALTSETTING 3
#define DEFAULT_DL_512_FIRST 0 #define DEFAULT_DL_512_FIRST 0
#define DEFAULT_ENABLE_ISOC 0 #define DEFAULT_ENABLE_ISOC 0
#define DEFAULT_SW_BUFFERING 0 #define DEFAULT_SW_BUFFERING 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment