From d89275f2aaa8ae95a2bcb8e8f8b022708d2d6951 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Fri, 13 Mar 2020 00:32:32 +0100 Subject: executor, sys/linux: add ath9k usb descriptions Among other things this changes timeout for USB programs from 2 to 3 seconds. ath9k fuzzing also requires ath9k firmware to be present, so system images need to be regenerated with the updated script. --- sys/linux/gen/386.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/gen/amd64.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/gen/arm.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/gen/arm64.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/gen/mips64le.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/gen/ppc64le.go | 404 ++++++++++++++++++++++++++++++++---------- sys/linux/test/vusb_ath9k | 4 + sys/linux/vusb.txt | 243 ++++++++++++++++++------- sys/linux/vusb_386.const | 25 +++ sys/linux/vusb_amd64.const | 25 +++ sys/linux/vusb_arm.const | 25 +++ sys/linux/vusb_arm64.const | 25 +++ sys/linux/vusb_mips64le.const | 25 +++ sys/linux/vusb_ppc64le.const | 25 +++ 14 files changed, 2201 insertions(+), 620 deletions(-) create mode 100644 sys/linux/test/vusb_ath9k (limited to 'sys/linux') diff --git a/sys/linux/gen/386.go b/sys/linux/gen/386.go index 0bbe2b85e..d31e8d394 100644 --- a/sys/linux/gen/386.go +++ b/sys/linux/gen/386.go @@ -138,6 +138,7 @@ var resources_386 = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -614,6 +615,14 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8654,6 +8663,48 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -43839,10 +43890,10 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -44300,7 +44351,7 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -44355,21 +44406,38 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44380,7 +44448,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44391,7 +44459,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44402,7 +44470,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44413,7 +44481,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44424,7 +44492,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44435,9 +44503,6 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -44455,21 +44520,44 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44486,7 +44574,7 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44503,7 +44591,7 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44520,7 +44608,7 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44537,7 +44625,7 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44554,7 +44642,7 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44571,34 +44659,97 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44609,7 +44760,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -44620,7 +44771,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -44631,7 +44782,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -44642,7 +44793,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -44653,7 +44804,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44664,7 +44815,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -44675,7 +44826,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44686,7 +44837,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -44697,7 +44848,7 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -44708,6 +44859,14 @@ var structDescs_386 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -44742,12 +44901,12 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -44787,18 +44946,21 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44807,11 +44969,24 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44820,11 +44995,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44837,7 +45012,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44850,7 +45025,7 @@ var structDescs_386 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44863,7 +45038,7 @@ var structDescs_386 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44872,11 +45047,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44885,11 +45060,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44898,11 +45073,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44911,11 +45086,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -44924,11 +45099,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -44937,11 +45112,11 @@ var structDescs_386 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44955,16 +45130,16 @@ var structDescs_386 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -44981,7 +45156,7 @@ var structDescs_386 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45029,12 +45204,12 @@ var structDescs_386 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -46497,7 +46672,7 @@ var structDescs_386 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46505,11 +46680,11 @@ var structDescs_386 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46720,7 +46895,7 @@ var structDescs_386 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 28}, Fields: []Type{ @@ -66087,6 +66262,12 @@ var syscalls_386 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 4}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 4}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -66130,7 +66311,19 @@ var syscalls_386 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 315, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -67458,6 +67651,7 @@ var consts_386 = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -69366,6 +69560,12 @@ var consts_386 = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -75379,6 +75579,7 @@ var consts_386 = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -75417,6 +75618,14 @@ var consts_386 = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -75553,6 +75762,7 @@ var consts_386 = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -76682,6 +76892,14 @@ var consts_386 = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -77379,4 +77597,4 @@ var consts_386 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_386 = "f832cd200c5a04cc287d5ecfec6c0809d67776db" +const revision_386 = "33b5499ae4ba720a5aadcf47c08c27e96fb67832" diff --git a/sys/linux/gen/amd64.go b/sys/linux/gen/amd64.go index 2926018da..3b1d6c14d 100644 --- a/sys/linux/gen/amd64.go +++ b/sys/linux/gen/amd64.go @@ -138,6 +138,7 @@ var resources_amd64 = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -619,6 +620,14 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8797,6 +8806,48 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -44688,10 +44739,10 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -45149,7 +45200,7 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45204,21 +45255,38 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45229,7 +45297,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45240,7 +45308,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45251,7 +45319,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45262,7 +45330,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45273,7 +45341,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45284,9 +45352,6 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -45304,21 +45369,44 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45335,7 +45423,7 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45352,7 +45440,7 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45369,7 +45457,7 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45386,7 +45474,7 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45403,7 +45491,7 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45420,34 +45508,97 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45458,7 +45609,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45469,7 +45620,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -45480,7 +45631,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45491,7 +45642,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -45502,7 +45653,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45513,7 +45664,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45524,7 +45675,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45535,7 +45686,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45546,7 +45697,7 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -45557,6 +45708,14 @@ var structDescs_amd64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -45591,12 +45750,12 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -45636,18 +45795,21 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45656,11 +45818,24 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45669,11 +45844,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45686,7 +45861,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45699,7 +45874,7 @@ var structDescs_amd64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45712,7 +45887,7 @@ var structDescs_amd64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45721,11 +45896,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45734,11 +45909,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45747,11 +45922,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45760,11 +45935,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45773,11 +45948,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45786,11 +45961,11 @@ var structDescs_amd64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45804,16 +45979,16 @@ var structDescs_amd64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -45830,7 +46005,7 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45878,12 +46053,12 @@ var structDescs_amd64 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -47369,7 +47544,7 @@ var structDescs_amd64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47377,11 +47552,11 @@ var structDescs_amd64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47592,7 +47767,7 @@ var structDescs_amd64 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 52}, Fields: []Type{ @@ -67113,6 +67288,12 @@ var syscalls_amd64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 8}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 8}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -67156,7 +67337,19 @@ var syscalls_amd64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 276, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -68484,6 +68677,7 @@ var consts_amd64 = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -70392,6 +70586,12 @@ var consts_amd64 = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -76421,6 +76621,7 @@ var consts_amd64 = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -76459,6 +76660,14 @@ var consts_amd64 = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -76595,6 +76804,7 @@ var consts_amd64 = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -77724,6 +77934,14 @@ var consts_amd64 = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -78419,4 +78637,4 @@ var consts_amd64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_amd64 = "4b5ed0df871de3789a571c0c09b19ad73dda3540" +const revision_amd64 = "57e792b4f9c2dfd15302bc6d8af296a1ad069360" diff --git a/sys/linux/gen/arm.go b/sys/linux/gen/arm.go index 8440d9e65..670be8e0d 100644 --- a/sys/linux/gen/arm.go +++ b/sys/linux/gen/arm.go @@ -138,6 +138,7 @@ var resources_arm = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -618,6 +619,14 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8688,6 +8697,48 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 12}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -43722,10 +43773,10 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -44183,7 +44234,7 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -44238,21 +44289,38 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44263,7 +44331,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44274,7 +44342,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44285,7 +44353,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44296,7 +44364,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44307,7 +44375,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44318,9 +44386,6 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -44338,21 +44403,44 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44369,7 +44457,7 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44386,7 +44474,7 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44403,7 +44491,7 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44420,7 +44508,7 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44437,7 +44525,7 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -44454,34 +44542,97 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44492,7 +44643,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -44503,7 +44654,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -44514,7 +44665,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -44525,7 +44676,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -44536,7 +44687,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44547,7 +44698,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -44558,7 +44709,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -44569,7 +44720,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -44580,7 +44731,7 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -44591,6 +44742,14 @@ var structDescs_arm = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -44625,12 +44784,12 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -44670,18 +44829,21 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44690,11 +44852,24 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44703,11 +44878,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44720,7 +44895,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44733,7 +44908,7 @@ var structDescs_arm = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44746,7 +44921,7 @@ var structDescs_arm = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44755,11 +44930,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44768,11 +44943,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44781,11 +44956,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -44794,11 +44969,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -44807,11 +44982,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -44820,11 +44995,11 @@ var structDescs_arm = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -44838,16 +45013,16 @@ var structDescs_arm = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -44864,7 +45039,7 @@ var structDescs_arm = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -44912,12 +45087,12 @@ var structDescs_arm = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -46371,7 +46546,7 @@ var structDescs_arm = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46379,11 +46554,11 @@ var structDescs_arm = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46594,7 +46769,7 @@ var structDescs_arm = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 28}, Fields: []Type{ @@ -65820,6 +65995,12 @@ var syscalls_arm = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 4}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 4}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 4}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 4}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 4}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -65863,7 +66044,19 @@ var syscalls_arm = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 4}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 4}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 4}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 4}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 342, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -67175,6 +67368,7 @@ var consts_arm = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -69083,6 +69277,12 @@ var consts_arm = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -75041,6 +75241,7 @@ var consts_arm = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -75079,6 +75280,14 @@ var consts_arm = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -75215,6 +75424,7 @@ var consts_arm = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -76344,6 +76554,14 @@ var consts_arm = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -77031,4 +77249,4 @@ var consts_arm = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm = "96efdcf2ba11790232e945e0efe0fd6a7e977178" +const revision_arm = "73ab90b4fe32667fb8aeeede21c4e40d90f162f3" diff --git a/sys/linux/gen/arm64.go b/sys/linux/gen/arm64.go index c457d540f..e52b169f3 100644 --- a/sys/linux/gen/arm64.go +++ b/sys/linux/gen/arm64.go @@ -138,6 +138,7 @@ var resources_arm64 = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -619,6 +620,14 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8797,6 +8806,48 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -44497,10 +44548,10 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -44958,7 +45009,7 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45013,21 +45064,38 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45038,7 +45106,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45049,7 +45117,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45060,7 +45128,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45071,7 +45139,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45082,7 +45150,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -45093,9 +45161,6 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -45113,21 +45178,44 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45144,7 +45232,7 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45161,7 +45249,7 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45178,7 +45266,7 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45195,7 +45283,7 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45212,7 +45300,7 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45229,34 +45317,97 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45267,7 +45418,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45278,7 +45429,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -45289,7 +45440,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45300,7 +45451,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -45311,7 +45462,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45322,7 +45473,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45333,7 +45484,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45344,7 +45495,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45355,7 +45506,7 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -45366,6 +45517,14 @@ var structDescs_arm64 = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -45400,12 +45559,12 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -45445,18 +45604,21 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45465,11 +45627,24 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45478,11 +45653,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45495,7 +45670,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45508,7 +45683,7 @@ var structDescs_arm64 = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45521,7 +45696,7 @@ var structDescs_arm64 = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45530,11 +45705,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45543,11 +45718,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45556,11 +45731,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45569,11 +45744,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45582,11 +45757,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45595,11 +45770,11 @@ var structDescs_arm64 = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45613,16 +45788,16 @@ var structDescs_arm64 = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -45639,7 +45814,7 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45687,12 +45862,12 @@ var structDescs_arm64 = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -47153,7 +47328,7 @@ var structDescs_arm64 = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47161,11 +47336,11 @@ var structDescs_arm64 = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47376,7 +47551,7 @@ var structDescs_arm64 = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 52}, Fields: []Type{ @@ -66581,6 +66756,12 @@ var syscalls_arm64 = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 8}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 8}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -66624,7 +66805,19 @@ var syscalls_arm64 = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 77, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -67922,6 +68115,7 @@ var consts_arm64 = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -69830,6 +70024,12 @@ var consts_arm64 = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -75807,6 +76007,7 @@ var consts_arm64 = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -75845,6 +76046,14 @@ var consts_arm64 = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -75981,6 +76190,7 @@ var consts_arm64 = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -77110,6 +77320,14 @@ var consts_arm64 = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -77764,4 +77982,4 @@ var consts_arm64 = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_arm64 = "455cfc4efb593ddd12e1cb1ff4d0626f6e0b65fd" +const revision_arm64 = "89f29368f6fde3dc0f3b6681a6a51a0e2329992c" diff --git a/sys/linux/gen/mips64le.go b/sys/linux/gen/mips64le.go index 196c7cf6a..e25b4bb50 100644 --- a/sys/linux/gen/mips64le.go +++ b/sys/linux/gen/mips64le.go @@ -137,6 +137,7 @@ var resources_mips64le = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -616,6 +617,14 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8794,6 +8803,48 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -44389,10 +44440,10 @@ var structDescs_mips64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -44850,7 +44901,7 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -44905,21 +44956,38 @@ var structDescs_mips64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44930,7 +44998,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44941,7 +45009,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44952,7 +45020,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44963,7 +45031,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44974,7 +45042,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44985,9 +45053,6 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -45005,21 +45070,44 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45036,7 +45124,7 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45053,7 +45141,7 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45070,7 +45158,7 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45087,7 +45175,7 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45104,7 +45192,7 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45121,34 +45209,97 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45159,7 +45310,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45170,7 +45321,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -45181,7 +45332,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45192,7 +45343,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -45203,7 +45354,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45214,7 +45365,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45225,7 +45376,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45236,7 +45387,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45247,7 +45398,7 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -45258,6 +45409,14 @@ var structDescs_mips64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -45292,12 +45451,12 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -45337,18 +45496,21 @@ var structDescs_mips64le = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45357,11 +45519,24 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45370,11 +45545,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45387,7 +45562,7 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45400,7 +45575,7 @@ var structDescs_mips64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45413,7 +45588,7 @@ var structDescs_mips64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45422,11 +45597,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45435,11 +45610,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45448,11 +45623,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45461,11 +45636,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45474,11 +45649,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45487,11 +45662,11 @@ var structDescs_mips64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45505,16 +45680,16 @@ var structDescs_mips64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -45531,7 +45706,7 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45579,12 +45754,12 @@ var structDescs_mips64le = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -46243,7 +46418,7 @@ var structDescs_mips64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46251,11 +46426,11 @@ var structDescs_mips64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -46466,7 +46641,7 @@ var structDescs_mips64le = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 52}, Fields: []Type{ @@ -65258,6 +65433,12 @@ var syscalls_mips64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 8}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 8}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -65301,7 +65482,19 @@ var syscalls_mips64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 5265, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -66614,6 +66807,7 @@ var consts_mips64le = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -68522,6 +68716,12 @@ var consts_mips64le = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -74379,6 +74579,7 @@ var consts_mips64le = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -74417,6 +74618,14 @@ var consts_mips64le = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -74553,6 +74762,7 @@ var consts_mips64le = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -74738,6 +74948,14 @@ var consts_mips64le = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -75425,4 +75643,4 @@ var consts_mips64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_mips64le = "c1a069918945be53adbfb55852393e3447fb5af6" +const revision_mips64le = "8587350b245052b7ccf5ed9a0302a1a9cb79afc8" diff --git a/sys/linux/gen/ppc64le.go b/sys/linux/gen/ppc64le.go index 1a1fc957e..5854a7dbd 100644 --- a/sys/linux/gen/ppc64le.go +++ b/sys/linux/gen/ppc64le.go @@ -138,6 +138,7 @@ var resources_ppc64le = []*ResourceDesc{ {Name: "fd_uhid", Kind: []string{"fd", "fd_uhid"}, Values: []uint64{18446744073709551615}}, {Name: "fd_uinput", Kind: []string{"fd", "fd_uinput"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb", Kind: []string{"fd_usb"}, Values: []uint64{18446744073709551615}}, + {Name: "fd_usb_ath9k", Kind: []string{"fd_usb", "fd_usb_ath9k"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ecm", Kind: []string{"fd_usb", "fd_usb_cdc_ecm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_cdc_ncm", Kind: []string{"fd_usb", "fd_usb_cdc_ncm"}, Values: []uint64{18446744073709551615}}, {Name: "fd_usb_hid", Kind: []string{"fd_usb", "fd_usb_hid"}, Values: []uint64{18446744073709551615}}, @@ -618,6 +619,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "offset", TypeSize: 4, ArgDir: 1}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "len", TypeSize: 4, ArgDir: 1}}}, }}}, + {StructKey{Name: "ath9k_bulk_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "ath9k_bulk_frame", IsVarlen: true}, Fields: []Type{ + &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "packets", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "ath9k_bulk_packet"}}}, + }}}, + {StructKey{Name: "ath9k_bulk_packet"}, &StructDesc{TypeCommon{TypeName: "ath9k_bulk_packet", IsVarlen: true}, []Type{ + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "pkt_len", TypeSize: 2}}, Path: []string{"data"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "pkt_tag", TypeSize: 2}}, Val: 19968}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + }, 4}}, {StructKey{Name: "atm_policy"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "atm_policy", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_FD, int16], sock]"}, FldName: "TCA_ATM_FD"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_ATM_HDR, int16], array[int8, 0:64]]"}, FldName: "TCA_ATM_HDR"}, @@ -8796,6 +8805,48 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_RATE64, int16], int64]"}, FldName: "TCA_HTB_RATE64"}, &StructType{Key: StructKey{Name: "nlattr_t[const[TCA_HTB_CEIL64, int16], int64]"}, FldName: "TCA_HTB_CEIL64"}, }}}, + {StructKey{Name: "htc_conn_svc_rsp_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rsp_frame", TypeSize: 18}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rspmsg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_conn_svc_rspmsg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_conn_svc_rspmsg", TypeSize: 10}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 3}, + &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_svcs", FldName: "service_id", TypeSize: 2}, ArgFormat: 1}, Vals: []uint64{1, 2, 256, 257, 258, 259, 260, 261, 262, 263, 263}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "status", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "max_msg_len", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "svc_meta_len", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, + {StructKey{Name: "htc_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_frame", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "htc_ready_frame"}, FldName: "ready"}, + &StructType{Key: StructKey{Name: "htc_conn_svc_rsp_frame"}, FldName: "conn_svc_rsp"}, + &StructType{Key: StructKey{Name: "htc_generic_frame"}, FldName: "generic"}, + }}}, + {StructKey{Name: "htc_generic_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_generic_frame", IsVarlen: true}, Fields: []Type{ + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "endpoint_id", TypeSize: 1}}, Kind: 1, RangeEnd: 8}, + &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "htc_frame_flags", FldName: "flags", TypeSize: 1}}, []uint64{2}, true}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "payload", IsVarlen: true}, Kind: 1, RangeEnd: 256}, + }}}, + {StructKey{Name: "htc_ready_frame"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_frame", TypeSize: 16}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "endpoint_id", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "flags", TypeSize: 1}}}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "payload_len", TypeSize: 2}, ArgFormat: 1}, Path: []string{"payload"}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "control", TypeSize: 4}, Kind: 1, RangeBegin: 4, RangeEnd: 4}, + &StructType{Key: StructKey{Name: "htc_ready_msg"}, FldName: "payload"}, + }}}, + {StructKey{Name: "htc_ready_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "htc_ready_msg", TypeSize: 8}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "message_id", TypeSize: 2}, ArgFormat: 1}, Val: 1}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credits", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16be", FldName: "credit_size", TypeSize: 2}, ArgFormat: 1}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "max_endpoints", TypeSize: 1}}}, + &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "pad", TypeSize: 1}}}, + }}}, {StructKey{Name: "i2c_msg"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "i2c_msg", TypeSize: 16}, Fields: []Type{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "addr", TypeSize: 2}}}, &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "i2c_msg_flags", FldName: "flags", TypeSize: 2}}, []uint64{1, 16, 512, 1024, 2048, 4096, 8192, 16384, 32768}, true}, @@ -44375,10 +44426,10 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "others", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "uac_as_iface_extra_descriptor"}}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "uac_as_in_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_in_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_as_out_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_as_out_endpoint_descriptor", TypeSize: 16}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, FldName: "inner"}, }}}, {StructKey{Name: "uac_control_iface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "uac_control_iface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "uac_input_terminal_descriptor"}, FldName: "input_terminal"}, @@ -44836,7 +44887,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 36}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorSubType", TypeSize: 1}}, Val: 19}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bGuidDescriptorType", TypeSize: 1}}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "bDetailData", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_cdc_ncm_desc"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_cdc_ncm_desc", TypeSize: 6}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -44891,21 +44942,38 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "slave_interfaces", IsVarlen: true}, Kind: 1, RangeEnd: 6}, }}}, {StructKey{Name: "usb_config_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_ath9k", TypeSize: 72}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_config_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[1, int8], const[0, int8], const[USB_CONFIG_ATT_ONE, int8], const[250, int8], usb_interface_descriptor_ath9k]", TypeSize: 72}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumInterfaces", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bConfigurationValue", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iConfiguration", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 128}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPower", TypeSize: 1}}, Val: 250}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_ath9k"}, FldName: "interfaces"}, + }}}, + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[2, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_cdc_ncm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44916,7 +44984,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], const[3, int8], int8, flags[usb_config_attributes, int8], int8, usb_interface_descriptors_uac1]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44927,7 +44995,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_interface_descriptors_uac1"}, FldName: "interfaces"}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44938,7 +45006,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44949,7 +45017,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[const[1, int8], len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[const[1, int8], len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44960,7 +45028,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_t[int8, len[interfaces, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_verbose_t[int8, len[interfaces, int8], int8, flags[usb_config_attributes, int8], int8, array[usb_interface_descriptor, 1:4]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 2}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "wTotalLength", TypeSize: 2}}, Path: []string{"parent"}}, @@ -44971,9 +45039,6 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bMaxPower", TypeSize: 1}}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "interfaces", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_interface_descriptor"}}, 1, 1, 4}, }}}, - {StructKey{Name: "usb_config_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_config_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_ctrlrequest"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ctrlrequest", TypeSize: 8}, Fields: []Type{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_type_flags", FldName: "bRequestType", TypeSize: 1}}, Vals: []uint64{0, 0, 0, 1, 2, 3, 4, 5, 31, 32, 64, 96, 96, 128}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "bRequest", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, @@ -44991,21 +45056,44 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_ptm_cap_descriptor"}, FldName: "ptm_cap"}, }}}, {StructKey{Name: "usb_device_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_ath9k", TypeSize: 90}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_device_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[const[0x200, int16], USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, const[64, int8], 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]]", TypeSize: 90}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdUSB", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceSubClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDeviceProtocol", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bMaxPacketSize0", TypeSize: 1}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idVendor", TypeSize: 2}}, Val: 3315}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "idProduct", TypeSize: 2}}, Val: 37489}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bcdDevice", TypeSize: 2}}, Val: 264}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iManufacturer", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iProduct", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iSerialNumber", TypeSize: 1}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, + &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", TypeSize: 72}, &StructType{Key: StructKey{Name: "usb_config_descriptor_ath9k"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 0, array[usb_config_descriptor, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45022,7 +45110,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0, 0, 64, array[usb_config_descriptor_hid, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45039,7 +45127,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_hid"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45056,7 +45144,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_uac1"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], 0, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45073,7 +45161,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_printer"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45090,7 +45178,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ecm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_verbose_t[flags[usb_versions, int16], USB_CLASS_COMM, 0, 0, flags[usb_device_max_packet_sizes, int8], 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 18}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 1}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_versions", FldName: "bcdUSB", TypeSize: 2}}, Vals: []uint64{272, 512, 513, 592, 768, 784}}, @@ -45107,34 +45195,97 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bNumConfigurations", TypeSize: 1}}, Path: []string{"configs"}}, &ArrayType{TypeCommon{TypeName: "array", FldName: "configs", IsVarlen: true}, &StructType{Key: StructKey{Name: "usb_config_descriptor_cdc_ncm"}}, 1, 1, 1}, }}}, - {StructKey{Name: "usb_device_descriptor_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_device_descriptor_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]]"}, FldName: "inner"}, - }}}, {StructKey{Name: "usb_endpoint_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_notify", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_cdc_ecm_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_hid_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_hid_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_in"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_in", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_endpoint_descriptor_printer_out"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_printer_out", TypeSize: 9}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 2}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 512}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 131}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]", TypeSize: 9}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bmAttributes", TypeSize: 1}}, Val: 3}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "wMaxPacketSize", TypeSize: 2}}, Val: 64}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterval", TypeSize: 1}}, Val: 1}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bRefresh", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bSynchAddress", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + }}}, + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_IN_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45145,7 +45296,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_NOTIFY_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45156,7 +45307,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_CDC_ECM_OUT_ADDRESS, int8], const[USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 3}, @@ -45167,7 +45318,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_IN_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 129}, @@ -45178,7 +45329,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_HID_OUT_ADDRESS, int8], const[USB_ENDPOINT_HID_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 2}, @@ -45189,7 +45340,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_IN_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45200,7 +45351,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_PRINTER_OUT_ADDRESS, int8], const[USB_ENDPOINT_PRINTER_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45211,7 +45362,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_IN_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 130}, @@ -45222,7 +45373,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_UAC1_AS_OUT_ADDRESS, int8], const[USB_ENDPOINT_UAC1_AS_ATTRIBUTES, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, uac_iso_endpoint_descriptor]", TypeSize: 16}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bEndpointAddress", TypeSize: 1}}, Val: 1}, @@ -45233,7 +45384,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_iso_endpoint_descriptor"}, FldName: "extra"}, }}}, - {StructKey{Name: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptor_verbose_t[flags[usb_endpoint_addresses, int8], flags[usb_endpoint_attributes, int8], flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, array[usb_endpoint_extra_descriptor, 0:2]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 5}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_endpoint_addresses", FldName: "bEndpointAddress", TypeSize: 1}}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 128}}, @@ -45244,6 +45395,14 @@ var structDescs_ppc64le = []*KeyedStruct{ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bSynchAddress", TypeSize: 1}}}, &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "extra", IsVarlen: true}, Type: &UnionType{Key: StructKey{Name: "usb_endpoint_extra_descriptor"}}, Kind: 1, RangeEnd: 2}, }}}, + {StructKey{Name: "usb_endpoint_descriptors_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_ath9k", TypeSize: 54}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_in"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, int8], const[64, int16], const[1, int8], const[0, int8], const[0, int8], void]"}, FldName: "int_out"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra1"}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_verbose_t[const[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, int8], const[USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, int8], const[512, int16], const[0, int8], const[0, int8], const[0, int8], void]"}, FldName: "bulk_extra2"}, + }}}, {StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_endpoint_descriptors_cdc_ecm", IsVarlen: true}, Fields: []Type{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "notify", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}}, Kind: 1, RangeEnd: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_in"}, FldName: "in"}, @@ -45278,12 +45437,12 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 16}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_capability_types", FldName: "bDevCapabilityType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 10, 11}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_generic_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_generic_descriptor", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_descriptor_types", FldName: "bDescriptorType", TypeSize: 1}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 33, 33, 34, 34, 35, 35, 36, 48, 49}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_hid_class_descriptor_report"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_hid_class_descriptor_report", TypeSize: 3}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 34}, @@ -45323,18 +45482,21 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_hub_change_flags", FldName: "wHubChange", TypeSize: 2}}, []uint64{1, 2}, true}, }}}, {StructKey{Name: "usb_interface_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, FldName: "inner"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_ath9k"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_ath9k", TypeSize: 63}, Fields: []Type{ + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, FldName: "iface"}, }}}, {StructKey{Name: "usb_interface_descriptor_cdc_ecm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_cdc_ecm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_hid"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_hid", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, FldName: "inner"}, }}}, {StructKey{Name: "usb_interface_descriptor_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_printer", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, FldName: "inner"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45343,11 +45505,24 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_control_iface_extra_descriptors"}, FldName: "extra"}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[6, int8], const[USB_CLASS_VENDOR_SPEC, int8], const[0, int8], const[0, int8], const[0, int8], void, usb_endpoint_descriptors_ath9k]", TypeSize: 63}, Fields: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bAlternateSetting", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bNumEndpoints", TypeSize: 1}}, Val: 6}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 255}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, + &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_ath9k"}, FldName: "endpoints"}, + }}}, + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45356,11 +45531,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "usb_cdc_header_ncm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptor_cdc_ecm_notify"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_HID, int8], const[USB_INTERFACE_SUBCLASS_BOOT, int8], flags[usb_hid_protocols, int8], int8, usb_hid_descriptor_hid, usb_endpoint_descriptors_hid]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45373,7 +45548,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_hid_descriptor_hid"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_hid"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[1:2], const[USB_CLASS_PRINTER, int8], const[1, int8], int8[USBLP_FIRST_PROTOCOL:USBLP_LAST_PROTOCOL], int8, void, usb_endpoint_descriptors_printer]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45386,7 +45561,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_printer"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[0, int8], int8, int8[2:3], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_ETHERNET, int8], const[USB_CDC_PROTO_NONE, int8], int8, usb_cdc_header_ecm, usb_endpoint_descriptors_cdc_ecm]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45399,7 +45574,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &StructType{Key: StructKey{Name: "usb_cdc_header_ecm"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ecm"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45408,11 +45583,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45421,11 +45596,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45434,11 +45609,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_out_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]", TypeSize: 27}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 1}, @@ -45447,11 +45622,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 13}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &StructType{Key: StructKey{Name: "usb_endpoint_descriptors_cdc_ncm_data"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]", TypeSize: 9}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45460,11 +45635,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "extra"}, Kind: 1}, &BufferType{TypeCommon: TypeCommon{TypeName: "void", FldName: "endpoints"}, Kind: 1}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceNumber", TypeSize: 1}}, Val: 2}, @@ -45473,11 +45648,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceClass", TypeSize: 1}}, Val: 1}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceSubClass", TypeSize: 1}}, Val: 2}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bInterfaceProtocol", TypeSize: 1}}}, - &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "iInterface", TypeSize: 1}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "iInterface", TypeSize: 1}}}, &StructType{Key: StructKey{Name: "uac_as_iface_extra_descriptors"}, FldName: "extra"}, &StructType{Key: StructKey{Name: "uac_as_in_endpoint_descriptor"}, FldName: "endpoints"}, }}}, - {StructKey{Name: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptor_verbose_t[int8, int8, len[endpoints, int8], const[0, int8], const[0, int8], const[0, int8], int8, array[usb_interface_extra_descriptor, 0:2], array[usb_endpoint_descriptor, 0:16]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bLength", TypeSize: 1}}, Val: 9}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 4}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "bInterfaceNumber", TypeSize: 1}}}, @@ -45491,16 +45666,16 @@ var structDescs_ppc64le = []*KeyedStruct{ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "endpoints", IsVarlen: true}, Type: &StructType{Key: StructKey{Name: "usb_endpoint_descriptor"}}, Kind: 1, RangeEnd: 16}, }}}, {StructKey{Name: "usb_interface_descriptors_cdc_ncm"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_cdc_ncm", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, void]"}, FldName: "data_nop"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[CDC_NCM_COMM_ALTSETTING_NCM, int8], const[1, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, void]"}, FldName: "data_nop"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[CDC_NCM_DATA_ALTSETTING_NCM, int8], const[2, int8], const[USB_CLASS_COMM, int8], const[USB_CDC_SUBCLASS_NCM, int8], const[USB_CDC_PROTO_NONE, int8], const[0, int8], void, usb_endpoint_descriptors_cdc_ncm_data]"}, FldName: "data"}, }}}, {StructKey{Name: "usb_interface_descriptors_uac1"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_descriptors_uac1", IsVarlen: true}, Fields: []Type{ - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, - &StructType{Key: StructKey{Name: "usb_interface_descriptor_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[0, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOCONTROL, int8], const[0, int8], const[0, int8], uac_control_iface_extra_descriptors, void]"}, FldName: "control"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_out_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[1, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor]"}, FldName: "as_out_alt_1"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[0, int8], const[0, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], void, void]"}, FldName: "as_in_alt_0"}, + &StructType{Key: StructKey{Name: "usb_interface_descriptor_verbose_t[const[2, int8], const[1, int8], const[1, int8], const[USB_CLASS_AUDIO, int8], const[USB_SUBCLASS_AUDIOSTREAMING, int8], const[0, int8], const[0, int8], uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor]"}, FldName: "as_in_alt_1"}, }}}, {StructKey{Name: "usb_interface_extra_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_interface_extra_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_generic_descriptor"}, FldName: "generic"}, @@ -45517,7 +45692,7 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {StructKey{Name: "usb_printer_get_id_response"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_printer_get_id_response", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 2}, ArgFormat: 1}, Path: []string{"id"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "id", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_ptm_cap_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_ptm_cap_descriptor", TypeSize: 3}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -45565,12 +45740,12 @@ var structDescs_ppc64le = []*KeyedStruct{ }}}, {StructKey{Name: "usb_string_descriptor"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor", IsVarlen: true}, Fields: []Type{ &StructType{Key: StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, FldName: "lang_id"}, - &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, FldName: "string"}, + &StructType{Key: StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, FldName: "string"}, }}}, - {StructKey{Name: "usb_string_descriptor_t[array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "usb_string_descriptor_t[array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "bDescriptorType", TypeSize: 1}}, Val: 3}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "usb_string_descriptor_t[flags[usb_lang_ids, int16]]", TypeSize: 4}, Fields: []Type{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "bLength", TypeSize: 1}}, Path: []string{"parent"}}, @@ -47056,7 +47231,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_request_types", FldName: "type", TypeSize: 1}}, Vals: []uint64{0, 32, 64}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "usb_requests", FldName: "req", TypeSize: 1}}, Vals: []uint64{0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 14, 15, 15, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 48, 49}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]", TypeSize: 7}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47064,11 +47239,11 @@ var structDescs_ppc64le = []*KeyedStruct{ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "data", TypeSize: 1}}}, }}}, - {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]", IsVarlen: true}, Fields: []Type{ + {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "req", TypeSize: 1}}, Val: 1}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 4}}, BitSize: 8, Path: []string{"data"}}, - &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}}, + &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "data", IsVarlen: true}, Kind: 1, RangeEnd: 256}, }}}, {StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_response_t[USB_TYPE_CLASS, UAC_GET_CUR, array[int8, 1:3]]", IsVarlen: true}, Fields: []Type{ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 1}}, Val: 32}, @@ -47279,7 +47454,7 @@ var structDescs_ppc64le = []*KeyedStruct{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "generic", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_generic"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_INTERFACE", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "USB_REQ_GET_CONFIGURATION", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]"}}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]"}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_REPORT", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "HID_REQ_GET_PROTOCOL", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]"}}}, }}}, {StructKey{Name: "vusb_responses_printer"}, &StructDesc{TypeCommon: TypeCommon{TypeName: "vusb_responses_printer", TypeSize: 52}, Fields: []Type{ @@ -66582,6 +66757,12 @@ var syscalls_ppc64le = []*Syscall{ &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_uac1"}}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "conn_descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_connect_descriptors"}}}, }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_uac1", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, + {Name: "syz_usb_connect_ath9k", CallName: "syz_usb_connect_ath9k", Args: []Type{ + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "speed", TypeSize: 8}}, Val: 3}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "dev_len", TypeSize: 8}}, Path: []string{"dev"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "dev", TypeSize: 8}, &StructType{Key: StructKey{Name: "usb_device_descriptor_ath9k"}}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "conn_descs", TypeSize: 8}}}, + }, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "ret", TypeSize: 4, ArgDir: 1}}}, {Name: "syz_usb_control_io", CallName: "syz_usb_control_io", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &PtrType{TypeCommon{TypeName: "ptr", FldName: "descs", TypeSize: 8}, &StructType{Key: StructKey{Name: "vusb_descriptors"}}}, @@ -66625,7 +66806,19 @@ var syscalls_ppc64le = []*Syscall{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb", FldName: "fd", TypeSize: 4}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "ep", TypeSize: 2}}, Kind: 1, RangeEnd: 31}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", TypeSize: 8}}, Path: []string{"data"}}, - &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &BufferType{TypeCommon: TypeCommon{TypeName: "array", IsVarlen: true}, Kind: 1, RangeEnd: 256}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep1", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 1}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &StructType{Key: StructKey{Name: "ath9k_bulk_frame"}}}, + }}, + {Name: "syz_usb_ep_write$ath9k_ep2", CallName: "syz_usb_ep_write", Args: []Type{ + &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_usb_ath9k", FldName: "fd", TypeSize: 4}}, + &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "ep", TypeSize: 8}}, Val: 2}, + &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "bytesize", FldName: "len", TypeSize: 8}}, BitSize: 8, Path: []string{"data"}}, + &PtrType{TypeCommon{TypeName: "ptr", FldName: "data", TypeSize: 8}, &UnionType{Key: StructKey{Name: "htc_frame"}}}, }}, {NR: 284, Name: "tee", CallName: "tee", Args: []Type{ &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", TypeSize: 4}}, @@ -67944,6 +68137,7 @@ var consts_ppc64le = []ConstValue{ {"ATF_PERM", 4}, {"ATF_PUBL", 8}, {"ATF_USETRAILERS", 16}, + {"ATH_USB_RX_STREAM_MODE_TAG", 19968}, {"AT_EMPTY_PATH", 4096}, {"AT_FDCWD", 18446744073709551516}, {"AT_NO_AUTOMOUNT", 2048}, @@ -69852,6 +70046,12 @@ var consts_ppc64le = []ConstValue{ {"HID_REPORT_TYPE_MIN", 1}, {"HID_REQ_GET_PROTOCOL", 3}, {"HID_REQ_GET_REPORT", 1}, + {"HTC_CTRL_RSVD_SVC", 1}, + {"HTC_FLAGS_RECV_TRAILER", 2}, + {"HTC_LOOPBACK_RSVD_SVC", 2}, + {"HTC_MSG_CONNECT_SERVICE_RESPONSE_ID", 3}, + {"HTC_MSG_READY_ID", 1}, + {Name: "HTC_SERVICE_SUCCESS"}, {"HUB_CHANGE_LOCAL_POWER", 1}, {"HUB_CHANGE_OVERCURRENT", 2}, {Name: "HUB_CHAR_COMMON_LPSM"}, @@ -75812,6 +76012,7 @@ var consts_ppc64le = []ConstValue{ {"USB_CLASS_COMM", 2}, {"USB_CLASS_HID", 3}, {"USB_CLASS_PRINTER", 7}, + {"USB_CLASS_VENDOR_SPEC", 255}, {"USB_CONFIG_ATT_BATTERY", 16}, {"USB_CONFIG_ATT_ONE", 128}, {"USB_CONFIG_ATT_SELFPOWER", 64}, @@ -75850,6 +76051,14 @@ var consts_ppc64le = []ConstValue{ {"USB_DT_STRING", 3}, {"USB_DT_WIRELESS_ENDPOINT_COMP", 17}, {"USB_DT_WIRE_ADAPTER", 33}, + {"USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES", 2}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS", 5}, + {"USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS", 6}, + {"USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS", 130}, + {"USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS", 1}, + {"USB_ENDPOINT_ATH9K_INT_ATTRIBUTES", 3}, + {"USB_ENDPOINT_ATH9K_INT_IN_ADDRESS", 131}, + {"USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS", 4}, {"USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES", 2}, {"USB_ENDPOINT_CDC_ECM_IN_ADDRESS", 130}, {"USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS", 129}, @@ -75986,6 +76195,7 @@ var consts_ppc64le = []ConstValue{ {"USB_SS_PORT_STAT_SPEED", 7168}, {"USB_SUBCLASS_AUDIOCONTROL", 1}, {"USB_SUBCLASS_AUDIOSTREAMING", 2}, + {"USB_SUBCLASS_VENDOR_SPEC", 255}, {"USB_TYPE_CLASS", 32}, {"USB_TYPE_MASK", 96}, {"USB_TYPE_RESERVED", 96}, @@ -77071,6 +77281,14 @@ var consts_ppc64le = []ConstValue{ {"WLAN_CIPHER_SUITE_WEP40", 1027073}, {"WLAN_KEY_LEN_WEP104", 13}, {"WLAN_KEY_LEN_WEP40", 5}, + {"WMI_BEACON_SVC", 257}, + {"WMI_CAB_SVC", 258}, + {"WMI_CONTROL_SVC", 256}, + {"WMI_DATA_BE_SVC", 263}, + {"WMI_DATA_VI_SVC", 262}, + {"WMI_DATA_VO_SVC", 261}, + {"WMI_MGMT_SVC", 260}, + {"WMI_UAPSD_SVC", 259}, {"WNOHANG", 1}, {"WNOWAIT", 16777216}, {"WSTOPPED", 2}, @@ -77761,4 +77979,4 @@ var consts_ppc64le = []ConstValue{ {"ethtool_per_queue_op_size", 128}, } -const revision_ppc64le = "fb00bb615ecad858bb96e38ab5f8cbade9fdacea" +const revision_ppc64le = "88f13870a768fc9d901f0b86e93664821fa28696" diff --git a/sys/linux/test/vusb_ath9k b/sys/linux/test/vusb_ath9k new file mode 100644 index 000000000..a2fe89f4c --- /dev/null +++ b/sys/linux/test/vusb_ath9k @@ -0,0 +1,4 @@ +# requires: -sandbox=setuid -sandbox=namespace -repeat + +r0 = syz_usb_connect_ath9k(0x3, 0x5a, &(0x7f0000000080)={{0x12, 0x1, 0x200, 0xff, 0xff, 0xff, 0x40, 0xcf3, 0x9271, 0x108, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x48, 0x1, 0x1, 0x0, 0x80, 0xfa, {{0x9, 0x4, 0x0, 0x0, 0x6, 0xff, 0x0, 0x0, 0x0, "", {{0x9, 0x5, 0x1, 0x2, 0x200, 0x0, 0x0, 0x0, ""}, {0x9, 0x5, 0x82, 0x2, 0x200, 0x0, 0x0, 0x0, ""}, {0x9, 0x5, 0x83, 0x3, 0x40, 0x1, 0x0, 0x0, ""}, {0x9, 0x5, 0x4, 0x3, 0x40, 0x1, 0x0, 0x0, ""}, {0x9, 0x5, 0x5, 0x2, 0x200, 0x0, 0x0, 0x0, ""}, {0x9, 0x5, 0x6, 0x2, 0x200, 0x0, 0x0, 0x0, ""}}}}}}]}}, 0x0) +syz_usb_ep_write$ath9k_ep2(r0, 0x2, 0x10, &(0x7f0000000000)=@ready={0x0, 0x0, 0x8, 'BBBB', {0x1, 0x0, 0x0, 0x0, 0x0}}) diff --git a/sys/linux/vusb.txt b/sys/linux/vusb.txt index 3887d4281..10afdce8c 100644 --- a/sys/linux/vusb.txt +++ b/sys/linux/vusb.txt @@ -19,40 +19,15 @@ include # This is a special fd for USB fuzzing and should only be used with syz_usb_* pseudo-syscalls. # We don't inherit it from the fd resource, to discourage syzkaller calling raw ioctls on it. resource fd_usb[int32]: -1 -resource fd_usb_hid[fd_usb] -resource fd_usb_printer[fd_usb] -resource fd_usb_cdc_ecm[fd_usb] -resource fd_usb_cdc_ncm[fd_usb] -resource fd_usb_uac1[fd_usb] # These are generic pseudo-syscalls for emulating arbitrary USB devices. # They are mostly targeted to cover the enumeration process. syz_usb_connect(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb syz_usb_control_io(fd fd_usb, descs ptr[in, vusb_descriptors], resps ptr[in, vusb_responses]) -syz_usb_ep_write(fd fd_usb, ep int16[0:31], len len[data], data buffer[in]) +syz_usb_ep_write(fd fd_usb, ep int16[0:31], len len[data], data ptr[in, array[int8, 0:256]]) syz_usb_ep_read(fd fd_usb, ep int16[0:31], len len[data], data buffer[out]) syz_usb_disconnect(fd fd_usb) -# These pseudo-syscalls specifically target the HID device class. -syz_usb_connect$hid(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_hid], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_hid -syz_usb_control_io$hid(fd fd_usb_hid, descs ptr[in, vusb_descriptors_hid], resps ptr[in, vusb_responses_hid]) - -# These pseudo-syscalls specifically target the PRINTER device class. -syz_usb_connect$printer(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_printer], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_printer -syz_usb_control_io$printer(fd fd_usb_printer, descs ptr[in, vusb_descriptors_printer], resps ptr[in, vusb_responses_printer]) - -# These pseudo-syscalls specifically target the CDC ECM (Ethernet) device class. -syz_usb_connect$cdc_ecm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ecm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ecm -syz_usb_control_io$cdc_ecm(fd fd_usb_cdc_ecm, descs ptr[in, vusb_descriptors_cdc_ecm], resps ptr[in, vusb_responses_cdc_ecm]) - -# These pseudo-syscalls specifically target the CDC NCM device class. -syz_usb_connect$cdc_ncm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ncm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ncm -syz_usb_control_io$cdc_ncm(fd fd_usb_cdc_ncm, descs ptr[in, vusb_descriptors_cdc_ncm], resps ptr[in, vusb_responses_cdc_ncm]) - -# These pseudo-syscalls specifically target the UAC1 device class. -syz_usb_connect$uac1(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_uac1], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_uac1 -syz_usb_control_io$uac1(fd fd_usb_uac1, descs ptr[in, vusb_descriptors_uac1], resps ptr[in, vusb_responses_uac1]) - usb_device_speed = USB_SPEED_UNKNOWN, USB_SPEED_LOW, USB_SPEED_FULL, USB_SPEED_HIGH, USB_SPEED_WIRELESS, USB_SPEED_SUPER, USB_SPEED_SUPER_PLUS # TODO: consider patching idVendor and idProduct for all class specific descriptions in Go code to cover more drivers. @@ -63,15 +38,15 @@ usb_device_speed = USB_SPEED_UNKNOWN, USB_SPEED_LOW, USB_SPEED_FULL, USB_SPEED_H # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # -type usb_device_descriptor_t[CLASS, SUBCLASS, PROTOCOL, VENDOR, PRODUCT, DEVICE, CFS] { +type usb_device_descriptor_verbose_t[USB, CLASS, SUBCLASS, PROTOCOL, PACKET, VENDOR, PRODUCT, DEVICE, CFS] { bLength const[USB_DT_DEVICE_SIZE, int8] bDescriptorType const[USB_DT_DEVICE, int8] - bcdUSB flags[usb_versions, int16] + bcdUSB USB bDeviceClass const[CLASS, int8] bDeviceSubClass const[SUBCLASS, int8] bDeviceProtocol const[PROTOCOL, int8] - bMaxPacketSize0 flags[usb_device_max_packet_sizes, int8] + bMaxPacketSize0 PACKET idVendor const[VENDOR, int16] idProduct const[PRODUCT, int16] bcdDevice const[DEVICE, int16] @@ -83,28 +58,33 @@ type usb_device_descriptor_t[CLASS, SUBCLASS, PROTOCOL, VENDOR, PRODUCT, DEVICE, configs CFS } [packed] +type usb_device_descriptor_t[CLASS, SUBCLASS, PROTOCOL, VENDOR, PRODUCT, DEVICE, CFS] usb_device_descriptor_verbose_t[flags[usb_versions, int16], CLASS, SUBCLASS, PROTOCOL, flags[usb_device_max_packet_sizes, int8], VENDOR, PRODUCT, DEVICE, CFS] +type usb_device_descriptor_fixed_t[USB, CLASS, SUBCLASS, PROTOCOL, PACKET, VENDOR, PRODUCT, DEVICE, CFS] usb_device_descriptor_verbose_t[const[USB, int16], CLASS, SUBCLASS, PROTOCOL, const[PACKET, int8], VENDOR, PRODUCT, DEVICE, CFS] + usb_versions = 0x110, 0x200, 0x201, 0x250, 0x300, 0x310 # https://elixir.bootlin.com/linux/v5.1.7/source/drivers/usb/core/hub.c#L4661 usb_device_max_packet_sizes = 8, 16, 32, 64, 255 -type usb_config_descriptor_t[NUM, IFSNUM, ATTRS, IFS] { +type usb_config_descriptor_verbose_t[NUM, IFSNUM, ICONFIG, ATTRS, POWER, IFS] { bLength const[USB_DT_CONFIG_SIZE, int8] bDescriptorType const[USB_DT_CONFIG, int8] wTotalLength len[parent, int16] bNumInterfaces IFSNUM bConfigurationValue NUM - iConfiguration int8 + iConfiguration ICONFIG bmAttributes ATTRS - bMaxPower int8 + bMaxPower POWER interfaces IFS } [packed] -type usb_config_descriptor_ifaces_array_t[NUM, ATTRS, IFS] usb_config_descriptor_t[NUM, len[interfaces, int8], ATTRS, IFS] +type usb_config_descriptor_t[NUM, IFSNUM, IFS] usb_config_descriptor_verbose_t[NUM, IFSNUM, int8, flags[usb_config_attributes, int8], int8, IFS] +type usb_config_descriptor_ifaces_array_t[NUM, IFS] usb_config_descriptor_t[NUM, len[interfaces, int8], IFS] +type usb_config_descriptor_fixed_t[NUM, IFSNUM, ATTRS, POWER, IFS] usb_config_descriptor_verbose_t[const[NUM, int8], const[IFSNUM, int8], const[0, int8], const[ATTRS, int8], const[POWER, int8], IFS] -type usb_interface_descriptor_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] { +type usb_interface_descriptor_verbose_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, IIF, EXTRA, EPS] { bLength const[USB_DT_INTERFACE_SIZE, int8] bDescriptorType const[USB_DT_INTERFACE, int8] @@ -114,31 +94,35 @@ type usb_interface_descriptor_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL bInterfaceClass CLASS bInterfaceSubClass SUBCLASS bInterfaceProtocol PROTOCOL - iInterface int8 + iInterface IIF extra EXTRA endpoints EPS } [packed] +type usb_interface_descriptor_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_verbose_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, int8, EXTRA, EPS] type usb_interface_descriptor_eps_array_t[IFNUM, ALTNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_t[IFNUM, ALTNUM, len[endpoints, int8], CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] -type usb_interface_descriptor_consts_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_t[const[IFNUM, int8], const[ALTNUM, int8], const[EPSNUM, int8], const[CLASS, int8], const[SUBCLASS, int8], const[PROTOCOL, int8], EXTRA, EPS] +type usb_interface_descriptor_fixed_t[IFNUM, ALTNUM, EPSNUM, CLASS, SUBCLASS, PROTOCOL, EXTRA, EPS] usb_interface_descriptor_verbose_t[const[IFNUM, int8], const[ALTNUM, int8], const[EPSNUM, int8], const[CLASS, int8], const[SUBCLASS, int8], const[PROTOCOL, int8], const[0, int8], EXTRA, EPS] # TODO: non-audio endpoints have USB_DT_ENDPOINT_SIZE. -type usb_endpoint_descriptor_t[ADDR, ATTRS, EXTRA] { +type usb_endpoint_descriptor_verbose_t[ADDR, ATTRS, PACKET, INTERVAL, REFRESH, SYNCH, EXTRA] { bLength const[USB_DT_ENDPOINT_AUDIO_SIZE, int8] bDescriptorType const[USB_DT_ENDPOINT, int8] bEndpointAddress ADDR bmAttributes ATTRS - wMaxPacketSize flags[usb_endpoint_max_packet_sizes, int16] - bInterval int8 + wMaxPacketSize PACKET + bInterval INTERVAL - bRefresh int8 - bSynchAddress int8 + bRefresh REFRESH + bSynchAddress SYNCH extra EXTRA } [packed] +type usb_endpoint_descriptor_t[ADDR, ATTRS, EXTRA] usb_endpoint_descriptor_verbose_t[ADDR, ATTRS, flags[usb_endpoint_max_packet_sizes, int16], int8, int8, int8, EXTRA] +type usb_endpoint_descriptor_fixed_t[ADDR, ATTRS, PACKET, INTERVAL, EXTRA] usb_endpoint_descriptor_verbose_t[const[ADDR, int8], const[ATTRS, int8], const[PACKET, int16], const[INTERVAL, int8], const[0, int8], const[0, int8], EXTRA] + # TODO: dummy driver has complex requirements for packet sizes, account for those: # https://elixir.bootlin.com/linux/v5.3.6/source/drivers/usb/gadget/udc/dummy_hcd.c#L497 usb_endpoint_max_packet_sizes = 8, 16, 32, 64, 512, 1023, 1024 @@ -157,7 +141,7 @@ usb_device_descriptor { } [packed] usb_config_descriptor { - inner usb_config_descriptor_ifaces_array_t[int8, flags[usb_config_attributes, int8], array[usb_interface_descriptor, 1:4]] + inner usb_config_descriptor_ifaces_array_t[int8, array[usb_interface_descriptor, 1:4]] } [packed] usb_config_attributes = USB_CONFIG_ATT_ONE, USB_CONFIG_ATT_SELFPOWER, USB_CONFIG_ATT_WAKEUP, USB_CONFIG_ATT_BATTERY @@ -247,7 +231,7 @@ vusb_response_generic { type flags[usb_request_types, int8] req flags[usb_requests, int8] len bytesize[data, int32] - data array[int8] + data array[int8, 0:256] } [packed] usb_requests = USB_REQ_GET_STATUS, USB_REQ_CLEAR_FEATURE, USB_REQ_SET_FEATURE, USB_REQ_SET_ADDRESS, USB_REQ_GET_DESCRIPTOR, USB_REQ_SET_DESCRIPTOR, USB_REQ_GET_CONFIGURATION, USB_REQ_SET_CONFIGURATION, USB_REQ_GET_INTERFACE, USB_REQ_SET_INTERFACE, USB_REQ_SYNCH_FRAME, USB_REQ_SET_SEL, USB_REQ_SET_ISOCH_DELAY, USB_REQ_SET_ENCRYPTION, USB_REQ_GET_ENCRYPTION, USB_REQ_RPIPE_ABORT, USB_REQ_SET_HANDSHAKE, USB_REQ_RPIPE_RESET, USB_REQ_GET_HANDSHAKE, USB_REQ_SET_CONNECTION, USB_REQ_SET_SECURITY_DATA, USB_REQ_GET_SECURITY_DATA, USB_REQ_SET_WUSB_DATA, USB_REQ_LOOPBACK_DATA_WRITE, USB_REQ_LOOPBACK_DATA_READ, USB_REQ_SET_INTERFACE_DS, USB_REQ_GET_PARTNER_PDO, USB_REQ_GET_BATTERY_STATUS, USB_REQ_SET_PDO, USB_REQ_GET_VDM, USB_REQ_SEND_VDM @@ -278,7 +262,7 @@ type usb_string_descriptor_t[DATA] { usb_string_descriptor [ lang_id usb_string_descriptor_t[flags[usb_lang_ids, int16]] - string usb_string_descriptor_t[array[int8]] + string usb_string_descriptor_t[array[int8, 0:256]] ] [varlen] usb_lang_ids = 0x436, 0x41c, 0x401, 0x801, 0xc01, 0x1001, 0x1401, 0x1801, 0x1c01, 0x2001, 0x2401, 0x2801, 0x2c01, 0x3001, 0x3401, 0x3801, 0x3c01, 0x4001, 0x42b, 0x44d, 0x42c, 0x82c, 0x42d, 0x423, 0x445, 0x402, 0x455, 0x403, 0x404, 0x804, 0xc04, 0x1004, 0x1404, 0x41a, 0x405, 0x406, 0x413, 0x813, 0x409, 0x809, 0xc09, 0x1009, 0x1409, 0x1809, 0x1c09, 0x2009, 0x2409, 0x2809, 0x2c09, 0x3009, 0x3409, 0x425, 0x438, 0x429, 0x40b, 0x40c, 0x80c, 0xc0c, 0x100c, 0x140c, 0x180c, 0x437, 0x407, 0x807, 0xc07, 0x1007, 0x1407, 0x408, 0x447, 0x40d, 0x439, 0x40e, 0x40f, 0x421, 0x410, 0x810, 0x411, 0x44b, 0x860, 0x43f, 0x457, 0x412, 0x812, 0x426, 0x427, 0x827, 0x42f, 0x43e, 0x83e, 0x44c, 0x458, 0x44e, 0x861, 0x414, 0x814, 0x448, 0x415, 0x416, 0x816, 0x446, 0x418, 0x419, 0x44f, 0xc1a, 0x81a, 0x459, 0x41b, 0x424, 0x40a, 0x80a, 0xc0a, 0x100a, 0x140a, 0x180a, 0x1c0a, 0x200a, 0x240a, 0x280a, 0x2c0a, 0x300a, 0x340a, 0x380a, 0x3c0a, 0x400a, 0x440a, 0x480a, 0x4c0a, 0x500a, 0x430, 0x441, 0x41d, 0x81d, 0x449, 0x444, 0x44a, 0x41e, 0x41f, 0x422, 0x420, 0x820, 0x443, 0x843, 0x42a, 0x4ff, 0xf0ff, 0xf4ff, 0xf8ff, 0xfcff @@ -321,7 +305,7 @@ usb_generic_cap_descriptor { bDescriptorType const[USB_DT_DEVICE_CAPABILITY, int8] bDevCapabilityType flags[usb_capability_types, int8] - data array[int8] + data array[int8, 0:256] } [packed] usb_capability_types = USB_CAP_TYPE_WIRELESS_USB, USB_CAP_TYPE_EXT, USB_SS_CAP_TYPE, USB_SSP_CAP_TYPE, CONTAINER_ID_TYPE, USB_PTM_CAP_TYPE @@ -429,7 +413,7 @@ usb_generic_descriptor { bLength len[parent, int8] bDescriptorType flags[usb_descriptor_types, int8] - data array[int8] + data array[int8, 0:256] } [packed] usb_descriptor_types = USB_DT_DEVICE, USB_DT_CONFIG, USB_DT_STRING, USB_DT_INTERFACE, USB_DT_ENDPOINT, USB_DT_DEVICE_QUALIFIER, USB_DT_OTHER_SPEED_CONFIG, USB_DT_INTERFACE_POWER, USB_DT_OTG, USB_DT_DEBUG, USB_DT_INTERFACE_ASSOCIATION, USB_DT_SECURITY, USB_DT_KEY, USB_DT_ENCRYPTION_TYPE, USB_DT_BOS, USB_DT_DEVICE_CAPABILITY, USB_DT_WIRELESS_ENDPOINT_COMP, USB_DT_WIRE_ADAPTER, USB_DT_RPIPE, USB_DT_CS_RADIO_CONTROL, USB_DT_PIPE_USAGE, USB_DT_SS_ENDPOINT_COMP, USB_DT_SSP_ISOC_ENDPOINT_COMP, HID_DT_HID, HID_DT_REPORT, HID_DT_PHYSICAL @@ -512,13 +496,18 @@ usb_hub_change_flags = HUB_CHANGE_LOCAL_POWER, HUB_CHANGE_OVERCURRENT # Connected HID devices are known to create the following /dev/ files: # /dev/hidraw#, /dev/usb/hiddev# and /dev/input/event#. +resource fd_usb_hid[fd_usb] + +syz_usb_connect$hid(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_hid], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_hid +syz_usb_control_io$hid(fd fd_usb_hid, descs ptr[in, vusb_descriptors_hid], resps ptr[in, vusb_responses_hid]) + # idVendor and idProduct are patched by Go code, see sys/linux/init_vusb.go. usb_device_descriptor_hid { inner usb_device_descriptor_t[0, 0, 0, 0, 0, 64, array[usb_config_descriptor_hid, 1]] } [packed] usb_config_descriptor_hid { - inner usb_config_descriptor_ifaces_array_t[const[1, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_hid, 1]] + inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_hid, 1]] } [packed] usb_interface_descriptor_hid { @@ -563,7 +552,7 @@ vusb_responses_hid { USB_REQ_GET_INTERFACE ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_INTERFACE, int8]] USB_REQ_GET_CONFIGURATION ptr[in, vusb_response_t[USB_TYPE_STANDARD, USB_REQ_GET_CONFIGURATION, int8]] - HID_REQ_GET_REPORT ptr[in, vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8]]] + HID_REQ_GET_REPORT ptr[in, vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_REPORT, array[int8, 0:256]]] HID_REQ_GET_PROTOCOL ptr[in, vusb_response_t[USB_TYPE_CLASS, HID_REQ_GET_PROTOCOL, int8]] } [packed] @@ -647,12 +636,17 @@ define USBLP_REQ_HP_CHANNEL_CHANGE_REQUEST 0x00 define USBLP_FIRST_PROTOCOL 1 define USBLP_LAST_PROTOCOL 3 +resource fd_usb_printer[fd_usb] + +syz_usb_connect$printer(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_printer], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_printer +syz_usb_control_io$printer(fd fd_usb_printer, descs ptr[in, vusb_descriptors_printer], resps ptr[in, vusb_responses_printer]) + usb_device_descriptor_printer { inner usb_device_descriptor_t[0, 0, 0, 0x525, 0xa4a8, 64, array[usb_config_descriptor_printer, 1]] } [packed] usb_config_descriptor_printer { - inner usb_config_descriptor_ifaces_array_t[const[1, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_printer, 1]] + inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_printer, 1]] } [packed] usb_interface_descriptor_printer { @@ -697,7 +691,7 @@ vusb_responses_printer { usb_printer_get_id_response { length len[id, int16be] - id array[int8] + id array[int8, 0:256] } [packed] # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # @@ -715,12 +709,17 @@ usb_printer_get_id_response { # Connected CDC ECM devices are known to create usbN network interfaces. # TODO: write descriptions for those. +resource fd_usb_cdc_ecm[fd_usb] + +syz_usb_connect$cdc_ecm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ecm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ecm +syz_usb_control_io$cdc_ecm(fd fd_usb_cdc_ecm, descs ptr[in, vusb_descriptors_cdc_ecm], resps ptr[in, vusb_responses_cdc_ecm]) + usb_device_descriptor_cdc_ecm { inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ecm, 1]] } [packed] usb_config_descriptor_cdc_ecm { - inner usb_config_descriptor_ifaces_array_t[const[1, int8], flags[usb_config_attributes, int8], array[usb_interface_descriptor_cdc_ecm, 1]] + inner usb_config_descriptor_ifaces_array_t[const[1, int8], array[usb_interface_descriptor_cdc_ecm, 1]] } [packed] # Per specification CDC ECM devices have two interfaces (control and data), @@ -879,7 +878,7 @@ usb_cdc_mdlm_detail_desc { bDescriptorSubType const[USB_CDC_MDLM_DETAIL_TYPE, int8] bGuidDescriptorType int8 - bDetailData array[int8] + bDetailData array[int8, 0:256] } [packed] usb_cdc_obex_desc { @@ -959,18 +958,23 @@ vusb_responses_cdc_ecm { # https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/legacy/ncm.c # https://elixir.bootlin.com/linux/latest/source/drivers/usb/gadget/function/f_ncm.c +resource fd_usb_cdc_ncm[fd_usb] + +syz_usb_connect$cdc_ncm(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_cdc_ncm], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_cdc_ncm +syz_usb_control_io$cdc_ncm(fd fd_usb_cdc_ncm, descs ptr[in, vusb_descriptors_cdc_ncm], resps ptr[in, vusb_responses_cdc_ncm]) + usb_device_descriptor_cdc_ncm { inner usb_device_descriptor_t[USB_CLASS_COMM, 0, 0, 0x525, 0xa4a1, 64, array[usb_config_descriptor_cdc_ncm, 1]] } [packed] usb_config_descriptor_cdc_ncm { - inner usb_config_descriptor_t[const[1, int8], const[2, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_cdc_ncm] + inner usb_config_descriptor_t[const[1, int8], const[2, int8], usb_interface_descriptors_cdc_ncm] } [packed] usb_interface_descriptors_cdc_ncm { - control usb_interface_descriptor_consts_t[0, CDC_NCM_COMM_ALTSETTING_NCM, 1, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify] - data_nop usb_interface_descriptor_consts_t[1, 0, 0, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, void] - data usb_interface_descriptor_consts_t[1, CDC_NCM_DATA_ALTSETTING_NCM, 2, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, usb_endpoint_descriptors_cdc_ncm_data] + control usb_interface_descriptor_fixed_t[0, CDC_NCM_COMM_ALTSETTING_NCM, 1, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, usb_cdc_header_ncm, usb_endpoint_descriptor_cdc_ecm_notify] + data_nop usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, void] + data usb_interface_descriptor_fixed_t[1, CDC_NCM_DATA_ALTSETTING_NCM, 2, USB_CLASS_COMM, USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE, void, usb_endpoint_descriptors_cdc_ncm_data] } [packed] usb_endpoint_descriptors_cdc_ncm_data { @@ -1052,21 +1056,26 @@ usb_cdc_ncm_ntb_parameters { # TODO: find out which /dev/ files are created by connected UAC1 devices and add descriptions for those. +resource fd_usb_uac1[fd_usb] + +syz_usb_connect$uac1(speed flags[usb_device_speed], dev_len len[dev], dev ptr[in, usb_device_descriptor_uac1], conn_descs ptr[in, vusb_connect_descriptors]) fd_usb_uac1 +syz_usb_control_io$uac1(fd fd_usb_uac1, descs ptr[in, vusb_descriptors_uac1], resps ptr[in, vusb_responses_uac1]) + usb_device_descriptor_uac1 { inner usb_device_descriptor_t[0, 0, 0, 0x1d6b, 0x101, 64, array[usb_config_descriptor_uac1, 1]] } [packed] usb_config_descriptor_uac1 { - inner usb_config_descriptor_t[const[1, int8], const[3, int8], flags[usb_config_attributes, int8], usb_interface_descriptors_uac1] + inner usb_config_descriptor_t[const[1, int8], const[3, int8], usb_interface_descriptors_uac1] } [packed] # TODO: control interface might have and optional interrupt endpoint. usb_interface_descriptors_uac1 { - control usb_interface_descriptor_consts_t[0, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOCONTROL, 0, uac_control_iface_extra_descriptors, void] - as_out_alt_0 usb_interface_descriptor_consts_t[1, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void] - as_out_alt_1 usb_interface_descriptor_consts_t[1, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor] - as_in_alt_0 usb_interface_descriptor_consts_t[2, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void] - as_in_alt_1 usb_interface_descriptor_consts_t[2, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor] + control usb_interface_descriptor_fixed_t[0, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOCONTROL, 0, uac_control_iface_extra_descriptors, void] + as_out_alt_0 usb_interface_descriptor_fixed_t[1, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void] + as_out_alt_1 usb_interface_descriptor_fixed_t[1, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_out_endpoint_descriptor] + as_in_alt_0 usb_interface_descriptor_fixed_t[2, 0, 0, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, void, void] + as_in_alt_1 usb_interface_descriptor_fixed_t[2, 1, 1, USB_CLASS_AUDIO, USB_SUBCLASS_AUDIOSTREAMING, 0, uac_as_iface_extra_descriptors, uac_as_in_endpoint_descriptor] } [packed] # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # @@ -1319,3 +1328,113 @@ vusb_responses_uac1 { # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + +# ath9k driver specific descriptions. + +include +include + +resource fd_usb_ath9k[fd_usb] + +syz_usb_connect_ath9k(speed const[USB_SPEED_HIGH], dev_len len[dev], dev ptr[in, usb_device_descriptor_ath9k], conn_descs const[0]) fd_usb_ath9k +syz_usb_ep_write$ath9k_ep1(fd fd_usb_ath9k, ep const[0x1], len bytesize[data], data ptr[in, ath9k_bulk_frame]) +syz_usb_ep_write$ath9k_ep2(fd fd_usb_ath9k, ep const[0x2], len bytesize[data], data ptr[in, htc_frame]) + +usb_device_descriptor_ath9k { + inner usb_device_descriptor_fixed_t[0x200, USB_CLASS_VENDOR_SPEC, USB_SUBCLASS_VENDOR_SPEC, 0xff, 64, 0xcf3, 0x9271, 0x108, array[usb_config_descriptor_ath9k, 1]] +} [packed] + +usb_config_descriptor_ath9k { + inner usb_config_descriptor_fixed_t[1, 1, USB_CONFIG_ATT_ONE, 250, usb_interface_descriptor_ath9k] +} [packed] + +usb_interface_descriptor_ath9k { + iface usb_interface_descriptor_fixed_t[0, 0, 6, USB_CLASS_VENDOR_SPEC, 0, 0, void, usb_endpoint_descriptors_ath9k] +} [packed] + +usb_endpoint_descriptors_ath9k { + bulk_out usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void] + bulk_in usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void] + int_in usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_INT_IN_ADDRESS, USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, 64, 1, void] + int_out usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS, USB_ENDPOINT_ATH9K_INT_ATTRIBUTES, 64, 1, void] + bulk_extra1 usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void] + bulk_extra2 usb_endpoint_descriptor_fixed_t[USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS, USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES, 512, 0, void] +} [packed] + +define USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS (1) +define USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS (2 | USB_DIR_IN) +define USB_ENDPOINT_ATH9K_INT_IN_ADDRESS (3 | USB_DIR_IN) +define USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS (4) +define USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS (5) +define USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS (6) + +define USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES (USB_ENDPOINT_XFER_BULK) +define USB_ENDPOINT_ATH9K_INT_ATTRIBUTES (USB_ENDPOINT_XFER_INT) + +ath9k_bulk_frame { + packets array[ath9k_bulk_packet] +} [packed] + +ath9k_bulk_packet { + pkt_len len[data, int16] + pkt_tag const[ATH_USB_RX_STREAM_MODE_TAG, int16] + data array[int8] +} [packed, align_4] + +htc_frame [ + ready htc_ready_frame + conn_svc_rsp htc_conn_svc_rsp_frame + generic htc_generic_frame +] [varlen] + +# This is actually wrong, as the driver is buggy and doesn't skip the header +# before processing the frame payload, but let's leave it like thise for now. +htc_ready_frame { + endpoint_id const[0, int8] + flags const[0, int8] + payload_len len[payload, int16be] + control array[int8, 4] + payload htc_ready_msg +} [packed] + +htc_ready_msg { + message_id const[HTC_MSG_READY_ID, int16be] + credits int16be + credit_size int16be + max_endpoints int8 + pad int8 +} [packed] + +htc_conn_svc_rsp_frame { + endpoint_id const[0, int8] + flags const[0, int8] + payload_len len[payload, int16be] + control array[int8, 4] + payload htc_conn_svc_rspmsg +} [packed] + +htc_conn_svc_rspmsg { + message_id const[HTC_MSG_CONNECT_SERVICE_RESPONSE_ID, int16be] + service_id flags[htc_svcs, int16be] + status const[HTC_SERVICE_SUCCESS, int8] + endpoint_id int8 + max_msg_len int16be + svc_meta_len int8 + pad int8 +} [packed] + +htc_svcs = HTC_CTRL_RSVD_SVC, HTC_LOOPBACK_RSVD_SVC, WMI_CONTROL_SVC, WMI_BEACON_SVC, WMI_CAB_SVC, WMI_UAPSD_SVC, WMI_MGMT_SVC, WMI_DATA_VO_SVC, WMI_DATA_VI_SVC, WMI_DATA_BE_SVC, WMI_DATA_BE_SVC + +htc_generic_frame { + endpoint_id int8[0:8] + flags flags[htc_frame_flags, int8] + payload_len len[payload, int16be] + control array[int8, 4] + payload array[int8, 0:256] +} [packed] + +htc_frame_flags = HTC_FLAGS_RECV_TRAILER + +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # +# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # diff --git a/sys/linux/vusb_386.const b/sys/linux/vusb_386.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_386.const +++ b/sys/linux/vusb_386.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 diff --git a/sys/linux/vusb_amd64.const b/sys/linux/vusb_amd64.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_amd64.const +++ b/sys/linux/vusb_amd64.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 diff --git a/sys/linux/vusb_arm.const b/sys/linux/vusb_arm.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_arm.const +++ b/sys/linux/vusb_arm.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 diff --git a/sys/linux/vusb_arm64.const b/sys/linux/vusb_arm64.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_arm64.const +++ b/sys/linux/vusb_arm64.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 diff --git a/sys/linux/vusb_mips64le.const b/sys/linux/vusb_mips64le.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_mips64le.const +++ b/sys/linux/vusb_mips64le.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 diff --git a/sys/linux/vusb_ppc64le.const b/sys/linux/vusb_ppc64le.const index ecf58ddd8..2b6ea428a 100644 --- a/sys/linux/vusb_ppc64le.const +++ b/sys/linux/vusb_ppc64le.const @@ -1,4 +1,5 @@ # AUTOGENERATED FILE +ATH_USB_RX_STREAM_MODE_TAG = 19968 AX88172_CMD_READ_NODE_ID = 23 AX_CMD_READ_EEPROM = 11 AX_CMD_READ_GPIOS = 30 @@ -50,6 +51,12 @@ HID_MAIN_ITEM_TAG_OUTPUT = 9 HID_MAX_DESCRIPTOR_SIZE = 4096 HID_REQ_GET_PROTOCOL = 3 HID_REQ_GET_REPORT = 1 +HTC_CTRL_RSVD_SVC = 1 +HTC_FLAGS_RECV_TRAILER = 2 +HTC_LOOPBACK_RSVD_SVC = 2 +HTC_MSG_CONNECT_SERVICE_RESPONSE_ID = 3 +HTC_MSG_READY_ID = 1 +HTC_SERVICE_SUCCESS = 0 HUB_CHANGE_LOCAL_POWER = 1 HUB_CHANGE_OVERCURRENT = 2 HUB_CHAR_COMMON_LPSM = 0 @@ -180,6 +187,7 @@ USB_CLASS_AUDIO = 1 USB_CLASS_COMM = 2 USB_CLASS_HID = 3 USB_CLASS_PRINTER = 7 +USB_CLASS_VENDOR_SPEC = 255 USB_CONFIG_ATT_BATTERY = 16 USB_CONFIG_ATT_ONE = 128 USB_CONFIG_ATT_SELFPOWER = 64 @@ -218,6 +226,14 @@ USB_DT_SS_HUB = 42 USB_DT_STRING = 3 USB_DT_WIRELESS_ENDPOINT_COMP = 17 USB_DT_WIRE_ADAPTER = 33 +USB_ENDPOINT_ATH9K_BULK_ATTRIBUTES = 2 +USB_ENDPOINT_ATH9K_BULK_EXTRA1_ADDRESS = 5 +USB_ENDPOINT_ATH9K_BULK_EXTRA2_ADDRESS = 6 +USB_ENDPOINT_ATH9K_BULK_IN_ADDRESS = 130 +USB_ENDPOINT_ATH9K_BULK_OUT_ADDRESS = 1 +USB_ENDPOINT_ATH9K_INT_ATTRIBUTES = 3 +USB_ENDPOINT_ATH9K_INT_IN_ADDRESS = 131 +USB_ENDPOINT_ATH9K_INT_OUT_ADDRESS = 4 USB_ENDPOINT_CDC_ECM_DATA_ATTRIBUTES = 2 USB_ENDPOINT_CDC_ECM_IN_ADDRESS = 130 USB_ENDPOINT_CDC_ECM_NOTIFY_ADDRESS = 129 @@ -345,6 +361,7 @@ USB_SS_PORT_STAT_POWER = 512 USB_SS_PORT_STAT_SPEED = 7168 USB_SUBCLASS_AUDIOCONTROL = 1 USB_SUBCLASS_AUDIOSTREAMING = 2 +USB_SUBCLASS_VENDOR_SPEC = 255 USB_TYPE_CLASS = 32 USB_TYPE_STANDARD = 0 USB_TYPE_VENDOR = 64 @@ -361,3 +378,11 @@ USB_WIRELESS_PHY_400 = 64 USB_WIRELESS_PHY_480 = 128 USB_WIRELESS_PHY_53 = 1 USB_WIRELESS_PHY_80 = 2 +WMI_BEACON_SVC = 257 +WMI_CAB_SVC = 258 +WMI_CONTROL_SVC = 256 +WMI_DATA_BE_SVC = 263 +WMI_DATA_VI_SVC = 262 +WMI_DATA_VO_SVC = 261 +WMI_MGMT_SVC = 260 +WMI_UAPSD_SVC = 259 -- cgit mrf-deployment