uqmi: print radio interfaces in serving system command
[project/uqmi.git] / data / qmi-service-wda.json
index 3a9b797189f557b235db895a0b6101bda27448be..4b67e54cf4900c654ab67a7addf9dc52ad4a7f13 100644 (file)
 
   // *********************************************************************************
   {  "name"    : "QMI Client WDA",
-     "type"    : "Client" },
+     "type"    : "Client",
+     "since"   : "1.10" },
 
   // *********************************************************************************
   {  "name"    : "QMI Message WDA",
      "type"    : "Message-ID-Enum" },
 
+  // *********************************************************************************
+  {  "name"    : "Get Supported Messages",
+     "type"    : "Message",
+     "service" : "WDA",
+     "id"      : "0x001E",
+     "since"   : "1.14",
+     "output"  : [ { "common-ref" : "Operation Result" },
+                   { "name"               : "List",
+                     "id"                 : "0x10",
+                     "type"               : "TLV",
+                     "since"              : "1.14",
+                     "format"             : "array",
+                     "size-prefix-format" : "guint16",
+                     "array-element"      : { "format" : "guint8" },
+                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] },
+
   // *********************************************************************************
   {  "name"    : "Set Data Format",
      "type"    : "Message",
      "service" : "WDA",
      "id"      : "0x0020",
-     "version" : "1.0",
+     "since"   : "1.10",
      "input"   : [ { "name"          : "QoS Format",
                      "id"            : "0x10",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint8",
                      "public-format" : "gboolean" },
                    { "name"          : "Link Layer Protocol",
                      "id"            : "0x11",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaLinkLayerProtocol" },
                    { "name"          : "Uplink Data Aggregation Protocol",
                      "id"            : "0x12",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol" },
                    { "name"          : "Downlink Data Aggregation Protocol",
                      "id"            : "0x13",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol" },
                    { "name"          : "NDP Signature",
                      "id"            : "0x14",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32" },
                    { "name"          : "Downlink Data Aggregation Max Datagrams",
                      "id"            : "0x15",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32" },
                    { "name"          : "Downlink Data Aggregation Max Size",
                      "id"            : "0x16",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
-                     "format"        : "guint32" } ],
+                     "since"         : "1.10",
+                     "format"        : "guint32" },
+                   { "name"          : "Endpoint Info",
+                     "id"            : "0x17",
+                     "type"          : "TLV",
+                     "since"         : "1.18",
+                     "format"        : "sequence",
+                     "contents"  : [ { "name"          : "Endpoint Type",
+                                       "format"        : "guint32",
+                                       "public-format" : "QmiDataEndpointType"},
+                                     { "name"          : "Interface Number",
+                                       "format"        : "guint32"}] },
+                   { "name"          : "Uplink Data Aggregation Max Datagrams",
+                     "id"            : "0x1B",
+                     "type"          : "TLV",
+                     "since"         : "1.32",
+                     "format"        : "guint32" },
+                   { "name"          : "Uplink Data Aggregation Max Size",
+                     "id"            : "0x1C",
+                     "type"          : "TLV",
+                     "since"         : "1.32",
+                     "format"        : "guint32" }],
      "output"  : [ { "common-ref" : "Operation Result" },
                    { "name"          : "QoS Format",
                      "id"            : "0x10",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint8",
                      "public-format" : "gboolean",
                      "prerequisites": [ { "common-ref" : "Success" } ] },
                    { "name"          : "Link Layer Protocol",
                      "id"            : "0x11",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaLinkLayerProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Uplink Data Aggregation Protocol",
                      "id"            : "0x12",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Downlink Data Aggregation Protocol",
                      "id"            : "0x13",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "NDP Signature",
                      "id"            : "0x14",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Downlink Data Aggregation Max Datagrams",
                      "id"            : "0x15",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Downlink Data Aggregation Max Size",
                      "id"            : "0x16",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Uplink Data Aggregation Max Datagrams",
+                     "id"            : "0x17",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Uplink Data Aggregation Max Size",
+                     "id"            : "0x18",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
                      "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Download Minimum Padding",
+                     "id"            : "0x1A",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Flow Control",
+                     "id"            : "0x1B",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
+                     "format"        : "guint8",
                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] },
 
   // *********************************************************************************
      "type"    : "Message",
      "service" : "WDA",
      "id"      : "0x0021",
-     "version" : "1.0",
+     "since"   : "1.10",
+     "input"   : [ { "name"          : "Endpoint Info",
+                     "id"            : "0x10",
+                     "mandatory"     : "no",
+                     "type"          : "TLV",
+                     "since"         : "1.26",
+                     "format"        : "sequence",
+                     "contents"  : [ { "name"          : "Endpoint Type",
+                                       "format"        : "guint32",
+                                       "public-format" : "QmiDataEndpointType"},
+                                     { "name"          : "Interface Number",
+                                       "format"        : "guint32"} ] } ],
      "output"  : [ { "common-ref" : "Operation Result" },
                    { "name"          : "QoS Format",
                      "id"            : "0x10",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint8",
                      "public-format" : "gboolean",
                      "prerequisites": [ { "common-ref" : "Success" } ] },
                    { "name"          : "Link Layer Protocol",
                      "id"            : "0x11",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaLinkLayerProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Uplink Data Aggregation Protocol",
                      "id"            : "0x12",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Downlink Data Aggregation Protocol",
                      "id"            : "0x13",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "public-format" : "QmiWdaDataAggregationProtocol",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "NDP Signature",
                      "id"            : "0x14",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
                      "format"        : "guint32",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
-                   { "name"          : "Uplink Data Aggregation Max Size",
+                   { "name"          : "Downlink Data Aggregation Max Datagrams",
                      "id"            : "0x15",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.24.6",
                      "format"        : "guint32",
                      "prerequisites" : [ { "common-ref" : "Success" } ] },
                    { "name"          : "Downlink Data Aggregation Max Size",
                      "id"            : "0x16",
-                     "mandatory"     : "no",
                      "type"          : "TLV",
+                     "since"         : "1.10",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Uplink Data Aggregation Max Datagrams",
+                     "id"            : "0x17",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   // We mistakenly had a different TLV named as "Uplink Data
+                   // Aggregation Max Size" since 1.10, and since then we kept
+                   // compat support to avoid breaking API/ABI. We now introduce
+                   // the correct TLV named in the same way, and so we keep the
+                   // original "since" tag and we remove the compat symbols.
+                   { "name"          : "Uplink Data Aggregation Max Size",
+                     "id"            : "0x18",
+                     "type"          : "TLV",
+                     "since"         : "1.10",
+                     "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Download Minimum Padding",
+                     "id"            : "0x1A",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
                      "format"        : "guint32",
+                     "prerequisites" : [ { "common-ref" : "Success" } ] },
+                   { "name"          : "Flow Control",
+                     "id"            : "0x1B",
+                     "type"          : "TLV",
+                     "since"         : "1.30",
+                     "format"        : "guint8",
                      "prerequisites" : [ { "common-ref" : "Success" } ] } ] }
-
 ]