[PATCH] libmbim: Add mbim-proxy support

Aleksander Morgado aleksander at aleksander.es
Tue May 27 09:58:22 PDT 2014

On Tue, May 27, 2014 at 6:46 PM, Greg Suarez <gpsuarez2512 at gmail.com> wrote:
> Should the tracking be put in MbimDevice instead of the proxy so that
> the behavior is the same with or without the proxy?  This would prevent
> any future "it worked without the proxy but with the proxy we're not
> receiving indications" issues.

No, I don't think the MbimDevice shouldn't track anything. If the
device sends indications when it is not supposed to do it, then the
MbimDevice should just emit them anyway. But, when using the MbimProxy
in between we do need to have this tracking to know to which clients
to forward the indications to.

Note that the proxy will need to build a
indications expected by all clients, plus maintain which indication is
enabled/disabled by each client. If the modem receives an indication
which wasn't enabled by any client, we should also then forward it to
the MbimDevice anyway, so that we keep the same behavior with or
without proxy.


More information about the libmbim-devel mailing list