Skip to content

Support QMI and MBIM ports not managed by qmi_wwan or cdc_mbim

The current codebase had huge assumptions on the kernel drivers exposing QMI or MBIM ports. E.g. we assumed that every QMI and MBIM control port was exposed as a cdc-wdm device in the usbmisc subsystem, we assumed that each control port had an associated network port that "shared" the same parent USB interface, we assumed that we could query the expected data format in the kernel for all QMI ports...

All those assumptions don't make any sense when the QMI or MBIM ports aren't exposed by the cdc_mbim or qmi_wwan drivers, and therefore we should remove them in order to support other setups (e.g. Qualcomm SoCs or PCIe based modems).

Merge request reports