summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-09-29libqmi-glib,message: add note about qmux/qrtr header sizesAleksander Morgado1-1/+4
2023-09-29libqmi-glib,message: remove obsolete note about g_byte_array_new_take()Aleksander Morgado1-6/+0
The issue referenced was already fixed in GLib 2.43.0.
2023-09-29libqmi-glib,message: add missing g_return_() checks in API methodsAleksander Morgado1-0/+6
2023-09-29libqmi-glib,message: ensure service id fits when creating for dataAleksander Morgado1-11/+12
The QmiService enum is a 32bit value, we need to ensure we don't get unexpected values when trying to create a new message.
2023-09-29libqmi-glib,message: added macros to check message types based on markerAleksander Morgado1-22/+24
2023-09-29libqmi-glib,message: disallow service ids that don't fit in 16bitsAleksander Morgado1-9/+12
2023-09-29libqmi-glib: QRTR specific allocate/release CID operations are internalAleksander Morgado7-49/+49
2023-09-29libqmi-glib,endpoint-qrtr: refactor client allocation/release logicAleksander Morgado1-55/+91
Just style changes, no functional updates.
2023-09-29libqmi-glib,device: refactor client allocation/release logicAleksander Morgado1-126/+102
Just style changes, no functional updates.
2023-09-29libqmi-glib,proxy: expect QRTR allocation format based on message idAleksander Morgado1-31/+67
Using the marker to decide whether the allocation info TLV contains the 16-bit value is not right, the decision should be exclusively done based on the message id.
2023-09-29libqmi-glib,message: no flags when marker is qrtrAleksander Morgado1-4/+2
2023-09-29libqmi-glib,message: rename 'qmux_length' to 'message_length'Aleksander Morgado1-22/+22
2023-09-29libqmi-glib,message: explain that the QRTR header is fakeAleksander Morgado1-0/+3
2023-09-29libqmi-glib,proxy: handle QMUX and QRTR messagesDylan Van Assche1-9/+14
Handle QMUX and QRTR messages in QMI Message: - Use QmiService enum instead of guint8 - Handle service ID extraction from QMI message based on marker - Allow messages with QMUX and QRTR marker
2023-09-29libqmi-glib,port-context: handle QMUX and QRTR messagesDylan Van Assche1-2/+4
Handle QMUX and QRTR messages in QMI Message: - Allow QMI messages with both QMUX and QRTR markers
2023-09-29libqmi-glib,endpoint-[mbim|qmux]: disallow private CTL operationsAleksander Morgado4-5/+24
2023-09-29libqmi-glib,endpoint-[qmux|mbim]: only allow QMUX messagesAleksander Morgado2-9/+21
2023-09-29libqmi-glib,endpoint-qrtr: handle QMUX and QRTR messagesDylan Van Assche1-7/+29
Handle QMUX and QRTR messages in QMI Message: - Use QmiService enum instead of guint where possible - Bump service ID size from guint8 to guint16 when constructing TLVs - Extract service IDs from QMI messages depending on marker
2023-09-29libqmi-glib,device: handle QMUX and QRTR messagesDylan Van Assche3-18/+195
Handle QMUX and QRTR messages in QMI Message: - Add internal calls for CTL service which is handled by QRTR endpoint - Adjust QMI Device to send internal CTL service messages when services are out of reach of QMUX compatible endpoints.
2023-09-29libqmi-glib,endpoint: handle QMUX and QRTR messagesDylan Van Assche1-2/+3
Handle QMUX and QRTR messages in QMI Message: - Allow QMI messages with both QMUX and QRTR markers
2023-09-29libqmi-glib,message: handle QMUX and QRTR messagesDylan Van Assche3-41/+142
Handle QMUX and QRTR messages in QMI Message: - Set a different marker for services > G_MAXUINT8 - Handle different markers in helper methods - Print QMI Messages differently depending on marker - Document QMI_MESSAGE_QRTR_MARKER and qmi_message_get_marker
2023-09-28data: qmi-service-ssc: add SSC serviceDylan Van Assche11-3/+191
The SSC service is the Qualcomm Snapdragon Sensor Core (SSC) which is a remoteproc exposing the sensor devices in the latest Qualcomm SoCs. The SSC manages the power to the sensors, sample rates, etc. which can be used over QMI. In contrast to other QMI services, the SSC uses QMI only as a transport mechamism. The actual messages are Protobuf messages encoded in the QMI messages and indications. Therefore, only 1 QMI message is used and 2 QMI indications. The SSC may emit QMI indications with a small data size or much bigger, they are indentical besides the data size and ID.
2023-09-26bump version to 1.33.900 (1.34-rc1)1.34-rc1Aleksander Morgado1-1/+1
2023-09-26NEWS: update for 1.34.0Aleksander Morgado1-1/+63
2023-08-12libqmi-glib,qmicli: implement IMS serviceDylan Van Assche12-5/+350
IMS is the IMS Settings service which exposes the settings of various IMS services such as IMS SMS, IMS Voice, IMS Video Telephony, IMS UE to TAS, and IMS Video Share. Implement the setting indicators for those services so we know which services are enabled and which not.
2023-08-12libqmi-glib,qmicli: implement IMSA serviceDylan Van Assche13-4/+605
IMSA is the IMS Application service which exposes the status of various IMS services such as IMS SMS, IMS Voice, IMS Video Telephony, IMS UE to TAS, and IMS Video Share. Implement the status indicators for those services.
2023-08-12libqmi-glib,qmicli: implement IMSP serviceDylan Van Assche13-4/+358
IMSP service is already known by libqmi but without any implementation. Add the Get Enabler State method to retrieve the IMS registation status. IMS is split up in multiple services: IMS, IMSA, IMSP, IMSVT, and IMSRTP. Other IMS services will be added in other patches.
2023-08-07build: unstable release version bump to 1.33.81.33.8-devAleksander Morgado1-1/+1
2023-06-27qmicli,atr: add monitoring unsolicited actionDaniele Palmas1-14/+59
Add an action to watch for unsolicited notifications. To enable the AT communication in the QMI client and get the unsolicited notifications, it is required to send any initial AT command. The implementation uses 'ATE0' so that the echo is disabled in the monitoring client: this could also be useful if the same client cid is used also for AT commands sending through --atr-send-only to avoid polluting the monitoring output.
2023-06-27qmicli,atr: add --send-only actionDaniele Palmas1-19/+71
$ sudo qmicli -d /dev/cdc-wdm0 --atr-send-only="AT+CFUN=1" Successfully sent AT command
2023-06-27libqmi-glib,qmicli: add Telit AT Relay Service (ATR)Daniele Palmas13-2/+423
Add Telit AT Relay Service which can be used for sending AT commands. The service has a single request for sending the AT command: the reply arrives asynchronously as an indication.
2023-05-03build: unstable release version bump to 1.33.71.33.7-devAleksander Morgado1-1/+1
2023-04-27build-aux,mkenums: remove obsolete commentAleksander Morgado1-2/+0
2023-04-27libqmi-glib: separate files for flags and enums typesAleksander Morgado21-353/+241
This allows us to skip needing to include the non-existent build_string_from_mask() or get_string() counterparts in the documentation index.
2023-04-27build-aux,mkenums: allow having separate files for flags and enumsAleksander Morgado1-0/+12
2023-04-14docs: update copyrightAleksander Morgado1-0/+1
2023-04-14qmi-proxy: update copyrightAleksander Morgado1-2/+2
2023-04-14qmicli: update copyrightAleksander Morgado1-2/+2
2023-04-11ci: don't attempt to build container on branches or pushesAleksander Morgado1-2/+1
2023-04-11build: version bump to flag existence of new API (new card status enum)1.33.6-devAleksander Morgado1-1/+1
2023-04-11uim: new UIM personalization feature enum in Card Status messagesAleksander Morgado6-18/+227
The personalization feature enum in "UIM Card Status" QMI message is treated differently in QMI modems, and is not same as the existing 'QmiUimCardApplicationPersonalizationFeature' enum. A new enum 'QmiUimCardApplicationPersonalizationFeatureStatus' for the "UIM Card Status" QMI message is introduced. The enum change in the QMI message leads to the need of compat symbols to support API/ABI compatibility. Given that the format and size of the struct involved in the enum change is the same, i.e. only the representation of the integer as a different enum changed, we don't treat the change as a whole TLV rename. Instead, we only change the struct type that is stored in the GArray/GPtrArray. We also provide a compat symbol for the UNKNOWN enum name, which the old enum no longer has. Originally written by Akash Aggarwal <quic_akasagga@quicinc.com> in 5f366be3000e8c00f7ce73d64606095d3ba4c22e, but later reverted to handle all the needed compat symbols.
2023-04-11build-aux,codegen: allow tagging 'since' in struct typesAleksander Morgado1-1/+3
2023-04-10ci: no need for buildtype=release in dependenciesAleksander Morgado1-2/+2
2023-04-10ci: add explicit debug build with all featuresAleksander Morgado1-0/+29
The release buildtype will disable certain warnings that we do see in debug builds. Ensure we have a test build with all features enabled in debug mode.
2023-04-10Revert "uim: update UIM personalization feature enum"Aleksander Morgado3-76/+14
This reverts commit 5f366be3000e8c00f7ce73d64606095d3ba4c22e. This change introduced a TLV field type change, and we therefore need proper compat methods to avoid breaking API/ABI.
2023-04-10qmi-codegen: support 'since' tag in common TLVsAleksander Morgado1-2/+4
If the common TLV field defines its own 'since' tag, prefer it over the 'since' tag specified by the message. This supports the rare case where a TLV format is updated while keeping the original message name untouched. Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/104
2023-04-02uim: update UIM personalization feature enumAkash Aggarwal3-14/+76
Personalization feature enum in "UIM Card Status" QMI message is treated differently in QMI modem, and is not same as existing 'QmiUimCardApplicationPersonalizationFeature' enum. Add new enum 'QmiUimCardApplicationPersonalizationFeatureStatus' for "UIM Card Status" QMI message.
2023-03-28libqmi-glib: Correct QMI_SERVICE_SAR documentationLukas Arnold1-1/+1
2023-03-24build: unstable release version bump to 1.33.51.33.5-devAleksander Morgado1-1/+1
2023-03-16qmicli,qmi-proxy,qmi-firmware-update: add missing GOptionEntry initializersAleksander Morgado22-29/+27
Just to make the compiler happy: ../libqmi-9999/src/qmicli/qmicli-voice.c:71:12: warning: missing field 'short_name' initializer [-Wmissing-field-initializers] { NULL } ^