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.
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user