Point to Point interface over qmi_wwan device

Tang Nguyen tang_nguyen at yahoo.com
Thu Oct 6 19:45:58 UTC 2016


--------------------------------------------
On Thu, 10/6/16, Bjørn Mork <bjorn at mork.no> wrote:

 Subject: Re: Point to Point interface over qmi_wwan device
 To: "Tang Nguyen" <tang_nguyen at yahoo.com>
 Cc: "Dan Williams" <dcbw at redhat.com>, "libqmi (development)" <libqmi-devel at lists.freedesktop.org>, "Reinhard Speyerer" <rspmn at arcor.de>
 Date: Thursday, October 6, 2016, 3:28 PM
 
 Tang Nguyen <tang_nguyen at yahoo.com>
 writes:
 
 > Thank you
 Bjorn, but it doesn't help when i applied that patch. 
 All
 > incoming packets are still
 dropped.  Any other patch or file I should
 > take a look on ?  You mentioned
 minidriver in your commit, would you
 >
 please let me know what is it ? I might get some hint from
 your answer
 > to get raw-ip mode working
 with kernel 3.14.68.
 
 I
 don't think anything else is strictly necessary.  The
 only other patch
 relevant to raw-ip between
 v4.4 and v4.5 is this one:


 
 
 6c730080e663 ("net: qmi_wwan: should hold RTNL while
 changing netdev type")
 
 You do want that as well, but it is only a
 bugfix and missing it should
 not prevent the
 device from working.
 
 Debugging backports is an art in itself... Try
 adding some debug output
 to figure out where
 and why the packets are dropped.
 
 
 
 Bjørn

It is my bad.  I manually apply the patch but forgot to remove the 
line:  "skb->protocol = eth_type_trans (skb, dev->net)", so your fix is not applied in my test.
I am so sorry for that, and thank you so much Bjorn, and all.

I now get raw-ip mode working on Kernel 3.14.x  with 2 patches that you mentioned. 

Tang


 _______________________________________________
 libqmi-devel mailing list
 libqmi-devel at lists.freedesktop.org
 https://lists.freedesktop.org/mailman/listinfo/libqmi-devel
 


More information about the libqmi-devel mailing list