Lightweight USB stack  1.0
USB CDC ATM subclass

USB CDC ATM subclass definitions. More...

Data Structures

struct  usb_cdc_atm_desc
 ATM Networking Functional Descriptor. More...
 

Communications Class Subclass Codes

#define USB_CDC_SUBCLASS_ATM   0x07
 ATM Networking Control Model.
 

CDC ATM subclass specific Functional Descriptors codes

#define USB_DTYPE_CDC_ATM   0x10
 ATM Networking Functional Descriptor.
 

CDC ATM subclass specific requests

#define USB_CDC_SET_ATM_DATA_FORMAT   0x50
 Chooses which ATM data format will be exchanged between the host and the ATM Networking device.
 
#define USB_CDC_GET_ATM_DEVICE_STATISTICS   0x51
 Retrieves global statistics from the ATM Networking device.
 
#define USB_CDC_SET_ATM_DEFAULT_VC   0x52
 Pre-selects the VPI/VCI value for subsequent GET_ATM_DEVICE_STATISTICS requests.
 
#define USB_CDC_GET_ATM_VC_STATISTICS   0x53
 Retrieves statistics from the ATM Networking device for a particular VPI/VCI.
 

ATM Device Statistics Feature Selector Codes

#define ATM_STAT_US_CELLS_SENT   0x01
 The number of cells that have been sent upstream to the WAN link by the ATM layer.
 
#define ATM_STAT_DS_CELLS_RECEIVED   0x02
 The number of cells that have been received downstream from the WAN link by the ATM layer.
 
#define ATM_STAT_DS_CELLS_USB_CONGESTION   0x03
 The number of cells that have been received downstream from the WAN link by the ATM layer and discarded due to congestion on the USB link.
 
#define ATM_STAT_DS_CELLS_AAL5_CRC_ERROR   0x04
 The number of cells that have been received downstream from the WAN link by the ATM layer and discarded due to AAL5 CRC errors.
 
#define ATM_STAT_DS_CELLS_HEC_ERROR   0x05
 The number of cells that have been received downstream from the WAN link and discarded due to HEC errors in the cell header.
 
#define ATM_STAT_DS_CELLS_HEC_ERROR_CORRT   0x06
 The number of cells that have been received downstream from the WAN link and have been detected with HEC errors in the cell header and successfully corrected.
 

Detailed Description

USB CDC ATM subclass definitions.

This module based on "Universal Serial Bus Communications Class Subclass Specification for Asynchronous Transfer Mode Devices" Revision 1.2