From 16d85f7b33b51beaf7c6155eb2d939c338b811f5 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 22 Jun 2012 12:06:08 -0500 Subject: 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. --- decode/packet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'decode/packet.py') 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): -- cgit v1.2.3-70-g09d2