diff options
author | Dan Williams <dcbw@redhat.com> | 2012-06-22 12:06:08 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-06-22 12:18:38 -0500 |
commit | 16d85f7b33b51beaf7c6155eb2d939c338b811f5 (patch) | |
tree | c7df25107c2f8c6af20ad7e13a5dd1fcf28c0efa /decode/packet.py | |
parent | ab5e9a49cffde9c640879e681f270cdfdacfbaca (diff) |
decode: update with latest QMI enums
Since QC stopped distributing the database files, we can't easily
decode the TLV names unless we start parsing the C headers.
Diffstat (limited to 'decode/packet.py')
-rw-r--r-- | decode/packet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/decode/packet.py b/decode/packet.py index 96c69b28..1259b124 100644 --- a/decode/packet.py +++ b/decode/packet.py @@ -32,6 +32,7 @@ URBF_CONTROL = 6 URBF_SET_FEATURE = 7 URBF_ABORT_PIPE = 8 URBF_CLASS_IFACE = 9 +URBF_CLEAR_FEATURE = 10 funcs = { "-- URB_FUNCTION_GET_DESCRIPTOR_FROM_DEVICE:": (URBF_GET_DESC, False, None), @@ -42,7 +43,8 @@ funcs = { "-- URB_FUNCTION_CONTROL_TRANSFER:": (URBF_CONTROL, True, "C"), "-- URB_FUNCTION_SET_FEATURE_TO_DEVICE:": (URBF_SET_FEATURE, False, None), "-- URB_FUNCTION_ABORT_PIPE:": (URBF_SET_FEATURE, False, None), - "-- URB_FUNCTION_CLASS_INTERFACE:": (URBF_CLASS_IFACE, False, None) + "-- URB_FUNCTION_CLASS_INTERFACE:": (URBF_CLASS_IFACE, False, None), + "-- URB_FUNCTION_CLEAR_FEATURE_TO_DEVICE:": (URBF_CLEAR_FEATURE, False, None) } def get_urb_info(l): |