26 #ifndef _USB_CDC_ISDN_H_ 27 #define _USB_CDC_ISDN_H_ 36 #define USB_CDC_SUBCLASS_MCNL 0x04 37 #define USB_CDC_SUBCLASS_CAPI 0x05 42 #define USB_CDC_PROTO_I340 0x30 43 #define USB_CDC_PROTO_HDLC 0x31 44 #define USB_CDC_PROTO_TRANSPARENT 0x32 45 #define USB_CDC_PROTO_Q921M 0x50 46 #define USB_CDC_PROTO_Q921 0x51 47 #define USB_CDC_PROTO_Q921TM 0x52 48 #define USB_CDC_PROTO_V42BIS 0x90 49 #define USB_CDC_PROTO_Q931 0x91 50 #define USB_CDC_PROTO_V120 0x92 51 #define USB_CDC_PROTO_CAPI20 0x93 56 #define USB_DTYPE_CDC_TERMINAL 0x09 57 #define USB_DTYPE_CDC_NETWORK_TERMINAL 0x0A 58 #define USB_DTYPE_CDC_PROTOCOL_UNIT 0x0B 59 #define USB_DTYPE_CDC_EXTENSION_UNIT 0x0C 60 #define USB_DTYPE_CDC_MCNL_MANAGEMENT 0x0D 61 #define USB_DTYPE_CDC_CAPI_CONTROL 0x0E 66 #define USB_CDC_SET_UNIT_PARAMETER 0x37 67 #define USB_CDC_GET_UNIT_PARAMETER 0x38 68 #define USB_CDC_CLEAR_UNIT_PARAMETER 0x39 70 #define USB_CDC_GET_PROFILE 0x3A 77 #define USB_CDC_MCHN_UNIT_NVRAM 0x01 79 #define USB_CDC_MCHN_UNIT_CLR 0x02 80 #define USB_CDC_MCHN_UNIR_SET 0x04 86 #define USB_CDC_CAPI_SIMPLE 0x00 87 #define USB_CDC_CAPI_INTELLIGENT 0x01 95 struct usb_cdc_terminal_desc { 96 uint8_t bFunctionLength;
97 uint8_t bDescriptorType;
98 uint8_t bDescriptorSubType;
100 uint8_t bInInterfaceNo;
101 uint8_t bOutInterfaceNo;
106 } __attribute__ ((packed));
126 } __attribute__ ((packed));
146 } __attribute__ ((packed));
157 uint8_t bExtensionCode;
163 } __attribute__ ((packed));
172 uint8_t bmCapabilities;
173 } __attribute__ ((packed));
182 uint8_t bmCapabilities;
183 } __attribute__ ((packed));
Extension Unit Functional Descriptor.
uint8_t bPhysicalInterface
Type of physical interface.
uint8_t bChannelIndex
The channel index of the associated network channel according to indexing rules below.
CAPI Control Management Functional Descriptor.
uint8_t bEntityId
Constant uniquely identifying the Terminal.
uint8_t iName
Index of string descriptor, describing the name of the Network Channel Terminal.
uint8_t bDescriptorType
CS_INTERFACE descriptor type.
uint8_t bFunctionLength
Size of this functional descriptor, in bytes.
uint8_t bDescriptorSubType
Network Channel Terminal Functional Descriptor.
Protocol Unit Functional Descriptor.
Multi-Channel Management Functional Descriptor.
Network Channel Terminal Functional Descriptor.