aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-03-25libqmi-glib: use ((guint64) 1) << 31 for QMI_*_BAND_CAPABILITY_BC_15Reinhard Speyerer2-2/+2
The current definition of QMI_*_BAND_CAPABILITY_BC_15 gets converted to a negative value (0xffffffff80000000) which causes false positives for BC15 to be returned from dms_add_qmi_bands() and nas_add_qmi_bands() in ModemManager/src/mm-modem-helpers-qmi.c when a matching QMI band (e.g. WCDMA900) is present in qmi_bands like in this example https://lists.freedesktop.org/archives/libqmi-devel/2016-March/001572.html . Replace 1 << 31 with ((guint64) 1) << 31 for QMI_*_BAND_CAPABILITY_BC_15 to avoid incorrect mmcli "Bands | supported: 'cdma-bc15-aws, ...'" output. Signed-off-by: Reinhard Speyerer <rspmn@arcor.de>
2016-03-22qmicli,voice: it's gplv2+, not gplv3+Aleksander Morgado1-1/+1
The license in this source file wasn't updated as all the others because it was cherry-picked later on from an old branch. Reported by Michael Biebl <mbiebl@gmail.org>
2016-03-17libqmi-glib,device: add documentation of when the new methods were introducedAleksander Morgado1-0/+6
2016-03-04qmicli,test: add key/value parser testsAleksander Morgado1-1/+96
2016-03-03trivial: whitespace fixesDan Williams12-147/+147
2016-02-08qmicli: fix PLMN printingBjørn Mork1-2/+6
BCD PLMNs with 2 digit MNCs will have an 'F' digit between the MCC and the MNC. This maps to \0, which would cause a truncated result string with only the MCC. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-01-30uim: implement 'UIM Change PIN'Aleksander Morgado1-0/+116
2016-01-30uim: implement 'UIM Unblock PIN'Aleksander Morgado1-0/+116
2016-01-30uim: implement 'UIM Verify PIN'Aleksander Morgado1-0/+113
2016-01-30uim: implement 'UIM Set PIN protection'Aleksander Morgado5-8/+174
2016-01-24qmicli: new '--get-expected-data-format' & '--set-expected-data-format' actionsAleksander Morgado3-1/+98
These new actions allow to query or update the data format expected by the kernel in the WWAN interface associated to the cdc-wdm device used.
2016-01-24libqmi-glib,device: new getter/setter for the expected data format in the kernelAleksander Morgado2-1/+197
Userspace is in charge of defining the data format to be used in the WWAN net interface, both in the device itself (e.g. through CTL or WDA requests) and also in the kernel (e.g. through /sys/class/net/<WWAN>/qmi/raw_ip sysfs files). These new API methods allow to query and modify the data format expected by the kernel.
2016-01-11wds: add GetPDNThrottleInfo messageDan Williams1-0/+12
2016-01-11libqmi-glib: add more Internal verbose call end reasonsDan Williams1-7/+39
2016-01-06libqmi-glib,device: debug-print raw invalid QMI messages tooDan Williams1-0/+14
2015-12-03libqmi-qmicli: extend --wds-start-network with 3gpp-profile and ↵Džiugas Baltrūnas1-7/+31
3gpp2-profile parameters
2015-10-12qmicli,wds: allow autoconnect settings in Start/Stop Network commandsAleksander Morgado3-20/+75
2015-10-12qmicli,wds: setup new key-value format based Start Network commandAleksander Morgado3-36/+305
This would be equivalent to the new format used in mbimcli's --connect operation, and will allow us to add new parameters easily. Note that The old legacy format will still be supported, for backwards compatibility.
2015-10-12qmicli,wds: start network bundle creation in its own methodAleksander Morgado1-39/+64
2015-10-12qmicli,wds: allow specifying network data handle in hexAleksander Morgado1-4/+6
E.g. to give the global packet data handle, which is 0xFFFFFFFF.
2015-10-06wds: new 'WDS Set Autoconnect Setting' command supportAleksander Morgado3-19/+175
2015-10-06wds: new 'WDS Get Autoconnect Setting' command supportAleksander Morgado2-0/+84
2015-10-06libqmi-glib,qmicli: update copyright yearsAleksander Morgado28-30/+33
Also, remove some obsolete email addresses.
2015-08-02qmicli: print LTE band description along with the EARFCNAleksander Morgado3-6/+74
2015-02-26qmicli,wds: new '--wds-get-current-settings' actionAleksander Morgado1-0/+175
Will print the IPv4 and IPv6 settings when connected. This information can be used to statically set the network interface configuration, instead of relying on a DHCP client.
2015-02-26qmicli: avoid redefining shutdown()Aleksander Morgado8-284/+284
2015-02-25qmicli: use common helper to print list of supported messagesAleksander Morgado10-175/+106
2015-02-25wms: implement 'Get Supported Messages'Aleksander Morgado1-1/+76
2015-02-25wds: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25voice: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25uim: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25nas: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25wda: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25dms: implement 'Get Supported Messages'Aleksander Morgado1-0/+75
2015-02-25qmicli: new WMS action groupAleksander Morgado4-0/+202
Currently just supporting '--wms-reset' and '--wms-noop'.
2015-02-24libqmi-glib,message: fix big-endian handling of tlv->length (debian #778346)Aleksander Morgado1-4/+4
tlv->length is little-endian, so access to it must be protected with GUINT16_FROM_LE/GUINT16_TO_LE. Fixes testcase failures on PPC32. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778346
2015-02-24qmicli,dms: avoid shadowing global 'timezone' variableAleksander Morgado1-4/+4
qmicli-dms.c: In function ‘get_time_ready’: qmicli-dms.c:1585: error: declaration of ‘timezone’ shadows a global declaration /usr/include/time.h:292: error: shadowed declaration is here make[4]: *** [qmicli-qmicli-dms.o] Error 1 make[4]: Leaving directory `/usr/src/libqmi-1.13.4/src/qmicli' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/libqmi-1.13.4/src/qmicli' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/libqmi-1.13.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/libqmi-1.13.4' make: *** [all] Error 2
2015-02-23qmi-proxy: new '--no-exit' optionAleksander Morgado1-6/+14
This new option will make the proxy to avoid exiting when no connected clients were found. Without this option, the proxy will end up exiting after 30s without a valid QmiDevice connected to the proxy, e.g.: $ sudo /usr/libexec/qmi-proxy --verbose [23 feb 2015, 20:48:35] [Debug] creating UNIX socket service... [23 feb 2015, 20:48:35] [Debug] starting UNIX socket service at 'qmi-proxy'... [23 feb 2015, 20:49:05] [Debug] UNIX socket service at 'qmi-proxy' stopped [23 feb 2015, 20:49:05] [Debug] exiting 'qmi-proxy'...
2015-02-23qmi-proxy: fix program name in --versionAleksander Morgado1-2/+2
2015-02-07qmicli: new '--voice-get-config' actionAleksander Morgado4-1/+322
2015-02-07voice: initial support for the Voice serviceAleksander Morgado6-5/+279
2015-02-07dms: new 'DMS Set FCC Authentication' messageAleksander Morgado1-0/+48
Dell-branded Sierra modems, like the Dell DW5570 (Sierra Wireless MC8805) need this specific command before they can be put in 'online' mode: $ sudo qmicli -d /dev/cdc-wdm1 --dms-get-operating-mode [/dev/cdc-wdm1] Operating mode retrieved: Mode: 'low-power' HW restricted: 'no' $ sudo qmicli -d /dev/cdc-wdm1 --dms-set-fcc-authentication [/dev/cdc-wdm1] Successfully set FCC authentication $ sudo qmicli -d /dev/cdc-wdm1 --dms-get-operating-mode [/dev/cdc-wdm1] Operating mode retrieved: Mode: 'online' HW restricted: 'no' https://bugzilla.kernel.org/show_bug.cgi?id=92101
2015-02-04qmicli: in '--dms-get-time' print date/time along with the gpstime epochAleksander Morgado1-6/+29
2015-01-28qmicli: new '--get-wwan-iface' command line option to print WWAN iface nameAleksander Morgado1-1/+34
2015-01-28libqmi-glib,device: new property and getter to load the WWAN interface nameAleksander Morgado2-0/+110
Each QMI control port has one and only one associated WWAN net port. This new "device-wwan-iface" property and the qmi_device_get_wwan_iface() getter allow to load the WWAN net port name by looking directly at sysfs.
2015-01-27qmicli,wda: error out early if parsing the --set-data-format value failsAleksander Morgado1-0/+4
2015-01-26nas: fix QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE enum name (api break)Aleksander Morgado1-2/+2
Just a enum value rename, but breaks API. Also, version bump to 0.13.3 to flag the exact version in which the change was introduced.
2015-01-25qmicli: add command completionAleksander Morgado2-0/+159
https://bugs.freedesktop.org/show_bug.cgi?id=87900
2015-01-25libqmi-glib,message: add missing services in get_printable() and ↵Aleksander Morgado1-0/+21
get_version_introduced()
2015-01-24libqmi-glib,wds: support 'UMTS Granted QoS' TLV in 'Get Current Settings'Aleksander Morgado1-0/+82