Re: [PATCH] USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND

2013-03-18 Thread Oliver Neukum
On Sunday 17 March 2013 21:00:06 Bjørn Mork wrote: > Aleksander Morgado: > "We do really need max message size for MBIM; and as you say, it may be > good to have the max message size info also for QMI, so the new ioctl > seems a good addition. So +1 from my side, for what it's worth." > > D

[PATCH] USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND

2013-03-17 Thread Bjørn Mork
Userspace applications need to know the maximum supported message size. The cdc-wdm driver translates between a character device stream and a message based protocol. Each message is transported as a usb control message with no further encapsulation or syncronization. Each read or write on the cha