aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-06-12NEWS: update, add reference to MBIM devicesAleksander Morgado
2013-06-12AUTHORS: updateAleksander Morgado
2013-06-12README,docs: update basic ModemManager informationAleksander Morgado
2013-06-11api,introspection: update copyright noticesAleksander Morgado
2013-06-10manager: require whitelist for devices in the 'pnp' subsystemAleksander Morgado
2013-06-10build: distribute in .xz formatAleksander Morgado
Up to 30% size reduction: $ du -hs ModemManager-0.7.991.tar.* 1.6M ModemManager-0.7.991.tar.bz2 1.1M ModemManager-0.7.991.tar.xz
2013-06-07manager: handle PNP-connected devices tooDmitry Ivanyushin
I have a modem that is connected to motherboard's built-in serial port. Its parent is listed in udev as "pnp" so this patch handles that situation.
2013-06-07man,mmcli: fix minor typoAleksander Morgado
2013-06-06build: fix distcheckAleksander Morgado
2013-06-06systemd: simplify unit fileAleksander Morgado
Avoid setting up the Alias rule, which was a helper to let us 'disable' the systemd service including dbus-activations. Without the Alias, 'disable' will still let starting ModemManager through dbus-activation. If you really want to fully disallow starting MM also through dbus-activation, you should 'mask' and 'unmask' the service. E.g.: $ sudo systemctl mask ModemManager ln -s '/dev/null' '/etc/systemd/system/ModemManager.service' $ sudo mmcli -L error: couldn't find the ModemManager process in the bus $ sudo systemctl unmask ModemManager rm '/etc/systemd/system/ModemManager.service' $ sudo mmcli -L No modems were found https://bugzilla.gnome.org/show_bug.cgi?id=701229
2013-06-05release: bump version to 0.7.991Aleksander Morgado
Tagging to handle the new API updates, so that applications depending on the libmm-glib library can use the version number to check support.
2013-06-05broadband-modem: run *CNTI=2 to when loading supported modesAleksander Morgado
It sometimes provides a much better view of the supported modes than the WS46=? command, which is not always properly implemented. E.g.: Nokia N950: --------------- at+ws46=? (12) OK at*cnti=2 *CNTI: 2,GSM,GPRS,EDGE,UMTS,HSDPA,HSUPA OK Sierra AC313u --------------- at+ws46=? ERROR at*cnti=2 *CNTI: 2,GSM,GPRS,EDGE,UMTS,HSDPA/HSUPA,HSPA+,LTE OK
2013-06-05broadband-modem: don't set supported mode defaults based on guessesAleksander Morgado
We may be asking to load supported modes while in locked state, so the commands may fail. In order to re-load them properly once we're unlocked, we better just return an error instead of setting defaults.
2013-06-05huawei: default to IPv4 if no specific IP type to use given in NDISDUP modemsAleksander Morgado
2013-06-05api,introspection: Simple.Connect() won't change neither bands nor allowed modesAleksander Morgado
We won't allow changing modes or bands through Simple.Connect(). Applications should instead look at the corresponding SupportedBands or SupportedModes, and then use SetCurrentBands() or SetCurrentModes() explicitly.
2013-06-05iface-modem: allow changing capabilities in every stateAleksander Morgado
Same as done with the firmware switching, we allow capabilities changing even if the modem is in FAILED state, e.g. to switch from 3GPP to 3GPP2 mode.
2013-06-05iface-modem: load current modes and bands during initializationAleksander Morgado
We now load current modes and bands before enabling the modem, and we also allow mode and bands changes while the modem is disabled.
2013-06-05mmcli: new '--set-current-capabilities' commandAleksander Morgado
New command to allow changing modem capabilities, if supported. The modem will power cycle automatically after having changed them.
2013-06-05broadband-modem-qmi: update current capabilities loading logicAleksander Morgado
Changes being: * Don't rely on the band preference TLVs presence. The band preference TLVs are always given, even if the modem doesn't support the specific capability right away. E.g. a GSM/UMTS/LTE modem configured with 'gsm-umts' capability (no 'lte') still shows the LTE band preference TLV in the SSP responses. * Don't automatically add LTE as current capability. We needed this when we were not able to change capabilities, so that we didn't lose the ability to set 4G mode as allowed.
2013-06-05broadband-modem-qmi: implement capabilities settingAleksander Morgado
2013-06-05api,introspection: new 'SetCurrentCapabilities' methodAleksander Morgado
For those modems which expose a valid 'SupportedCapabilities' property with more than one item in the list, we'll allow switching between them.
2013-06-05api,introspection: rename 'ModemCapabilities' to 'SupportedCapabilities'Aleksander Morgado
And also make it a list of masks, specifying which are the specific combinations supported, not just one mask with all. E.g.: ------------------------- Hardware | manufacturer: 'Sierra Wireless, Incorporated' | model: 'MC7710' | revision: 'SWI9200X_03.05.19.04ap r5475 carmd-en-10527 2012/09/17 17:57:14' | supported: 'gsm-umts | gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: '358178040668164'
2013-06-05api,introspection: merge 'AllowedModes' and 'SupportedMode' into 'CurrentModes'Aleksander Morgado
We now have a single 'CurrentModes' property which contains both values in a tuple with signature "(uu)". Also, rename 'SetAllowedModes()' to 'SetCurrentModes()', and update the list of arguments expected to have a single "(uu)" tuple.
2013-06-05api,introspection: 'SupportedModes' is now a list of possible combinationsAleksander Morgado
Instead of just a mask of MMModemMode values, we now provide a list of the allowed and preferred mode combinations supported by the modem. E.g.: $> sudo mmcli -m 0 ------------------------- Modes | supported: 'allowed: 2g; preferred: none | allowed: 3g; preferred: none | allowed: 2g, 3g; preferred: none | allowed: 2g, 3g; preferred: 2g | allowed: 2g, 3g; preferred: 3g | allowed: 4g; preferred: none | allowed: 2g, 3g, 4g; preferred: none'
2013-06-05api,instrospection: rename 'Bands' to 'CurrentBands'Aleksander Morgado
... and 'SetBands()' to 'SetCurrentBands()'. We'll keep the 'Current' keyword in those properties which also have 'Supported' values.
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