aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-25sms-qmi: check whether the modem supports the specific SMS typeAleksander Morgado
2013-10-25sms: only set concat reference on multipart messagesAleksander Morgado
2013-10-25sms: handle CDMA SMS part creationAleksander Morgado
2013-10-25cli,sms: print properties just when they are availableAleksander Morgado
The logic to decide whether a property is valid in a given PDU type is kind of fuzzy for 3GPP2 as it is currently implemented; so just print whatever we have in the interface.
2013-10-25sms-qmi: handle CDMA SMS messagesAleksander Morgado
2013-10-25sms-part-cdma: new CDMA SMS creatorAleksander Morgado
Currently very limited: * Only WMT teleservice. * Only DMTF-encoded numbers. * Only either raw binary data or ASCII-7 text.
2013-10-25sms-part-3gpp: ensure PDU type in part is the correct one when building SUBMITAleksander Morgado
2013-10-25sms-part-cdma: consolidate loggingAleksander Morgado
2013-10-25sms-part-cdma: read 7-bit ASCII text or raw dataAleksander Morgado
2013-10-25broadband-modem-qmi: add CDMA SMS parts if foundAleksander Morgado
2013-10-25tests: new CDMA SMS part testerAleksander Morgado
2013-10-25tests: rename 3GPP SMS part testerAleksander Morgado
2013-10-25sms-part-cdma: new CDMA SMS parserAleksander Morgado
2013-10-25sms-part: handle CDMA teleservice ID and service categoryAleksander Morgado
2013-10-25sms: split SMS part handling into common and 3GPP-specificAleksander Morgado
2013-10-25api,header: added new CDMA-specific 'MMSmsDeliveryState' enumeration valuesAleksander Morgado
2013-10-25api: add 'ServiceCategory' property to the SMS interfaceAleksander Morgado
Will be used in 3GPP2 SMS messages.
2013-10-25api: add 'TeleserviceId' property to the SMS interfaceAleksander Morgado
Will be used in 3GPP2 SMS messages.
2013-10-25cli,sms: 'class' and 'smsc' are 3GPP specificAleksander Morgado
2013-10-25api,introspection: minor indentation fixes in 'Validity' property definitionAleksander Morgado
2013-10-25api,header: added new CDMA-specific 'MMSmsPduType' enumeration valuesAleksander Morgado
2013-10-25broadband-modem-qmi: SM storage not supported in CDMA-only modemsAleksander Morgado
2013-10-25broadband-modem-qmi: also request to read 3GPP2 SMSAleksander Morgado
2013-10-24iface-modem: remove unnecessary G_SIMPLE_ASYNC_RESULT() castBen Chan
This patch removes an unnecessary G_SIMPLE_ASYNC_RESULT() cast of the 'result' field, which is already of type GSimpleAsyncResult, of InternalLoadUnlockRequiredContext.
2013-10-24libmm-glib: fix some more introspection annotationsAleksander Morgado
2013-10-24libmm-glib: fix several introspection annotationsAleksander Morgado
2013-10-24broadband-modem: remove unnecessary G_SIMPLE_ASYNC_RESULT() castsBen Chan
This patch removes unnecessary G_SIMPLE_ASYNC_RESULT() casts of the 'result' field, which is already of type GSimpleAsyncResult, of InitializeContext, EnablingContext and DisablingContext.
2013-10-24huawei: handle pending network-initiated disconnection in disconnect_3gppBen Chan
If a client-initiated disconnection attempt is issued while a network-initiated disconnection is still pending, the latter may interfere with the former. Also, when the client-initiated disconnection attempt fails but the bearer status is reported as 'disconnected', the pending network-initiated disconnection is not cleared and may result in an assertion when a connection attempt is issued. This patch addresses the issue by clearing any pending network-initiated disconnection before proceeding with a client-initiated disconnection.
2013-10-23broadband-modem: report signal quality as 0 when no service/unknown/etcDan Williams
Instead of using the NO_NETWORK error, which is only ever read internally by ModemManager and not very useful when reading quality, just report signal quality as zero. Before MM 1.0, the signal quality could be explicitly requested by clients, so the NO_NETWORK error was of some use, but now that the quality is updated automatically by MM and is a property instead of a D-Bus method call, the error is pointless.
2013-10-20broadband-modem: mark SIM provisioned by default in load_subscription_statePrathmesh Prabhu
load_subscription_state is called only after a successful registration, so the default behaviour should be to mark the SIM as provisioned. This default behaviour is needed because it is not possible for plugins to detect a successful registration state during the registration update itself. So, this function is the first place where a plugin can detect a successful registration update.
2013-10-20huawei: handle unquoted strings in ^SYSINFOEX responseBen Chan
The original sysinfoex_parse() in MMBroadbandModemHuawei does not handle unquoted <sysmode_name> and <submode_name> fields in ^SYSINFOEX responses, which are sen on some Huawei modems (e.g. E303). This patch moves the ^SYSINFOEX parsing code to mm-modem-helpers-huawei.c, fixes the regex for handling unquoted strings in ^SYSINFOEX responses, and adds unit tests.
2013-10-20huawei: fix ^SYSINFO parsingBen Chan
The original sysinfo_parse() in MMBroadbandModemHuawei incorrectly sets 'out_sys_submode_valid' to TRUE even when <sys_submode> is not present in a ^SYSINFO response. This patch moves the code to mm-modem-helpers-huawei.c, fixes the regex for parsing ^SYSINFO responses, and adds unit tests.
2013-10-10build: ignore plugin testersAleksander Morgado
2013-10-10altair-lte: obtain subscription state of SIM from registration failure codePrathmesh Prabhu
This patch uses the extended error code after a registration failure to determine if the SIM in the relevant modem is associated with a non-provisioned account. It uses the standard AT+CEER command, but the implementation is restricted to the altair plugin.
2013-10-09docs: fixed a couple of issues regarding the new ↵Aleksander Morgado
MMModem3gppSubscriptionState enum
2013-10-09iface-modem-3gpp: add SubscriptionState propertyThieu Le
2013-10-08TODO: remove already implemented or no longer applicable itemsAleksander Morgado
2013-10-01novatel-lte: abort connect request if call failedThieu Le
Change-Id: Iae16ec87e12aaaf314b7e66b2f9c72a13251e352
2013-09-26modem-helpers,sim: auto-detect if ICCID response is character swappedBen Chan
This patch modifies mm_3gpp_parse_iccid() to auto-detect if an ICCID response is character swapped or not by comparsing the major industry identifier part of the ICCID response to the known value (89) for telecommunication purposes. This addresses the issue where the same AT command (e.g. AT^ICCID used by the huawei plugin) does not report ICCID in a consistent format.
2013-09-26serial-port: ensure GCancellable handler is disconnected when serial port is ↵Ben Chan
closed
2013-09-25cinterion: support QMI-based Cinterion PLXX and PHXX modulesAleksander Morgado
E.g. with a Cinterion PLS8 LTE modem: $ sudo mmcli -m 0 /org/freedesktop/ModemManager1/Modem/0 (device id '0042872f6597b3d772a3d9d3cd6f14f152af8a0b') ------------------------- Hardware | manufacturer: 'QUALCOMM INCORPORATED' | model: '0' | revision: 'M9615A-CETWMAZM-2.0.19015 1 [Jan 31 2013 00:00:00]' | supported: 'gsm-umts | lte | gsm-umts, lte' | current: 'gsm-umts, lte' | equipment id: 'unknown' ------------------------- System | device: '/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.7' | drivers: 'option1, qmi_wwan' | plugin: 'Cinterion' | primary port: 'cdc-wdm0' | ports: 'ttyUSB2 (at), cdc-wdm0 (qmi), wwp0s29u1u7i4 (net)' ------------------------- Numbers | own : 'unknown' ------------------------- Status | lock: 'sim-pin' | unlock retries: 'sim-pin (3), sim-pin2 (2), sim-puk (10), sim-puk2 (10)' | state: 'locked' | power state: 'on' | access tech: 'unknown' | signal quality: '0' (cached) ------------------------- Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none' | current: 'allowed: 2g, 3g, 4g; preferred: none' ------------------------- Bands | supported: 'cdma-bc15-aws, dcs, egsm, u2100, u1800, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx' | current: 'cdma-bc15-aws, dcs, egsm, u2100, u1800, u900, eutran-i, eutran-iii, eutran-vii, eutran-viii, eutran-xx' ------------------------- IP | supported: 'ipv4, ipv6, ipv4v6' ------------------------- SIM | path: '/org/freedesktop/ModemManager1/SIM/0'
2013-09-24blacklist: add Bluegiga BLE112BAleksander Morgado
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/1229748
2013-09-24blacklist: add some missing commasAleksander Morgado
2013-09-23blacklist: Add Adafruit FloraArun Raghavan
The official PID is 8004, but I've seen the device sometimes turn up with a 0004, so adding both to be safe. https://bugzilla.gnome.org/show_bug.cgi?id=708644
2013-09-23huawei: delay processing of network-initiated disconnectionAleksander Morgado
Originally developed by: Prathmesh Prabhu <pprabhu@chromium.org> Ben Chan <benchan@chromium.org> Huawei MU736 prematurely fires a ^NDISSTAT unsolicited message upon a network-initiated disconnection. The modem can go into a bad state if a reconnect attempt happens before the disconnection completes. This patch works around the issue by delaying the reporting of the disconnection.
2013-09-23bearer: consolidate unsolicited connection status reportsAleksander Morgado
Originally developed by: Ben Chan <benchan@chromium.org> This patch replaces mm_bearer_report_disconnection() with a more generic mm_bearer_report_connection_status(), which allows reporting any connection status of a bearer. This further allows getting rid of those custom report_connection_status functions in plugic specific bearer subclasses. Note that while plugin-specific implementations can receive multiple 'MMBearerConnectionStatus' values, the generic implementation is only allowed to receive DISCONNECTED. Plugins need to make sure that they process all the other status values, and only report DISCONNECTED to the parent when required. MBM: The MBM bearer implementation of report_connection_status() expects either CONNECTED or DISCONNECTED. If any of these is received and there is an ongoing connection attempt, the corresponding operation will be completed. If there is no connection attempt, we will just handle the DISCONNECTED state, calling the parent method to notify that the modem got network-disconnected. Icera: The Icera bearer implementation of report_connection_status() expects either CONNECTED, CONNECT FAILED or DISCONNECTED. If any of these is received and there is an ongoing connection or disconnection attempt, the corresponding operation will be completed. If there is no connection or disconnection attempt, we will just handle the CONNECT FAILED and DISCONNECTED states, calling the parent method (always with DISCONNECTED) to notify that the modem got network-disconnected. Option/HSO: The Option/HSO bearer implementation of report_connection_status() expects either CONNECTED, CONNECTION FAILED or DISCONNECTED. If any of these is received and there is an ongoing connection or disconnection attempt, the corresponding operation will be completed. If there is no connection or disconnection attempt, we will just handle the CONNECTION FAILED and DISCONNECTED states, calling the parent method (always with DISCONNECTED) to notify that the modem got network-disconnected. Huawei: The Huawei bearer implementation of report_connection_status() expects either CONNECTED or DISCONNECTED. These messages are not used to process pending connection or disconnection attempts; so if they are received while one of these is on-going, it will just be ignored. CONNECTED reports are also ignored, so we will just handle the DISCONNECTED state, calling the parent method to notify that the modem got network-disconnected. Altair-LTE: The Altair-LTE bearers will only report DISCONNECTED on network-disconnected cases. There is no custom report_connection_status(). Novatel-LTE: The Novatel-LTE bearers will only report DISCONNECTED on network-disconnected cases. There is no custom report_connection_status().
2013-09-19broadband-modem-qmi: make 'internal' errors on pin check retriableAleksander Morgado
When we get an internal error while checking the lock status, tell the upper layers that we can retry the check. It's been observed that this internal error may be issued not only when e.g. there is no SIM, but also when the SIM is not yet fully ready.
2013-09-19iface-modem: consolidate new unlock required check with retriesAleksander Morgado
The new internal_load_unlock_required() method will take care of running the subclassed load_unlock_required(), if available, and also retry the check up to 6 times. This method will be used both by the standard unlock required check and by the check within the current capabilities loading for multimode devices.
2013-09-19plugins: fix linkage of huawei test programLionel Landwerlin
https://bugzilla.gnome.org/show_bug.cgi?id=704481
2013-09-19plugins: add missing linker flagsLionel Landwerlin
https://bugzilla.gnome.org/show_bug.cgi?id=704481