diff options
author | Aleksander Morgado <aleksandermj@chromium.org> | 2023-04-11 08:30:32 +0000 |
---|---|---|
committer | Aleksander Morgado <aleksandermj@chromium.org> | 2023-04-11 08:39:33 +0000 |
commit | b4d67aa150a7f14e54e36987ffe4d5d319d781d2 (patch) | |
tree | 477e070a54392b8217bbd25fd9a712c8941b983e /data | |
parent | 806ea64a5dc941c1ec5112ce8cb5bdcb35127710 (diff) | |
download | libqmi-b4d67aa150a7f14e54e36987ffe4d5d319d781d2.tar.gz |
uim: new UIM personalization feature enum in Card Status messages
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/qmi-service-uim.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/data/qmi-service-uim.json b/data/qmi-service-uim.json index 6f0b94e6..35edd8e1 100644 --- a/data/qmi-service-uim.json +++ b/data/qmi-service-uim.json @@ -51,8 +51,9 @@ { "name" : "Applications", "format" : "array", "size-prefix-format" : "guint8", - "array-element" : { "name" : "Element", + "array-element" : { "name" : "Element V2", "format" : "struct", + "since" : "1.34", "contents" : [ { "name" : "Type", "format" : "guint8", "public-format" : "QmiUimCardApplicationType" }, @@ -64,7 +65,7 @@ "public-format" : "QmiUimCardApplicationPersonalizationState" }, { "name" : "Personalization Feature", "format" : "guint8", - "public-format" : "QmiUimCardApplicationPersonalizationFeature" }, + "public-format" : "QmiUimCardApplicationPersonalizationFeatureStatus" }, { "name" : "Personalization Retries", "format" : "guint8" }, { "name" : "Personalization Unblock Retries", |