aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-10-06wds: add Go Dormant, Go Active, and Get Dormancy StatusDan Williams1-0/+149
2016-10-06wds: add Set Event Report and Event Report IndicationDan Williams1-20/+296
2016-10-05qmicli: fix handling of unspecified ip_type in --wds-start-networkDan Williams1-1/+1
QMI_WDS_IP_FAMILY_UNSPECIFIED = 8 but ip_type gets initialized to 0, so the "IP Family Preference" was always being sent with an unrecognized value. Fixes: 81c21379 qmicli: add support for IP type to --wds-start-networ
2016-09-30qmi-device: assume reasonable DMS version if WDS is high enoughDan Williams1-7/+25
Some devices (Quectel EC21) lie about their supported DMS version, so assume a reasonable DMS version if the WDS version is high enough.
2016-09-26qmicli,dms: report offline reason for LOW_POWER mode tooDan Williams1-1/+1
If the device cannot exit low-power mode it sometimes reports a reason, like pri-image-misconfiguration.
2016-08-29qmicli,dms: avoid pointer when reading enum arrayAleksander Morgado1-3/+3
2016-08-29qmicli,dms: prefer '--dms-set-firmware-preference' instead of ↵Aleksander Morgado1-6/+6
'--dms-set-firmware-pref'
2016-08-29qmicli: report which new images the firmware expects to downloadBjørn Mork1-0/+20
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-08-29qmicli: preparing for firmware download supportBjørn Mork1-0/+72
The firmware preference must be set to the new firmware version before a firmware download can take place. Add support for setting the firmware preference independently of the currently installed images. Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-08-23qmicli: show IP type in --wds-start-network outputDan Williams1-2/+9
2016-08-19nas: fix RX/TX mixupBjørn Mork1-2/+2
Don't know what I was thinking here, but the referenced channels are of course *RX* channels. None of my modems can do TX CA. Yet :) Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-08-18qmicli: add support for IP type to --wds-start-networkDan Williams1-1/+25
2016-07-07libqmi-glib,device: avoid unref-ing MBIM message if none receivedAleksander Morgado1-1/+2
2016-07-07libqmi-glib,device: fix build with mbim-qmux disabledAleksander Morgado1-7/+12
2016-07-07libqmi-glib,version: new symbol to flag qmi-over-mbim supportAleksander Morgado1-0/+17
2016-07-07libqmi-glib,mbim: run the mbim close operation synchronouslyAleksander Morgado1-20/+40
2016-07-07libqmi-glib,mbim: don't create mbim device multiple timesAleksander Morgado1-0/+9
2016-07-07libqmi-glib,mbim: rework transaction management on mbim backendAleksander Morgado2-56/+159
The lifecycle for transactions going through the MBIM backend is a bit different w.r.t. the default one: * Given that libmbim has its own timeout management for the commands sent, we will rely on it instead of having our own. This means that we always assume that mbim_command() finishes, as it should be. * Instead of using the response QMI message to match a transaction, when using MBIM we use the transaction key given in the context passed to mbim_command() and by doing this we make sure that the transaction is always removed from the tracking table, regardless of whether the QMI message inside matched or not.
2016-07-07libqmi-glib,mbim: destroy mbim device on port closeAleksander Morgado1-10/+28
2016-07-07libqmi-glib,device: include steps for mbim device create/openAleksander Morgado1-39/+78
2016-07-07libqmi-glib,device: fix indentationAleksander Morgado1-12/+12
2016-07-07build: update `--enable-mbim-qmux' rulesAleksander Morgado1-8/+10
If libmbim 1.14.0 found, enable QMI over MBIM support.
2016-07-07qmicli: support MBIM EXT_QMUX devicesBjørn Mork1-0/+7
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-07-07libqmi: support MBIM EXT_QMUX serviceBjørn Mork3-5/+158
Signed-off-by: Bjørn Mork <bjorn@mork.no>
2016-07-07qmicli: remove unused user_data in qmi_device_new() callbackAleksander Morgado1-1/+1
Reported-by: Jing Chen <jing.chen@spirent.com>
2016-06-10nas: support 'Force Network Search'Aleksander Morgado1-0/+47
2016-06-01libqmi-glib,test: fix implicit conversions to long typesAleksander Morgado1-2/+2
cc1: warnings being treated as errors test-generated.c: In function 'dms_get_time_ready': test-generated.c:292: error: integer constant is too large for 'long' type test-generated.c:298: error: integer constant is too large for 'long' type
2016-04-03qmicli,nas: avoid redefining 'index'Aleksander Morgado1-3/+3
qmicli-nas.c: In function 'get_lte_cphy_ca_info_ready': qmicli-nas.c:2780:12: error: declaration of 'index' shadows a global declaration [-Werror=shadow] cc1: all warnings being treated as errors make[7]: *** [qmicli-qmicli-nas.o] Error 1
2016-04-03libqmi-glib: handle api break introduced in 7fe1238 (released in 1.14.0)Aleksander Morgado1-0/+11
We provide a compatibility symbol to try to provide a better backwards compatibility.
2016-04-03libqmi-glib: handle api break introduced in 7ca279e9a42 (released in 1.14.0)Aleksander Morgado4-0/+168
Commit 7ca279e9a42 introduced a couple of method renames that we now try to recover in order to provide a better backwards API compatibility.
2016-04-03nas: implement 'Get LTE Cphy CA Info'Bjørn Mork2-0/+146
Carrier aggregation is much more fun when you can watch it being activated :) $ qmicli -p -d /dev/cdc-wdm0 --nas-get-lte-cphy-ca-info [/dev/cdc-wdm0] Successfully got carrier aggregation info DL Bandwidth: '20' Secondary Cell Info Physical Cell ID: '101' TX Channel: '3050' DL Bandwidth: '20' LTE Band: 'eutran-7' State: 'activated' Primary Cell Info Physical Cell ID: '299' TX Channel: '1450' DL Bandwidth: '20' LTE Band: 'eutran-3' Secondary Cell index: '1' I have absolutely no clue about the required NAS version, so I just put the current version I have there... Signed-off-by: Bjørn Mork <bjorn@mork.no>
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