[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <61b189cfd64e6d2a185ffc0178265caa693fa735.camel@suse.com>
Date: Fri, 30 Apr 2021 12:32:05 +0200
From: Oliver Neukum <oneukum@...e.com>
To: Loic Poulain <loic.poulain@...aro.org>
Cc: netdev@...r.kernel.org, linux-usb@...r.kernel.org, kuba@...nel.org,
bjorn@...k.no
Subject: Re: [RFC net-next 1/2] usb: class: cdc-wdm: add control type
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.
Powered by blists - more mailing lists