<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 23, 2014 at 11:31 AM, Aleksander Morgado <span dir="ltr"><<a href="mailto:aleksander@aleksander.es" target="_blank">aleksander@aleksander.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">On Mon, Jun 23, 2014 at 8:25 PM, Greg Suarez <<a href="mailto:gpsuarez2512@gmail.com">gpsuarez2512@gmail.com</a>> wrote:<br>

>> There's one key thing missing still in the behavior we're supposed to<br>
>> see w.r.t. indications. In the current code with your latest patches,<br>
>> there is no difference between standard and non-standard services. If<br>
>> I'm not mistaken, by default all indications of "standard" services<br>
>> should be treated as enabled; while all indications of non-standard<br>
>> services shouldn't.<br>
><br>
><br>
> Just so I understand what you're saying...<br>
> So Client-A enables indications for non-standard services and then Client-B<br>
> connects to the proxy and expects the non-standard indications disabled.<br>
> So the proxy shouldn't forward the non-standard indications to Client-B<br>
> until<br>
> Client-B enables the indications, correct?<br>
<br>
</div>Yes.<br>
<br>
Another flow:<br>
 * Client A starts, and by default expects standard indications.<br>
 * Client B starts, and by default expects standard indications.<br>
 * At this point, all standard indications should go to both clients A and B.<br>
 * Client B unregisters itself from all standard indications, and<br>
registers some non-standard ones.<br>
 * At this point, all standard indications should go to client A, and<br>
client B should only get those non-standard indications it was<br>
registered for.<br></blockquote><div><br></div><div>The current patch already handles this flow.  Since the client provides only the<br>services and cids that it expects to receive in the MBIM_CID_DEVICE_SERVICE_SUBSCRIBE_LIST,<br>
</div><div>the patch saves the MBIM_DEVICES_SERVICE_SUBSCRIBE_LIST and uses it to check if an<br></div><div>indication should be passed on to the client.  So if Client-B unregisters from a standard service it will<br></div>
<div>not receive those indications.  And since the proxy will never actually unregister from standard services<br></div><div>with the actual device, Client A will continue to receive indications from standard services.<br>
<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Could you re-check the standard to confirm this logic, and if so,<br>
provide in the commit message the section in which this is explained?<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div>Sure<br><br></div><div>Greg <br></div></div><br></div></div>