This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Packet Size of Usb-Serial Device

Guru 20755 points

Hello,

I am using davinci kernel 2.6.37 with usb modem (sierra wireless AirPrime MC8790V), and I noticed that the packet size is limited to 500bytes when using the modem: I ping with diffrerent  length, and see that the maximum length for which ping succeed is limited to 500 bytes. Above it the pibg fails, and the reception  of the modem will not succeed any more (until reset)

I see that buffer size is set in drivers / usb / serial / sierra.c :

buffer_size = max_t(int, serial->type->bulk_in_size,
le16_to_cpu(endpoint->wMaxPacketSize));
Do you have any idea how to chnage the packet size for this Usb modem ?
Thank you very much,
Ran