Am Freitag, den 30.04.2021, 12:16 +0200 schrieb Loic Poulain: > Add type parameter to usb_cdc_wdm_register function in order to > specify which control protocol the cdc-wdm channel is transporting. > It will be required for exposing the channel(s) through WWAN framework. Hi, that is an interesting framework. Some issues though. Regards Oliver > +/** > + * enum usb_cdc_wdm_type - CDC WDM endpoint type > + * @USB_CDC_WDM_UNKNOWN: Unknown type > + * @USB_CDC_WDM_MBIM: Mobile Broadband Interface Model control > + * @USB_CDC_WDM_QMI: Qualcomm Modem Interface for modem control > + * @USB_CDC_WDM_AT: AT commands interface > + */ > +enum usb_cdc_wdm_type { > + USB_CDC_WDM_UNKNOWN, > + USB_CDC_WDM_MBIM, > + USB_CDC_WDM_QMI, > + USB_CDC_WDM_AT > +}; If this is supposed to integrate CDC-WDM into a larger subsystem, what use are private types here? If you do this the protocols need to come from the common framework.