aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/uqmi
Commit message (Collapse)AuthorAgeFilesLines
* uqmi: move to git.openwrt.orgFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add qmi.sh executable bit and fix option dhcpFelix Fietkau2015-09-212-2/+2
| | | | | | | | | | Using protocol qmi does not work since qmi.sh is not executable. Setting option dhcp explicitely to 0 actually enables it. This patch fixes both problems. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47014 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add proper IPv6 supportSteven Barth2015-09-112-58/+145
| | | | | | | | | | | | | | | | | | | | | Use the new --ip-family option to start both IPv4 and IPv6 sessions by default. Autoconnect can't be used when starting two sessions, so revert back to using the client IDs and packet data handles for handling the network connection. Some modem firmwares do not implement a RA server, therefore by default use outband IP configuration and static addressing. Some other firmwares report bogus IP configuration with the WDS get current settings command. In this case inband configuration with DHCP/RA can be optionally enabled by setting option dhcp to 1. Per 3GPP standard a /64 prefix is served to all clients, which is extended to LAN as specified in RFC 7278. v2: Restrict the IPv6 gateway route source address Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46843 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt/umbim/uqmi: enable RFC 7278 for 3g/4g by defaultSteven Barth2015-09-031-0/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: auto retry when bringup failsJohn Crispin2015-04-211-1/+15
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* network: also shorten virtual interface names of ppp and 3g/4g connectionsSteven Barth2015-04-171-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add --delete-message for deleting SMS messagesJohn Crispin2014-12-031-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: fix SEGFAULT on reading Unicode sms messagesJohn Crispin2014-12-011-2/+2
| | | | | | | | | Added complementary blobmsg_close_table() before returning from function on error. Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43477 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: update to the latest version, also set 802.3 data format via the WDA ↵Felix Fietkau2014-11-252-2/+3
| | | | | | | | service Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43381 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: update to latest git HEADJohn Crispin2014-11-191-2/+2
| | | | | | | | | * fixes a bug in multipart sms * adds a new call to read the sim phone number (partially functioanl) Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add a few SPDX tagsSteven Barth2014-11-021-1/+1
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43151 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: update to latest git HEADJohn Crispin2014-10-311-3/+3
| | | | | | | | this adds support for pin set/unlock/... and iccid. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wwan: add a generic 3g/4g protoJohn Crispin2014-10-081-5/+13
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42837 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: dont use proto_block_restartJohn Crispin2014-10-081-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: make the proto depend on the usb driverJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: set data format to 802.3 at startupFelix Fietkau2014-10-021-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42724 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: do not wait for network connection before starting dhcpFelix Fietkau2014-10-021-11/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: update to the latest versionFelix Fietkau2014-10-021-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: use the autoconnect featureFelix Fietkau2014-10-021-18/+17
| | | | | | | | | | | | | | Instead of connecting once and saving the packet data handle, let the firmware handle connecting/reconnecting automatically. This is more reliable and reduces reliance on potentially stale data. Use the global packet data handle to attempt to disable autoconnect before restarting the connection. This ensures that the firmware will take the new APN/auth settings. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: replace logger calls in netifd with echoFelix Fietkau2014-10-021-12/+12
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: work out the ifname instead of relying on it being in uciFelix Fietkau2014-10-021-1/+13
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: use -ffunction-sections and --gc-sections, reduces binary size from ↵Felix Fietkau2014-06-071-1/+3
| | | | | | | | 57k to 29k Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uqmi: Add support for QMI-based mobile broadband modemsFelix Fietkau2014-05-282-0/+185
Many of the 4G/LTE and 3G modems utilize the QMI-protocol to control the modem. At the moment there is no support for them in OpenWrt. This patch adds support for them in the form of a netifd script and a control utility. Tested with Huawei E398 and ZTE MF820D (which requires a delay of ~30 s before responding to QMI commands). I put myself up as the maintainer, feel free to change this if you desire. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40868 3c298f89-4303-0410-b956-a3cf2f4a3e73