From 0355e5ad7284af43d071db6dd045d6fb4bd60345 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 10 Apr 2013 10:26:32 +0200 Subject: wds: fix the 'Data Systems' TLV in the "Event Report" indication There was a first field missing before the array. And also, the network types are not identified by a 'QmiWdsNetworkType' value, instead '0' is used if 3GPP and '1' is used if 3GPP2, so convert it to a boolean value and change the name. --- data/qmi-service-wds.json | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json index 523b573..a5470fd 100644 --- a/data/qmi-service-wds.json +++ b/data/qmi-service-wds.json @@ -221,16 +221,21 @@ "id" : "0x24", "mandatory" : "no", "type" : "TLV", - "format" : "array", - "array-element" : { "name" : "Element", - "format" : "struct", - "contents" : [ { "name" : "Network Type", - "format" : "guint8", - "public-format" : "QmiWdsNetworkType" }, - { "name" : "RAT Mask", - "format" : "guint32" }, - { "name" : "SO Mask", - "format" : "guint32" } ] } }, + "format" : "sequence", + "contents" : [ { "name" : "Preferred Network Is 3GPP2", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "Network Info", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Network Is 3GPP2", + "format" : "guint8", + "public-format" : "gboolean" }, + { "name" : "RAT Mask", + "format" : "guint32" }, + { "name" : "SO Mask", + "format" : "guint32" } ] } } ] }, { "name" : "TX Packets Dropped", "id" : "0x25", "mandatory" : "no", -- cgit v1.2.3