Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-21 Thread David Miller
From: Bjørn Mork Date: Wed, 18 Jun 2014 14:21:24 +0200 > Messages from the modem exceeding 256 bytes cause communication > failure. > > The WDM protocol is strictly "read on demand", meaning that we only > poll for unread data after receiving a notification from the modem. > Since we have no way

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-19 Thread Enrico Mioso
8 Jun 2014, Dan Williams wrote: ==Date: Wed, 18 Jun 2014 16:03:17 ==From: Dan Williams ==To: Bjørn Mork ==Cc: net...@vger.kernel.org, linux-usb@vger.kernel.org, ==Enrico Mioso ==Subject: Re: [PATCH net, ==stable] net: huawei_cdc_ncm: increase command buffer size == ==On Wed, 2014-06-18 at

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Bjørn Mork
, >== Enrico Mioso >==Subject: Re: [PATCH net, >== stable] net: huawei_cdc_ncm: increase command buffer size >== >==On Wed, 2014-06-18 at 14:21 +0200, Bjørn Mork wrote: >==> Messages from the modem exceeding 256 bytes cause communication >==> failure. >==> >

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Enrico Mioso
Mork ==Cc: net...@vger.kernel.org, linux-usb@vger.kernel.org, ==Enrico Mioso ==Subject: Re: [PATCH net, ==stable] net: huawei_cdc_ncm: increase command buffer size == ==On Wed, 2014-06-18 at 14:21 +0200, Bjørn Mork wrote: ==> Messages from the modem exceeding 256 bytes cause communicat

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Dan Williams
On Wed, 2014-06-18 at 14:21 +0200, Bjørn Mork wrote: > Messages from the modem exceeding 256 bytes cause communication > failure. > > The WDM protocol is strictly "read on demand", meaning that we only > poll for unread data after receiving a notification from the modem. > Since we have no way to

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Enrico Mioso
@vger.kernel.org, Bjørn Mork , ==Enrico Mioso ==Subject: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size == ==Messages from the modem exceeding 256 bytes cause communication ==failure. == ==The WDM protocol is strictly "read on demand", meaning that we only ==poll for u

Re: [PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Enrico Mioso
e can you CC Oliver so that he knows? Acked-By: Enrico Mioso On Wed, 18 Jun 2014, Bjørn Mork wrote: ==Date: Wed, 18 Jun 2014 14:21:24 ==From: Bjørn Mork ==To: net...@vger.kernel.org ==Cc: linux-usb@vger.kernel.org, Bjørn Mork , ==Enrico Mioso ==Subject: [PATCH net,stable] net: huawei_cd

[PATCH net,stable] net: huawei_cdc_ncm: increase command buffer size

2014-06-18 Thread Bjørn Mork
Messages from the modem exceeding 256 bytes cause communication failure. The WDM protocol is strictly "read on demand", meaning that we only poll for unread data after receiving a notification from the modem. Since we have no way to know how much data the modem has to send, we must make sure that