From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Cinterion EHS6 support
Date: Wed, 29 Apr 2015 17:57:55 -0500 [thread overview]
Message-ID: <554161F3.40104@gmail.com> (raw)
In-Reply-To: <55413AFD.40703@dynamicdevices.co.uk>
[-- Attachment #1: Type: text/plain, Size: 1672 bytes --]
Hi Alex,
>
> It looks as though the issue is that the Cinterion parts don't support
> signal strength via +CIND ?
Yes, we look for "signal" indicator inside cind_support_cb. If it isn't
found, then we raise an error. This tells the hw integrator to address
the issue. CIND logic is provided as a fallback / default since many
manufacturers support this indicator for HFP.
>
> Yet in at_signal_strength() it looks to me as though if this is the case
> the code will fall back happily to using +CSQ
signal_strength (and hence +CSQ) is used to bootstrap the signal
strength value. This driver method is only called at very specific
times. The core does not poll signal_strength. It is expected that the
driver will send signal strength value to the core periodically, by
whatever means is optimal for the hardware. Most modems use a custom
unsolicited notification or CIND to provide information about signal
strength automatically. I suspect Cinterion has a similar extension.
>
> That being the case I'm not sure why cind_support_cb() should be
> reporting an error and removing the device when it should be able to
> fallback and continue?
The consequence of the above is that it can't. If no vendor extension
is available for unsolicited notifications and signal strength is not
provided via CIND, then the netreg atom driver can either poll signal
strength manually or simply not provide any signal strength updates.
For the latter, it must enable such behavior explicitly. Hence why your
patch providing OFONO_VENDOR_CINTERION logic makes this work properly.
Hope that made sense.
Regards,
-Denis
next prev parent reply other threads:[~2015-04-29 22:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 16:45 Cinterion EHS6 support Alex J Lennon
2015-04-29 18:17 ` Denis Kenzior
2015-04-29 18:24 ` Alex J Lennon
2015-04-29 18:50 ` Denis Kenzior
2015-04-29 19:11 ` Alex J Lennon
2015-04-29 19:17 ` Denis Kenzior
2015-04-29 20:03 ` Alex J Lennon
2015-04-29 20:11 ` Alex J Lennon
2015-04-29 22:57 ` Denis Kenzior [this message]
2015-04-30 4:42 ` Alex J Lennon
2015-04-30 7:37 ` Alex J Lennon
2015-04-30 17:19 ` Denis Kenzior
2015-04-30 9:20 ` Alex J Lennon
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=554161F3.40104@gmail.com \
--to=denkenz@gmail.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.