wds: last call TX/RX stats in 'Get Packet Statistics' don't have prerequisite
These values may be given along with a QMI error (e.g. out-of-call), so don't assume that a success operation is a prerequisite to read them. [04 Feb 2015, 20:55:07] [Debug] [/dev/cdc-wdm1] Received message... >>>>>> RAW: >>>>>> length = 42 >>>>>> data = 01:29:00:80:01:08:02:0D:00:24:00:1D:00:02:04:00:01:00:0F:00:1C:08:00:2B:17:00:00:00:00:00:00:1B:08:00:87:28:00:00:00:00:00:00 [04 Feb 2015, 20:55:07] [Debug] [/dev/cdc-wdm1] Received message (translated)... >>>>>> QMUX: >>>>>> length = 41 >>>>>> flags = 0x80 >>>>>> service = "wds" >>>>>> client = 8 >>>>>> QMI: >>>>>> flags = "response" >>>>>> transaction = 13 >>>>>> tlv_length = 29 >>>>>> message = "Get Packet Statistics" (0x0024) >>>>>> TLV: >>>>>> type = "Result" (0x02) >>>>>> length = 4 >>>>>> value = 01:00:0F:00 >>>>>> translated = FAILURE: OutOfCall >>>>>> TLV: >>>>>> type = "Last Call Rx Bytes Ok" (0x1c) >>>>>> length = 8 >>>>>> value = 2B:17:00:00:00:00:00:00 >>>>>> translated = 5931 >>>>>> TLV: >>>>>> type = "Last Call Tx Bytes Ok" (0x1b) >>>>>> length = 8 >>>>>> value = 87:28:00:00:00:00:00:00 >>>>>> translated = 10375
This commit is contained in:
parent
7c5965baab
commit
45ab1a6d81
|
@ -260,18 +260,17 @@
|
|||
"type" : "TLV",
|
||||
"format" : "guint64",
|
||||
"prerequisites" : [ { "common-ref" : "Success" } ] },
|
||||
// Note: last call TX/RX given along with QMI Error 'out of call'
|
||||
{ "name" : "Last Call Tx Bytes Ok",
|
||||
"id" : "0x1B",
|
||||
"mandatory" : "no",
|
||||
"type" : "TLV",
|
||||
"format" : "guint64",
|
||||
"prerequisites" : [ { "common-ref" : "Success" } ] },
|
||||
"format" : "guint64" },
|
||||
{ "name" : "Last Call Rx Bytes Ok",
|
||||
"id" : "0x1C",
|
||||
"mandatory" : "no",
|
||||
"type" : "TLV",
|
||||
"format" : "guint64",
|
||||
"prerequisites" : [ { "common-ref" : "Success" } ] },
|
||||
"format" : "guint64" },
|
||||
{ "name" : "Tx Packets Dropped",
|
||||
"id" : "0x1D",
|
||||
"mandatory" : "no",
|
||||
|
|
Loading…
Reference in New Issue