aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* libqmi-glib: Android: don't try to register a D-Bus error domainHEADmasterWolfgang Wiedmeyer2017-09-051-1/+1
| | | | | | Causes a crash on Android. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* qmicli: add Android.mkWolfgang Wiedmeyer2017-09-041-0/+51
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* utils: use realpath() instead of canonicalize_file_name()Wolfgang Wiedmeyer2017-09-041-1/+1
| | | | | | | Some standard C libraries like Android's Bionic don't support canonicalize_file_name(). Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* device: avoid signals sent to the qmi-proxy processAleksander Morgado2017-08-081-1/+8
| | | | | | | | | If e.g. qmi-proxy is started by ModemManager and we send a Ctrl+C to it, the signal would be propagated to the qmi-proxy process and we would kill it right away, while leaving ModemManager still around wondering why the socket to the proxy got a HUP. Avoid this, by making sure the qmi-proxy gets its own process group.
* doc: add missing 'WDS Get Channel Rates' documentationAleksander Morgado2017-06-281-0/+1
|
* libqmi-glib: make gtk-doc work again on deprecated enumeratorsBen Chan2017-06-281-29/+58
| | | | | | | | Commit c96725e7e "libqmi-glib: fix G_DEPRECATED_FOR annotations" replaced macro defintions with `static const int' definitions for those deprecated enumerators. However, gtk-doc doesn't seem to document `static const int' defintions. This patch works around the issue by adding a macro defintion on top of a `static const int' defintion.
* libqmi-glib: fix G_DEPRECATED_FOR annotationsBen Chan2017-06-281-29/+58
| | | | | | | | | | | | | | | | | | | | qmi-compat.h defines a few deprecated enumerators as an alias to their equivalence using macros and annotates those macros with G_DEPRECATED_FOR, which may be expanded to `__attribute__((deprecated))'. Neither gcc nor clang supports `__attribute__((deprecated))' on macros. Thus, a G_DEPRECATED_FOR annotation before a macro definition is actually associated with the next identifier found after the macro definition, which is incorrect. Alternatively, the G_DEPRECATED_FOR annotation can be used on the deprecated enumerators. But only gcc 6 or above supports enumerator attributes. To address the issue, this patch defines the deprecated enumerators as `static const int' values, which can then be annotated with G_DEPRECATED_FOR.
* wds: add Get Channel RatesDan Williams2017-06-232-0/+87
| | | | Reports bogus current TX/RX rates on my Huawei E397 though.
* loc: fix Since: versionsDan Williams2017-05-092-6/+7
|
* nas: add Attach/Detach messageDan Williams2017-05-094-0/+49
|
* qmicli,dms: fix logic getting stored image resultAleksander Morgado2017-04-191-2/+3
| | | | | | | | | | | | The GetStoredImageResult must exist before getting into the array item loop, so that we fill the contents of the struct when we find the images (modem and pri) we were looking for. This also fixes the build when -Werror=maybe-uninitialized is used: /var/lib/jenkins/workspace/libqmi/master-without-mbim/source/src/qmicli/qmicli-dms.c:2800:5: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized] g_task_return_pointer (task, result, (GDestroyNotify)get_stored_image_result_free); ^
* qmicli,dms: port get_stored_image to use GTaskBen Chan2017-04-191-25/+46
| | | | | | The updated code also avoids a potential memory leak of GetStoredImageContext in get_stored_image_list_stored_images_ready when the operation fails.
* qmicli: add --wds-set-ip-family commandReinhard Speyerer2017-04-192-0/+66
| | | | | | | Add qmicli --wds-set-ip-family command as suggested by Aleksander Morgado to enable proper dual stack support. Signed-off-by: Reinhard Speyerer <rspmn@arcor.de>
* libqmi-glib,device: port create_iostream to use GTaskBen Chan2017-04-181-83/+88
|
* libqmi-glib,device: port qmi_device_release_client to use GTaskBen Chan2017-04-181-40/+23
|
* qmi-codegen: port client code generation to use GTaskBen Chan2017-04-181-30/+17
|
* libqmi-glib,device: port qmi_device_open to use GTaskBen Chan2017-04-181-124/+155
|
* libqmi-glib,device: port qmi_device_allocate_client to use GTaskBen Chan2017-04-181-58/+57
|
* libqmi-glib,device: port qmi_device_set_instance_id to use GTaskBen Chan2017-04-181-14/+13
|
* libqmi-glib,device: port qmi_device_get_service_version_info to use GTaskBen Chan2017-04-181-18/+9
|
* libqmi-glib,device: port initable_init_async to use GTaskBen Chan2017-04-181-60/+41
|
* loc: add boilerplate and start/stop message skeletonsDan Williams2017-04-1711-7/+204
|
* utils: drop useless g_file_test() callMikhail Efremov2017-04-141-2/+4
| | | | | canonicalize_file_name() returns NULL if file doesn't exist, so no need to check file existence with g_file_test().
* qmi-firmware-update: remove explicit GDestroyNotify cast on g_free / ↵Ben Chan2017-03-295-9/+9
| | | | | | | | g_object_unref g_free and g_object_unref are in form of `void (*)(gpointer)`, which matches the GDestroyNotify signature. An explicit GDestroyNotify cast on g_free and g_object_unref is thus not needed.
* libqmi-lib: remove explicit GDestroyNotify cast on g_free / g_object_unrefBen Chan2017-03-291-1/+1
| | | | | | g_free and g_object_unref are in form of `void (*)(gpointer)`, which matches the GDestroyNotify signature. An explicit GDestroyNotify cast on g_free and g_object_unref is thus not needed.
* build: post release version bump to 1.19.0Aleksander Morgado2017-03-221-1/+1
|
* release: bump version to 1.18.0Aleksander Morgado2017-03-221-4/+4
|
* NEWS: update for 1.18.0Aleksander Morgado2017-03-221-0/+142
|
* AUTHORS: updateAleksander Morgado2017-03-221-8/+16
| | | | Based on git stats: git shortlog -s -n --all --no-merges
* docs,man: generate man page for qmi-firmware-updateAleksander Morgado2017-03-222-2/+18
|
* qmicli,wds: only need to initialize enum member fields in structAleksander Morgado2017-03-221-8/+3
| | | | | | | | When doing member initializations when the struct variable is declared, only initialize the enum fields to valid enum values, the remaining fields will be initialized to zero. This is a different approach to the fix done in 4c678418.
* README: add note about licensing of qmi-firmware-updateAleksander Morgado2017-03-181-1/+2
|
* build: skip building qmi-firmware-update if requested to do soAleksander Morgado2017-03-031-1/+5
|
* docs: improve QMI_CHECK_VERSION documentationAleksander Morgado2017-03-011-0/+2
|
* docs: fix QMI_PROXY_N_CLIENTS documentationAleksander Morgado2017-03-011-1/+1
|
* docs: fix QmiProxy:qmi-proxy-n-clients documentationAleksander Morgado2017-03-011-1/+1
|
* docs: fix qmi_wds_data_system_get_string() documentationAleksander Morgado2017-03-011-1/+1
|
* docs: add missing 'WDS Bind MUX data port' documentationAleksander Morgado2017-03-011-0/+1
|
* libqmi-glib: fix enum nicknames with '3gpp' on itAleksander Morgado2017-03-013-11/+12
|
* docs: fix QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED docsAleksander Morgado2017-03-011-2/+2
|
* docs: add missing documentation fo QmiWdsClientTypeAleksander Morgado2017-02-281-0/+5
|
* docs: add missing documentation for QmiDataEndpointTypeAleksander Morgado2017-02-281-0/+5
|
* wds: added WDS Bind Mux Data Port messageCarlo Lobrano2017-02-284-1/+213
| | | | | | | | | | | | | | This message is used to bind a muxed data port to a controller device. The Muxed data port has to be managed by qmi_wwan driver. The Muxed data port is identified by: - mux_id: the numeric ID given to qmi_wwan once created - interface number: the interface number of the qmi controller device on the modem Once the binding is completed, all the commands sent (and I expect also received, but I could not test it) using the same Client ID are for the binded data port instead of the real one.
* wda: extended wda set format message to enable QMUXCarlo Lobrano2017-02-285-13/+304
| | | | | | | | | | | | | | | | | | | | | | Added the following configurable values: - upload datagram protocol - download datagram protocol - download datagram max size - download max datagrams - endpoint type - endpoint interface number According to last GobiNet from CodeAura project, it is necessary to set the following values to enable multiple data connection through one controller device: - upload datagram protocol = QMAP - download datagram protocol = QMAP - download datagram max size = 32 (it seems working even without setting it) - download max datagrams = 32768 (it seems working even without setting it) - endpoint type = HSUSB (it seems working even without setting it) - endpoint interface number = this depends on the modem, but it seems working even without setting it
* libqmi-glib,errors: Fix 'INVALID_TRANSITION' nicknameAleksander Morgado2017-02-281-1/+1
|
* build: bump version to 1.17.901Aleksander Morgado2017-02-231-1/+1
|
* build: mm-runtime-check is an optional feature not an optional packageAleksander Morgado2017-02-234-11/+11
|
* docs: add missing references to Operator Name messagesAleksander Morgado2017-02-232-0/+22
|
* qmi-firmware-update: new optional runtime check to see if MM runningAleksander Morgado2017-02-234-15/+129
| | | | | Enabled by default, may be disabled using --without-mm-runtime-check during configure.
* qmicli,helpers: make sure flags are reset before parsing the stringAleksander Morgado2017-02-151-0/+4
| | | | | | | We OR each flag value found in the output directly, so make sure that output is clear before adding any new flag. Reported-by: Paul Gildea <gildeap@tcd.ie>