All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCHv2 2/2] hfpmodem: Request AT+CLCC again after callheld=<2 or 3>
Date: Sat, 02 Feb 2013 21:23:00 -0600	[thread overview]
Message-ID: <510DD814.4050908@gmail.com> (raw)
In-Reply-To: <510FDFBD.8020900@timomueller.eu>

[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]

Hi Timo,

> I agree, that the core logic shouldn't be polluted with phone specific
> workarounds. This is especially true when the quirks somehow interfere
> or modify the standard path. Having said this, I'd consider this fix
> general enough to justify it's integration in the standard driver, since
> the policy makes sense for any phone (mis)behaving this way, keeping the
> phone specific quirks to an absolute minimum.
>

You can extend this justification logic to any mis-behavior.  We have to 
draw a line somewhere.

> I know that the N9 is the only phone that has seen this problem so far,
> but the problem will occur with every phone that doesn't "atomically"
> change the CLCC list the moment it reports an indicator change (+CIEV).
>

Our motto here is 'We do not deal with hypothetical situations'.  So 
unless you find another phone that behaves in this manner, lets try not 
to speculate ;)

> As described in the commit message the phone already told the HF that it
> has set up an outgoing call (or that it's already alerting). The only
> thing missing is the detailed information about the call, which is
> retrieved using the AT+CLCC request.
>
> So in this case I think it's valid to generally try to fill in the
> missing information by issuing another AT+CLCC request. Otherwise the
> call will be alerting and although the phone has reported all indicator
> changes to oFono, we won't be able to reasonably control it from HF side.
>

I disagree.  However, I do think we need to get started on the HFP 
quirks framework.

Regards,
-Denis

  reply	other threads:[~2013-02-03  3:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1359360111.git.timo.mueller@bmw-carit.de>
2013-01-28 10:13 ` [PATCHv2 1/2] hfpmodem: Retry AT+CLCC request after outgoing callsetup Timo Mueller
2013-01-28 10:13   ` [PATCHv2 2/2] hfpmodem: Request AT+CLCC again after callheld=<2 or 3> Timo Mueller
2013-01-31  4:09     ` Denis Kenzior
2013-02-04 16:20       ` Timo =?unknown-8bit?q?M=C3=BCller?=
2013-02-03  3:23         ` Denis Kenzior [this message]
2013-01-31  3:50   ` [PATCHv2 1/2] hfpmodem: Retry AT+CLCC request after outgoing callsetup Denis Kenzior

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=510DD814.4050908@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.