aboutsummaryrefslogtreecommitdiffstats
path: root/data/qmi-common.json
blob: 3c2c87bf122018b4b1b30f374e4373b9d95c2b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
[
    { "common-ref" : "Operation Result",
      "name"       : "Result",
      "fullname"   : "Qmi Message Result",
      "id"         : "0x02",
      "mandatory"  : "yes",
      "type"       : "TLV",
      "format"     : "struct",
      "contents"   : [ { "name"   : "Error Status",
                         "format" : "guint16" },
                       { "name"   : "Error Code",
                         "format" : "guint16" } ] },

    { "common-ref" : "Success",
      "type"       : "prerequisite",
      "field"      : "Result.Error Status",
      "operation"  : "==",
      "value"      : "QMI_STATUS_SUCCESS" },

    { "common-ref" : "No Success",
      "type"       : "prerequisite",
      "field"      : "Result.Error Status",
      "operation"  : "!=",
      "value"      : "QMI_STATUS_SUCCESS" },

    // *********************************************************************************
    // WDS common TLVs

    { "common-ref" : "WDS Profile Name",
      "name"       : "Profile Name",
      "id"         : "0x10",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "string" },

    { "common-ref" : "WDS PDP Type",
      "name"       : "PDP Type",
      "id"         : "0x11",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "guint8",
      "public-format" : "QmiWdsPdpType" },

    { "common-ref" : "WDS APN Name",
      "name"       : "APN Name",
      "id"         : "0x14",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "string" },

    { "common-ref" : "WDS Primary IPv4 DNS Address",
      "name"       : "Primary IPv4 DNS Address",
      "id"         : "0x15",
      "mandatory"  : "no",
      "type"       : "TLV",
      "endian"     : "little",
      "format"     : "guint32" },

    { "common-ref" : "WDS Secondary IPv4 DNS Address",
      "name"       : "Secondary IPv4 DNS Address",
      "id"         : "0x16",
      "mandatory"  : "no",
      "type"       : "TLV",
      "endian"     : "little",
      "format"     : "guint32" },

    { "common-ref" : "WDS GPRS Requested QoS",
      "name"       : "GPRS Requested QoS",
      "id"         : "0x19",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "sequence",
      "contents"   : [ { "name"   : "Precedence Class",
                        "format" : "guint32" },
                      { "name"   : "Delay Class",
                        "format" : "guint32" },
                      { "name"   : "Reliability Class",
                        "format" : "guint32" },
                      { "name"   : "Peak Throughput Class",
                        "format" : "guint32" },
                      { "name"   : "Mean Throughput Class",
                        "format" : "guint32" } ] },

    { "common-ref" : "WDS GPRS Minimum QoS",
      "name"       : "GPRS Minimum QoS",
      "id"         : "0x1A",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "sequence",
      "contents"   : [ { "name"   : "Precedence Class",
                        "format" : "guint32" },
                      { "name"   : "Delay Class",
                        "format" : "guint32" },
                      { "name"   : "Reliability Class",
                        "format" : "guint32" },
                      { "name"   : "Peak Throughput Class",
                        "format" : "guint32" },
                      { "name"   : "Mean Throughput Class",
                        "format" : "guint32" } ] },

    { "common-ref" : "WDS Username",
      "name"       : "Username",
      "id"         : "0x1B",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "string" },

    { "common-ref" : "WDS Password",
      "name"       : "Password",
      "id"         : "0x1C",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "string" },

    { "common-ref" : "WDS Authentication",
      "name"       : "Authentication",
      "id"         : "0x1D",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "guint8",
      "public-format" : "QmiWdsAuthentication" },

    { "common-ref" : "WDS IPv4 Address Preference",
      "name"       : "IPv4 Address Preference",
      "id"         : "0x1E",
      "mandatory"  : "no",
      "type"       : "TLV",
      "endian"     : "little",
      "format"     : "guint32" },

    { "common-ref"    : "WDS PCSCF Address Using PCO",
      "name"          : "PCSCF Address Using PCO",
      "id"            : "0x1F",
      "mandatory"     : "no",
      "type"          : "TLV",
      "format"        : "guint8",
      "public-format" : "gboolean" },

    { "common-ref"    : "WDS PCSCF Address Using DHCP",
      "name"          : "PCSCF Address Using DHCP",
      "id"            : "0x21",
      "mandatory"     : "no",
      "type"          : "TLV",
      "format"        : "guint8",
      "public-format" : "gboolean" },

    { "common-ref"    : "WDS IMCN Flag",
      "name"          : "IMCN Flag",
      "id"            : "0x22",
      "mandatory"     : "no",
      "type"          : "TLV",
      "format"        : "guint8",
      "public-format" : "gboolean" },

    { "common-ref" : "WDS IPv6 Address Preference",
      "name"       : "IPv6 Address Preference",
      "id"         : "0x28",
      "mandatory"  : "no",
      "type"       : "TLV",
      "format"     : "sequence",
      "contents"   : [ { "name"         : "Address",
                        "format"        : "array",
                        "fixed-size"    : "8",
                        "array-element" : { "format": "guint16", "endian": "network" } } ] },

    { "common-ref"    : "WDS IPv6 Primary DNS Address Preference",
      "name"          : "IPv6 Primary DNS Address Preference",
      "id"            : "0x2B",
      "mandatory"     : "no",
      "type"          : "TLV",
      "format"        : "array",
      "fixed-size"    : "8",
      "array-element" : { "format": "guint16", "endian": "network" } },

    { "common-ref"    : "WDS IPv6 Secondary DNS Address Preference",
      "name"          : "IPv6 Secondary DNS Address Preference",
      "id"            : "0x2C",
      "mandatory"     : "no",
      "type"          : "TLV",
      "format"        : "array",
      "fixed-size"    : "8",
      "array-element" : { "format": "guint16", "endian": "network" } }

]