diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-21 12:55:16 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-21 12:55:16 -0600 |
commit | c37fdf5f94711ffbdf966f2ab366bbd047dfc147 (patch) | |
tree | 6fdac73a3c57f1415dddb7002d018e7f27a06e25 /decode/qmux.py | |
parent | a9d6b5a8b62fc0fc07d7c3fab99b25c67474c68d (diff) |
decode: updates all around
Rewrite packet handling so packets can span multiple USB URBs
(which sometimes happens with WMC) and also add a bunch more
WMC decoding stuff.
Diffstat (limited to 'decode/qmux.py')
-rw-r--r-- | decode/qmux.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/decode/qmux.py b/decode/qmux.py index 36a2f302..4ff5cad7 100644 --- a/decode/qmux.py +++ b/decode/qmux.py @@ -24,6 +24,10 @@ TP_REQUEST = 0x00 TP_RESPONSE = 0x02 TP_INDICATION = 0x04 +def complete(data, direction): + # We don't handle QMUX frames spanning packets yet + return True + def unpack(data, direction): return binascii.unhexlify(data) @@ -183,5 +187,5 @@ def show(data, prefix, direction): print "" def get_funcs(): - return (unpack, show) + return (complete, unpack, show) |