aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-04modem-helpers: recognize 3GPP2 access tech strings tooDan Williams
Various Gobi-based devices (USB551L, probably Gobis too) can report EVDO and 1X as the current RAT from CNTI so parse that here too.
2012-05-04broadband-modem: add another Novatel +GCAP LTE responseDan Williams
This time from the 551L. I wonder when they'll make up their minds about what to return.
2012-05-02Add a utility routine to do ITU V.250 quoting of strings for AT commands.Nathan Williams
BUG=chromium-os:27096,chromium-os:27063 TEST=None Change-Id: Ic1d24a9e4b7421db7f8d16c52535bd6d2780423e
2012-04-13helpers: adjust parsing of +CNUM response to permit spaces in the ↵Nathan Williams
alphanumeric descriptor. This permits matching a response such as '"Line 1","+19999999999",145', which previously did not match. Change-Id: I666af8774507c6c3b3e214b820449542065dd8b4
2012-04-10bearer: allow subclasses to report disconnectionAleksander Morgado
The new `mm_bearer_report_disconnection()' allows subclasses to notify about being disconnected, so that every layer of inheritance can chain its own code to reset the connection status. This commit partially disables the logic included in commit 981222. Now subclasses (actually, no one) are not allowed to g_object_set() the MM_BEARER_STATUS property.
2012-04-10iface-modem: new helpers to query supported modesAleksander Morgado
2012-04-10broadband-modem: query supported networks to get a better supported modes valueAleksander Morgado
If we base our supported modes default guessing only on capabilities listed by AT+GCAP, we find that we don't know how to differenciate between 2G and 3G 3GPP modems. So, if supported, we will try to query the list of supported networks with AT+WS46=?, which explicitly tells us if the modem supports GERAN and/or UTRAN and/or E-UTRAN. Note that plugins need to request this new behaviour by setting the `MM_BROADBAND_MODEM_USE_WS46' property to TRUE when creating the modem object.
2012-04-10iface-modem: skip handling the CURRENT_CAPABILITIES propertyAleksander Morgado
It is an unnecessary complication, as long as we can keep the helpers in the interface.
2012-04-10bearer: always reset interface state when going into disconnected statusAleksander Morgado
Custom bearer implementations in Plugins are allowed to g_object_set() the MM_BEARER_STATUS property to DISCONNECTED in order to notify that the bearer got disconnected. We need to always reset the interface state (remove IP config, set connected=FALSE,...) also in that case. Also consolidated in some helper private functions the way the bearer status is updated.
2012-03-30manager: no need to remove modems in idleAleksander Morgado
There is no problem in getting the modem removed just after finishing the disabling sequence.
2012-03-30manager: try to get all modems disabled before while shutting downAleksander Morgado
2012-03-30base-modem: disconnect internal cancellable handler while disposingAleksander Morgado
2012-03-30base-modem: plug small leaksAleksander Morgado
2012-03-30plugin-base: don't setup udev client notificationsAleksander Morgado
2012-03-30port-probe-cache: ensure we cleanup every possible leftoverAleksander Morgado
2012-03-30plugin-base: plug memleakAleksander Morgado
2012-03-30core: fatal errors in iface initializations force the modem into a FAILED stateAleksander Morgado
Modems which end up being found unusable (e.g. no SIM, fatal SIM error, no capabilities) will be exposed in DBus, but just with the Modem interface and in a FAILED state which allows no actions.
2012-03-30simple: need to wait to get fully initialized before trying to enableAleksander Morgado
2012-03-30broadband: reload operator and registration info only when enabling 3GPP ↵Aleksander Morgado
location source
2012-03-29broadband: ensure 3GPP location info gets updated when enabling the sourceAleksander Morgado
Whenever 3GPP location source gets enabled, we'll launch new registration status checks (to get updated LAC/CI) and new operator code/name checks (to get updated MCC/MNC). Additional changes were needed in the HSO plugin, so that the specific location gathering enabling implemented by the HSO modem chains up parent's one first.
2012-03-29location: update the status before running enabling/disabling sequencesAleksander Morgado
This will allow implementations of location source enabling to actually update the location information during the enabling phase.
2012-03-293gpp: let operator name/code reloading be requested by implementationsAleksander Morgado
2012-03-293gpp: errors when reloading operator name/code will reset the values in the ↵Aleksander Morgado
interface
2012-03-29broadband-modem: remove unused variableAleksander Morgado
2012-03-29iface-modem-location: plug memleak and reference count mismatchAleksander Morgado
2012-03-29iface-modem-location: handle the raw GPS location sourceAleksander Morgado
2012-03-29iface-modem-location: handle the NMEA-based GPS location sourceAleksander Morgado
2012-03-29base-modem: use new `MMGpsSerialPort' type for the raw GPS portAleksander Morgado
2012-03-29gps-serial-port: new type to handle read-only serial ports with GPS tracesAleksander Morgado
2012-03-29serial-port: forced close only to be done onceAleksander Morgado
2012-03-29location: rework to allow multiple location sourcesAleksander Morgado
Location sources can now be enabled or disabled by using the mask of sources given in Setup() (similar previous Enable()).
2012-03-28base-modem: handle GPS control and data portsAleksander Morgado
Plugin may specify GPS-specific port tyeps when requesting to grab the port. These could either be an AT-based GPS control port, or the raw GPS serial port which emits the NMEA traces.
2012-03-28port: new `MM_PORT_TYPE_NET' for pure net devicesAleksander Morgado
Net devices will be MMPorts of type MM_PORT_TYPE_NET.
2012-03-28base-modem: no need for `port_grabbed()'Aleksander Morgado
Subclasses can configure additional stuff in the ports just after all have been organized, in the SETUP_PORTS initialization step in MMBroadbandModem.
2012-03-28port: skip LAST enums in glib-mkenums processingAleksander Morgado
2012-03-28at-serial-port: new flag to define the GPS control portAleksander Morgado
2012-03-28at-serial-port: define flags by shifting bitsAleksander Morgado
Otherwise glib-mkenums doesn't take the enumeration as being flags.
2012-03-28serial-port: ensure we close the port when forcing to close itAleksander Morgado
2012-03-28broadband-modem: plug memleak when uppercasing storage namesAleksander Morgado
2012-03-28broadband-modem: plug memleak when building AT commandAleksander Morgado
2012-03-28sim: plug memleakAleksander Morgado
2012-03-28sim: fix completion of pin-puk checkAleksander Morgado
2012-03-28charsets: plug memleakAleksander Morgado
2012-03-26broadband-modem: fix error reporting in the modem initialization sequenceAleksander Morgado
The initialization sequence doesn't expect any result, so `mm_base_modem_at_sequence_finish()' will actually return NULL even if there is no error. Therefore, we base the success of the sequence on the existence of a GError in the return.
2012-03-26broadband-modem: use current charset when parsing operator nameAleksander Morgado
2012-03-26broadband-modem: initialize the Simple interface even if unlockedAleksander Morgado
We should be able to unlock the modem during Simple Connect().
2012-03-26plugin: bump major plugin versionAleksander Morgado
The PluginBase object got modified during the new codebase development, and therefore we need to ensure that the current codebase doesn't try to load old plugins.
2012-03-26iface-modem: do not try to set new allowed/preferred config if modem already ↵Aleksander Morgado
in there
2012-03-24iface-modem: treat ANY in allowed modes as being equal to the list of ↵Aleksander Morgado
supported modes
2012-03-23port-probe: don't probe product string if vendor string probing failedAleksander Morgado