1
0
Fork 0
forked from mirror/openwrt
openwrt/package
Koen Vandeputte 046222dfaf uqmi: fix raw-ip mode for newer lte modems
Some newer LTE modems, like the MC7455 or EC25-E do not support
"802.3" mode, and will stay in "raw-ip" regardless of the mode being
set.

In this case, the driver must be informed that it should handle all
packets in raw mode. [1]

This commit fixes connectivity issues for these devices.

Before:

[ Node 5 ] udhcpc -i wwan0
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending discover
udhcpc: sending discover

After:

[ Node 5 ] udhcpc -i wwan0
udhcpc: started, v1.27.2
udhcpc: sending discover
udhcpc: sending select for 100.66.245.226
udhcpc: lease of 100.66.245.226 obtained, lease time 7200
udhcpc: ifconfig wwan0 100.66.245.226 netmask 255.255.255.252 broadcast
+
udhcpc: setting default routers: 100.66.245.225

[1] https://lists.freedesktop.org/archives/libqmi-
devel/2017-January/002064.html

Tested on cns3xxx using a Sierra Wireless MC7455 LTE-A

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
[bumped PKG_RELEASE]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-02-18 09:34:32 +01:00
..
base-files base-files: don't evaluate block-device uevent 2018-02-15 14:39:47 +01:00
boot package/grub2: update to 2.02 2017-12-13 15:54:12 +01:00
devel perf: use libunwind 2018-02-13 12:37:52 +01:00
firmware ath10k-firmware: do not select the qca988x by default 2017-05-27 14:22:16 +02:00
kernel iptables: make kmod-ipt-debug part of default ALL build 2018-01-26 15:37:28 +08:00
libs libunwind: enable build for arm 2018-02-13 12:37:52 +01:00
network uqmi: fix raw-ip mode for newer lte modems 2018-02-18 09:34:32 +01:00
system procd: update to latest git HEAD 2018-02-09 09:22:45 +01:00
utils usbutils: Update usb.ids file to latest 2017-12-13 16:54:29 +01:00
Makefile build: fix triggering opkg/host compilation 2017-04-09 15:42:20 +02:00