[OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems

Matti Laakso malaakso at elisanet.fi
Wed Feb 24 01:11:19 EST 2016


> Subject: Re: [OpenWrt-Devel] [PATCH 1/2] wwan: Add support for CDC (Huawei 'HiLink') Modems
> To: malaakso at elisanet.fi; openwrt-devel at lists.openwrt.org
> CC: blogic at openwrt.org
> From: br1 at einfach.org
> Date: Tue, 23 Feb 2016 17:26:33 +0000
> 
> On 02/23/2016 07:11 AM, Matti Laakso wrote:
> >> Huawei HiLink ("h" model names) modems just provide a CDC Ethernet
> >> interface
> >> where we have to run DHCP to get an IP address (usually in the
> >> 192.168.8.0
> >> range). While this may be bad design in general it's sometimes
> >> necessary to
> >> support these modems.
> >>
> >> This adds autodetection and handling of these to wwan.
> >>
> >> Tested with Huawei E3030h-1.
> > 
> > Why do you need an extra protocol for these? They work just fine with
> > the regular DHCP protocol.
> 
> Hi, sorry I saw this so late... (cc: please).
> 
> The reason is that I want different types of Modems to work with the
> same interface configuration, using 'wwan'. E.g. it's configured like
> this (/etc/config/network):
> 
> config interface 'umts'
> 	option proto	wwan
> 	option apn	internet.eplus.de
> 	option metric	4
> 
> And it will work with PPP, QMI, MBIM, HiLink or whatever modem supported
> by "wwan" (which are hopefully more and more)... Doesn't that make
> sense? It would help the user who doesn't want to guess wether QMI works
> better than PPP for a specific modem and which serial port to use, etc...
> 

That's a good goal, but I think it's confusing for the user when apn and pin options don't work with HiLink modems but do work with all other modems handled by wwan.

Matti


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160224/9f1dfea4/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list