[PATCH] libmbim: Add mbim-proxy support

Greg Suarez gpsuarez2512 at gmail.com
Tue May 27 10:11:11 PDT 2014


On Tue, May 27, 2014 at 9:58 AM, Aleksander Morgado <
aleksander at aleksander.es> wrote:

> 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.
>
>
Ok


> Note that the proxy will need to build a
> MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST combined with all the
> indications expected by all clients, plus maintain which indication is
> enabled/disabled by each client.


Yes

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.
>
Did you mean forward to the client anyway?

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libmbim-devel/attachments/20140527/f51c255b/attachment-0001.html>


More information about the libmbim-devel mailing list