comgt-ncm: Fix NCM protocol
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 28 Jan 2015 19:19:33 +0000 (19:19 +0000)
commit66667cfe354e0cd12645eb3bf10ccc18ecac9159
treea8052f024ef0cce7288cf6f4a137c3854286955d
parent891af2acfd7c4615fd8fe55890cd115de2ccfa26
comgt-ncm: Fix NCM protocol

This patch fixes the NCM protocol by adding the missing ifname
to the netifd script and changing one unintended "send" statement to
"print" in runcommand.gcom. It also cleans up logging and makes the
manufacturer names case-insensitive. Furthermore, comgt-ncm should
not depend on the USB-serial-related kernel modules, as the cdc-wdm
control device works without them. There is also no need to depend on
kmod-huawei-cdc-ncm, since other manufacturers (like Sony-Ericsson
and Samsung) which use other kernel modules should also be supported.

I'd appreciate if someone with Samsung or Sony-Ericsson modems could
test this, I was only able to test it with Huawei E3276, E3372 and
E353.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44182 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/network/utils/comgt/Makefile
package/network/utils/comgt/files/ncm.json
package/network/utils/comgt/files/ncm.sh
package/network/utils/comgt/files/runcommand.gcom