aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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
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