aboutsummaryrefslogtreecommitdiff
path: root/data/qmi-service-qos.json
blob: 4fbf3d3257a2d295529d68f7b104f60c1291acb5 (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
[
  // *********************************************************************************
  {  "name"    : "QOS",
     "type"    : "Service" },

  // *********************************************************************************
  {  "name"    : "QMI Client QOS",
     "type"    : "Client",
     "since"   : "1.0" },

  // *********************************************************************************
  {  "name"    : "QMI Message QOS",
     "type"    : "Message-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "QMI Indication QOS",
     "type"    : "Indication-ID-Enum" },

  // *********************************************************************************
  {  "name"    : "Reset",
     "type"    : "Message",
     "service" : "QOS",
     "id"      : "0x0000",
     "since"   : "1.22",
     "output"  : [ { "common-ref" : "Operation Result" } ] },

  // *********************************************************************************

  {  "name"    : "Get Flow Status",
     "type"    : "Message",
     "service" : "QOS",
     "id"      : "0x0026",
     "since"   : "1.22",
     "input"   : [ { "name"          : "Qos Id",
                     "id"            : "0x01",
                     "mandatory"     : "yes",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "guint32" } ],
     "output"  : [ { "common-ref" : "Operation Result" },
                   { "name"          : "Value",
                     "id"            : "0x01",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "guint8",
                     "public-format" : "QmiQosStatus",
                     "prerequisites" : [ { "common-ref" : "Success" } ] } ] },

  {  "name"    : "Flow Status",
     "type"    : "Indication",
     "service" : "QOS",
     "id"      : "0x0026",
     "since"   : "1.22",
     "output"  : [ { "name"     : "Value",
                     "id"       : "0x01",
                     "type"     : "TLV",
                     "since"    : "1.22",
                     "format"   : "sequence",
                     "contents" : [ { "name"   : "Qos Id",
                                      "format" : "guint32" },
                                    { "name"          : "Status",
                                      "format"        : "guint8",
                                      "public-format" : "QmiQosStatus" },
                                    { "name"          : "Event",
                                      "format"        : "guint8",
                                      "public-format" : "QmiQosEvent" } ] } ] },

  // *********************************************************************************

  {  "name"    : "Get Network Status",
     "type"    : "Message",
     "service" : "QOS",
     "id"      : "0x0027",
     "since"   : "1.22",
     "output"  : [ { "common-ref" : "Operation Result" },
                   { "name"          : "QoS Supported",
                     "id"            : "0x01",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "guint8",
                     "public-format" : "gboolean",
                     "prerequisites" : [ { "common-ref" : "Success" } ] } ] },

  {  "name"    : "Network Status",
     "type"    : "Indication",
     "service" : "QOS",
     "id"      : "0x0027",
     "since"   : "1.22",
     "output"  : [ { "name"          : "QoS Supported",
                     "id"            : "0x01",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "guint8",
                     "public-format" : "gboolean" } ] },

  // *********************************************************************************

  {  "name"    : "Swi Read Data Stats",
     "type"    : "Message",
     "service" : "QOS",
     "id"      : "0x5556",
     "since"   : "1.22",
     "input"   : [ { "name"          : "Apn Id",
                     "id"            : "0x01",
                     "mandatory"     : "yes",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "guint32" } ],
     "output"  : [ { "common-ref" : "Operation Result" },
                   { "name"          : "Apn",
                     "id"            : "0x03",
                     "type"          : "TLV",
                     "since"         : "1.22",
                     "format"        : "sequence",
                     "contents"      : [ { "name"   : "Apn Id",
                                           "format" : "guint32" },
                                         { "name"   : "Tx packets",
                                           "format" : "guint32" },
                                         { "name"   : "Tx packets dropped",
                                           "format" : "guint32" },
                                         { "name"   : "Rx packets",
                                           "format" : "guint32" },
                                         { "name"   : "Tx bytes",
                                           "format" : "guint64" },
                                         { "name"   : "Tx bytes dropped",
                                           "format" : "guint64" },
                                         { "name"   : "Rx bytes",
                                           "format" : "guint64" } ],
                     "prerequisites" : [ { "common-ref" : "Success" } ] },
                   { "name"               : "Flow",
                     "id"                 : "0x04",
                     "type"               : "TLV",
                     "since"              : "1.22",
                     "format"             : "array",
                     "size-prefix-format" : "guint32",
                     "array-element"      : { "name" : "Element",
                                              "format" : "struct",
                                              "contents" : [ { "name"   : "Bearer Id",
                                                               "format" : "guint32" },
                                                             { "name"   : "Tx packets",
                                                               "format" : "guint32" },
                                                             { "name"   : "Tx packets dropped",
                                                               "format" : "guint32" },
                                                             { "name"   : "Tx bytes",
                                                               "format" : "guint64" },
                                                             { "name"   : "Tx bytes dropped",
                                                               "format" : "guint64" } ] },
                     "prerequisites"      : [ { "common-ref" : "Success" } ] } ] }
]