commit 717067603d82c14452e70fa24cacb60ac7688685
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 27 11:13:56 2021 +0200

    release: bump version to 1.26.0

 configure.ac | 8 ++++----
 meson.build  | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

commit f9fc06b832accde92d353fde8b783f156d4998a2
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 27 11:13:48 2021 +0200

    NEWS: update for 1.26.0

 NEWS | 95
 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)

commit cc2bf193442855d1ca1f9f3d031366c5205c40de
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 27 11:21:50 2021 +0200

    RELEASING: update with full explanation

 RELEASING | 45 +++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 43 insertions(+), 2 deletions(-)

commit d67e369f95f142a170a6c525c3d1140d1f18e33f
Author: Iñigo Martínez <inigomartinez@gmail.com>
Date:   Mon Jul 26 10:22:41 2021 +0200

    build,meson: make bash-completion file install optional

    `mbimcli` provides a bash-completion file. To install this file
    `bash-completion`'s pkg-file is checked to set the proper
    installation directory.

    This has been made optional.

 meson.build             | 14 ++++++++++++--
 meson_options.txt       |  2 ++
 meson_post_install.py   |  9 ++++++---
 src/mbimcli/meson.build | 10 ++++++----
 4 files changed, 26 insertions(+), 9 deletions(-)

commit 53a35e1e6fc76b010751d2b134d48f9d44ce8cd3
Author: Yegor Yefremov <yegorslists@googlemail.com>
Date:   Sat Jul 24 23:09:33 2021 +0200

    meson: fix SPDX license identifier

    There is no such license as GPL-2 in the SPDX nomenclature. As
    the project is licensed under GNU General Public License v2.0
    or later, use the related identifier GPL-2.0-or-later.

 docs/man/meson.build                        | 2 +-
 docs/reference/libmbim-glib/meson.build     | 2 +-
 docs/reference/libmbim-glib/xml/meson.build | 2 +-
 meson.build                                 | 2 +-
 src/common/meson.build                      | 2 +-
 src/common/test/meson.build                 | 2 +-
 src/libmbim-glib/generated/meson.build      | 2 +-
 src/libmbim-glib/meson.build                | 2 +-
 src/libmbim-glib/test/meson.build           | 2 +-
 src/mbim-proxy/meson.build                  | 2 +-
 src/mbimcli/meson.build                     | 2 +-
 src/meson.build                             | 2 +-
 utils/meson.build                           | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

commit 4e2e3c2fda597c7fa4d4ff74b5d41ace032d4b24
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Jul 22 12:28:03 2021 +0200

    ci: remove autoconf-archive from template

 .gitlab-ci.yml | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

commit 411a14d71df463b46e9b330ceb06f07ace65ad34
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 21 16:07:58 2021 +0200

    build: import used AX_ macros from autoconf-archive

    This allows us to build from git without build-depending on
    autoconf-archive, which is not always available as a package.

 m4/ax_append_compile_flags.m4   |  46 ++++++++
 m4/ax_append_flag.m4            |  50 +++++++++
 m4/ax_append_link_flags.m4      |  44 ++++++++
 m4/ax_check_compile_flag.m4     |  53 ++++++++++
 m4/ax_check_link_flag.m4        |  53 ++++++++++
 m4/ax_code_coverage.m4          | 229
 ++++++++++++++++++++++++++++++++++++++++
 m4/ax_compiler_flags.m4         | 158 +++++++++++++++++++++++++++
 m4/ax_compiler_flags_cflags.m4  | 161 ++++++++++++++++++++++++++++
 m4/ax_compiler_flags_gir.m4     |  60 +++++++++++
 m4/ax_compiler_flags_ldflags.m4 | 111 +++++++++++++++++++
 m4/ax_is_release.m4             |  80 ++++++++++++++
 m4/ax_require_defined.m4        |  37 +++++++
 12 files changed, 1082 insertions(+)

commit ec4e06be1c128cb6f2fd7ab3fc6efd1ffb75d108
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 21 09:17:53 2021 +0200

    build: update introspection.m4

    In sync with gobject-introspection 1.68.0

 m4/introspection.m4 | 59
 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 52 insertions(+), 7 deletions(-)

commit 007c6a44459e4b6b476fc947ce6fa4e729ae7fff
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 21 16:13:42 2021 +0200

    docs: QDU is defined by Qualcomm

 docs/reference/libmbim-glib/libmbim-glib-docs.xml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

commit 4f0fb6937dc90b9923388ef9be7d71f072193976
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 14 15:12:02 2021 +0200

    build: version bump to flag existence of new API (DSSA MS extensions)

 configure.ac | 2 +-
 meson.build  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 9c3805b9f31123bcd9d8082d69de54bdea441efd
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 14 15:11:04 2021 +0200

    data,ms-basic-connect-extensions: remove trailing whitespaces

 data/mbim-service-ms-basic-connect-extensions.json | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 40d5e0e7a4ac9a6fbd2f60b0cdd785785a7d2e4b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 13 21:46:25 2021 +0200

    libmbim-glib,net-port-manager: automatic session id allocation starts
    at 1

 src/libmbim-glib/mbim-net-port-manager.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 058d68fa920a1c45af2868fb3bfc914318ff8ff1
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jul 13 16:03:20 2021 +0200

    libmbim-glib,net-port-manager: log the VLAN id requested via netlink

 src/libmbim-glib/mbim-net-port-manager.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

commit c1aef5ca1f03ca108fb279de1a1d68ac021745c8
Author: King.Sun <king.sun@fibocom.com>
Date:   Wed Jun 2 12:22:56 2021 +0800

    ms-basic-connect-extensions: add 'device caps'

    We query the device capabilities and we can see
    the following information

    mbimcli -d /dev/cdc-wdm0 -p --ms-query-device-caps
    [/dev/cdc-wdm0] Device capabilities retrieved:
                  Device type: 'x'
               Cellular class: 'x'
                  voice class: 'x'
                    SIM class: 'x'
                   Data class: 'x, x, x, x'
                     SMS caps: 'x, x'
                    CTRL caps: 'x'
                 Max sessions: 'x'
            Custom data class: 'x'
                    Device ID: 'x'
                Firmware info: 'x'
                Hardware info: 'x'
               Executor Index: 'x'

 data/mbim-service-ms-basic-connect-extensions.json |  47 ++++++++-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c  | 113
 +++++++++++++++++++++
 2 files changed, 159 insertions(+), 1 deletion(-)

commit 95a5d2f5829df9e1e7c8cda511d17fefb06dd32a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jun 1 09:33:00 2021 +0200

    build: version bump to flag existence of new API (UICC low level
    access service)

 configure.ac | 2 +-
 meson.build  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 75149b78100f70bcc9172d0113fe75fb0790ed20
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Thu May 20 23:13:19 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-reset'

    MSFT MBIM_CID_MS_UICC_RESET is used to reset the UICC or
    to query passthrough state of the function.
    If host/application specifies passthrough action, the function
    resets the UICC and upon UICC power up, treats the UICC as if
    it were in a passthrough mode. If the passthrough action is
    disabled during reset operation then upon power up, treats
    the UICC as a regular Telecom UICC and expects a Telecom
    UICC file system to be present on the UICC

 data/mbim-service-ms-uicc-low-level-access.json    | 16 ++++++++++-
 .../libmbim-glib/libmbim-glib-common.sections      | 10 +++++++
 src/libmbim-glib/mbim-cid.c                        |  3 ++-
 src/libmbim-glib/mbim-cid.h                        |  2 ++
 src/libmbim-glib/mbim-enums.h                      | 31
 ++++++++++++++++++++++
 5 files changed, 60 insertions(+), 2 deletions(-)

commit ebf1bed2122f960f4105b3be734f1f7b5776fd2a
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Thu May 20 23:02:17 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'terminal capabilty'

    MSFT MBIM_CID_MS_UICC_TERMINAL_CAPABILITY is used to inform the
    modem about the capability of the sending entity/application.
    Details about terminal capability apdu can be found in
    section 11.1.19 of ETSI TS 102 221
    terminal capability apdu must be sent to the card before the
    application is selected using this CID by the host.

 data/mbim-service-ms-uicc-low-level-access.json | 38
 +++++++++++++++++++++----
 src/libmbim-glib/mbim-cid.c                     |  3 +-
 src/libmbim-glib/mbim-cid.h                     |  2 ++
 3 files changed, 36 insertions(+), 7 deletions(-)

commit 45ec01a13b96218947ea7c5b7103ce0ece31a0cc
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Sat May 8 15:46:01 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-apdu'

    MSFT MBIM_CID_MS_UICC_APDU is used to send a command APDU to
    a specific logical channel on the UICC and receive the
    response. Sending entity has to ensure that the logical
    channel was previously opened with uicc-open channel.
    Refer section 10.1.1 of ETSI TS 102 221 TS for more details
    on apdu encoding/decoding.

 data/mbim-service-ms-uicc-low-level-access.json    | 22 ++++++++++++++-
 .../libmbim-glib/libmbim-glib-common.sections      | 10 +++++++
 src/libmbim-glib/mbim-cid.c                        |  3 ++-
 src/libmbim-glib/mbim-cid.h                        |  2 ++
 src/libmbim-glib/mbim-enums.h                      | 31
 ++++++++++++++++++++++
 5 files changed, 66 insertions(+), 2 deletions(-)

commit 3256374eb879a415d2d9edd0a783c7ebaa59647d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon May 31 15:16:07 2021 +0200

    libmbim-glib,enums: add section separator for the slot info enum

 src/libmbim-glib/mbim-enums.h | 3 +++
 1 file changed, 3 insertions(+)

commit 8327ce789c7bd8f16f2b3db389c7353b023611c0
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Sat May 8 15:27:13 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-close channel'

    MSFT MBIM_CID_MS_UICC_CLOSE_CHANNEL is used to close a logical
    channel on the UICC. Sending entity may specify a channel number
    or may specify a channel group.

 data/mbim-service-ms-uicc-low-level-access.json | 14 +++++++++++++-
 src/libmbim-glib/mbim-cid.c                     |  3 ++-
 src/libmbim-glib/mbim-cid.h                     |  2 ++
 3 files changed, 17 insertions(+), 2 deletions(-)

commit e2667b6ef5b1b1a2d22b46752399cd77af94fd6f
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Sat May 8 14:51:58 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-open channel'

    MSFT MBIM_CID_MS_UICC_OPEN_CHANNEL sends a Manage channel command to
    the UICC as described by section 11.1.17 of ETSI TS 102.221 TSpec.
    If the manage channel is successful UICC sends channel number of the
    new logical channel to the function.

 data/mbim-service-ms-uicc-low-level-access.json | 19 ++++++++++++++++++-
 src/libmbim-glib/mbim-cid.c                     |  3 ++-
 src/libmbim-glib/mbim-cid.h                     |  2 ++
 3 files changed, 22 insertions(+), 2 deletions(-)

commit 685a8b5737bef3f11867219da6864148c655112c
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Sat May 8 11:58:35 2021 +0530

    libmbim-glib,ms-uicc-low-level-access: adding cid 'uicc-atr'

    The Answer to Reset(ATR) CID implementation.
    ATR is the first string of bytes sent by the UICC after
    reset has been performed. Host should save this ATR when
    it is received from UICC for future use.

 data/Makefile.am                                       |  1 +
 data/mbim-service-ms-uicc-low-level-access.json        | 15
 +++++++++++++++
 docs/reference/libmbim-glib/Makefile.am                |  3 ++-
 .../libmbim-glib/libmbim-glib-common.sections          |  6 ++++++
 docs/reference/libmbim-glib/libmbim-glib-docs.xml      |  1 +
 src/libmbim-glib/generated/Makefile.am                 | 18
 +++++++++++++++---
 src/libmbim-glib/generated/meson.build                 |  1 +
 src/libmbim-glib/libmbim-glib.h                        |  1 +
 src/libmbim-glib/mbim-cid.c                            | 15
 +++++++++++++++
 src/libmbim-glib/mbim-cid.h                            | 14
 ++++++++++++++
 src/libmbim-glib/mbim-message.c                        |  4 ++++
 src/libmbim-glib/mbim-uuid.c                           | 13 +++++++++++++
 src/libmbim-glib/mbim-uuid.h                           | 11 +++++++++++
 src/mbimcli/mbimcli.c                                  |  1 +
 14 files changed, 100 insertions(+), 4 deletions(-)

commit 667ad91d620c7fb75774abcc85b625bae1bb5161
Author: Som_SP <somashekhar.puttagangaiah@intel.com>
Date:   Fri May 28 14:28:58 2021 +0530

    mbim-codegen: add new 'uicc-ref-byte-array' field type

    New data-type 'uicc-ref-byte-array' is added which will help
    to encode byte-array which requires the encoding of the format
    size-offset-byte array.

 build-aux/mbim-codegen/Message.py       | 57
 ++++++++++++++++++++++++---------
 build-aux/mbim-codegen/Struct.py        | 16 ++++-----
 src/libmbim-glib/mbim-message-private.h |  9 ++++--
 src/libmbim-glib/mbim-message.c         | 41 ++++++++++++++++++++----
 4 files changed, 90 insertions(+), 33 deletions(-)

commit 737c576992e622a38b34525594db1004903f83d7
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 26 12:09:22 2021 +0200

    ci: use script references in the artifacts build

    The artifacts build should run the same commands as the default build,
    with additional steps for the artifacts.

 .gitlab-ci.yml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

commit a6eded819c43a1c80fa8538aac47aaf252caf117
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed May 26 11:56:25 2021 +0200

    ci: build with artifacts only in master and tags

 .gitlab-ci.yml | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

commit ed53f480650648351794beda2b50de5c9b49318e
Author: ZhangMingjie <superzmj@fibocom.com>
Date:   Tue May 25 20:25:54 2021 +0800

    ms-basic-connect-extensions: implement 'Device Slot Mappings'

    We set device slot mappings and we can see
    the following information.

    mimcli -d /dev/cdc-wdm0 -p --ms-set-device-slot-mappings=1
    [/dev/cdc-wdm0] Updated slot mappings retrieved:
                Executor 0: slot 1

    We query device slot mappings and we can see
    the following information.

    mbimcli -d /dev/cdc-wdm0 -p --ms-query-device-slot-mappings
    [/dev/cdc-wdm0] Slot mappings retrieved:
                Executor 0: slot 0

 data/mbim-service-ms-basic-connect-extensions.json |  29 ++++-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c  | 141
 ++++++++++++++++++++-
 2 files changed, 168 insertions(+), 2 deletions(-)

commit 37c4d4919024c0565505cca45c8e0ad598c37fdd
Author: ZhangMingjie <superzmj@fibocom.com>
Date:   Tue May 25 15:35:08 2021 +0800

    ms-basic-connect-extensions: implement 'Slot Info Status'

    We query device slot information status and we can see
    the following information.

    mbimcli -d /dev/cdc-wdm0 -p --ms-query-slot-info-status=1
    [/dev/cdc-wdm0] Slot info status retrieved:
                SLot 1: slot-state-active

 data/mbim-service-ms-basic-connect-extensions.json |  21 ++++-
 .../libmbim-glib/libmbim-glib-common.sections      |   5 ++
 src/libmbim-glib/mbim-enums.h                      |  28 ++++++
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c  | 100
 ++++++++++++++++++++-
 4 files changed, 152 insertions(+), 2 deletions(-)

commit 3d6acd3352ec80b98c774e0e4ccd6e04d658de54
Author: ZhangMingjie <superzmj@fibocom.com>
Date:   Mon May 24 15:57:05 2021 +0800

    mbimcli: add missing action flag for --query-sys-caps

 src/mbimcli/mbimcli-ms-basic-connect-extensions.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit a3929d66560070deeaa47dccadfd8c464f028ed0
Author: ZhangMingjie <superzmj@fibocom.com>
Date:   Thu May 20 15:49:20 2021 +0800

    ms-basic-connect-extensions: implement 'Sys caps'

    Update data/mbim-service-ms-basic-connect-extensions.json,
           src/mbimcli/mbimcli-ms-basic-connect-extensions.c

    We query the system capalibities and we can see
    the following information.

    mbimcli -d /dev/cdc-wdm0 -p --ms-query-sys-caps
    [/dev/cdc-wdm0] System capabilities retrieved:
          Number of executors: 'x'
              Number of slots: 'x'
                  Concurrency: 'x'
                     Modem ID: 'xxx'

 data/mbim-service-ms-basic-connect-extensions.json | 18 +++++-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c  | 64
 ++++++++++++++++++++++
 2 files changed, 81 insertions(+), 1 deletion(-)

commit 764d91155570d653e178ae8f12ff4de00d71e06c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue May 18 11:09:54 2021 +0200

    core: drop "volatile" for g_once_init_enter locations

    This fixes a few (fatal in gcc 11) warnings.

    See https://gitlab.gnome.org/GNOME/glib/-/issues/600

 build-aux/templates/mbim-enum-types.c.template  | 8 ++++----
 build-aux/templates/mbim-error-types.c.template | 8 ++++----
 src/libmbim-glib/mbim-message.c                 | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

commit 9016e0d72d5c7da68eccdc8413e82240a27bfeef
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 15 15:29:32 2021 +0200

    libmbim-glib,message: fix overflows when checking required size

    The message parsers will make sure the amount of data read from the
    message is within the boundaries of the message itself. But, while
    doing so, the parser will "compute" the required size based on message
    field offsets and also based on offsets and sizes reported within the
    message itself.

    If these fields are malformed and report very long offsets or
    sizes (e.g. 0xFFFFFFFF), adding those values into a target uint32
    value will definitely overflow.

    Fix this by making the required size computations using a target
    uint64 value instead, so that adding up several uint32 values (even if
    some of them are e.g. 0xFFFFFFFF) won't overflow the operation.

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/issues/16

 src/libmbim-glib/mbim-message.c | 160
 ++++++++++++++++++++--------------------
 1 file changed, 80 insertions(+), 80 deletions(-)

commit 7a86e782e0778c458990d8f506db94bb65e4b44b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 15 15:28:51 2021 +0200

    libmbim-glib,message: trivial fix in guint64 value parsing

    All relative offsets are 32bit values

 src/libmbim-glib/mbim-message-private.h | 2 +-
 src/libmbim-glib/mbim-message.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 31d9bd9f8252840c3174eece3880131fe610547e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 15 15:27:10 2021 +0200

    libmbim-glib,message: trivial fix to remove trailing whitespaces

 src/libmbim-glib/mbim-message.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit f574596f2c092b4f779fc3ec03fa0e852b12a104
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat May 15 15:23:09 2021 +0200

    libmbim-glib,test: add test to trigger overflow in the message parser

    The test includes a "Basic Connect" "Visible Providers" response
    message that has both a string offset and size malformed (reported as
    0x80000020 and 0x8000000A instead of 0x00000020 and 0x0000000A).

    See
    https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/issues/16

 src/libmbim-glib/test/test-message-parser.c | 74
 +++++++++++++++++++++++++++++
 1 file changed, 74 insertions(+)

commit c90c7c5b877de6e413b4833aaf1a42d2d128b051
Author: Iñigo Martínez <inigomartinez@gmail.com>
Date:   Tue May 4 09:55:55 2021 +0200

    build,meson: fix pkg-config variable get function

    When there is no `udevdir` variable set when `mbim_username` option
    is set, the variable is get from the `udev.pc` pkg-config file.

    However, the function used, this is `get_variable` was introduced in
    meson 0.51[0]. It has been replaced by `get_pkgconfig_variable` that
    was already supported in meson 0.45.1.

    [0]
    https://mesonbuild.com/Release-notes-for-0-51-0.html#dependency-objects-now-have-a-get_variable-method

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit dcde531919666e9d8c5dc74ab74f9e6449bd90e3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue May 4 01:40:11 2021 +0200

    libmbim-glib,compat: fix return of the MbimLteAttachStatus struct

    We should not free it before returning it... :)

      Thread 1 "ModemManager" received signal SIGABRT, Aborted.
      0x00007ffff7837ef5 in raise () from /usr/lib/libc.so.6
      (gdb) bt
      #0  0x00007ffff7837ef5 in raise () at /usr/lib/libc.so.6
      #1  0x00007ffff7821862 in abort () at /usr/lib/libc.so.6
      #2  0x00007ffff7879f38 in __libc_message () at /usr/lib/libc.so.6
      #3  0x00007ffff7881bea in  () at /usr/lib/libc.so.6
      #4  0x00007ffff7883113 in _int_free () at /usr/lib/libc.so.6
      #5  0x00007ffff7886ca8 in free () at /usr/lib/libc.so.6
      #6  0x0000555555616ec5 in lte_attach_status_query_ready
      (device=0x7fffe8007e30, res=0x7fffe8011ee0, task=0x55555574bb30)
      at mm-broadband-modem-mbim.c:2713
      #7  0x00007ffff7cd33d4 in  () at /usr/lib/libgio-2.0.so.0
      #8  0x00007ffff7cd77b9 in  () at /usr/lib/libgio-2.0.so.0
      #9  0x00007ffff7e26a7f in transaction_task_complete_and_free
      (task=0x7fffe8011ee0, error=0x0) at
      ../src/libmbim-glib/mbim-device.c:243
      #10 0x00007ffff7e2864d in process_message (message=<optimized out>,
      self=0x7fffe8007e30) at ../src/libmbim-glib/mbim-device.c:906
      #11 parse_response (self=0x7fffe8007e30) at
      ../src/libmbim-glib/mbim-device.c:1049
      #12 data_available (source=0x55555571ec50, condition=<optimized
      out>, self=0x7fffe8007e30) at ../src/libmbim-glib/mbim-device.c:1125
      #13 0x00007ffff7af5f30 in g_main_context_dispatch () at
      /usr/lib/libglib-2.0.so.0
      #14 0x00007ffff7b49b59 in  () at /usr/lib/libglib-2.0.so.0
      #15 0x00007ffff7af5593 in g_main_loop_run () at
      /usr/lib/libglib-2.0.so.0
      #16 0x000055555558402f in main (argc=2, argv=0x7fffffffead8)
      at main.c:210

 src/libmbim-glib/mbim-compat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2130590f449e4e330e8f07e87f6d1463027be883
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue May 4 00:47:07 2021 +0200

    build,meson: fix missing version bump

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 7a1a45633c1b3a906730f5eac10480bdf4e93d51
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue May 4 00:37:34 2021 +0200

    build: version bump to flag existence of new API (LTE attach info)

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5f1014391f64d5c42f43a31cdf72910aff15f6f0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue May 4 00:01:02 2021 +0200

    libmbim-glib,ms-basic-connect-extensions: rework 'LTE attach status'

    The "LTE Attach Status" message was relying on a bogus
    MbimLteAttachStatus struct that was created by the library and passed
    as output of the parser methods to the user.

    This struct is completely avoidable, just by updating the messages to
    include the fields directly in the response/notification fields.

    We rename the method to 'LTE attach info' following this approach, and
    compatibility symbols are included in order to avoid breaking API/ABI.

 data/mbim-service-ms-basic-connect-extensions.json |  68 +++++++------
 .../libmbim-glib/libmbim-glib-common.sections      |   9 ++
 src/libmbim-glib/mbim-cid.h                        |   4 +-
 src/libmbim-glib/mbim-compat.c                     |  72 ++++++++++++++
 src/libmbim-glib/mbim-compat.h                     | 110
 ++++++++++++++++++++-
 src/mbimcli/mbimcli-ms-basic-connect-extensions.c  |  65 +++++++-----
 6 files changed, 271 insertions(+), 57 deletions(-)

commit 56a04aafe3bc7641f5d9deab95d20848bc5dca0f
Author: Iñigo Martínez <inigomartinez@gmail.com>
Date:   Mon May 3 22:05:51 2021 +0200

    ci: Add bash-completion package

    meson uses the `bash-completion` package to be able to acquire the
    `completionsdir` variable.

    Added it and bumped `FDO_DISTRIBUTION_TAG`.

 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit a9a3c70d6c277ffdb32435a200eab13e1d0074b3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun May 2 00:34:14 2021 +0200

    ci: add support for meson builds

 .gitlab-ci.yml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

commit a4decd1bd2dbcda163e72abbd68894b2b396e969
Author: Iñigo Martínez <inigomartinez@gmail.com>
Date:   Thu Apr 22 23:57:36 2021 +0200

    build: port to meson build system

    meson is a build system focused on speed an ease of use, which
    helps speeding up the software development. This patch adds meson
    support along autotools.

 docs/man/meson.build                               |  18 ++
 docs/reference/libmbim-glib/meson.build            |  67 +++++++
 .../libmbim-glib/xml/gtkdocentities.ent.in         |   7 +
 docs/reference/libmbim-glib/xml/meson.build        |  17 ++
 meson.build                                        | 208
 +++++++++++++++++++++
 meson_options.txt                                  |   6 +
 meson_post_install.py                              |  14 ++
 src/common/meson.build                             |  17 ++
 src/common/test/meson.build                        |  11 ++
 src/libmbim-glib/generated/meson.build             | 154 +++++++++++++++
 src/libmbim-glib/meson.build                       | 134 +++++++++++++
 src/libmbim-glib/symbol.map                        |   6 +
 src/libmbim-glib/test/meson.build                  |  39 ++++
 src/mbim-proxy/meson.build                         |  22 +++
 src/mbimcli/meson.build                            |  38 ++++
 src/meson.build                                    |   7 +
 utils/meson.build                                  |   9 +
 17 files changed, 774 insertions(+)

commit 13883cd5c4d28dbed3c49008430c7dbbae8d5ef0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Apr 30 21:53:26 2021 +0200

    ci: build should be supported back to bionic

    Also, include ninja and meson in the image template, to have it ready
    by the time we add the meson support.

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 6b6dabcd41a94787c04ea795177608498eb874cc
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Apr 30 21:45:19 2021 +0200

    build: require glib 2.56

    The 2.56.0 glib version is also the one provided by Ubuntu 18.04 LTS,
    and so we can now say that this LTS release is the last one we support
    in newer libmbim releases. The previous Ubuntu 16.04 LTS is already
    out of the standard 5-year support.

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 09f2cffd1f2bf46f1e44eaae8a1e7eb997ccca15
Author: lywpljw <327669727@qq.com>
Date:   Thu Apr 29 18:11:26 2021 +0800

    mbim-proxy: update BUFFER_SIZE from 512 to 4096 for better performance

    Signed-off-by: lywpljw <327669727@qq.com>

 src/libmbim-glib/mbim-proxy.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 1ce808bd39477881201a552bafd7bce8bc667c52
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 21:53:33 2021 +0200

    build: version bump to flag existence of new API (QDU service)

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 435649cbebd72aed8b128deabc8bd1405261ecfa
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 18:47:30 2021 +0200

    ci: switch to gitlab templates

 .gitlab-ci.yml | 83
 +++++++++++++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 76 insertions(+), 7 deletions(-)

commit b0b78e871d06abf9f8990bdb30ef3f20b30d0fd1
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 10:35:58 2021 +0200

    docs,libmbim-glib: add missing QDU related references

 .../libmbim-glib/libmbim-glib-common.sections       | 21
 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

commit 13a6a501c0908a6d052c1feabfed76ee89bbf4a5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 10:34:16 2021 +0200

    libmbim-glib,enums: minor coding style changes

 src/libmbim-glib/mbim-enums.h | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

commit e985601baad822c8124a68f66b48563e9ecb2598
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 10:14:13 2021 +0200

    libmbim-glib,cid: add missing docs for MBIM_CID_QDU_UNKNOWN

 src/libmbim-glib/mbim-cid.h | 1 +
 1 file changed, 1 insertion(+)

commit 49c0f79783cfd029c4feb88c859079a505deec00
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 10:11:04 2021 +0200

    libmbim-glib,device: simplify printable logic with fragments

    We're going to build a GByteArray containing the whole fragment, so
    make sure we are able to re-use that for printable purposes, instead
    of creating additional GByteArrays or doing multiple
    mbim_common_str_hex() calls.

 src/libmbim-glib/mbim-device.c | 54
 +++++++++++++++++++-----------------------
 1 file changed, 24 insertions(+), 30 deletions(-)

commit 1fb69c341500a12ef54a301a79da5eec84d9c09f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 28 10:01:30 2021 +0200

    libmbim-glib,device: plug memory leak when building full fragments

    The gbytearray variable is used and reused multiple times inside the
    for loop, we should make sure it's freed after every iteration, not
    only once when the method ends.

 src/libmbim-glib/mbim-device.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit a61d12aac09213e036e5807d8f19eb5c427dafb5
Author: lywpljw <327669727@qq.com>
Date:   Wed Apr 28 11:26:15 2021 +0800

    libmbim-glib: write whole packet to MBIM device

    Here send whole packet rather than seperated elements, such as header,
    fragment_header, data, because some MBIM devices may have errors on
    seperated fragment case, such as "MBIM protocol error: LengthMismatch"

    Signed-off-by: lywpljw <327669727@qq.com>

 src/libmbim-glib/mbim-device.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

commit dd98d6877de74ff1b0145160a25bd26f71d3a665
Author: lywpljw <327669727@qq.com>
Date:   Wed Apr 28 11:17:56 2021 +0800

    api: add QDU service for modem firmware upgrade

    QDU (Qualcomm Device Upgrade) is required for Qualcomm modem
    firmware upgrade.

    Signed-off-by: lywpljw <327669727@qq.com>

 data/Makefile.am                                   |  1 +
 data/mbim-service-qdu.json                         | 59 +++++++++++++++
 docs/reference/libmbim-glib/Makefile.am            |  1 +
 .../libmbim-glib/libmbim-glib-common.sections      | 10 +++
 docs/reference/libmbim-glib/libmbim-glib-docs.xml  |  5 ++
 src/libmbim-glib/generated/Makefile.am             | 12 +++
 src/libmbim-glib/libmbim-glib.h                    |  1 +
 src/libmbim-glib/mbim-cid.c                        | 15 ++++
 src/libmbim-glib/mbim-cid.h                        | 17 +++++
 src/libmbim-glib/mbim-enums.h                      | 85
 ++++++++++++++++++++++
 src/libmbim-glib/mbim-message.c                    |  4 +
 src/libmbim-glib/mbim-uuid.c                       | 13 ++++
 src/libmbim-glib/mbim-uuid.h                       | 13 ++++
 src/mbimcli/mbimcli.c                              |  1 +
 14 files changed, 237 insertions(+)

commit 3d6966640c7c3d11ba1a96577f1ddd4bc1549a78
Author: Iñigo Martínez <inigomartinez@gmail.com>
Date:   Wed Apr 21 15:12:03 2021 +0200

    build: Rename template files

    The template files in the `build-aux/templates` directory used in
    enums sources and headers generation use the `{$name}-template.[ch]`
    pattern. However, the examples in the official guide[0] and usually
    GNOME and Freedesktop packages use the `{$name}.[ch].template`
    pattern.

    Due to this, the name of the template files and build commands have
    been changed.

    [0] https://developer.gnome.org/gobject/stable/glib-mkenums.html

 build-aux/templates/Makefile.am                      | 10 +++++-----
 ...m-types-template.c => mbim-enum-types.c.template} |  0
 ...m-types-template.h => mbim-enum-types.h.template} |  0
 ...uarks-template.c => mbim-error-quarks.c.template} |  0
 ...-types-template.c => mbim-error-types.c.template} |  0
 ...-types-template.h => mbim-error-types.h.template} |  0
 src/libmbim-glib/generated/Makefile.am               | 20
 ++++++++++----------
 7 files changed, 15 insertions(+), 15 deletions(-)

commit 6394a122407f31d2321a16833d9dd123767ff8d5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Apr 21 11:33:53 2021 +0200

    build: disable gtkdocize in autoreconf

    We have a custom modified gtk-doc.make file in our sources, which
    disables the gtkdoc-rebase on local install step, so we don't want
    autoreconf to copy a different one when we're bootstrapping.

 autogen.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 3758ad06aa4badbfbda72c4d9a63ee69cd62e0ea
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Apr 6 21:30:20 2021 +0200

    libmbim-glib,device: plug leak when adding links

    The AddLinkResult contex was leaking.

 src/libmbim-glib/mbim-device.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 62d563a4ae2546571b52db57c4d5fd3a12fd6e3d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Apr 3 17:27:10 2021 +0200

    libmbim-glib,net-port-manager: plug hash table leak

    Also, assert to make sure the HT doesn't have any contents, which it
    shouldn't as each element in the HT holds a GTask and each such GTask
    holds a reference to the port manager object itsel.

        ==4391== 192 (96 direct, 96 indirect) bytes in 1 blocks are
        definitely lost in loss record 5,187 of 5,426
        ==4391==    at 0x483E77F: malloc (vg_replace_malloc.c:307)
        ==4391==    by 0x5080539: g_malloc (in
        /usr/lib/libglib-2.0.so.0.6600.7)
        ==4391==    by 0x50A1C8F: g_slice_alloc (in
        /usr/lib/libglib-2.0.so.0.6600.7)
        ==4391==    by 0x507038E: g_hash_table_new_full (in
        /usr/lib/libglib-2.0.so.0.6600.7)
        ==4391==    by 0x4DA90FB: mbim_net_port_manager_new
        (mbim-net-port-manager.c:734)
        ==4391==    by 0x4D9DB0C: setup_net_port_manager
        (mbim-device.c:531)
        ==4391==    by 0x4D9E2F4: mbim_device_delete_all_links
        (mbim-device.c:715)
        ==4391==    by 0x2523A1: reset_device_new_ready
        (mm-port-mbim.c:350)
        ==4391==    by 0x4EBC173: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)
        ==4391==    by 0x4EC06E8: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)
        ==4391==    by 0x4DA220B: query_info_async_ready
        (mbim-device.c:2355)
        ==4391==    by 0x4EBC173: ??? (in /usr/lib/libgio-2.0.so.0.6600.7)

 src/libmbim-glib/mbim-net-port-manager.c | 2 ++
 1 file changed, 2 insertions(+)

commit 227a79f976082bef2909540d57f1df6eb47cefd2
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 16:16:05 2021 +0100

    build: version bump to flag existence of new API (link management)

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 689a08607e7c0b8dea95c891e0a5cc525ff715ab
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 16:05:15 2021 +0100

    libmbim-glib,device: new method to check if link management is
    supported

 docs/reference/libmbim-glib/libmbim-glib-common.sections |  1 +
 src/libmbim-glib/mbim-device.c                           | 12
 ++++++++++++
 src/libmbim-glib/mbim-device.h                           | 14
 ++++++++++++++
 3 files changed, 27 insertions(+)

commit ef1f1bb49d509a3bc232469273396dadda755283
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 16:02:31 2021 +0100

    mbimcli: new '--link-delete-all' action

 src/mbimcli/mbimcli-link-management.c | 39
 ++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

commit 76029c38b592c26ca33e4d8a7891391d574cab89
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 15:59:46 2021 +0100

    libmbim-glib,device: new method to delete all links

 .../libmbim-glib/libmbim-glib-common.sections      |  2 +
 src/libmbim-glib/mbim-device.c                     | 53 +++++++++++++
 src/libmbim-glib/mbim-device.h                     | 45 +++++++++++
 src/libmbim-glib/mbim-net-port-manager.c           | 91
 ++++++++++++++++++++++
 src/libmbim-glib/mbim-net-port-manager.h           |  9 +++
 5 files changed, 200 insertions(+)

commit de919e3f1fa28662921315818a30ea338d5a5c66
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 15:52:38 2021 +0100

    mbimcli: new '--link-list' operation

 src/mbimcli/mbimcli-link-management.c | 39
 +++++++++++++++++++++++++++++++++--
 1 file changed, 37 insertions(+), 2 deletions(-)

commit fc42c0cb65b478606692d2b98ee0c8b5030319a9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Mar 9 15:50:12 2021 +0100

    libmbim-glib,device: new list links operation

    We rely on sysfs to tell us which links a given network interface
    already has.

