From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enrico Mioso Subject: Re: Is this 32-bit NCM?y Date: Thu, 4 Dec 2014 10:53:49 +0100 (CET) Message-ID: References: <547D37CA.7050506@audiocodes.com> <547D5F84.6020608@audiocodes.com> <547D6D7B.5090704@audiocodes.com> <547D7243.80508@audiocodes.com> <87fvcyqoup.fsf@nemi.mork.no> <87lhmqp400.fsf@nemi.mork.no> <1417532733483.89987@audiocodes.com> <547EA1D1.8010202@audiocodes.com> <547EA82F.5050500@audiocodes.com> <548020DD.3030705@audiocodes.com> <874mtbojqo.fsf@nemi.mork.no> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-879334618-1417686830=:3861" Cc: Kevin Zhu , Eli Britstein , Alex Strizhevsky , Midge Shaojun Tan , "youtux@gmail.com" , "linux-usb@vger.kernel.org" , "netdev@vger.kernel.org" To: =?ISO-8859-15?Q?Bj=F8rn_Mork?= Return-path: Received: from mail-wg0-f52.google.com ([74.125.82.52]:51138 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753049AbaLDJxR (ORCPT ); Thu, 4 Dec 2014 04:53:17 -0500 In-Reply-To: <874mtbojqo.fsf@nemi.mork.no> Sender: netdev-owner@vger.kernel.org List-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-879334618-1417686830=:3861 Content-Type: TEXT/PLAIN; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT Guys! Don't forget I can test it - since I have a remote machine with 3.16 kernel and the device, at least for now. So - Bjorn: do I need just to disable padding or do I need also to perform some other changes? I am sorry if I ask this a little bit stupidly, but I was alittle bit busy here. On Thu, 4 Dec 2014, Bjørn Mork wrote: > Date: Thu, 4 Dec 2014 10:19:11 > From: Bjørn Mork > To: Kevin Zhu > Cc: Enrico Mioso , > Eli Britstein , > Alex Strizhevsky , > Midge Shaojun Tan , > "youtux@gmail.com" , > "linux-usb@vger.kernel.org" , > "netdev@vger.kernel.org" > Subject: Re: Is this 32-bit NCM?y > > Kevin Zhu writes: > >> Guys, >> >> After rearranging the padding, putting NCM0 right after NTH, and disable >> ARP (FLAG_NOARP) and handling the offset alignment issue, it seems it >> begins to work, though there's still problem with DHCP. > > Great! But it would be good to know if _one_ of these changes is enough > to make it work. > >> The DHCP packet's size becomes a large one after the TX function, which >> is 16384, the maximum. > > You can now (from v3.16) disable the padding by setting min_tx_pkt >= tx_max. > Something like this should do for a simple test: > > echo 16384 >/sys/class/net/wwan0/cdc_ncm/min_tx_pkt > > > Bjørn > --8323328-879334618-1417686830=:3861--