aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2016-09-30 15:15:58 -0500
committerDan Williams <dcbw@redhat.com>2016-10-06 10:12:04 -0500
commit4d9899b4183de34de543ca8ca6f3aa098fee4390 (patch)
tree8a1f95b7ed06ea9129af531cbe952d2f2de4e900
parentd13c26c07d42f38937664e56de8582f04280357a (diff)
wds: make WDS Extended Error Code TLV a common-ref
-rw-r--r--data/qmi-common.json14
-rw-r--r--data/qmi-service-wds.json78
2 files changed, 20 insertions, 72 deletions
diff --git a/data/qmi-common.json b/data/qmi-common.json
index ce195d2..d29f5a0 100644
--- a/data/qmi-common.json
+++ b/data/qmi-common.json
@@ -26,6 +26,20 @@
// *********************************************************************************
// WDS common TLVs
+ { "common-ref" : "WDS Extended Error Code",
+ "name" : "Extended Error Code",
+ "id" : "0xE0",
+ "mandatory" : "no",
+ "type" : "TLV",
+ "format" : "guint16",
+ "public-format" : "QmiWdsDsProfileError",
+ "prerequisites" : [ { "field" : "Result.Error Status",
+ "operation" : "!=",
+ "value" : "QMI_STATUS_SUCCESS" },
+ { "field" : "Result.Error Code",
+ "operation" : "==",
+ "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] },
+
{ "common-ref" : "WDS Profile Identifier",
"name" : "Profile Identifier",
"id" : "0x01",
diff --git a/data/qmi-service-wds.json b/data/qmi-service-wds.json
index cce35c6..e513590 100644
--- a/data/qmi-service-wds.json
+++ b/data/qmi-service-wds.json
@@ -739,18 +739,7 @@
"output" : [ { "common-ref" : "Operation Result" },
{ "common-ref" : "WDS Profile Identifier",
"prerequisites" : [ { "common-ref" : "Success" } ] },
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Modify Profile",
@@ -822,18 +811,7 @@
// 0xAA, PDN inactivity timeout
// 0xAB, APN class
"output" : [ { "common-ref" : "Operation Result" },
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Delete Profile",
@@ -843,18 +821,7 @@
"version" : "1.1",
"input" : [ { "common-ref" : "WDS Profile Identifier" } ],
"output" : [ { "common-ref" : "Operation Result" },
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Get Profile List",
@@ -884,18 +851,7 @@
{ "name" : "Profile Name",
"format" : "string" } ] },
"prerequisites" : [ { "common-ref" : "Success" } ] },
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Get Profile Settings",
@@ -1003,18 +959,7 @@
// 0xA9, APN enabled
// 0xAA, PDN inactivity timeout
// 0xAB, APN class
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Get Default Settings",
@@ -1118,18 +1063,7 @@
// 0xA9, APN enabled
// 0xAA, PDN inactivity timeout
// 0xAB, APN class
- { "name" : "Extended Error Code",
- "id" : "0xE0",
- "mandatory" : "no",
- "type" : "TLV",
- "format" : "guint16",
- "public-format" : "QmiWdsDsProfileError",
- "prerequisites" : [ { "field" : "Result.Error Status",
- "operation" : "!=",
- "value" : "QMI_STATUS_SUCCESS" },
- { "field" : "Result.Error Code",
- "operation" : "==",
- "value" : "QMI_PROTOCOL_ERROR_EXTENDED_INTERNAL" } ] } ] },
+ { "common-ref" : "WDS Extended Error Code" } ] },
// *********************************************************************************
{ "name" : "Get Current Settings",