Re: Is this 32-bit NCM?y

2014-12-04 Thread Kevin Zhu
ec 2014 12:44:56 >> From: Bjørn Mork >> To: Midge Shaojun Tan >> Cc: Enrico Mioso , >> Kevin Zhu , >> Eli Britstein , >> Alex Strizhevsky , >> "you...@gmail.com" , >> "linux-usb@vger.kernel.org" , >>

Re: Is this 32-bit NCM?y

2014-12-04 Thread Kevin Zhu
I will find it out. And I don't have v3.16 and I'm not going to upgrade my OS to that. Sorry. So I would just stick to v3.13. Anyway, that size is wrong, it should be fixed. Regards, Kevin On 12/04/2014 05:19 PM, Bjørn Mork wrote: > Kevin Zhu writes: > >> Guys, >&

Re: Is this 32-bit NCM?y

2014-12-04 Thread Kevin Zhu
think it could be a good iea... or > does the hw_cdc_driver do that? > thank you again, > Enrico > > > > On Thu, 4 Dec 2014, Kevin Zhu wrote: > >> Date: Thu, 4 Dec 2014 09:52:49 >> From: Kevin Zhu >> To: Enrico Mioso >> Cc: Bjørn Mork , Eli Britstein

Re: Is this 32-bit NCM?y

2014-12-04 Thread Kevin Zhu
r if there is any progress, > Enrico > > > On Wed, 3 Dec 2014, Kevin Zhu wrote: > >> Date: Wed, 3 Dec 2014 07:05:37 >> From: Kevin Zhu >> To: Enrico Mioso >> Cc: Bjørn Mork , Eli Britstein >> , >> Alex Strizhevsky , >> Midg

Re: Is this 32-bit NCM?

2014-12-02 Thread Kevin Zhu
t; Enrico > > > On Wed, 3 Dec 2014, Kevin Zhu wrote: > > ==Date: Wed, 3 Dec 2014 06:38:27 > ==From: Kevin Zhu > ==To: Enrico Mioso > ==Cc: Bjørn Mork , Eli Britstein > , > ==Alex Strizhevsky , > ==Midge Shaojun Tan , > =="you...@gmai

Re: Is this 32-bit NCM?

2014-12-02 Thread Kevin Zhu
And what do you think about the source code of their ndis driver? > We at least know now the device work with it, so we have something to mimic :D > thank you for your work and patience Kevin. > > On Tue, 2 Dec 2014, Kevin Zhu wrote: > > ==Date: Tue, 2 Dec 2014 16:04:25 > ==From: K

Re: Is this 32-bit NCM?

2014-12-02 Thread Kevin Zhu
I do not understand why the wSequence matters. By the way, I think I see some NDPs are right after NTH headers in the windows capture. From: Enrico Mioso Sent: Tuesday, December 2, 2014 21:53 To: Bjørn Mork Cc: Kevin Zhu; Eli Britstein; Alex Strizhevsky

Re: Is this 32-bit NCM?

2014-12-02 Thread Kevin Zhu
"Maximum number of datagrams in NTB" FlowControlTimeout = "Flow Control timeout interval in ms" DisableAccumulationUpdate = "Flag to disable NCM accumulation auto updation" WwanMbimEnable = "Flag to enable WWAN MBIM function" NcmReiniti

Re: Is this 32-bit NCM?

2014-12-01 Thread Kevin Zhu
27;s > ^DSFLOWRPT > might be useful to some extent, but ... this is only just a note in case we > don't find anything else. > Regards ... and good day to all of you, > Enrico > > > On Tue, 2 Dec 2014, Kevin Zhu wrote: > > ==Date: Tue, 2 Dec 2014 07:43:24 > ==From:

Re: Is this 32-bit NCM?

2014-12-01 Thread Kevin Zhu
this is only just a note in case we > don't find anything else. > Regards ... and good day to all of you, > Enrico > > > On Tue, 2 Dec 2014, Kevin Zhu wrote: > > ==Date: Tue, 2 Dec 2014 07:43:24 > ==From: Kevin Zhu > ==To: Enrico Mioso > ==Cc: Eli Britstein , Bjø

Re: Is this 32-bit NCM?

2014-12-01 Thread Kevin Zhu
u have any Huawei manutal talking about it: even device's > ^DSFLOWRPT > might be useful to some extent, but ... this is only just a note in case we > don't find anything else. > Regards ... and good day to all of you, > Enrico > > > On Tue, 2 Dec 2014, Kevin Zhu w

Re: Is this 32-bit NCM?

2014-12-01 Thread Kevin Zhu
he test system. > > > On Tue, 2 Dec 2014, Kevin Zhu wrote: > > ==Date: Tue, 2 Dec 2014 04:53:53 > ==From: Kevin Zhu > ==To: Eli Britstein , > ==Enrico Mioso > ==Cc: Bjørn Mork , Alex Strizhevsky , > ==Midge Shaojun Tan , > =="you...@gmail.com"

Re: Is this 32-bit NCM?

2014-12-01 Thread Kevin Zhu
Hi, The DHCP packets have the maximum size of dwNtbOutMaxSize=16384, while the other packets are less than that. However, the DHCP queries are not replied in time either, there's always some delay. By the way, though the device claims to support GET_MAX_DATAGRAM_SIZE, but it returns error when th

Re: Is this 32-bit NCM?

2014-11-30 Thread Kevin Zhu
s sunday. > > > On Mon, 1 Dec 2014, Kevin Zhu wrote: > > ==Date: Mon, 1 Dec 2014 04:14:10 > ==From: Kevin Zhu > ==To: Enrico Mioso , Alex Strizhevsky > ==Cc: Eli Britstein , > =="linux-usb@vger.kernel.org" , > =="you...@gmail.com" , > ==

Re: Is this 32-bit NCM?

2014-11-30 Thread Kevin Zhu
Hi, My dongle firmware version is 21.286.03.01.209, not working either. Regards, Kevin On 11/30/2014 06:18 PM, Enrico Mioso wrote: > Sorry - by error I did not send the message to all. > Hi everyone, and good Sunday! > The problem is that - between those two firmwares things might change, and so

Re: Is this 32-bit NCM?

2014-11-30 Thread Kevin Zhu
Sorry for the late reply. I tried to calculate the offset as what windows did, but it did not help. Regards, Kevin On 12/01/2014 02:36 AM, Enrico Mioso wrote: > Thank you Bjorn for the help and suggestions. > These are parameters that the driver ends up choosing: > /sys/class/net/wwan0/cdc_ncm/b

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
The only difference I can tell now is windows does not pack the NDP with zeros, it just sends whatever the skb buffer has, except the alignment. Regards, Kevin On 11/28/2014 05:17 PM, Enrico Mioso wrote: > Sorry - resending message to all. > Is the MAC right? In my case it was, but ... you never

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
Yes. The MACs are right. When I started Wireshark, promisc mode was set. Regards, Kevin On 11/28/2014 05:17 PM, Enrico Mioso wrote: > Sorry - resending message to all. > Is the MAC right? In my case it was, but ... you never know. > And - have you tried the promisc mode, just in case... don't kno

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
y, as our modification is based on > the > cdc_ncm.c file from the git tree for logical reason. > > > On Fri, 28 Nov 2014, Kevin Zhu wrote: > > ==Date: Fri, 28 Nov 2014 09:37:30 > ==From: Kevin Zhu > ==To: Enrico Mioso > ==Cc: Alex Strizhevsky , Bjørn Mork , &g

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
- and sorry for being not so helpful... > > > On Fri, 28 Nov 2014, Kevin Zhu wrote: > > ==Date: Fri, 28 Nov 2014 09:37:30 > ==From: Kevin Zhu > ==To: Enrico Mioso > ==Cc: Alex Strizhevsky , Bjørn Mork , > ==Midge Shaojun Tan , > =="you...@gmail.com&quo

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
k you Kevin for your work - and sorry for being not so helpful... > > > On Fri, 28 Nov 2014, Kevin Zhu wrote: > > ==Date: Fri, 28 Nov 2014 09:37:30 > ==From: Kevin Zhu > ==To: Enrico Mioso > ==Cc: Alex Strizhevsky , Bjørn Mork , > ==Midge Shaojun Tan , >

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
t; cdc_ncm deriver as in kernel git tree, line 490. > > > On Fri, 28 Nov 2014, Kevin Zhu wrote: > > ==Date: Fri, 28 Nov 2014 07:24:49 > ==From: Kevin Zhu > ==To: Alex Strizhevsky , Bjørn Mork , > ==Midge Shaojun Tan > ==Cc: Enrico Mioso , "you...@gmail.com&

Re: Is this 32-bit NCM?

2014-11-28 Thread Kevin Zhu
e "ncm0" string? > So in particular a simple line needs to be modified in practice in the driver, > or am I totally misguised? > Is our "offset" parameter calculatedsuitably in the driver? Looking at it, any > comment appreciated. > > > On Fri, 28 Nov 2014