On Wed, Apr 29, 2009 at 07:44:54PM +0800, paul wrote: > Dear All, > > We met a problem of 3G modem uploading speed. > kernel version is 2.6.19 ,using option.ko , and we have changed > N_OUT_URB to 4 and OUT_BUFLEN to 1024 and some modification > according of 2.6.29. > Using this site to test uploading speed: > http://www.linkwan.com/gb/broadmeter/SpeedAuto/gotoSpeed.asp?SpeedUserId=65356 > and the result of uploading speed is about 300kbps. and in > windows xp its uploading speed is 800kbps. > in the code: > if (test_and_set_bit(i, &portdata->out_busy)) { > //printk("i=%d,time=%d\n",i,jiffies-portdata->tx_start_time[i]); > > //printk("urb busy,left=%d i = %d \n",left,i); > if (time_before(jiffies, > portdata->tx_start_time[i] + 10 * HZ)) > continue; > usb_unlink_urb(this_urb); > continue; > } > if using printk during test, it may tell us urb busy. > > anyone can give some help or any suggestion? See the archives of the mailing list for suggestions on what else you need to change (hint, look at the ppp code itself.) Also, the 2.6.19 kernel is very old, you might wish to upgrade it as well. good luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html