aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-23libqmi-glib,message: remove "raw_length > 0" assertHEADmasterBjørn Mork
The wds profile dumps returned by "Get Default Settings" (0x002C) or "Get Profile Settings" (0x002B) may return TLVs with 0 length. This has been observed in practice from a Quectel RG502Q-EA with 0x002c and TLVs 0x1b, 0x1c and 0x4a. Print an empty value string instead of bailing out with an assert Signed-off-by: Bjørn Mork <bjorn@mork.no>
2021-04-21build: disable gtkdocize in autoreconfAleksander Morgado
We have a custom modified gtk-doc.make file in our sources, which disables the gtkdoc-rebase on local install step, so we don't want autoreconf to copy a different one when we're bootstrapping.
2021-04-20build: Rename template filesIñigo Martínez
The template files in the `build-aux/templates` directory used in enums sources and headers generation use the `{$name}-template.[ch]` pattern. However, the examples in the official guide[0] and usually GNOME and Freedesktop packages use the `{$name}.[ch].template` pattern. Due to this, the name of the template files and build commands have been changed. [0] https://developer.gnome.org/gobject/stable/glib-mkenums.html
2021-04-20collection,basic: add WMS Send ACKClayton Craft
This will be used by transfer-route message MT handling in ModemManager
2021-04-08build: version bump to flag existence of new API (apn type)Aleksander Morgado
2021-04-08libqmi-glib,device: plug memleak when QmiDevice is opened multiple timesAleksander Morgado
On a QmiDevice re-open, if we're opening with the version info check flag, we would be re-querying the device for the list of supported services. That is fine, but we must make sure the array of supported services from the last open operation is cleared before storing the new one.
2021-04-08wds: add 'APN type' in profile create/modify operationsAleksander Morgado
Just assuming the TLV id and format is the same. E.g.: $ sudo qmicli -p -d /dev/cdc-wdm0 \ --wds-create-profile="3gpp,apn=something2,apn-type-mask=emergency|ims" New profile created: Profile type: '3gpp' Profile index: '6' $ sudo qmicli -p -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp Profile list retrieved: ... [6] 3gpp - APN: 'something2' APN type: 'ims, emergency' PDP type: 'ipv4-or-ipv6' PDP context number: '6' Username: '' Password: '' Auth: 'none' No roaming: 'no' APN disabled: 'no'
2021-03-30libqmi: fix build when ARPHRD_RAWIP isn't defined in libcAleksander Morgado
The kernel may be new enough to have rmnet support, but it could be that libc doesn't have ARPHRD_RAWIP defined yet; if so, just define it ourselves. Fixes http://autobuild.buildroot.org/results/c8853b7161bd85d46c1282c6c097e7ef4042ae68
2021-03-25qmicli,nas: report 5G-SA cell in --nas-get-cell-location-infoAleksander Morgado
2021-03-25nas: support 5G-SA cellCarl Yin
Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/57
2021-03-16qmicli: print 'none' if a mask has no known valuesAleksander Morgado
Instead of trying to print the NULL string, which ends up as '(null)'
2021-03-16qmicli: port to g_autofree all mask string buildingAleksander Morgado
2021-03-16qmicli,nas: add missing quotes in --nas-get-system-selection-preferenceAleksander Morgado
2021-03-12wds: add 'APN Type' mask in profile settingsVincent Palatin
Read the APN Type mask when getting profile settings and display it in qmicli. This can be used later to filter APN in the list of APNs (MBIM as a similar 'ContextType')
2021-03-11build: version bump due to a new QmiNasPlmnAccessTechnologyIdentifierTeijo Kinnunen
QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_NGRAN added since 1.29.2.
2021-03-11collection,basic: add get/set preferred networksTeijo Kinnunen
These are to be used in ModemManager.
2021-03-11collection,basic: add UIM Get Configuration and UIM DepersonalizationMichal Mazur
2021-03-09qmicli,link-management: mux-id and flags are optionalAleksander Morgado
If mux-id is not given, AUTO is assumed.
2021-03-09qmicli: fix minor typo in --help-link-managementAleksander Morgado
2021-03-09qmicli: allow new 'flags' setting in --link-add to pass ↵Aleksander Morgado
QmiDeviceAddLinkFlags bitmasks By default flags will be NONE if none specified. Flags are specified as usual, using nicknames separated by '|', e.g.: $ sudo qmicli -d /dev/cdc-wdm0 --link-add="mux-id=auto,iface=wwan0,prefix=qmapmux,flags=ingress-map-cksumv4|egress-map-cksumv4"
2021-03-09libqmi-glib,device: new add_link_with_flags() methodAleksander Morgado
The rmnet backend allows some configuration when creating link interfaces. This configuration specifies how the link being created works, and is strictly dependent on the setup. E.g. when using rmnet over IPA we may need to always specify that checksum offload is supported, while when using rmnet over qmi_wwan, no checksum offload is currently supported. None of the flags are applicable to the qmi_wwan-only backend, and so this new method will return an UNSUPPORTED error if any flag is given to this backend. The generic add_link() method is now equivalent to running add_link_with_flags() with QMI_DEVICE_ADD_LINK_FLAG_NONE.
2021-03-09qmicli: new '--get-configuration' and '--depersonalization' actionsMichal Mazur
Co-authored-by: Aleksander Morgado <aleksander@aleksander.es>
2021-03-09uim: new 'Get Configuration' and 'Depersonalization' requestsMichal Mazur
Define two UIM messages needed to get personalization status and remove modem locks.
2021-03-08libqmi-glib,nas: add NGRAN access technology for preferred networksTeijo Kinnunen
This access technology bit is presumably supported by 5G modems.
2021-03-08libqmi-glib,device: fix type vs value documentation referencesAleksander Morgado
2021-03-02build: version bump to flag existence of new API (network reject)Aleksander Morgado
2021-03-02collection,basic: add 'NAS Network Reject'Aleksander Morgado
It's going to be used in ModemManager.
2021-03-02nas: update "System Info" response/indications with QmiNasRejectCauseAleksander Morgado
The TLVs that included a guint8 reject cause are updated to have them reported with the new QmiNasRejectCause enum type. The old methods that referred to the field as guint8 are flagged as deprecated and compat replacements are provided to avoid API/ABI breaks in the next libqmi release.
2021-03-02nas: support 'Network Reject' indicationsAleksander Morgado
2021-03-02nas: update 'Register Indications' to allow network reject indicationsAleksander Morgado
2021-03-02nas: reorder 'Force Network Search' request in listAleksander Morgado
0x0067 goes after 0x0065
2021-03-02build: version bump to flag existence of new API (aggregation protocols)Aleksander Morgado
2021-03-01libqmi-glib,net-port-manager,rmnet: include missing string.hAleksander Morgado
Required for memset() and memcpy().
2021-03-01libqmi-glib,helpers: import ptr array lookup with GEqualFunc from GLib 2.54Aleksander Morgado
This fixes the build when using GLib < 2.54.
2021-03-01qmicli,nas: add --nas-get-preferred-networks/--nas-set-preferred-networksTeijo Kinnunen
2021-03-01qmicli,helpers: return PCS digit status in qmicli_read_parse_3gpp_mcc_mncTeijo Kinnunen
2021-03-01libqmi-glib,net-port-manager: fix build with GLib 2.48Aleksander Morgado
The g_ptr_array_steal_index_fast() method was introduced in 2.58, fallback to use g_ptr_array_remove_index_fast() instead.
2021-02-28libqmi-glib,wda: add new aggregation protocol valuesAleksander Morgado
2021-02-28libqmi-glib,enums: add new data endpoint type valuesAleksander Morgado
2021-02-25docs: add api index for 1.30Aleksander Morgado
2021-02-25libqmi-glib,nas: implement "Get/Set Preferred Networks"Teijo Kinnunen
2021-02-24libqmi-glib,net-port-manager-qmiwwan: simplify add/del operationsAleksander Morgado
The original logic assumed that after the sysfs add_mux/del_mux write operation, the link interface would require some time to show up in sysfs, and so we would attempt to always run one by one these operations, so that e.g. we could keep track of what mux_id was requested and what link name was generated. But this doesn't seem to be true; add_mux/del_mux seem to guarantee that as soon as the write operation finishes successfully, the new link is already available (for add_mux) or the given link was already removed (for del_mux). So just simplify the logic, and run the whole add/del logic in a sync way without forcing an artificial 250ms timeout to complete each operation.
2021-02-23build: add version bump logic to releasing notesAleksander Morgado
2021-02-22build: improve releasing notesAleksander Morgado
2021-02-22build: post-release version bump to 1.29.0Aleksander Morgado
2021-02-22release: bump version to 1.28.0Aleksander Morgado
2021-02-18NEWS: update for 1.28.0Aleksander Morgado
2021-02-18build: require libqrtr-glib 1.0.0Aleksander Morgado
2021-02-16qmicli: all link management actions in a new common groupAleksander Morgado
2021-02-16libqmi-glib,device: add missing input argument checksAleksander Morgado