Sync from SUSE:SLFO:Main libqmi revision f090076fedd18a4e7cd8166963ba267e
This commit is contained in:
parent
e92be5994b
commit
da1b67f704
36
0001-message-fix-16bit-service-on-big-endian.patch
Normal file
36
0001-message-fix-16bit-service-on-big-endian.patch
Normal file
@ -0,0 +1,36 @@
|
||||
From 76063ef32c4231b68196dec43b21d091c778e87f Mon Sep 17 00:00:00 2001
|
||||
From: Arnaud Ferraris <aferraris@debian.org>
|
||||
Date: Sat, 21 Oct 2023 11:43:09 +0200
|
||||
Subject: [PATCH] libqmi-glib,message: fix 16-bit service on big endian
|
||||
architectures
|
||||
|
||||
The latest release introduces handling of 16-bit service indications.
|
||||
However, only the raw message data is returned from
|
||||
`qmi_message_get_service()`, leading to incorrect values on big-endian
|
||||
architectures. As a consequence, `libqmi` ultimately fails to build as
|
||||
the corresponding test errors out in this case.
|
||||
|
||||
This patch ensures the service indication is correct on all kinds of
|
||||
architectures.
|
||||
|
||||
(cherry picked from commit 6662764338d3127924cfefaa9cf1b0cc4f90a189)
|
||||
---
|
||||
src/libqmi-glib/qmi-message.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/libqmi-glib/qmi-message.c b/src/libqmi-glib/qmi-message.c
|
||||
index 3e31b4b4..1918a456 100644
|
||||
--- a/src/libqmi-glib/qmi-message.c
|
||||
+++ b/src/libqmi-glib/qmi-message.c
|
||||
@@ -226,7 +226,7 @@ qmi_message_get_service (QmiMessage *self)
|
||||
if (MESSAGE_IS_QMUX (self))
|
||||
return (QmiService)((struct full_message *)(self->data))->header.qmux.service;
|
||||
|
||||
- return (QmiService)((struct full_message *)(self->data))->header.qrtr.service;
|
||||
+ return (QmiService)GUINT16_FROM_LE (((struct full_message *)(self->data))->header.qrtr.service);
|
||||
}
|
||||
|
||||
guint8
|
||||
--
|
||||
GitLab
|
||||
|
BIN
libqmi-1.32.4.tar.bz2
(Stored with Git LFS)
BIN
libqmi-1.32.4.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
libqmi-1.34.0.tar.bz2
(Stored with Git LFS)
Normal file
BIN
libqmi-1.34.0.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,54 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 23 15:14:21 UTC 2024 - Eugenio Paolantonio <eugenio.paolantonio@suse.com>
|
||||
|
||||
- Add patch:
|
||||
* 0001-message-fix-16bit-service-on-big-endian.patch
|
||||
- Fixes 16-bit service indications on big endian architectures.
|
||||
Cherry-picked from upstream qmi-1-34 branch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 10 14:01:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to update to 1.34.0:
|
||||
* New services:
|
||||
** New 'ATR' service to support AT commands over QMI,
|
||||
defined by Telit, including "Send" request and "Received"
|
||||
indication.
|
||||
** New 'IMS' service, including "Get IMS Services Enabled
|
||||
Setting" request/response.
|
||||
** New 'IMSA' (IMS Application) service, including "Get
|
||||
IMS Registration Status" and "Get IMS Services Status"
|
||||
request/responses.
|
||||
** New 'IMSP' (IMS Presence) service, including "Get
|
||||
Enabler State" request/response.
|
||||
** New 'SSC' service (Qualcomm Snapdragon Sensor Core),
|
||||
including the "Control" request/response, and
|
||||
"Report Small"/"Report Large" indications.
|
||||
** nas: added the "WCDMA RSCP" TLV in "Get Signal Info"
|
||||
response and "Signal Info" indication.
|
||||
** wds: added the "Report Profile Changes" TLV in
|
||||
** Support for 16-bit service ids added, used in the QRTR
|
||||
backend.
|
||||
** Response and indication parser messages are now
|
||||
published in the API.
|
||||
** The library now allows connecting to a unix domain
|
||||
socket named 'qmux_socket' instead of a device file.
|
||||
** Extended the 'QmiWdsProfileType' enum type with EPC and
|
||||
ALL values.
|
||||
** Extended the
|
||||
'QmiUimCardApplicationPersonalizationFeature' enum type with
|
||||
additional GW-related values.
|
||||
** New 'QmiUimCardApplicationPersonalizationFeatureStatus'
|
||||
enum type.
|
||||
** New 'QmiImspEnablerState' enum type, used in the IMPS
|
||||
service.
|
||||
** New 'QmiImsaImsRegistrationStatus',
|
||||
'QmiImsaServiceStatus' and
|
||||
* qmicli:
|
||||
** New '--uim-remote-unlock' command.
|
||||
** New '--imsp-get-enabler-state' command.
|
||||
** New '--imsa-get-ims-registration-status' and
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 17:57:50 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
@ -125,7 +176,7 @@ Mon Dec 20 22:15:31 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
** basic: added NAS network reject indications.
|
||||
** basic: added UIM depersonalization related operations.
|
||||
* Several other minor improvements and fixes.
|
||||
- add gpg validation
|
||||
- add gpg validation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 11:47:38 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
@ -180,7 +231,7 @@ Mon Mar 1 19:39:14 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 06:58:56 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- update to 1.28.0:
|
||||
- update to 1.28.0:
|
||||
* The QmiDevice interfaces to work with the expected data format and the wwan
|
||||
interface name should now be considered to be specific to QMI devices exposed
|
||||
by the upstream 'qmi_wwan' kernel driver. If the device is exposed with a
|
||||
@ -367,7 +418,7 @@ Fri Apr 10 17:46:50 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
to "CM_CONFERENCE_FAILED", and added the old name as
|
||||
deprecated in the compat sources.
|
||||
- Detect QMI control ports exposed as 'smdpkt' or 'rpmsg'
|
||||
virtual devices.
|
||||
virtual devices.
|
||||
+ qmicli:
|
||||
- Fixed crash when using --pdc-deactivate-config.
|
||||
+ Several other minor improvements and fixes.
|
||||
@ -719,10 +770,10 @@ Mon Jul 11 19:22:33 UTC 2016 - bruno@ioda-net.ch
|
||||
|
||||
- Update to version 1.16.0
|
||||
+ New --enable-mbim-qmux option during configure, which enables
|
||||
the support for using an MBIM control device as transport for the
|
||||
the support for using an MBIM control device as transport for the
|
||||
QMI messages, only if the MBIM device implements the "QMI
|
||||
service". This setting is automatically enabled if libmbim >=
|
||||
1.14.0 is found in the system, and can be explicitly disabled
|
||||
1.14.0 is found in the system, and can be explicitly disabled
|
||||
with --disable-mbim-qmux.
|
||||
+ New request/responses:
|
||||
- nas: new "Get LTE Cphy CA Info" request/response.
|
||||
@ -746,7 +797,7 @@ Mon Jul 11 19:22:33 UTC 2016 - bruno@ioda-net.ch
|
||||
- QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE was renamed to
|
||||
QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE.
|
||||
+ libqmi-glib:
|
||||
- Fixed QMI_DMS_BAND_CAPABILITY_BC_15 enum value so that it
|
||||
- Fixed QMI_DMS_BAND_CAPABILITY_BC_15 enum value so that it
|
||||
isn't treated as a negative value.
|
||||
+ qmicli:
|
||||
- Fixed --dms-get-band-capabilities output on 32-bit platforms.
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
%define _soname libqmi-glib5
|
||||
Name: libqmi
|
||||
Version: 1.32.4
|
||||
Version: 1.34.0
|
||||
Release: 0
|
||||
# NOTE: The file headers state LESSER GPL, which is a mistake. The upstream intended license is LIBRARY GPL 2.0+
|
||||
Summary: Library to control QMI devices
|
||||
@ -27,6 +27,7 @@ License: LGPL-2.1-or-later AND GPL-2.0-or-later
|
||||
Group: Hardware/Modem
|
||||
URL: https://gitlab.freedesktop.org/mobile-broadband/libqmi
|
||||
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
||||
Patch0: 0001-message-fix-16bit-service-on-big-endian.patch
|
||||
|
||||
BuildRequires: help2man
|
||||
BuildRequires: pkgconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user