ChangeLog 3.44 MB
Newer Older
Martin's avatar
Martin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
commit dccfb032d176acdba5175b11fbbe186676343a59
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Mar 12 11:24:58 2021 +0100

    release: bump version to 1.14.12

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

commit 4da7b368fc5a90a6b3cc5eaaa6a2032fd54952a3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Mar 12 11:23:55 2021 +0100

    NEWS: update for 1.14.12

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

commit a0b7edeefaa0c07d6ac25d62e95d4e56fa4cee20
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Mar 11 10:33:00 2021 +0100

    bearer-mbim: plug MbimDevice leak in disconnection context

    (cherry picked from commit a772b70632008d6c375487a8e711b80bb343a931)

 src/mm-bearer-mbim.c | 1 +
 1 file changed, 1 insertion(+)

commit 18ffd664e59bee7fd98f1992b4818ef6220f85f5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Feb 26 11:16:59 2021 +0100

    shared-qmi: network registration cancellation logic with asserts
    disabled

    g_assert() calls may be disabled, and if so, the network registration
    task would never get completed.

    (cherry picked from commit c7d366671f749689c143f7effe2a183eb710def9)

 src/mm-shared-qmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0754f204f986ebd26bcb60df37de9cc4f0650152
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Feb 22 15:04:43 2021 +0100

    bearer-mbim: IP type may be reported as deactivated and still have
    IP settings

    If we were requesting for IPv4v6 and we only got IPv4 reported as
    activated, we would right away ignore the IPv6 bits, even if we
    received IPv6 settings later on when querying for them. Change that,
    so that if an IP address of a given type is received, we assume the
    corresponding context was really activated even if the modem didn't
    report it in the connect set response.

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/320

    (cherry picked from commit a546201470ee1067be5494ab5f678016bb2bc2ec)

 src/mm-bearer-mbim.c | 61
 +++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 41 insertions(+), 20 deletions(-)

commit bd489b7f53e0f2b3d6fb9ad25c284a14e3c7177f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 16 15:12:19 2021 +0100

    build: post-release version bump to 1.14.11

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

Martin's avatar
Martin committed
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
commit 304a1b123fe87cf5f3b9067fb83f37c9e09e12f5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 16 14:11:16 2021 +0100

    release: bump version to 1.14.10

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

commit 9ed9234904074c313c617ffe45e364c39c3cce81
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jan 16 14:10:58 2021 +0100

    NEWS: update for 1.14.10

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

commit 95bb97c41ea635fa4bfc3f6b6a925e4502c25f8d
Author: Louis-Alexis Eyraud <louis-alexis.eyraud@sigfox.com>
Date:   Fri Jan 15 15:14:58 2021 +0100

    zte: add 1 second delay after sim unlock to avoid IMSI reading issue

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/306

    Signed-off-by: Louis-Alexis Eyraud <louis-alexis.eyraud@sigfox.com>
    (cherry picked from commit 9c353cf6f0a7650cfe1b914d6881890de9dff0b0)

 plugins/zte/mm-broadband-modem-zte.c | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

commit 42a3a2d50b30580cf13e57b69c14a9c7611e49c2
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jan 11 14:18:36 2021 +0100

    iface-modem: avoid leaking the MmGdbusModem when bearers are updated

    See See
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/302

    (cherry picked from commit d12ab8a25a60323a753e3437c81a984a503deb40)

 src/mm-iface-modem.c | 1 +
 1 file changed, 1 insertion(+)

commit 17569fd41bd61fd892ae1af1e15e3fbe0045726a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jan 11 14:13:28 2021 +0100

    telit: plug GPS data port leak

    The _get_port_gps() returns a full reference, use _peek_port_gps()
    instead.

    See
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/302

    (cherry picked from commit 102de14c15b1c278988de376d03262bcb078211d)

 plugins/telit/mm-broadband-modem-telit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 781371615ead5a11297c7293f1bdb32015915a62
Author: Frederic Martinsons <frederic.martinsons@sigfox.com>
Date:   Sun Dec 20 18:11:06 2020 +0100

    mmcli: don't assume that mm_object_peek_modem or mm_object_get_modem
    return non null

    This very peculiar case can happen when an intermediate initiliazition
    step
    of a modem fails.

    The ModemManager daemon should always expose the modem interface
    but let not
    assume that in mmcli and protect these calls.

    Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
    (cherry picked from commit 18b72a046e89d00d7e7b9f2d718c43d64e595de0)

 cli/mmcli-common.c  | 4 +++-
 cli/mmcli-manager.c | 9 +++++++--
 2 files changed, 10 insertions(+), 3 deletions(-)

commit 48f87ac97319a5d1500a7f202a2ff1506bf83398
Author: Frederic Martinsons <frederic.martinsons@sigfox.com>
Date:   Sun Dec 20 18:07:44 2020 +0100

    iface-modem: don't consider charset setup failure as fatal.

    On some modem (for example SORACOM SC-QGLC4-C1) , the character
    set setup
    step fails with "Unknown error" when the SIM card is missing or
    locked.
    This leads to not expose Modem interface and not being able to
    unlocked
    the SIM.
    We should not consider this step as fatal but just issue a warning
    to let
    other steps continue (which will let modem in failed state anyway).

    Closes #289

    Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
    (cherry picked from commit 2f53a08e5f1eef8c1892dc55f32fbacba85565a0)

 src/mm-iface-modem.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

commit e70fbb0d540b1300e0b17f0274109e11719fb4a8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Dec 14 09:58:59 2020 +0100

    cinterion: add AT primary/secondary port type hints for PLS8

    (cherry picked from commit 243272c11178e68914d7cc2dcfdc28248edb2aa7)

 plugins/cinterion/77-mm-cinterion-port-types.rules | 2 ++
 1 file changed, 2 insertions(+)

commit 5382e2d64dcf9e1305af55fb7e55e6b0c3760a77
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Dec 14 09:58:15 2020 +0100

    cinterion: add QCDM and GPS port type hints for PLS62

    (cherry picked from commit ba4b3f60b7605441bb127be231eab49450c29404)

 plugins/cinterion/77-mm-cinterion-port-types.rules | 20
 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 7684b8c87c834bce0f1ab141427b82b2e3ed3ac5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Dec 14 09:35:02 2020 +0100

    cinterion: add PLS83 port type hints

    (cherry picked from commit 067b09c8358ad92ff0ca3c266d0229e9518069d0)

 plugins/cinterion/77-mm-cinterion-port-types.rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 45955463e7b87a0488421284dfb635f91a54d545
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Dec 13 17:33:11 2020 +0100

    broadband-modem-mbim: ignore MS SAR notifications explicitly

    SAR service will be introduced in the stable libmbim 1.26.0, but it's
    been flagged in the dev 1.25.1 version already.

    (cherry picked from commit bee8a391bf46e33f8378504f71c4e087d7a82fb5)

 src/mm-broadband-modem-mbim.c | 3 +++
 1 file changed, 3 insertions(+)

commit f125c97ec5fda2b3e4fb69868eebd521ac90e366
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Nov 26 23:30:56 2020 +0100

    broadband-modem-mbim: plug memleak when processing USSD in GSM7

    (cherry picked from commit 0729ba5c88eb038e60ffbe3faf9431e9650f7ca1)

 src/mm-broadband-modem-mbim.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 2a743d5b109079cd07ed5afa55fb9a79ccb8d155
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Dec 1 22:59:32 2020 +0100

    broadband-modem-qmi: fix reporting of signal strength indications

    We had all the logic in place... but we were never actually enabling
    the signal strength indications because the `enable` flag in the
    context was never set.

    The bug was introduced back in May 2018, and released with 1.10.0.

    Fixes baefe53ab9c0ea0612d2bf7da64b6f6cf9753bcd

    (cherry picked from commit 12dd53a12e81e4f4752ded5579a52751141461ca)

 src/mm-broadband-modem-qmi.c | 1 +
 1 file changed, 1 insertion(+)

commit 30b13bd23073b64ae686fa6dfd6afb244be9c9d0
Author: David Leonard <David.Leonard@digi.com>
Date:   Wed Aug 26 14:19:28 2020 +1000

    sms: fix 7-bit ASCII SMS decoding

    Fixes an issue where (5+8n)-character long SMS messages received on a
    CDMA network would be dropped with a "cannot read user data" error,
    while other length SMS messages would be delivered fine.

    Fix thanks to Peter Hunt

    (cherry picked from commit 7ac42e76482acd687464f9dca2ef3ac7b67825a1)

 src/mm-sms-part-cdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit bd43afa6bc0eca0973ec8058b7c26d9396020a04
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 16 10:36:10 2020 +0100

    build: post-release version bump to 1.14.9

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

Martin's avatar
Martin committed
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
commit 19c2266a328ce39033f8d15f5c7ff3561149b22b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 16 09:29:39 2020 +0100

    release: bump version to 1.14.8

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

commit 71bf197475d9e99ea2ff2baea2f8eed3adf044c9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 16 09:29:32 2020 +0100

    NEWS: update for 1.14.8

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

commit 46b21606e63ed29c2d93029296a91c6dc513da24
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Nov 9 11:54:58 2020 +0100

    kerneldevice,generic: plug cached string leaks

    Both 'physdev_subsystem' and 'interface_description' were leaking.

    (cherry picked from commit 37b3771ef5003adb1797c29deceb6500ebe60e6d)

 src/kerneldevice/mm-kernel-device-generic.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

commit 9ad8bd13949418aef5f886538dd8573648cd5bfa
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Nov 8 09:22:09 2020 +0100

    build: fix distcheck with new gtk-doc

    The .actions file is generated by newer gtk-doc releases, we just
    treat it as e.g. the .signals or .types files.

    This is also already fixed in upstream gtk-doc:
      https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/61

    (cherry picked from commit 50c69d540341733dfee031282e5d8e18ebc814cb)

 .gitignore                            | 1 +
 docs/reference/libmm-glib/Makefile.am | 1 +
 2 files changed, 2 insertions(+)

commit f8ce24d4547ccb0c8a9ba71c14c2e54549942f6e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Nov 8 08:10:45 2020 +0100

    build: do not require xsltproc when building from a release tarball

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/276

    (cherry picked from commit 904adbfb5e07e538516c26b8467c2238fc2718e9)

 configure.ac | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit ec425f961944c70a19f2277cabd0fcdf0ad1d4b5
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Nov 8 09:29:20 2020 +0100

    build: don't remove ModemManager-names.h on 'clean'

    The ModemManager-names.h header file is generated on git builds, and
    shipped within the release tarball, so treat it as a maintainer
    managed file that should only be removed on 'maintainer-clean'.

    This allows us to avoid requiring xsltproc to build release tarballs.

    (cherry picked from commit 3bda0562b94aa56177f0e481cd29e4149f5a531d)

 include/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5c90f2487f2ba9ca2a74e4407dacbda70c7b55ca
Author: Andrew Lassalle <andrewlassalle@chromium.org>
Date:   Tue Nov 3 12:36:31 2020 -0800

    mm-kernel-device: Fix cmp to exclude subtypes

    If multiple kernel device types inherit from MMKernerDevice, and those
    are compared against each other, the current logic returns TRUE if the
    G_OBJECT_TYPE of one of them is smaller than the other. This
    function is
    checking for equality, so returning FALSE is enough.

    (cherry picked from commit d7288861a595db7f07b8ecf6bdc30d957b8b6843)

 src/kerneldevice/mm-kernel-device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e0ee654a55765adecb6a05bda90404a5782b4cae
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Oct 25 22:10:28 2020 +0100

    base-modem: sort port info array by port name

    So that the list of ports shown in the Ports DBus property is also
    alphabetically sorted by port name, instead of having a mess like
    this:

      -----------------------------
      System   |            device: qcom-soc
               |           drivers: bam-dmux
               |            plugin: qcom-soc
               |      primary port: rpmsg0
               |             ports: rmnet5 (net), rmnet_usb0 (unknown),
               rmnet4 (net),
               |                    rpmsg1 (at), rmnet3 (net), rpmsg0
               (qmi), rmnet2 (net), rmnet1 (net),
               |                    rmnet7 (net), rmnet0 (net), rmnet6
               (net)

    (cherry picked from commit c385031941c9cd1ce07ae2d5b37ded26e4838dae)

 src/mm-base-modem.c | 46 ++++++++++++++++++++++++++++------------------
 1 file changed, 28 insertions(+), 18 deletions(-)

commit 11ee6a86071dda5bc139a28bd73483fa4a30f161
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Oct 25 16:32:23 2020 +0100

    log: ignore fatal flag for logging purposes

    Running with G_DEBUG=fatal-warnings will end up reporting warning logs
    with G_LOG_FLAG_FATAL, which breaks our own logging logic.

    (cherry picked from commit a31d762250edba7bbad34adec051d9cff0279f66)

 src/mm-log.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 6e8f36a619beff8f193701d56ea62645b03a4c0f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Oct 19 22:30:37 2020 +0200

    broadband-modem-qmi: fix crash when device removed during init

    If the modem goes away (ports removed) during the initialization
    phase (e.g. while QMI clients are being allocated), the MMPortQmi
    object will be closed and it will lose its internal QmiDevice.

    We should therefore consider the lack of QmiDevice a valid usecase in
    track_qmi_device_removed() and return a GError when that happens.

        #0  0x00007fb544618cc9 in raise () from /lib/libc.so.6
        #1  0x00007fb54461bd68 in abort () from /lib/libc.so.6
        #2  0x00007fb544e2213d in g_assertion_message () from
        /usr/lib/libglib-2.0.so.0
        #3  0x00007fb544e221ba in g_assertion_message_expr () from
        /usr/lib/libglib-2.0.so.0
        #4  0x00000000004be584 in track_qmi_device_removed ()
        #5  0x00000000004be5e3 in allocate_next_client ()
        #6  0x00000000004be7b1 in qmi_port_allocate_client_ready ()
        #7  0x00007fb5453690a3 in g_task_return_now () from
        /usr/lib/libgio-2.0.so.0
        #8  0x00007fb54536967e in g_task_return () from
        /usr/lib/libgio-2.0.so.0
        #9  0x00000000004dd8f8 in allocate_client_ready ()
        #10 0x00007fb5453690a3 in g_task_return_now () from
        /usr/lib/libgio-2.0.so.0
        #11 0x00007fb54536967e in g_task_return () from
        /usr/lib/libgio-2.0.so.0
        #12 0x00007fb54591d4de in allocate_cid_ready () from
        /usr/lib/libqmi-glib.so.5
        ...

    (cherry picked from commit 8a54baa346c7fe375b2683e2e333104acf648eff)

 src/mm-broadband-modem-qmi.c | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

commit c3b09d39d27aa37de55db9252bf4effa4d8657b7
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Oct 19 22:11:02 2020 +0200

    broadband-modem-qmi: minor coding style fixes

    (cherry picked from commit 1ed9f7e94e5948f408d1d09ad8c219a594669066)

 src/mm-broadband-modem-qmi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 5a06a78107ebd8b1a366ff93e79636c958970c83
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 15:06:44 2020 +0200

    build: post-release version bump to 1.14.7

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

Martin's avatar
Martin committed
490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217
commit 5ac0d258a3d20e1bde3b1d9858f3856559ee42fa
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:47:15 2020 +0200

    release: bump version to 1.14.6

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

commit c04d343b902b693bbebebb9183c1d21743a8f51e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:31:44 2020 +0200

    NEWS: update for 1.14.6

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

commit 5ca8f8ce1208fcf8b3216b1acfc44406e2881477
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:40:00 2020 +0200

    xmm: fix missing GError initialization

    (cherry picked from commit f013e94ff89680d1acd7dba12ff4a6a0fa7b58bf)

 plugins/xmm/mm-shared-xmm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 889d301854346f74f215101508be9b636e9ed797
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:38:52 2020 +0200

    simtech: fix missing GError initialization

    (cherry picked from commit 3b6176cbe2bc64bbf19fa0378b1c65b646bb6d13)

 plugins/simtech/mm-shared-simtech.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 60b603117f61539762688ffc48184da4ea9c72e6
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:38:40 2020 +0200

    cinterion: fix missing GError initialization

    (cherry picked from commit 50c1550c9f808ddd080f7992bf2d7f4dfae6e0ec)

 plugins/cinterion/mm-shared-cinterion.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 781cc706cad1fae080ad952b2a357e480fe04da8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 14:24:35 2020 +0200

    broadband-modem-qmi: ensure GError is initialized to NULL

      (ModemManager:21568): GLib-WARNING **: 22:11:27.828: GError set
      over the top of a previous GError or uninitialized memory.
      This indicates a bug in someone's code. You must ensure an error
      is NULL before it's set.
      The overwriting error message was: QMI protocol error (94):
      'NotSupported'
      [21568]: <warn>  [1582841487.829678] [modem0] couldn't load facility
      locks: (NULL)
      [21568]: <debug> [1582841487.830746] [modem0] loading UE mode of
      operation for EPS...
      [21568]: <debug> [1582841487.832138] [modem0/ttyUSB2/at] device
      open count is 2 (open)
      Segmentation fault

    This issue is only applicable in the mm-1-14 branch.
    Fixes cd686f10e049cf0494678f4d87e17e62e8f53e76.

 src/mm-broadband-modem-qmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 327f509f04224c105ab2227317270ce6b998d9ed
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 12:51:08 2020 +0200

    build: post-release version bump to 1.14.5

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

commit db38b333c0f0915e4e7c9a0344a8c4c95baba484
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 12:29:08 2020 +0200

    release: bump version to 1.14.4

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

commit c67b1ef8acbbaf2ea805be283aee42a7c99717c7
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Oct 14 12:28:13 2020 +0200

    NEWS: update for 1.14.4

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

commit 38b4b8e507c3b2d414c75a1a2d48d607db592dc4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Oct 10 15:08:29 2020 +0200

    iface-modem-3gpp: print consolidated reg state info only when updating

    (cherry picked from commit c6f38ecac3ed2ac783dbab706c5e155ba7409747)

 src/mm-iface-modem-3gpp.c | 86
 +++++++++++++++++++----------------------------
 1 file changed, 34 insertions(+), 52 deletions(-)

commit b871d4f1dd7213a4d3a152c9c7574e0561d8ac3a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Oct 10 14:38:24 2020 +0200

    iface-modem-location: log old and new 3GPP location ids when updating

    (cherry picked from commit df9cb4a8f6f0abaad8052e36c10874bfbea2ac76)

 src/mm-iface-modem-location.c | 74
 ++++++++++++++++++++++++++++---------------
 1 file changed, 49 insertions(+), 25 deletions(-)

commit 846765afeba2a57da63d21272e180ff519ed9dfc
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Oct 9 12:50:49 2020 +0200

    iface-modem-location: allow Cell ID only updates

    The "Serving System" indications reported via QMI when the device is
    moving may contain LAC/TAC+CID updates or just CID updates.

    E.g. this one has "CID 3GPP" (0x1e):

      Mon Aug  3 11:22:42 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
      received
      generic indication (translated)... <<<<<< QMUX: <<<<<<   length
      = 33
      <<<<<<   flags   = 0x80 <<<<<<   service = "nas" <<<<<<   client
      = 3
      <<<<<< QMI: <<<<<<   flags       = "indication" <<<<<<
      transaction =
      4512 <<<<<<   tlv_length  = 21 <<<<<<   message     = "Serving
      System"
      (0x0024) <<<<<< TLV: <<<<<<   type       = "Serving System" (0x01)
      <<<<<<   length     = 6 <<<<<<   value      = 01:01:01:02:01:08
      <<<<<<
        translated = [ registration_state = 'registered' cs_attach_state =
      'attached' ps_attach_state = 'attached' selected_network = '3gpp'
      radio_interfaces = '{ [0] = 'lte '}' ] <<<<<< TLV: <<<<<<   type
      = "Data Service Capability" (0x11) <<<<<<   length     = 2 <<<<<<
      value      = 01:0B <<<<<<   translated = { [0] = 'lte '} <<<<<< TLV:
      <<<<<<   type       = "CID 3GPP" (0x1e) <<<<<<   length     =
      4 <<<<<<
        value      = 14:C2:A8:00 <<<<<<   translated = 11059732

    And this one has both "CID 3GPP" (0x1e) and "LTE TAC" (0x25):

      Mon Aug  3 11:23:05 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
      received
      generic indication (translated)... <<<<<< QMUX: <<<<<<   length
      = 38
      <<<<<<   flags   = 0x80 <<<<<<   service = "nas" <<<<<<   client
      = 3
      <<<<<< QMI: <<<<<<   flags       = "indication" <<<<<<
      transaction =
      4513 <<<<<<   tlv_length  = 26 <<<<<<   message     = "Serving
      System"
      (0x0024) <<<<<< TLV: <<<<<<   type       = "Serving System" (0x01)
      <<<<<<   length     = 6 <<<<<<   value      = 01:01:01:02:01:08
      <<<<<<
        translated = [ registration_state = 'registered' cs_attach_state =
      'attached' ps_attach_state = 'attached' selected_network = '3gpp'
      radio_interfaces = '{ [0] = 'lte '}' ] <<<<<< TLV: <<<<<<   type
      = "Data Service Capability" (0x11) <<<<<<   length     = 2 <<<<<<
      value      = 01:0B <<<<<<   translated = { [0] = 'lte '} <<<<<< TLV:
      <<<<<<   type       = "CID 3GPP" (0x1e) <<<<<<   length     =
      4 <<<<<<
        value      = 32:36:BC:00 <<<<<<   translated = 12334642 <<<<<<
        TLV:
      <<<<<<   type       = "LTE TAC" (0x25) <<<<<<   length     = 2 <<<

    We should therefore allow changes only in the CID, maintaining
    whatever LAC/TAC value we had before.

    (cherry picked from commit 135d484501dbf641b51b02033377871100323049)

 src/mm-broadband-modem-qmi.c  |  2 +-
 src/mm-iface-modem-3gpp.c     |  8 ++++----
 src/mm-iface-modem-location.c | 26 ++++++++++++++++++++------
 3 files changed, 25 insertions(+), 11 deletions(-)

commit 97a1a763792967c5581dcd9fe8fcb8558f3d4784
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Thu Oct 1 13:19:28 2020 +0200

    port-qmi: increase qmi_device_open retries

    Telit FN980 requires more time for becoming responsive to
    qmi requests after device appearance.

    (cherry picked from commit 075bcb74f30d18985e1ada82312fe58215f82040)

 src/mm-port-qmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6af45d01b962eae87eb9f51f569b92b15ee30295
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Tue Sep 29 22:43:55 2020 +0200

    telit: add tag ID_MM_TELIT_PORT_DELAY for initial delay mechanism

    (cherry picked from commit dcf188d2ef27a17afc0b3447c5c464286e7d250b)

 plugins/telit/77-mm-telit-port-types.rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 5d4567fc3dadc5c81cf0e35bcb1b1b4ec8b9a73a
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Tue Sep 29 16:03:55 2020 +0200

    telit: add initial delay for AT ports to become responsive

    Add a polling mechanism for port responsiveness, since some modem
    families require some time before being usable after the serial
    ports have been exposed by the kernel.

    (cherry picked from commit f6c4e3369a29c1f1bf14325be5a362a3ba29a71c)

 plugins/telit/mm-common-telit.c | 82
 ++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 81 insertions(+), 1 deletion(-)

commit d5af56365eb2be776cf8f5b5f70df773c197b78a
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Tue Sep 29 22:37:00 2020 +0200

    telit: add FN980 and LM9x0 MBIM compositions rules

    (cherry picked from commit 71cd727425d66bb5f7854cde2d4c033e73cbba97)

 plugins/telit/77-mm-telit-port-types.rules | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

commit bf01ae5d66289e766932f3ab52af02bc72b6e1aa
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Tue Sep 29 10:16:22 2020 +0200

    telit: fix LM9x0 udev rules

    (cherry picked from commit ed8cf8d04c38495526a2958ee9454adca2d2a67d)

 plugins/telit/77-mm-telit-port-types.rules | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit b891e4bcb290a1850fa4addb2722298cfe725d9b
Author: Pavan Holla <pholla@chromium.org>
Date:   Wed Sep 30 20:44:48 2020 +0000

    broadband-modem-qmi: Report FIXED_DIALING lock correctly

    Querying facility locks should return a FIXED_DIALING lock if
    PIN2 lock
    is enabled.

    (cherry picked from commit bab0f44e74031896b9fd4c3a0390285d838aaa07)

 src/mm-broadband-modem-qmi.c | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

commit cd686f10e049cf0494678f4d87e17e62e8f53e76
Author: Pavan Holla <pholla@chromium.org>
Date:   Wed Sep 30 20:29:36 2020 +0000

    broadband-modem-qmi: Return error if get_pin_status fails

    Prior to this CL, failure to get pin status while probing facility
    locks
    would not flag an error. Failure to read a pin lock is a critical
    error
    and we return it to higher layers.

    (cherry picked from commit 74ab15d3239b62c53a0eecfac5a0488b6731bb71)

 src/mm-broadband-modem-qmi.c | 51
 +++++++++++++++++++++++---------------------
 1 file changed, 27 insertions(+), 24 deletions(-)

commit 072ce5920f8266be7f92478dfbda3139389ccbfc
Author: Dušan Kazik <prescott66@gmail.com>
Date:   Fri Sep 18 05:36:07 2020 +0000

    po: slovak translation update

    (cherry picked from commit 318b2b01e340936e3f3b8d443f89acc432b85190)

 po/sk.po | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

commit 1892d975c8d1bd92ff17dc112d09f2ec9853d243
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Sep 25 09:27:15 2020 +0200

    samsung: fix typo in plugin name

    (cherry picked from commit 8e8c794815fe1ef079101ce2eff5af43ee48b0f1)

 plugins/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2e8d1d8c5dbd8bdf0b38585bb03b9a66b809080a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Sep 19 18:38:04 2020 +0200

    iface-modem-messaging: if sms list doesn't exist, free part

    If the device goes away while we are listing SMS messages, it may
    happen that we ask the messaging interface to take a part and the
    sms list object has already been disposed. Make sure the part is freed
    in that case, so that we avoid memory leaks.

      ==19138== 6,914 (1,232 direct, 5,682 indirect) bytes in 11 blocks
      are definitely lost in loss record 5,282 of 5,287
      ==19138==    at 0x483A77F: malloc (vg_replace_malloc.c:307)
      ==19138==    by 0x5023349: g_malloc (in
      /usr/lib/libglib-2.0.so.0.6600.0)
      ==19138==    by 0x50446FF: g_slice_alloc (in
      /usr/lib/libglib-2.0.so.0.6600.0)
      ==19138==    by 0x5044D6A: g_slice_alloc0 (in
      /usr/lib/libglib-2.0.so.0.6600.0)
      ==19138==    by 0x2577FC: mm_sms_part_new (mm-sms-part.c:180)
      ==19138==    by 0x2504D0: mm_sms_part_3gpp_new_from_binary_pdu
      (mm-sms-part-3gpp.c:385)
      ==19138==    by 0x21A15C: add_sms_part
      (mm-broadband-modem-mbim.c:5169)
      ==19138==    by 0x21A31F: sms_read_query_ready
      (mm-broadband-modem-mbim.c:5215)
      ==19138==    by 0x4E600F3: ??? (in /usr/lib/libgio-2.0.so.0.6600.0)
      ==19138==    by 0x4E64638: ??? (in /usr/lib/libgio-2.0.so.0.6600.0)
      ==19138==    by 0x4D3870D: transaction_task_complete_and_free
      (mbim-device.c:236)
      ==19138==    by 0x4D396B9: process_message (mbim-device.c:616)

    (cherry picked from commit 4e0f849bb98b535a9d48795ef85174727d9636da)

 src/mm-iface-modem-messaging.c | 28 +++++++++++++---------------
 1 file changed, 13 insertions(+), 15 deletions(-)

commit a4d34530a76dadebeba4aab343c5f143d43e1842
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Sep 19 20:26:43 2020 +0200

    core: add autoptr cleanup methods to all internal types

    (cherry picked from commit 00949c4ad34326722f6044a39aff8e1a33da6f18)

 src/kerneldevice/mm-kernel-device-generic.h | 4 +++-
 src/kerneldevice/mm-kernel-device-udev.h    | 4 +++-
 src/kerneldevice/mm-kernel-device.h         | 1 +
 src/mm-base-bearer.h                        | 1 +
 src/mm-base-call.h                          | 1 +
 src/mm-base-manager.h                       | 1 +
 src/mm-base-modem.h                         | 1 +
 src/mm-base-sim.h                           | 1 +
 src/mm-base-sms.h                           | 1 +
 src/mm-bearer-list.h                        | 1 +
 src/mm-bearer-mbim.h                        | 1 +
 src/mm-bearer-qmi.h                         | 1 +
 src/mm-broadband-bearer.h                   | 1 +
 src/mm-broadband-modem-mbim.h               | 1 +
 src/mm-broadband-modem-qmi.h                | 1 +
 src/mm-broadband-modem.h                    | 1 +
 src/mm-call-list.h                          | 1 +
 src/mm-device.h                             | 1 +
 src/mm-filter.h                             | 1 +
 src/mm-iface-modem-3gpp-ussd.h              | 1 +
 src/mm-iface-modem-3gpp.h                   | 1 +
 src/mm-iface-modem-cdma.h                   | 1 +
 src/mm-iface-modem-firmware.h               | 1 +
 src/mm-iface-modem-location.h               | 1 +
 src/mm-iface-modem-messaging.h              | 1 +
 src/mm-iface-modem-oma.h                    | 1 +
 src/mm-iface-modem-signal.h                 | 1 +
 src/mm-iface-modem-simple.h                 | 1 +
 src/mm-iface-modem-time.h                   | 1 +
 src/mm-iface-modem-voice.h                  | 1 +
 src/mm-iface-modem.h                        | 1 +
 src/mm-plugin-manager.h                     | 4 +++-
 src/mm-plugin.h                             | 1 +
 src/mm-port-mbim.h                          | 1 +
 src/mm-port-probe.h                         | 1 +
 src/mm-port-qmi.h                           | 1 +
 src/mm-port-serial-at.h                     | 1 +
 src/mm-port-serial-gps.h                    | 1 +
 src/mm-port-serial-qcdm.h                   | 1 +
 src/mm-port-serial.h                        | 1 +
 src/mm-port.h                               | 1 +
 src/mm-shared-qmi.h                         | 1 +
 src/mm-sim-mbim.h                           | 1 +
 src/mm-sim-qmi.h                            | 1 +
 src/mm-sms-list.h                           | 1 +
 src/mm-sms-mbim.h                           | 1 +
 src/mm-sms-part.h                           | 2 ++
 src/mm-sms-qmi.h                            | 1 +
 48 files changed, 55 insertions(+), 3 deletions(-)

commit bd96f8874c66f7b3a96e58e6fb7454da21afd2b8
Author: Anders Jonsson <anders.jonsson@norsjovallen.se>
Date:   Sat Sep 19 00:05:53 2020 +0200

    po: Update Swedish translation

    (cherry picked from commit 19ddfa18bbbce29315429436f461696d50b752b3)

 po/sv.po | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

commit 8d8ac9e8462f6dd209c3833e8bef378cbc3a002d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Sep 18 10:32:02 2020 +0200

    po: use package bugreport as MSGID_BUGS_ADDRESS

    (cherry picked from commit 856ea932678e62ffccd9f1cf53e8671324efd569)

 po/Makevars | 2 +-
 po/cs.po    | 5 +++--
 po/da.po    | 5 +++--
 po/de.po    | 5 +++--
 po/fr.po    | 5 +++--
 po/fur.po   | 5 +++--
 po/hu.po    | 5 +++--
 po/id.po    | 5 +++--
 po/it.po    | 5 +++--
 po/lt.po    | 5 +++--
 po/pl.po    | 5 +++--
 po/pt_BR.po | 5 +++--
 po/ru.po    | 5 +++--
 po/sk.po    | 5 +++--
 po/sv.po    | 5 +++--
 po/tr.po    | 5 +++--
 po/uk.po    | 5 +++--
 po/zh_CN.po | 5 +++--
 18 files changed, 52 insertions(+), 35 deletions(-)

commit f5ff58729d0cc2d6badb926b9957ddb23ffe7632
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Sep 18 10:31:32 2020 +0200

    build: set package bugreport to the gitlab issues URL

    (cherry picked from commit 6a3b7bdf95bbdb4b6bf75ea331abc1f885f802dc)

 configure.ac | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit ae03d32c7a72bf034ff3c636013a692a6d03f5b8
Author: Jessy Diamond Exum <jessy.exum@meraki.net>
Date:   Wed Aug 26 13:52:04 2020 -0700

    cinterion: Configure the PLAS9 to correctly send Unsolicited Result
    Codes.

    The PLS8 and PLAS9 modems (and likely many others modems supported by
    this driver) have two AT capable serial ports: The 'MODEM' AT port
    (default for PPP) and the 'APPLICATION' AT port (used for general
    control).

    The PLS8 modem sends URCs to the APPLICATION port by default, while he
    PLAS9 defaults sending URCs to the MODEM port. To get URCs to behave
    on both modems, it is necessary to explicitly set the URC reporting
    port to APPLICATION.

    (cherry picked from commit b1679b58939fc2563b827d478ac0eea937fd16c8)

 plugins/cinterion/mm-broadband-modem-cinterion.c | 29
 ++++++++++++++++++++----
 1 file changed, 24 insertions(+), 5 deletions(-)

commit 1cd78cc28a9c82be70b56731636bb9299bdd1fb2
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Sep 7 10:55:02 2020 +0200

    bearer-mbim: avoid attempting to load deactivated IP types

    If we're asking for IPv4v6 and we get IPv4-only connected, we
    shouldn't attempt to provide IPv6 addressing details in the bearer
    object, because we would fallback to say DHCP is needed if we were not
    able to load any IPv6 details from the modem.

    This is, instead of provinding both IPv4 and IPv6 details:
      ------------------------------------
      Properties         |            apn: internet
                         |        roaming: allowed
                         |        ip type: ipv4v6
                         |   allowed-auth: none, pap, chap, mschap,
                         mschapv2, eap
      ------------------------------------
      IPv4 configuration |         method: static
                         |        address: 10.182.100.233
                         |         prefix: 24
                         |        gateway: 10.182.100.1
                         |            dns: 80.58.61.250, 80.58.61.254
      ------------------------------------
      IPv6 configuration |         method: dhcp
                         |         prefix: 0

    We should report only IPv4 details:
      ----------------------------------
      Properties         |          apn: internet
                         |      roaming: allowed
                         |      ip type: ipv4v6
                         | allowed-auth: none, pap, chap, mschap,
                         mschapv2, eap
      ----------------------------------
      IPv4 configuration |       method: static
                         |      address: 10.182.100.233
                         |       prefix: 24
                         |      gateway: 10.182.100.1
                         |          dns: 80.58.61.250, 80.58.61.254

    (cherry picked from commit 958ca74391481616db41cd412a9e12556dd21971)

 src/mm-bearer-mbim.c | 5 +++++
 1 file changed, 5 insertions(+)

commit 4d78be6fd99ce4c20862eee921ad6c351d811b11
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Sep 7 10:46:38 2020 +0200

    bearer-mbim: don't fail IPv4 connection if IPv4v6 was requested

    If we ask for IPv4v6 is requested but the network only grants IPv4, we
    end up receiving the 'Connect Set' response with nw_error set to
    'pdp-type-ipv4-only-allowed'. In this case, we should still succeed
    the connection attempt and only report the IPv4 info.

    We therefore change the logic to skip processing the nw_error unless
    the activation state is reported as ACTIVATED or ACTIVATING.

    (cherry picked from commit f8eeab21213e4ec487ce3f91b0ca09f11e52cec0)

 src/mm-bearer-mbim.c | 37 ++++++++++++++++++++++---------------
 1 file changed, 22 insertions(+), 15 deletions(-)

commit d195ee9d3399f8c7dc709e6893c268453768a792
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Aug 28 18:45:59 2020 +0200

    simtech: add SIM7070/SIM7080/SIM7090 port type hints

    These modules have 2 different USB layouts:

    The default layout with PID 0x9205 (AT+CUSBSELNV=1) exposes 4 TTYs and
    an ECM interface:

      T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  6 Spd=480 MxCh= 0
      D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=1e0e ProdID=9205 Rev=00.00
      S:  Manufacturer=SimTech, Incorporated
      S:  Product=SimTech SIM7080
      S:  SerialNumber=1234567890ABCDEF
      C:  #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
      I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x4 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00
      Driver=cdc_ether
      I:  If#=0x5 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_ether

    The purpose of each TTY is as follows:
     * ttyUSB0: DIAG/QCDM port.
     * ttyUSB1: GNSS data.
     * ttyUSB2: AT-capable port (control).
     * ttyUSB3: AT-capable port (data).

    In the secondary layout with PID=0x9206 (AT+CUSBSELNV=86) the module
    exposes 6 TTY ports:

      T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  8 Spd=480 MxCh= 0
      D:  Ver= 2.00 Cls=02(commc) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=1e0e ProdID=9206 Rev=00.00
      S:  Manufacturer=SimTech, Incorporated
      S:  Product=SimTech SIM7080
      S:  SerialNumber=1234567890ABCDEF
      C:  #Ifs= 6 Cfg#= 1 Atr=e0 MxPwr=500mA
      I:  If#=0x0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff
      Driver=option

    The purpose of each TTY is as follows:
     * ttyUSB0: DIAG/QCDM port.
     * ttyUSB1: GNSS data.
     * ttyUSB2: AT-capable port (control).
     * ttyUSB3: QFLOG interface.
     * ttyUSB4: DAM interface.
     * ttyUSB5: AT-capable port (data).

    (cherry picked from commit 42288fc2a10b5e1740d86ebe6249e21a2337d3bc)

 plugins/simtech/77-mm-simtech-port-types.rules | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit 97e20d1e2b93e9908ebebb17c2d59f3c8fe4e781
Author: David Leonard <David.Leonard@digi.com>
Date:   Wed Aug 26 14:37:10 2020 +1000

    sms: fix CMDA SMS UTF-8 translation

    Fixes incoming SMS translation issue seen on MC7354 when translating
    contents from Latin-1 encoding to UTF-8, because the encoding
    parameter
    "ISO−8859−1" used U+2212 (MINUS SIGN) instead of U+002D
    (HYPHEN-MINUS).

      [mm-sms-part-cdma.c:873] read_bearer_data_user_data():
      text/data: ignored (latin to UTF-8 conversion error): 0:
      Conversion from character set 'ISO−8859−1' to 'UTF-8' is
      not supported

    Fix thanks to Peter Hunt

    (cherry picked from commit 48973e3d72307ca84375d1c7811eb0b04def91ce)

 src/mm-sms-part-cdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5bbef22215bf3cfead5436a431543c17a6ffa29f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Aug 20 12:18:05 2020 +0200

    sms-part-3gpp: allow sending UTF-16 as if it were UCS-2

    Despite 3GPP TS 23.038 specifies that Unicode SMS messages are
    encoded in UCS-2, UTF-16 encoding is commonly used instead on many
    modern platforms to allow encoding code points that fall outside the
    Basic Multilingual Plane (BMP), such as Emoji.

    Update the logic to always use UTF-16 instead of UCS-2 when creating
    or parsing PDUs (even if we always report as sending or receiving
    UCS-2). For all purposes, UCS-2 is considered a subset of UTF-16
    (assuming that code points out of the [U+0000,U+D7FF] and
    [U+E000,U+FFFF] ranges are not applicable in UCS-2).

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/250

    (cherry picked from commit 599f545c0d905505516c6546ff77caced2aa14f1)

 src/mm-sms-part-3gpp.c         | 159
 +++++++++++++++++++++--------------------
 src/mm-sms-part.h              |  18 ++++-
 src/tests/test-sms-part-3gpp.c |  78 ++++++++++++++++----
 3 files changed, 165 insertions(+), 90 deletions(-)

commit f38c3bf7615b9d8366598f32cdd645d0bc503363
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Aug 20 11:32:18 2020 +0200

    charsets: refactor coding style

    Mostly to use GLib types like gchar or gint, and also to use
    G_N_ELEMENTS() instead of custom end of array terminating items.

    (cherry picked from commit 81162df15dc9a409d0979ff8d472a026f31ed883)

 src/mm-charsets.c | 290
 ++++++++++++++++++++++++++++--------------------------
 src/mm-charsets.h |  42 ++++----
 2 files changed, 170 insertions(+), 162 deletions(-)

commit 901426c3ac3e52971e06530066ac6527ab7cb08f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Aug 20 10:58:24 2020 +0200

    charsets: add UTF-16BE as a possible modem charset

    Just as an implementation detail to be taken as an extension of
    UCS2BE, never really to be used as a real modem charset.

    (cherry picked from commit eb5443b197464e55c85d7a8af67a28f2088506a3)

 src/mm-charsets.c         | 16 ++++++++++++++--
 src/mm-charsets.h         |  3 ++-
 src/tests/test-charsets.c | 18 ++++++++++--------
 3 files changed, 26 insertions(+), 11 deletions(-)

commit 55f90b1dafcd50fec79b20e4ecd73a31b2a86339
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Aug 20 10:57:01 2020 +0200

    sms-part-3gpp: minor refactor in text split logic

    (cherry picked from commit 93686510d737bc373100beaeeb3edb7ca091a3f0)

 src/mm-sms-part-3gpp.c | 167
 ++++++++++++++++++++++++++++---------------------
 1 file changed, 94 insertions(+), 73 deletions(-)

commit 028b359d0365f6750834aed90bd545c1a5768cc3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Aug 19 18:34:04 2020 +0200

    build: post-release version bump to 1.14.3

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

Martin's avatar
Martin committed
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958
commit 88bbae4fe8b2b3b4dfca6bf4370a8124810ed74f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Aug 19 18:09:32 2020 +0200

    release: bump version to 1.14.2

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

commit d2b1beb9ea73af92555e173bb84d1092ac36f06f
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Aug 19 18:08:31 2020 +0200

    NEWS: update for 1.14.2

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

commit 901d994a1291864ac0ec493401f95f7148c139c5
Author: root <carl.yin@quectel.com>
Date:   Thu Aug 13 11:25:59 2020 +0800

    quectel: allow MBIM devices

    (cherry picked from commit d9a64c74ff0244b96a44fa27abcdc411d29f4874)

 plugins/quectel/mm-plugin-quectel.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit ec1ddf30828adc743d09412d64bd36b83b84e5bd
Author: carlyin <carl.yin@quectel.com>
Date:   Sun Aug 16 16:55:25 2020 +0800

     quectel: add port type hints for the Quectel 5G RM500

    (cherry picked from commit 5346d3c55c7ffc38af58c879fd426a2c3accd489)

 plugins/quectel/77-mm-quectel-port-types.rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit f192ffc3774a02dc451216b7ad0fae2d0df47b80
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Aug 16 11:13:26 2020 +0200

    modem-helpers: ensure error is set in
    mm_3gpp_parse_cpms_test_response()

    If splitting the +CPMS=? response in groups fails, make sure we set
    the GError when returning FALSE.

    (cherry picked from commit de23b53ee4d91367b50a960f8b19b2e29449e49a)

 src/mm-modem-helpers.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 37af15eba298c0676225d4dded01a65495655028
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sun Aug 16 11:06:57 2020 +0200

    quectel: add udev rules unit tester

    (cherry picked from commit 55ae47a3bb874991ca621e4aa17cf16b08d28139)

 plugins/Makefile.am             |  5 +++--
 plugins/tests/test-udev-rules.c | 11 +++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

commit 0d53df68c78203bc2f2f4ee279a20f0306a6b41b
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Aug 4 16:33:11 2020 +0200

    bearer-qmi: if connection aborted, ensure network handles are released

    If the connection attempt is aborted before finishing (either network
    triggered or user triggered), we need to make sure that we run a 'Stop
    Network' request for every 'Start Network' that had succeeded until
    then, or otherwise we'll no longer be able to re-run a 'Start Network'
    with the same settings and get a proper packet data handle.

    E.g. in this sequence we attempt a IPv4v6 connection. The logic starts
    setting up the IPv4 path:

        Wed Jul 29 14:44:06 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: state changed (registered
        -> connecting)
        Wed Jul 29 14:44:06 2020 daemon.debug [1567]: <debug> Launching
        connection with QMI port (usb/cdc-wdm0) and data port (net/wwan0)
        Wed Jul 29 14:44:06 2020 daemon.debug [1567]: <debug> Defaulting
        to use static IP method
        Wed Jul 29 14:44:06 2020 daemon.debug [1567]: <debug> Running
        IPv4 connection setup
        ...

    The 'Start Network' for IPv4 succeeds and we get a proper packet data
    handle:

        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
        sent generic request (translated)... <<<<<< QMUX: <<<<<<   length
        = 23 <<<<<<   flags   = 0x00 <<<<<<   service = "wds" <<<<<<
        client  = 20 <<<<<< QMI: <<<<<<   flags       = "none" <<<<<<
        transaction = 3075 <<<<<<   tlv_length  = 11 <<<<<<   message
        = "Start Network" (0x0020) <<<<<< TLV: <<<<<<   type       =
        "APN" (0x14) <<<<<<   length     = 8 <<<<<<   value      =
        69:6E:74:65:72:6E:65:74 <<<<<<   translated = internet
        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
        received generic response (translated)... <<<<<< QMUX: <<<<<<
        length  = 26 <<<<<<   flags   = 0x80 <<<<<<   service =
        "wds" <<<<<<   client  = 20 <<<<<< QMI: <<<<<<   flags       =
        "response" <<<<<<   transaction = 3075 <<<<<<   tlv_length  =
        14 <<<<<<   message     = "Start Network" (0x0020) <<<<<< TLV:
        <<<<<<   type       = "Result" (0x02) <<<<<<   length     = 4
        <<<<<<   value      = 00:00:00:00 <<<<<<   translated = SUCCESS
        <<<<<< TLV: <<<<<<   type       = "Packet Data Handle" (0x01)
        <<<<<<   length     = 4 <<<<<<   value      = 80:CD:AD:81 <<<<<<
        translated = 2175651200

    Then, we start the IPv6 connection path:
        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: <debug> Running
        IPv6 connection setup
        ...

    But, because we suddenly are not registered in the network, the
    connection is aborted, and we don't cleanup the IPv4 path at this
    point, as this patch wasn't available.

        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: <debug> Bearer
        not allowed to connect, not registered in 3GPP network
        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: <debug> Forcing
        disconnection of bearer '/org/freedesktop/ModemManager1/Bearer/56'
        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: transaction 0xe1
        aborted, but message is not abortable
        Wed Jul 29 14:44:07 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: state changed (connecting
        -> enabled)
        Wed Jul 29 14:44:07 2020 daemon.debug [1567]: <debug> Couldn't
        connect bearer '/org/freedesktop/ModemManager1/Bearer/56':
        'operation cancelled'

    We then attempt a new connection request with the same settings:

        Wed Jul 29 14:44:22 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: state changed (registered
        -> connecting)
        Wed Jul 29 14:44:22 2020 daemon.debug [1567]: <debug> Launching
        connection with QMI port (usb/cdc-wdm0) and data port (net/wwan0)
        Wed Jul 29 14:44:22 2020 daemon.debug [1567]: <debug> Defaulting
        to use static IP method
        Wed Jul 29 14:44:22 2020 daemon.debug [1567]: <debug> Running
        IPv4 connection setup

    And we see how the 'Start Network' command fails with a 'No Effect'
    error, as the IPv4 was left connected earlier. Due to this, the modem
    is assumed connected, but we won't have a valid packet data handle to
    stop the connection cleanly:

        Wed Jul 29 14:44:22 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
        sent generic request (translated)... <<<<<< QMUX: <<<<<<   length
        = 23 <<<<<<   flags   = 0x00 <<<<<<   service = "wds" <<<<<<
        client  = 20 <<<<<< QMI: <<<<<<   flags       = "none" <<<<<<
        transaction = 3080 <<<<<<   tlv_length  = 11 <<<<<<   message
        = "Start Network" (0x0020) <<<<<< TLV: <<<<<<   type       =
        "APN" (0x14) <<<<<<   length     = 8 <<<<<<   value      =
        69:6E:74:65:72:6E:65:74 <<<<<<   translated = internet
        Wed Jul 29 14:44:23 2020 daemon.debug [1567]: [/dev/cdc-wdm0]
        received generic response (translated)... <<<<<< QMUX: <<<<<<
        length  = 26 <<<<<<   flags   = 0x80 <<<<<<   service =
        "wds" <<<<<<   client  = 20 <<<<<< QMI: <<<<<<   flags       =
        "response" <<<<<<   transaction = 3080 <<<<<<   tlv_length  =
        14 <<<<<<   message     = "Start Network" (0x0020) <<<<<< TLV:
        <<<<<<   type       = "Result" (0x02) <<<<<<   length     = 4
        <<<<<<   value      = 01:00:1A:00 <<<<<<   translated = FAILURE:
        NoEffect <<<<<< TLV: <<<<<<   type       = "Packet Data Handle"
        (0x01) <<<<<<   length     = 4 <<<<<<   value      = 00:00:00:00
        <<<<<<   translated = 0

    (cherry picked from commit 7cd373589cb7d81633a5df279e0b63c405cc2bb6)

 src/mm-bearer-qmi.c | 65
 +++++++++++++++++++++++++++++++++++------------------
 1 file changed, 43 insertions(+), 22 deletions(-)

commit 8c0872fb554dc4bd07b3498d34be1b8ed5d082dc
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Aug 4 14:13:45 2020 +0200

    iface-modem: avoid connection status flapping if briefly unregistered

    If the modem is connected and we receive indications of a quick
    unregistration cycle (i.e. unregistered, then registered again) we
    should not end up flagging the modem as disconnected.

    We already had some logic to avoid this with the "deferred 3GPP
    unregistration" logic in the base bearer object, but this logic only
    took into account the status of the bearer, not the status of the
    modem.

        Wed Jul 29 15:35:44 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state
        changed (home -> idle)
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated
        (MCC: '0', MNC: '0', Location area code: '0', Tracking area code:
        '1CE8', Cell ID: '68F832')
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Connected
        bearer not registered in 3GPP network
        Wed Jul 29 15:35:44 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: state changed (connected
        -> enabled)
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Modem
        /org/freedesktop/ModemManager1/Modem/0: signal quality updated (0)
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Modem
        /org/freedesktop/ModemManager1/Modem/0: access technology changed
        (lte -> unknown)
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Periodic
        signal checks disabled
        Wed Jul 29 15:35:44 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state
        changed (idle -> registering)
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated
        (MCC: '0', MNC: '0', Location area code: '0', Tracking area code:
        '1C84', Cell ID: 'A3E050')
        Wed Jul 29 15:35:44 2020 daemon.debug [1567]: <debug> Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP location updated
        (MCC: '238', MNC: '1', Location area code: '0', Tracking area
        code: '1C84', Cell ID: 'A3E050')
        Wed Jul 29 15:35:44 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: 3GPP Registration state
        changed (registering -> home)
        Wed Jul 29 15:35:44 2020 daemon.info [1567]: <info>  Modem
        /org/freedesktop/ModemManager1/Modem/0: state changed (enabled
        -> registered)

    We now try to improve this situation by also considering the case
    where modem is supposed to get into "enabled" state (i.e. not
    registered, not searching), but we still consider the amount of
    connected bearers to decide the final state reported by the modem. In
    other words, a modem with the 3GPP registration reported as 'idle'
    will still be reported as 'connected' if there is at least one bearer
    in connected state. This situation will end as soon as the 'deferred
    3GPP unregistration' timeout expires, as that will force the bearer to
    be disconnected.

    (cherry picked from commit 16e3bb892d25e3cb7796889082943b073924a695)

 src/mm-iface-modem.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit b7852f658775c903192f1065d5e938ec6319c27d
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Tue Aug 11 14:26:13 2020 +0200

    cinterion: remove limitation to IPv4 only PDP contexts

    There was a limitation in the past in the plugin, because one of
    the steps
    during the dial (CONNECT_3GPP_CONTEXT_STEP_PDP_CTX) was to
    reconfigure a
    specific CID hardcoding the IP type to IPv4.

    That logic was removed in commit
    af2d6c1c4b7f815862313bf0f84b1ff0e91ccd60,
    but we didn't remove the IPv4 limitation at that point.

    (cherry picked from commit 2f684ce92ea9cc772a36db2e7bd9d48e677d3935)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 8 --------
 1 file changed, 8 deletions(-)

commit 660e8612b3f77fd1074b91e9586a3a5c5d63fc67
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Tue Aug 11 07:10:36 2020 +0200

    cinterion: clarify role of the AT ports for the ELS61/PLS62 family

    (cherry picked from commit a36beb0a958f65bcaa5939e04bf340d98d4180a1)

 plugins/cinterion/77-mm-cinterion-port-types.rules | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit e34d1fffa16cf931736425509559db6f156c4226
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Tue Aug 4 11:04:17 2020 +0200

    cinterion: fixed cast from wrong object

    MM_BROADBAND_MODEM_CINTERION shall be applied to a *MMBaseModem
        (ctx->modem here)
    and not to a *MMBaseBearer (self here)

    (cherry picked from commit 422a9070c40c48847870cb2cf141fe102cd72cba)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 0e57e5ce93f39ad1cf8d18be6e3aaeee4c49cad0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Aug 1 09:59:05 2020 +0200

    broadband-modem: minor method rename

    (cherry picked from commit 74dd28c4e31cca38d0b4c7ed034af4226566b404)

 plugins/telit/mm-broadband-modem-telit.c | 2 +-
 src/mm-broadband-modem-mbim.c            | 2 +-
 src/mm-broadband-modem.c                 | 4 ++--
 src/mm-broadband-modem.h                 | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

commit 38151a0c8fe131ec3a23a9f8961ec97d2c6b3733
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Aug 1 09:59:01 2020 +0200

    iface-modem: move sim hot swap ready to correct place in sequence

    (cherry picked from commit 130ea74cc953e9029a9a1662a788048ac765a0b3)

 src/mm-iface-modem.c | 53
 +++++++++++++++++++++++++---------------------------
 1 file changed, 25 insertions(+), 28 deletions(-)

commit 47074c17a2b0ff32b122069307a98173a6fcf8d3
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Mon Jul 27 12:27:26 2020 +0200

    cinterion: IMT family SGAUTH

    some ITM family modems require full parameters:
            AT^SGAUTH=cid,type,user,pwd
    even when type is AUTH_NONE.
    Fortunately, all modules of the IMT family tolerate this syntax,
    so it can be adopted for the entire family.

    (cherry picked from commit 4f1da8797213fb79856a5e8e1c6e6dca7236c2e0)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 2 ++
 1 file changed, 2 insertions(+)

commit 6ad247f89840f5bc245a6c9e65f8ccf8fed1709a
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Mon Jul 27 12:24:17 2020 +0200

    cinterion: ignore ^SYSSTART urc

    (cherry picked from commit 07ac85e2f70706e377c2019b07ce29958c70668c)

 plugins/cinterion/mm-broadband-modem-cinterion.c | 35
 ++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

commit 8b3eac8323129565b007f5460972086170e67204
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Mon Jul 27 06:23:52 2020 +0200

    cinterion: extend SGAUTH syntax

    AT^SGAUTH syntax depends on the modem family:
      AT^SGAUTH=cid,type,user,pwd   for the IMT family
      AT^SGAUTH=cid,type,pwd,user   for the rest

    (cherry picked from commit 408ec530e0442137194cf048de72183011fdc40b)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 19
 +++++++++++++++++--
 plugins/cinterion/mm-broadband-modem-cinterion.c  |  8 ++++++++
 plugins/cinterion/mm-broadband-modem-cinterion.h  |  3 +++
 3 files changed, 28 insertions(+), 2 deletions(-)

commit bd940922ed623d27b0266a411f6dfc808274b8c9
Author: Giacinto Cifelli <gciofono@gmail.com>
Date:   Fri Jul 24 16:25:03 2020 +0200

    cinterion: radio/band single scfg line: no variance

    the AT^SCFG="Radio/Band" command does not return a different answer
    for different charsets.
    This code was working previously because the charset was left to
    default (GSM)
    at the time of this operation, and therefore the string was unchanged
    anyway.

    (cherry picked from commit cec6fe9cce4f7f49f941262d48d081e30f8ea444)

 plugins/cinterion/mm-modem-helpers-cinterion.c         | 13 ++-----------
 plugins/cinterion/tests/test-modem-helpers-cinterion.c | 18
 ------------------
 2 files changed, 2 insertions(+), 29 deletions(-)

commit ddcac7fda32ed6da7781966ab5ed08c473b21ffe
Author: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Date:   Fri Jul 3 15:16:26 2020 +0200

    qmi: Network registration via SSSP if possible

    Doing the network registration via Set System Selection Preference is
    preferable because it doesn't override the currently set allowed mode,
    i.e. access technology.

    https://lists.freedesktop.org/archives/modemmanager-devel/2020-July/007972.html

    Signed-off-by: Sven Schwermer
    <sven.schwermer@disruptive-technologies.com>
    (cherry picked from commit c70b3557184fdf1472ff0cb36e9fd937cc7f9024)

 src/mm-shared-qmi.c | 138
 +++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 105 insertions(+), 33 deletions(-)

commit 83f2717ea4794ef92f5dc93d8a93d3d92602372e
Author: Justin Standring <justin.standring@taitradio.com>
Date:   Thu Jul 16 13:21:23 2020 +1200

    broadband-modem-qmi: fix -Wempty-body warning

      mm-broadband-modem-qmi.c: In function 'process_common_info':
      mm-broadband-modem-qmi.c:2897:30: warning: suggest braces around
      empty body in an 'if' statement [-Wempty-body]
                   /* both apply */ ;
                                    ^

    Signed-off-by: Justin Standring <justin.standring@taitradio.com>
    (cherry picked from commit 47a28114baa2504c16bf2bca2325cefe426aea95)

 src/mm-broadband-modem-qmi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit c4c840fca4fda4f24492c39e7145abeadd9e73ce
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Aug 19 14:55:41 2020 +0200

    broadband-modem-qmi: avoid unused functions

    Only applicable when building with WITH_NEWEST_QMI_COMMANDS.

      mm-broadband-modem-qmi.c:4741:1: error:
      ‘common_enable_disable_unsolicited_events_signal_strength’
      defined but not used [-Werror=unused-function]
       4741 | common_enable_disable_unsolicited_events_signal_strength
       (GTask *task)
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      mm-broadband-modem-qmi.c:4528:1: error:
      ‘serving_system_indication_cb’ defined but not used
      [-Werror=unused-function]
       4528 | serving_system_indication_cb (QmiClientNas *client,
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      mm-broadband-modem-qmi.c:3468:1: error:
      ‘common_enable_disable_unsolicited_registration_events_serving_system’
      defined but not used [-Werror=unused-function]
       3468 |
       common_enable_disable_unsolicited_registration_events_serving_system
       (GTask *task)
            |
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      mm-broadband-modem-qmi.c:2812:1: error:
      ‘get_serving_system_3gpp_ready’ defined but not used
      [-Werror=unused-function]
       2812 | get_serving_system_3gpp_ready (QmiClientNas *client,
            | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      mm-broadband-modem-qmi.c:1652:1: error:
      ‘get_signal_strength_ready’ defined but not used
      [-Werror=unused-function]
       1652 | get_signal_strength_ready (QmiClientNas *client,

    (cherry picked from commit 0f60b225a21cc69291b7783c58e8f957ff426ee4)

 src/mm-broadband-modem-qmi.c | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

commit 53a787a531215ccd46eb8f8709f87ecc02d8d60d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Aug 19 14:48:12 2020 +0200

    broadband-modem-qmi: fix type comparison

    Only applicable when building with WITH_NEWEST_QMI_COMMANDS.

      mm-broadband-modem-qmi.c: In function ‘process_common_info’:
      mm-broadband-modem-qmi.c:2924:20: error: comparison is always
      false due to limited range of data type [-Werror=type-limits]
       2924 |         if (mnc[2] == 0xFF) {
            |                    ^~

    (cherry picked from commit 0a5ab352e137e9c18a0c59be0533fde0bd307f03)

 src/mm-broadband-modem-qmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 1fca2c2b492a29488ae117c9f9f2b3be83d90b2e
Author: Justin Standring <justin.standring@taitradio.com>
Date:   Thu Jul 16 12:55:31 2020 +1200

    broadband-modem-qmi: fix object logging with WITH_NEWEST_QMI_COMMANDS

      mm-broadband-modem-qmi.c: In function
      'common_signal_info_get_quality':
      mm-broadband-modem-qmi.c:1469:21: error: 'self' undeclared (first
      use in this function)
               mm_obj_dbg (self, "RSSI (CDMA): %d dBm", cdma1x_rssi);
                           ^~~~
      mm-broadband-modem-qmi.c:1469:21: note: each undeclared identifier
      is reported only once for each function it appears in
               mm_obj_dbg (self, "RSSI (CDMA): %d dBm", cdma1x_rssi);
                           ^~~~
      mm-broadband-modem-qmi.c: In function 'process_gsm_info':
      mm-broadband-modem-qmi.c:2992:25: error: 'self' undeclared (first
      use in this function)
                   mm_obj_dbg (self, "no GSM service reported");
                               ^~~~
      mm-broadband-modem-qmi.c: In function 'process_wcdma_info':
      mm-broadband-modem-qmi.c:3100:25: error: 'self' undeclared (first
      use in this function)
                   mm_obj_dbg (self, "no WCDMA service reported");
                               ^~~~
      mm-broadband-modem-qmi.c: In function 'process_lte_info':
      mm-broadband-modem-qmi.c:3209:25: error: 'self' undeclared (first
      use in this function)
                   mm_obj_dbg (self, "no LTE service reported");
                               ^~~~
      mm-broadband-modem-qmi.c: In function 'config_signal_info_ready':
      mm-broadband-modem-qmi.c:4890:21: error: 'self' undeclared (first
      use in this function)
               mm_obj_dbg (self, "QMI operation failed: '%s'",
               error->message);
                           ^~~~

    Signed-off-by: Justin Standring <justin.standring@taitradio.com>
    (cherry picked from commit 6ec12add1ba6625a8470ae3cf7b30cefcf28d503)

 src/mm-broadband-modem-qmi.c | 26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

commit e519cac608c2e28a60dc9fc8d54d49c8def36b8d
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jul 8 11:40:41 2020 +0200

    broadband-modem-qmi: fix parsing of USSD indications with UTF-16 data

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/240

    (cherry picked from commit e98bc7cc0803595db8eb498817fb0d5f99d25813)

 src/mm-broadband-modem-qmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 864b8cdae76c7be976a3b61599318e44cb7ca5aa
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jul 6 16:53:08 2020 +0200

    cinterion: quote user/password strings in AT^SGAUTH calls

    The ELS61 doesn't like authentication given without quotes:
      [modem3/ttyACM1/at] --> 'AT^SGAUTH=8,1,tm,t-mobile<CR>'
      [modem3/ttyACM1/at] <-- '<CR><LF>+CME ERROR: 4<CR><LF>'

    Only when user/pass strings are quoted it works:
      [modem6/ttyACM1/at] --> 'AT^SGAUTH=8,1,"t-mobile","tm"<CR>'
      [modem6/ttyACM1/at] <-- '<CR><LF>OK<CR><LF>'

    (cherry picked from commit a131c6953a0a24a6ed8c365cb5e398fa5e52afcf)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

commit 44175db16c4ad83a35a0661a3758c90b3cf2ce8c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jul 6 16:23:57 2020 +0200

    cinterion: if user OR password given, don't set the other as (null)

      [modem2/ttyACM1/at] --> 'AT^SGAUTH=8,1,t-d1,(null)<CR>'
      [modem2/ttyACM1/at] <-- '<CR><LF>+CME ERROR: 4<CR><LF>'

    We should use an empty string instead.

    (cherry picked from commit 0a89a9ae4ee62ba36b616fc444a866d61c203696)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit d544b93d484b315a7e04bd93343d30963ca04a92
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Jun 25 18:43:57 2020 +0200

    cinterion: increase SWWAN connection attempt timeout

    It's critical not to timeout early on devices with AT ports, or we may
    end up flagging the modem as invalid.

      ModemManager[26829]: <debug> [1593097973.552712] [modem1/ttyACM0/at]
      --> 'AT^SWWAN=1,2,1<CR>'
      ....
      ModemManager[26829]: <debug> [1593098064.195217] [modem1] couldn't
      connect bearer: Serial command timed out
      ....
      ModemManager[26829]: <error> [1593098091.167987] [modem1] port
      ttyACM0 timed out 10 consecutive times, marking modem as invalid

    (cherry picked from commit e933fe14130b20785b6ddd2993a8fc982976c7af)

 plugins/cinterion/mm-broadband-bearer-cinterion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ca66500716d798a91a617ca6c4c502e2f75c25d7
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jul 4 06:02:37 2020 +0200

    iface-modem-signal: remove unneeded skeleton clear attempt

    It won't do anything because clear_values() tries to get the skeleton
    from the modem object, and the skeleton hasn't been set at that point.

    (cherry picked from commit 3d138f9f80823d2caafbc5117329b43472fe7d45)

 src/mm-iface-modem-signal.c | 1 -
 1 file changed, 1 deletion(-)

commit 4b4350e10197695742778949d8069b7d7f890838
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jul 4 05:47:25 2020 +0200

    cinterion,signal: ^SMONI=? support check may be cached

    (cherry picked from commit c79dcf794041724b5504a9576b07c1e53ca0affb)

 plugins/cinterion/mm-broadband-modem-cinterion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ac79b07699ae4a2ece6771bd222e266839887217
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jul 4 05:46:56 2020 +0200

    cinterion,signal: report error from parent signal support check

    (cherry picked from commit ee262a473dcfd5702f66c532d42285c2763bad11)

 plugins/cinterion/mm-broadband-modem-cinterion.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

commit 20c63bc0a354b32255526d25d8bc51456b99c762
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jul 4 05:45:28 2020 +0200

    cinterion,signal: minor coding style fixes

    (cherry picked from commit 2cb8e5ef5d30330442af152fa7d65ec7cc612e89)

 plugins/cinterion/mm-broadband-modem-cinterion.c | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

commit 71573a4ef93b5d3e828c16fba6b755411f5a1939
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jul 4 05:37:59 2020 +0200

    mbim,signal: make sure output pointers are always set

    E.g. if 'gsm' pointer is given, make sure it's always set (either to a
    MMSignal or to NULL).

    (cherry picked from commit 10ee7f4cd9d8af46822959fc84055bac45f5c56b)

 src/mm-broadband-modem-mbim.c | 20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

commit 1b78d254fa15150cd14057e5ade48fe5b5328243
Author: Adrien Plazas <kekun.plazas@laposte.net>
Date:   Fri Jul 3 08:26:57 2020 +0200

    plugin: define an autofree value to NULL

    This satisfies -Werror=maybe-uninitialized.

    (cherry picked from commit 6df9cc084489a3aa8ab06b1e87f597b96dc79ffa)

 src/mm-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5f8bf97021ec23f7a61a6d690cd8a7f819c54d70
Author: Daniele Palmas <dnlplm@gmail.com>
Date:   Thu Jul 2 13:09:19 2020 +0200

    telit: added port type hints for default MEx10G1 composition

    While at this change also the previous generic reference to ME910
    in order to differentiate between ME910C1 (based on MDM9206) and
    MEx10G1 (based on MDM9205).

    (cherry picked from commit fff47478cc5887176830a5debe2c4204434c222f)

 plugins/telit/77-mm-telit-port-types.rules | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit f5bd1807197696266fe492669a0d63cdef999096
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jun 29 10:06:18 2020 +0200

    libmm-glib,location: avoid warnings when no traces available

        ModemManager[201411]: <debug>
        [1593417744.011884] [modem0/ttyUSB1/gps] <--
        '$GPVTG,,T,,M,,N,,K,N*2C<CR><LF>$GPGSA,A,1,,,,,,,,,,,,,,,*1E<CR><LF>$GPGGA,,,,,,0,,,,,,,,*66<CR><LF>$GPRMC,,V,,,,,,,,,,N*53<CR><LF>'

        (ModemManager:201411): GLib-CRITICAL **: 10:02:24.054: g_strjoinv:
        assertion 'str_array != NULL' failed

        Thread 1 "ModemManager" received signal SIGTRAP, Trace/breakpoint
        trap.
        0x00007ffff7832473 in g_logv () from /usr/lib/libglib-2.0.so.0
        (gdb) bt
        #0  0x00007ffff7832473 in g_logv () at /usr/lib/libglib-2.0.so.0
        #1  0x00007ffff78326f0 in g_log () at /usr/lib/libglib-2.0.so.0
        #2  0x00007ffff7846b5e in g_strjoinv () at
        /usr/lib/libglib-2.0.so.0
        #3  0x00007ffff7ee9663 in mm_location_gps_nmea_get_string_variant
        (self=0x5555557dde50) at mm-location-gps-nmea.c:246
        #4  0x00005555555e7c47 in build_location_dictionary (previous=0x0,
        location_3gpp=0x55555573e660, location_gps_nmea=0x5555557dde50,
        location_gps_raw=0x0, location_cdma_bs=0x0)
            at mm-iface-modem-location.c:183
        ...
        (gdb) fr 3
        #3  0x00007ffff7ee9663 in mm_location_gps_nmea_get_string_variant
        (self=0x5555557dde50) at mm-location-gps-nmea.c:246
        246     built = g_strjoinv ("\r\n", traces);
        (gdb) p traces
        $1 = (GStrv) 0x0

    (cherry picked from commit 619b054e5c874844a73594a724b4e5ce5ec18b6d)

 libmm-glib/mm-location-gps-nmea.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 19416aa725131865c6af8ce76f35e0116f7d0de8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jun 23 14:22:04 2020 +0200

    build: post-release version bump to 1.14.1

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

Martin's avatar
Martin committed
1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172
commit 5f20662aeb9b0f79865a9a9df151349a29b4a2bd
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jun 23 14:06:03 2020 +0200

    release: bump version to 1.14.0

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

commit 71d65bbe7e98248c21c4c35f4ec4210264ba745a
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jun 22 14:10:28 2020 +0200

    u-blox: always ignore M8 and M9 GPS modules

 plugins/ublox/77-mm-ublox-port-types.rules | 2 ++
 1 file changed, 2 insertions(+)

commit fbf38753441ee6eb9635a0f7b24e7a1b3ac818c3
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Mon Jun 22 09:30:09 2020 +0200

    blacklist: add chinese clone of Arduino nano

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/228

 src/77-mm-usb-device-blacklist.rules | 3 +++
 1 file changed, 3 insertions(+)

commit 5cbeeb1b99939f9bc6faea1c29e99bc1f274d077
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Sat Jun 20 12:05:18 2020 +0200

    build: require libqmi 1.26.0

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

commit 57422ec0bb6403bd17efab174f1d9b67079a5b1e
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Jun 19 14:27:27 2020 +0200

    NEWS: add info about MBIM-powered Cinterion devices

 NEWS | 1 +
 1 file changed, 1 insertion(+)

commit ecf54efc671b8c05e6354470e6ed8f496985d3a9
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jun 17 14:53:45 2020 +0200

    cinterion: added port type hints for the mPLS62-w in MBIM mode

      T:  Bus=01 Lev=02 Prnt=04 Port=01 Cnt=01 Dev#= 40 Spd=480 MxCh= 0
      D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=1e2d ProdID=005d Rev=17.30
      S:  Manufacturer=Cinterion Wireless Modules
      S:  Product=PLSx
      C:  #Ifs=12 Cfg#= 1 Atr=e0 MxPwr=100mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=01
      Driver=cdc_acm
      I:  If#=0x1 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_acm
      I:  If#=0xa Alt= 1 #EPs= 1 Cls=02(commc) Sub=0e Prot=00
      Driver=cdc_mbim
      I:  If#=0xb Alt= 2 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02
      Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=00
      Driver=cdc_acm
      I:  If#=0x3 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_acm
      I:  If#=0x4 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=00
      Driver=cdc_acm
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_acm
      I:  If#=0x6 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=00
      Driver=cdc_acm
      I:  If#=0x7 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_acm
      I:  If#=0x8 Alt= 0 #EPs= 1 Cls=02(commc) Sub=02 Prot=00
      Driver=cdc_acm
      I:  If#=0x9 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
      Driver=cdc_acm

 plugins/cinterion/77-mm-cinterion-port-types.rules | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit c2ee73173e77b57108e52a09bfecadef19ae13a8
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Wed Jun 17 14:26:58 2020 +0200

    cinterion: allow MBIM-powered devices

    Like the mPLS62-w when setup to be controlled in MBIM mode instead of
    plain AT commands.

 plugins/cinterion/mm-plugin-cinterion.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit 54de41928b73b2c7fdfe5b4c791625f6973510f0
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Thu Jun 18 10:58:14 2020 +0200

    build: require libmbim 1.24.0

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

commit 9d31cbaa2dc2efb77d174134156b612072d6bf0b
Author: Eric Caruso <ejcaruso@chromium.org>
Date:   Wed Jun 17 16:19:07 2020 -0700

    mm-kernel-device: give cmp a total order

    This allows MMKernelDevice::cmp to compare two kernel devices
    with different object types, which means that subclasses can
    continue to only handle comparisons with their own type. The
    order may not be stable across builds.

 src/kerneldevice/mm-kernel-device.c | 3 +++
 1 file changed, 3 insertions(+)

commit 12ea728112f562a572a5c0ecc7bba47bb529d41c
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Tue Jun 16 09:41:14 2020 +0200

    AUTHORS: update with latest commit stats

 AUTHORS | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

commit cb8d810583690ea2c011e66d36c1eeb346f83690
Author: Brendan Peter <bpeter@lytx.com>
Date:   Mon Jun 15 15:48:01 2020 -0700

    quectel: add port type hints for EG95

 plugins/quectel/77-mm-quectel-port-types.rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 569990f38cc241b0309ec7d8c92a7b2de3e89005
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Jun 12 09:25:09 2020 +0200

    broadband-modem-qmi: also build 5GS reg state from Serving System

 src/mm-broadband-modem-qmi.c | 6 ++++++
 src/mm-iface-modem.c         | 6 ++++++
 src/mm-iface-modem.h         | 1 +
 3 files changed, 13 insertions(+)

commit 8340237f9da911ca6ecc58fd6c453e9ea32616d4
Author: Aleksander Morgado <aleksander@aleksander.es>
Date:   Fri Jun 12 09:17:40 2020 +0200

    broadband-modem-qmi: avoid using stale EPS registration state

    When the device goes from LTE to UMTS, we must make sure we also
    always update the EPS registration state as unknown, or the built
    consolidated state will be wrong.

    Fixes
    https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/225

 src/mm-broadband-modem-qmi.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

commit 3af93cbe18709864a10c3efd752e7db44f41c18f
Author: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Date:   Fri Jun 5 08:57:48 2020 +0300

    broadband-modem-qmi: switch USSD state to idle when ussd session is
    terminated by network

    The cellular operator can break the interactive USSD session. In
    this case, it is necessary
    to process this situation otherwise --3gpp-ussd-initiate or
    --3gpp-ussd-respond will give an error.

    Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>

 src/mm-broadband-modem-qmi.c | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

commit 62c6f941a2ea44b0f67fbb849c92335d78137b96
Author: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Date:   Fri Jun 5 09:29:23 2020 +0300

    cli: make control chars in strings are escaped correctly for json
    output

    We need to change json output escaping according to this
    https://bugzilla.gnome.org/show_bug.cgi?id=730425

    Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>

 cli/mmcli-output.c | 47 +++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 45 insertions(+), 2 deletions(-)

commit 1e0b38d98aff792481f4635c524bbf669b0be5ad
Author: Maxim Anisimov <maxim.anisimov.ua@gmail.com>
Date:   Fri Jun 5 08:43:05 2020 +0300

    sms-part-3gpp:  fix unicode names in sms decode iconv() operations

    So that the limited iconv() in OpenWRT supports the conversion
    properly.

    Signed-off-by: Maxim Anisimov <maxim.anisimov.ua@gmail.com>

 src/mm-sms-part-3gpp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Martin's avatar
Martin committed
2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755