On 2013-02-28 12:17 PM, A. Valentin wrote: > This patch adds support for QMI to netifd. It enables netifd to access the > network functions of several 2G/3G/4G sticks. For usage of qmi, the device has > to support 2 functions: > -cdc-wdm interface for control > -wwan interface for data > > Throuput should also be a lot better than through serial and pppd. To use > this, > you should have a stick like a Huawei E392. It is configured through > /etc/config/network. Example: > config interface 'broadband' > option ifname 'wwan0' > option proto 'qmi' > option pincode '1234' > option apn 'web.vodafone.de' > option username 'user' > option password 'password' > # if you want a sepearate LTE APN to be used, set > option lte_apn_use '1' > option lte_apn 'web.vodafone.de' > option lte_username 'user' > option lte_password 'password' > > Stability is watched via a small watchdog, which does arp to check if modems > still > responds. To be able to use username and password authentication, latest > libqmi is > needed. Because I have no IPv6 enabled cellphone provider, this is not tested. > > Any ideas are welcome! > Thanks to Aleksander Morgado for his great work! > > Signed-off-by: André Valentin <avalen...@marcant.net> By the way, I'm almost done with my QMI code rewrite. You can find it here: http://nbd.name/gitweb.cgi?p=uqmi.git;a=summary or git://nbd.name/uqmi.git. I think it can already do pretty much all that's necessary to bring up the connection like qmictl. The main difference is it's ~70 kb of code instead of multiple megabyte, and it also doesn't depend on GLib or other bloated libraries.
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel