aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-05broadband-modem-mbim: implement supported IP families loadingAleksander Morgado
2013-06-05broadband-modem-qmi: implement supported IP families loadingAleksander Morgado
We'll default to IPv4 if the modem is CDMA-only, and IPv4+IPv6 otherwise.
2013-06-05mmcli,modem: show supported IP families in modem infoAleksander Morgado
2013-06-05broadband-bearer: use the new CGDCONT=? test response parserAleksander Morgado
2013-06-05broadband-modem: implement default supported IP families loadingAleksander Morgado
For CDMA-only devices, we will default to IPv4. For 3GPP devices, we will use the AT+CGDCONT=? test command to query which are the supported PDP types.
2013-06-05modem-helpers: new CGDCONT=? test response parserAleksander Morgado
2013-06-05libmm-glib,modem: handle the new 'SupportedIpFamilies' propertyAleksander Morgado
2013-06-05api,introspection: new 'SupportedIpFamilies' propertyAleksander Morgado
This property will let the clients know which are the IP families supported by the modem.
2013-06-05modem-helpers: rename CGDCONT? testsAleksander Morgado
Adding the 'read' suffix, as they are for CGDCONT? read responses.
2013-06-05api: let MMBearerIpFamily be flags instead of a enumerationAleksander Morgado
We want to expose in the Modem interface the list of supported IP families, and the easiest way to do so is to have the IP family as flags, and provide in the interface a single enum. Also, a value of 0 for a MMBearerIpFamily specifies that no flags are set, so just rename it to 'NONE'. And add a new 'ANY' value which sets all flags to 1.
2013-06-05bearers: update connection logic in 3GPP+3GPP2 devicesAleksander Morgado
https://bugzilla.gnome.org/show_bug.cgi?id=701333
2013-05-31broadband-modem-mbm: *EPIN response often needs a lot of timeDan Williams
If the modem was locked, it'll delay responding until the SIM is ready, which can take a long time.
2013-05-31nokia: CS-12 appears to only accept PPP on USB interface 3Dan Williams
Attempting PPP on interface 1 never returns CONNECT, simply hangs and times out at the dial.
2013-05-31modem-helpers: handle commas within +COPS response items (bgo #701329)Dan Williams
Modems can probably put whatever they want between the quotes for the operator name, including commas. Handle that. https://bugzilla.gnome.org/show_bug.cgi?id=701329
2013-05-29broadband-bearer: don't create PDP context when using an existing one (bgo ↵Dan Williams
#701151) If the context is already defined, then we can just use it instead of calling +CGDCONT to create it again. Modems don't like this, plus it's pointless. https://bugzilla.gnome.org/show_bug.cgi?id=701151
2013-05-28novatel-lte: increase number of retries for connection status checksBen Chan
This patch increases the number of retries, from 4 to 60, for connection status check during a connection / disconnection request, which handles some scenario when the connection / disconnection request takes more than 5 seconds to complete.
2013-05-28novatel-lte: normalize QMI status when included in DBus error messageBen Chan
This patches normalize a response for the AT$NWQMISTATUS command, by replacing white-space characters with a space, before the response is included in a DBus error message.
2013-05-27wavecom: don't grab ports handled by the qcserial driverAleksander Morgado
Sierra Wireless will assign the Wavecom USB vendor ID to some Gobi-based modems, like the MC7750. Just ignore those by filtering out all devices with the Wavecom USB vendor ID if they are handled by the qcserial driver.
2013-05-26build: use --enable-gtk-doc instead of our custom --with-docsAleksander Morgado
2013-05-26docs: don't require 'dia' to build the docsAleksander Morgado
These diagrams are not expected to change much, so just include the generated PNGs in the repository, and remove 'dia' from the prerequisites to build the documentation.
2013-05-23mmcli: fix newline prefixingAleksander Morgado
The last line in a multi-line string was getting lost if it wasn't '\n' terminated.
2013-05-23libmm-glib,modem: avoid accessing an already freed GArrayAleksander Morgado
We cannot g_array_unref() the GArray when get()-ing bands as that will clear the contents of the GArray, even if there are references around. Instead, just dup the array contents when returning.
2013-05-22modem-helpers-mbim: handle MBIM_PIN_TYPE_UNKNOWN in switchAleksander Morgado
2013-05-22build: require mbim-glib >= 1.0.0 when building MBIM supportAleksander Morgado
2013-05-20novatel: fix invalid comparison of unsigned expressionBen Chan
This patch fixes the following invalid comparison of unsigned expression: novatel/mm-plugin-novatel.c:148:29: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare] if (ctx->nwdmat_retries >= 0) { ~~~~~~~~~~~~~~~~~~~ ^ ~ Bug reported on https://code.google.com/p/chromium/issues/detail?id=242150
2013-05-20broadband-modem-qmi: when listing all SMS fails, list per tagAleksander Morgado
Some QMI modems seem to fail when requesting to list all SMS messages in a given storage. When this happens, we'll loop through all storages but performing per tag list requests.
2013-05-20sms-qmi: always specify message mode when deleting SMS messagesAleksander Morgado
2013-05-20broadband-modem-qmi: always specify message mode when reading SMSAleksander Morgado
2013-05-20bearer: defer forced disconnection when modem unregistered while connectedAleksander Morgado
If the bearer is connected and we get a notification of being unregistered, wait up to 15s to force the disconnection, in case we can recover the registration in the meantime. https://bugzilla.gnome.org/show_bug.cgi?id=699803
2013-05-20bearer: allow registration changes from/to SEARCHING without disconnectingAleksander Morgado
We allow the modem to be connected while the registration state is 'SEARCHING', which may happen when the coverage is poor.
2013-05-20iface-modem-3gpp: remove the deferred registration updatesAleksander Morgado
We should really notify registration updates right away in the DBus interface.
2013-05-19device: check for NULL driver in add_port_driverBen Chan
This patch fixes a crash in MMDevice::add_port_driver() due to g_str_equal() dereferencing a NULL driver returned by mm_device_utils_get_port_driver(). Bug reported on https://code.google.com/p/chromium/issues/detail?id=241823
2013-05-17build: use -Wformat-securityAleksander Morgado
2013-05-17sms: fix validity variant parsingAleksander Morgado
2013-05-13configure.ac: enable maintainer mode by defaultAdrian Bunk
This is how it should be, and also consistent with NetworkManager.
2013-05-09huawei: use ^SYSINFOEX if available instead of ^SYSINFOAleksander Morgado
Newer Huawei modems, like the E3276 or the ME906 won't support ^SYSINFO, and we should instead use the newer ^SYSINFOEX. By default, use ^SYSINFOEX when available, as it provides more information than the plain ^SYSINFO. E.g.: ^SYSINFOEX:2,3,0,1,,3,"WCDMA",41,"HSPA+" ^SYSINFOEX:2,3,1,1,1,3,”WCDMA”,46,”DC-HSPA+”
2013-05-09huawei: ignore ^NDISSTAT unsolicited messagesAleksander Morgado
These messages give us information about the current connection status in the NDIS interface. We already have other means to know this status, so we just ignore the unsolicited message for now. E.g.: ^NDISSTAT: 1,,,"IPV4"
2013-05-09huawei: ignore ^HCSQ unsolicited messagesAleksander Morgado
Newer Huawei modems use ^HCSQ to report per-interface signal quality values, but we don't know yet what each field means for each technology, so just ignore them for now. E.g.: ^HCSQ: "GSM", 53 ^HCSQ: "WCDMA", 26, 24, 43 ^HCSQ: "LTE", 40, 28, 216, 14 We also don't use this message to update current access technology information, as it is not detailed enough (e.g. WCDMA doesn't specify whether it's plain UMTS or HSDPA or HSPA+...)
2013-05-07novatel: skip $NWDMAT if the modem has QMI portsAleksander Morgado
2013-05-07novatel: allow QMI-powered modemsAleksander Morgado
2013-05-07novatel: don't filter out the USB551LAleksander Morgado
We filter the E362 because it's managed by the Novatel LTE plugin. If we also filter out the USB551L, but it's not explicitly grabbed by any other plugin, it will default to the Generic one.
2013-05-07novatel: don't explicitly filter by driversAleksander Morgado
No real need to do it; the VID filter is already enough.
2013-05-06telit: add basic plugin for Telit 3GPP and 3GPP2 devicesDan Williams
2013-05-06sms: enforce message 'class' value validityDan Williams
Class is -1 to 3, so warn about out-of-bounds values when it's being set on the client side.
2013-05-06sms: add support for message classDan Williams
We need to redefine the message class property to int since class 0 is a valid message class. Thus -1 now means "unspecified class".
2013-05-06broadband-modem-zte: chain up to parent access tech loading for CDMA-only ↵Dan Williams
devices (bgo #698850) CDMA-only devices don't support +ZPAS for access tech loading, so chain up to the parent so we get the QCDM fallback access tech loading functions. https://bugzilla.gnome.org/show_bug.cgi?id=698850
2013-05-06broadband-modem-nokia: load access technology with *CNTI if possibleDan Williams
Works on the N9/N950, but not supported by the N900.
2013-05-06broadband-modem-nokia: N900 doesn't disable echo unless explicitly doneDan Williams
During init, the N900 appears to ignore an E0 in the same command as an E1. So just add another init command to disable echo, which won't have any effect on devices that work with the first command.
2013-05-06sierra: remove comparison of unsigned expression >= 0Ben Chan
This patch removes an unnecessary check of unsigned expression >= 0, which also fixes the following clang warnings: sierra/mm-broadband-modem-sierra.c:570:18: error: comparison of unsigned expression >= 0 is always true [-Werror,-Wtautological-compare] mode >= 0 && ~~~~ ^ ~ Bug reported on https://code.google.com/p/chromium/issues/detail?id=235989 Patched by Yunlian Jiang <yunlian@chromium.org>
2013-05-06broadband-bearer: fix cid check in disconnect_3gppBen Chan
A value 0 is used to denote an invalid/uninitialized CID. This patch fixes a CID check in disconnect_3gpp() of MMBroadbandBearer such that it disables all PDP contexts via AT+CGACT=0 when no specific CID is used (i.e. cid == 0).