<div dir="ltr"><div><div>thanks Bjorn,<br> <a href="http://patchwork.ozlabs.org/patch/269325/" target="_blank">http://patchwork.ozlabs.org/patch/269325/</a> served my purpose i am using devices E303 (AT cmds for management and NCM protocol for data transfer).The patch you shared registering subdriver cdc-wdm for control endpoint and cdc_ncm driver for bulk endpoints. If i send at^ndisdip=1,1,"apn","","",2 through /dev/cdc-wdmX once i will get response and after that running udhcpc on wwanX interface connecting to network.<br>
</div></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 2, 2013 at 12:57 PM, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">david preetham <<a href="mailto:preetham.david@gmail.com">preetham.david@gmail.com</a>> writes:<br>

<br>
> Hi Bjorn Thanks for the reply.<br>
><br>
> Can i know which are equivalent drivers can load for ndis interface in<br>
> huawei E3121 device?<br>
> The network interface is qmi + ncm based.<br>
<br>
</div>It is?  Haven't heard about that combination before.  Do you have a<br>
"lsusb -v" ouput for that device.  Huawei are nice enough to use the<br>
subclass and protocol fields to separate different function types.  I<br>
wonder what this device says..<br>
<div class="im"><br>
> will cdc_ncm for data plane and cdc_wdm for control interface will work?<br>
> Which driver handling qmi and ncm protocol.<br>
<br>
</div>This is getting a bit ugly.  But Enrico Mioso has created a NCM driver<br>
similar to qmi_wwan, exposing the embedded management channel as a<br>
/dev/cdc-wdmX device: <a href="http://patchwork.ozlabs.org/patch/269325/" target="_blank">http://patchwork.ozlabs.org/patch/269325/</a><br>
<br>
The driver was made for modems using AT commands on the management<br>
channel, but it should work equally well with QMI.  I guess it will be<br>
up to ModemManager to guess the protocol based on either probing or<br>
device ID...  The driver won't know.<br>
<br>
But this driver is not yet merged.  It is work in progress.  You'll need<br>
the two other patches in the series if you want to test it now:<br>
<br>
<a href="http://patchwork.ozlabs.org/patch/269327/" target="_blank">http://patchwork.ozlabs.org/patch/269327/</a><br>
<a href="http://patchwork.ozlabs.org/patch/269326/" target="_blank">http://patchwork.ozlabs.org/patch/269326/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Bjørn<br>
</font></span></blockquote></div><br></div>