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

John Crispin blogic at openwrt.org
Tue Feb 23 12:36:48 EST 2016



On 23/02/2016 18:26, Bruno Randolf wrote:
> 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...
> 
> bruno

that does indeed make sense and is the core reason why i added the wwan
proto/package.

i am planning to merge stuff tomorrow during the day and will pick this
one up aswell.

	John
_______________________________________________
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