summaryrefslogtreecommitdiffstats
path: root/package/network/utils/comgt
Commit message (Collapse)AuthorAgeFilesLines
* ppp: use more reliable way to set script environmentSteven Barth2015-09-152-4/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46942
* comgt-ncm: Add possibility to choose PDP context typeSteven Barth2015-09-113-14/+50
| | | | | | | | | | | | | | | | | By setting the option pdptype to IP, IPV6 or IPV4V6 the user can choose the context type between IPv4, IPv6 and dual stack, respectively. The default setting is dual stack, except if option ipv6=0 is specified, in which case IPv4 context is the default. This allows for an out-of-the-box IPv6 support with modems utilizing NCM-like protocols. While we are at it, also add commands for Sierra DirectIP modems (currently untested), which will allow us to drop the separate comgt-directip package (once tested and verified working). Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 46844
* comgt/umbim/uqmi: enable RFC 7278 for 3g/4g by defaultSteven Barth2015-09-033-0/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46780
* comgt: make ncm proto work via wwan protoJohn Crispin2015-07-081-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46272
* comgt: the package contained too many filesJohn Crispin2015-05-231-1/+0
| | | | | | | | fixes #19698 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45741
* network: also shorten virtual interface names of ppp and 3g/4g connectionsSteven Barth2015-04-172-4/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45479
* packages: use $(LN) macro, make symlinks relativeNicolas Thill2015-04-031-1/+1
| | | | | | Signed-off-by: Nicolas Thill <nico@openwrt.org> SVN-Revision: 45250
* ncm, qmi, mbim: Add dependency on wwan packageJohn Crispin2015-03-091-1/+1
| | | | | | | | | | The wwan package holds the hotplug script to set mobile broadband interfaces (un)available. Add it as a dependency to comgt-ncm, uqmi and umbim. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44631
* ncm: Remove unnecessary proto_set_available commandsJohn Crispin2015-03-091-5/+0
| | | | | | | | | Interface should not be set unavailable in all error cases, returning 1 is enough. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44630
* comgt, wwan: Move USB data files to wwan packageJohn Crispin2015-03-09348-1739/+0
| | | | | | | | | USB modem data files should be a part of the wwan package, which actually uses them unlike comgt. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44628
* comgt: Use TCGETS and TCSETS ioctls for struct termiosJohn Crispin2015-02-223-14/+90
| | | | | | | | | | When passing struct termios to ioctl TCGETS and TCSETS should be used instead of TCGETA and TCSETA, which are meant for the older struct termio. Should fix https://dev.openwrt.org/ticket/19012 Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44506
* comgt-ncm: Fix NCM protocolJohn Crispin2015-01-284-36/+61
| | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 44182
* comgt: Allow using non-TTY devicesJohn Crispin2015-01-201-0/+68
| | | | | | | | | | | | | Some Huawei mobile broadband sticks utilizing the NCM protocol expose the control channel as a cdc-wdm device node instead of a virtual TTY. This device node does not support the terminal ioctls. This patch adds a check whether the provided device is a TTY or not and does not attempt to use the terminal ioctls if they are not supported. v2: reduce diffstat by simplifying code a little Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 44054
* license info - revert r43155John Crispin2014-11-031-3/+0
| | | | | | | | turns out that r43155 adds duplicate info. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43167
* Add more license tags with SPDX identifiersJohn Crispin2014-11-031-0/+3
| | | | | | | | | | | | | | | | | | Note, that licensing stuff is a nightmare: many packages does not clearly state their licenses, and often multiple source files are simply copied together - each with different licensing information in the file headers. I tried hard to ensure, that the license information extracted into the OpenWRT's makefiles fit the "spirit" of the packages, e.g. such small packages which come without a dedicated source archive "inherites" the OpenWRT's own license in my opinion. However, I can not garantee that I always picked the correct information and/or did not miss license information. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 43155
* Add a few SPDX tagsSteven Barth2014-11-021-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 43151
* comgt: fix typo in the ncm proto handlerJohn Crispin2014-10-261-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 43071
* comgt: drop the use of the non-standard XCASE termios flag (#18186)Felix Fietkau2014-10-211-0/+20
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43014
* fix compile against muslImre Kaloz2014-10-202-2/+31
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43000
* comgt: add ncm proto supportJohn Crispin2014-10-105-1/+247
| | | | | | | | This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 42866
* wwan: add a generic 3g/4g protoJohn Crispin2014-10-08350-9/+1762
| | | | | | | | | this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need for a stick and setup uci automagically Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42837
* comgt: split directip support into its own packageJohn Crispin2014-10-081-3/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42836
* comgt: fix directip auth typeFelix Fietkau2014-09-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42671
* comgt: fireup a dhcpv6-client for directip as wellSteven Barth2014-09-261-0/+6
| | | | SVN-Revision: 42670
* comgt: in directip, derive the wwan ifname automatically instead of ↵Felix Fietkau2014-09-261-3/+6
| | | | | | | | specifying it in the config Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42669
* comgt: initialize ifname for directipFelix Fietkau2014-09-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42658
* comgt: add no_device=1 for directip protoFelix Fietkau2014-09-241-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42657
* comgt: fix misplaced : in directip setup scriptFelix Fietkau2014-09-241-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42656
* comgt: add directip protoJohn Crispin2014-09-114-1/+167
| | | | | | | | add a proto handler for sierra wireless directip modems Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42465
* build: disable the PKG_CHECK_FORMAT_SECURITY check for the failing packagesFelix Fietkau2014-06-301-0/+1
| | | | | | | | The idea is to gradually fix the packages Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41411
* comgt: add support for defining dial number in config fileJohn Crispin2014-06-023-3/+10
| | | | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> SVN-Revision: 40942
* comgt: add validation rules to proto handlerJohn Crispin2014-02-181-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39618
* add myself as a maintainer for a few more packagesFelix Fietkau2012-10-101-0/+2
| | | | SVN-Revision: 33693
* packages: sort network related packages into package/network/Felix Fietkau2012-10-1013-0/+413
SVN-Revision: 33688