All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/7] extended support for LTE and NR. Some minor fixes. part 1 of 7
Date: Wed, 19 Sep 2018 21:31:56 -0500	[thread overview]
Message-ID: <1d96c891-a2c6-65e2-8dee-f77fb1e3c367@gmail.com> (raw)
In-Reply-To: <49ad6936-1138-996e-5bcb-48f421e1b371@jolla.com>

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

Hi Slava,

On 09/19/2018 06:14 PM, Slava Monich wrote:
> On 20/09/18 00:45, Denis Kenzior wrote:
>>> (ANY = PAP_CHAP, and don't ask me why we added new values to the 
>>> beginning of the enum - it was before we started using binary 
>>> plugins). I would be more than happy if upstream started to use the 
>>> same enum!
>>>
>>
>> That assumes that we should support your METHOD_ANY thing.  I've not 
>> heard any good arguments for that yet...
> 
> At least one Chinese modem I dealt with had AT+ EGPAU = <op>,<cid>, 
> <proto> where <proto> is 0 for PAP, 1 for CHAP, 2 for NONE and 3 for 
> PAP_CHAP. Also, Android RIL interface has value 3 reserved for PAP&CHAP 
> (see ril.h for older Androids and ApnAuthType in binder radio interface 
> for Android 8+). To me that sounds like a valid use case.

So I went in and checked (someone can correct me if I'm wrong)

- The three-four generations of Intel modems I checked do not support this
- QMI doesn't support this
- MBIM doesn't support this (but supports MSChap/MSChapV2, funnily enough)
- 3GPP doesn't support this
- Telit doesn't support this
- Model Broadband Provider Info doesn't support this

Are you sure it isn't some weird vendor feature where they try all 
possibilities one at a time?  E.g. it tries CHAP first, then tries PAP, 
then tries None?

And how do you plan on supporting this on modems that physically do not 
support such an enumeration?  What would be the exact semantics?  Is 
this modem supported by oFono upstream?

This conversation is moot until you introduce support for such a modem 
or more specific information is introduced.  And until / unless this 
happens, we're not introducing random enumerations into the D-Bus API 
that we have to live with for a long time.

Regards,
-Denis

  reply	other threads:[~2018-09-20  2:31 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-19  5:37 [PATCH 1/7] extended support for LTE and NR. Some minor fixes. part 1 of 7 Giacinto Cifelli
2018-09-19  5:37 ` [PATCH 2/7] extended support for LTE and NR. Some minor fixes. part 2 " Giacinto Cifelli
2018-09-19 15:04   ` Denis Kenzior
2018-09-19 16:07     ` Giacinto Cifelli
2018-09-19 16:30       ` Denis Kenzior
2018-09-19 17:53         ` Giacinto Cifelli
2018-09-19 18:23           ` Denis Kenzior
2018-09-20  7:57             ` Giacinto Cifelli
2018-09-20 16:02               ` Denis Kenzior
2018-09-20 16:07                 ` Giacinto Cifelli
2018-09-20 16:31                   ` Denis Kenzior
2018-09-20 17:03                     ` Giacinto Cifelli
2018-09-20 17:18                       ` Denis Kenzior
2018-09-20 17:25                         ` Giacinto Cifelli
2018-09-19  5:37 ` [PATCH 3/7] extended support for LTE and NR. Some minor fixes. part 3 " Giacinto Cifelli
2018-09-19 15:05   ` Denis Kenzior
2018-09-19  5:37 ` [PATCH 4/7] extended support for LTE and NR. Some minor fixes. part 4 " Giacinto Cifelli
2018-09-19  5:37 ` [PATCH 5/7] extended support for LTE and NR. Some minor fixes. part 5 " Giacinto Cifelli
2018-09-19  5:37 ` [PATCH 6/7] extended support for LTE and NR. Some minor fixes. part 6 " Giacinto Cifelli
2018-09-19  5:37 ` [PATCH 7/7] extended support for LTE and NR. Some minor fixes. part 7 " Giacinto Cifelli
2018-09-19  8:35 ` [PATCH 1/7] extended support for LTE and NR. Some minor fixes. part 1 " Slava Monich
2018-09-19  9:24   ` Giacinto Cifelli
2018-09-19 15:21     ` Denis Kenzior
2018-09-19 16:28       ` Slava Monich
2018-09-19 16:32         ` Denis Kenzior
2018-09-19 16:54           ` Slava Monich
2018-09-19 16:58             ` Giacinto Cifelli
2018-09-19 20:48             ` Slava Monich
2018-09-19 21:45               ` Denis Kenzior
2018-09-19 23:14                 ` Slava Monich
2018-09-20  2:31                   ` Denis Kenzior [this message]
2018-09-19 15:19   ` Denis Kenzior
2018-09-19 14:09 ` Denis Kenzior
2018-09-19 15:42   ` Giacinto Cifelli
2018-09-19 15:59     ` 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=1d96c891-a2c6-65e2-8dee-f77fb1e3c367@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.