From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Zhu Subject: Re: Is this 32-bit NCM? Date: Wed, 3 Dec 2014 06:05:37 +0000 Message-ID: <547EA82F.5050500@audiocodes.com> References: <87ppc71xne.fsf@nemi.mork.no> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: =?Windows-1252?Q?Bj=F8rn_Mork?= , Eli Britstein , Alex Strizhevsky , "Midge Shaojun Tan" , "youtux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" To: Enrico Mioso Return-path: In-Reply-To: Content-Language: en-US Content-ID: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org OK. I will. Thank you for everything! Regards, Kevin On 12/03/2014 02:00 PM, Enrico Mioso wrote: > Yes - I think this would be ok. You might try this with the 16-bit ri= ver first, > and then with the 32-bit one to see how things work. > I hope for the best. > Let us all know, > Enrico > > > On Wed, 3 Dec 2014, Kevin Zhu wrote: > > =3D=3DDate: Wed, 3 Dec 2014 06:38:27 > =3D=3DFrom: Kevin Zhu > =3D=3DTo: Enrico Mioso > =3D=3DCc: Bj=F8rn Mork , Eli Britstein , > =3D=3D Alex Strizhevsky , > =3D=3D Midge Shaojun Tan , > =3D=3D "youtux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , > =3D=3D "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , > =3D=3D "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" > =3D=3DSubject: Re: Is this 32-bit NCM? > =3D=3D > =3D=3DMy dongle also works with the huawei driver. I think only the 3= 2bit > =3D=3Dformat and NDP location matter. We may modify the TX function t= o put NTH > =3D=3Dand NDP at the beginning of a NTB and see if it will work with = the > =3D=3Ddriver cdc_ncm. > =3D=3D > =3D=3DRegards, > =3D=3DKevin > =3D=3D > =3D=3DOn 12/02/2014 11:28 PM, Enrico Mioso wrote: > =3D=3D> ... And what do you think about the source code of their ndis= driver? > =3D=3D> We at least know now the device work with it, so we have some= thing to mimic :D > =3D=3D> thank you for your work and patience Kevin. > =3D=3D> > =3D=3D> On Tue, 2 Dec 2014, Kevin Zhu wrote: > =3D=3D> > =3D=3D> =3D=3DDate: Tue, 2 Dec 2014 16:04:25 > =3D=3D> =3D=3DFrom: Kevin Zhu > =3D=3D> =3D=3DTo: Enrico Mioso , Bj=F8rn Mork > =3D=3D> =3D=3DCc: Eli Britstein , > =3D=3D> =3D=3D Alex Strizhevsky , > =3D=3D> =3D=3D Midge Shaojun Tan , > =3D=3D> =3D=3D "youtux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , > =3D=3D> =3D=3D "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , > =3D=3D> =3D=3D "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" > =3D=3D> =3D=3DSubject: Re: Is this 32-bit NCM? > =3D=3D> =3D=3D > =3D=3D> =3D=3DI do not understand why the wSequence matters. By the w= ay, I think I see some NDPs are right after NTH headers in the windows = capture. > =3D=3D> =3D=3D > =3D=3D> =3D=3D________________________________________ > =3D=3D> =3D=3DFrom: Enrico Mioso > =3D=3D> =3D=3DSent: Tuesday, December 2, 2014 21:53 > =3D=3D> =3D=3DTo: Bj=F8rn Mork > =3D=3D> =3D=3DCc: Kevin Zhu; Eli Britstein; Alex Strizhevsky; Midge S= haojun Tan; youtux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; netdev@vger.k= ernel.org > =3D=3D> =3D=3DSubject: Re: Is this 32-bit NCM? > =3D=3D> =3D=3D > =3D=3D> =3D=3DThank you very much Bjorn. > =3D=3D> =3D=3D > =3D=3D> =3D=3D > =3D=3D> =3D=3DOn Tue, 2 Dec 2014, Bj=F8rn Mork wrote: > =3D=3D> =3D=3D > =3D=3D> =3D=3D=3D=3DDate: Tue, 2 Dec 2014 14:37:03 > =3D=3D> =3D=3D=3D=3DFrom: Bj=F8rn Mork > =3D=3D> =3D=3D=3D=3DTo: Enrico Mioso > =3D=3D> =3D=3D=3D=3DCc: Kevin Zhu , > =3D=3D> =3D=3D=3D=3D Eli Britstein , > =3D=3D> =3D=3D=3D=3D Alex Strizhevsky , > =3D=3D> =3D=3D=3D=3D Midge Shaojun Tan , > =3D=3D> =3D=3D=3D=3D "youtux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , > =3D=3D> =3D=3D=3D=3D "linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , > =3D=3D> =3D=3D=3D=3D "netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" > =3D=3D> =3D=3D=3D=3DSubject: Re: Is this 32-bit NCM? > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3DEnrico Mioso writes: > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3D> ... but out of curiosity: are NCM specs allowin= g to change order of things in > =3D=3D> =3D=3D=3D=3D> the package or not? > =3D=3D> =3D=3D=3D=3D> This is not to start philosofical falames or so= mething, but to understand > =3D=3D> =3D=3D=3D=3D> better how things work. And, if they do: how mu= ch arbitrarily? > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3DOnly the NTB header has a fixed location. The res= t can be anywhere and > =3D=3D> =3D=3D=3D=3Din any order. Quoting from section 3 Data Transpo= rt: > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3D "Within any given NTB, the NTH always must be f= irst; but the other > =3D=3D> =3D=3D=3D=3D items may occur in arbitrary order." > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3D=3D=3DBj=F8rn > =3D=3D> =3D=3D=3D=3D > =3D=3D> =3D=3DThis email and any files transmitted with it are confid= ential material. They are intended solely for the use of the designated= individual or entity to whom they are addressed. If the reader of this= message is not the intended recipient, you are hereby notified that an= y dissemination, use, distribution or copying of this communication is = strictly prohibited and may be unlawful. > =3D=3D> =3D=3D > =3D=3D> =3D=3DIf you have received this email in error please immedia= tely notify the sender and delete or destroy any copy of this message > =3D=3D> =3D=3D > =3D=3DThis email and any files transmitted with it are confidential m= aterial. They are intended solely for the use of the designated individ= ual or entity to whom they are addressed. If the reader of this message= is not the intended recipient, you are hereby notified that any dissem= ination, use, distribution or copying of this communication is strictly= prohibited and may be unlawful. > =3D=3D > =3D=3DIf you have received this email in error please immediately not= ify the sender and delete or destroy any copy of this message > =3D=3D This email and any files transmitted with it are confidential material.= They are intended solely for the use of the designated individual or e= ntity to whom they are addressed. If the reader of this message is not = the intended recipient, you are hereby notified that any dissemination,= use, distribution or copying of this communication is strictly prohibi= ted and may be unlawful. If you have received this email in error please immediately notify the = sender and delete or destroy any copy of this message -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html