aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-mbim.h
AgeCommit message (Collapse)Author
2022-12-18port-mbim: chain up device notifications through the portAleksander Morgado
Instead of having the modem object listen notifications in the MbimDevice, the MMPortMbim will act as an intermediate emitter for the same. The primary benefit is that the lifecycle of the port object is tightly coupled to the life of the modem object, so there is no chance that the port object outlives the modem object. And the port object will ensure its own device notification handler is correctly cleared up on its dispose, so there should be no chance of firing up a signal in the device for a listener that is already freed.
2021-03-17port-mbim: implement new link setup/cleanup methodsAleksander Morgado
These are really wrappers around the MbimDevice methods, only making sure the MMPortMbim is open before they're used.
2021-03-17port-mbim: implement port reset logicAleksander Morgado
2020-11-09port-mbim: allow specifying input subsystemAleksander Morgado
We have assumed until now that all MBIM ports are based on the cdc_mbim driver, exposed in the 'usbmisc' subsystem by the cdc-wdm driver. This may no longer be true, so allow creating MBIM ports with an explicit subsystem instead of defaulting always to USBMISC.
2020-09-19core: add autoptr cleanup methods to all internal typesAleksander Morgado
2018-08-23mbim: fix inconsistency in WITH_QMI guardsBen Chan
2018-08-21port-mbim: implement QMI client allocation logicAleksander Morgado
2018-08-21port-mbim: automatically try to open a QMI over MBIM deviceAleksander Morgado
Most Qualcomm-based MBIM devices also support QMI over MBIM. We will try to check in runtime whether the MBIM device supports QMI over MBIM, and if so, setup a QmiDevice within the MMPortMbim.
2014-02-13ports: rename 'MMMbimPort' to 'MMPortMbim'Aleksander Morgado