From: Jessica Nilsson <jessica.j.nilsson@stericsson.com>
To: ofono@ofono.org
Subject: Re: [PATCH 3/4] isimodem2.5: Changes to add isimodem2.5
Date: Thu, 09 Dec 2010 12:36:19 +0100 [thread overview]
Message-ID: <4D00BF33.1050801@stericsson.com> (raw)
In-Reply-To: <AANLkTinXYaMie6MrsK6gWyfwtYAeN6d46-iy1j-Px3pY@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2612 bytes --]
Hi Aki,
> The CBS topics set is simply not implemented in the current cbs
> driver. I suggest you create a patch for adding that into the current
> driver.
>
>
> And same for the clear_topics callback.
Yes, I might be able to do that. I can not test it though, I haven't
got any isimodem HW.
I assume you mean submitting a patch to the isimodem for this?
> This has no business being in the isimodem driver. I suppose it was
> included by mistake.
>
Yes, sorry.
>
> So the IMEI is not stored on the modem at all. This obviously needs a
> quirk, but I wonder if it would be cleaner to handle this in the modem
> plugin. See for example how GPIO lines are handled in the n900 driver.
>
>
Right, we will look into that and probably get back to you on this with
questions.
> Is there actually anything different here, except for the name change?
> It's using a forked version of GIsiPipe, but I'm pretty sure we can
> just add the missing bits into the existing GIsiPipe class.
>
Yes, that could be a solution.
> Just adding the decoding for NET_MODEM_ subblocks here would be
> enough. In fact, these subblocks look almost identical to the existing
> NET_ subblocks, so adding just extra case statements with the new
> codepoints would probably work, too.
>
That would certainly look neater. :-)
> I think this is a bad idea. I know you're using NET_CS_CONTROL_REQ
> here to implement the unregister callback, but the this is basically
> just wrapping existing PN_MTC functionality. In general, ISI modems
> don't seem to understand what a deregister even means.
>
> In fact, even the D-Bus method seems of little value, and I would
> remove it altogether. In any case, leaving this unimplemented is my
> preference.
>
Ok, we can see if this works for us, but you are probably right.
> This is different from the current netreg driver. However, it's easy
> enough to alternate, see below.
>
> I would suggest probing for both PN_NETWORK and PN_MODEM_NETWORK here.
> Then which ever answers first gets used. After we know with which
> resource we're working with, overloading a few of the ISI messages is
> enough to make this driver work with both versions of modems.
>
Seems pretty straighforward.
> I didn't go through all of the patch, but from what I can see, we can
> pretty well fold the WG2.5 modem support into the existing drivers.
>
We'll get back to you on that when we have had another look at this and
your other suggestions.
Thanks for your comments. :-)
Best Regards,
Jessica
prev parent reply other threads:[~2010-12-09 11:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-08 8:34 [PATCH 3/4] isimodem2.5: Changes to add isimodem2.5 Jessica Nilsson
2010-12-08 9:30 ` Marcel Holtmann
2010-12-08 13:25 ` Jessica Nilsson
2010-12-08 13:42 ` Mika.Liljeberg
2010-12-08 15:19 ` Marcel Holtmann
2010-12-09 8:45 ` Jessica Nilsson
2010-12-09 6:26 ` Aki Niemi
2010-12-09 11:36 ` Jessica Nilsson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D00BF33.1050801@stericsson.com \
--to=jessica.j.nilsson@stericsson.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.