Open Source Telephony
 help / color / mirror / Atom feed
From: Ryan Raasch <ryan.raasch@gmail.com>
To: ofono@ofono.org
Subject: Re: ppp
Date: Thu, 12 Nov 2009 19:42:10 +0100	[thread overview]
Message-ID: <4AFC5702.50406@gmail.com> (raw)
In-Reply-To: <200911121237.30698.denkenz@gmail.com>

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



Denis Kenzior wrote:
> Hi Ryan,
> 
>> Hello,
>>
>> We need a ppp interface for our modem. I was told on the chat forum that
>> a tap/tun device was to be used. Has anyone else started with this or
>> thought how to implement this?
> 
> We're currently working on a userspace ppp implementation that will integrate 
> with GAtChat.  The goal here is to make it integrate well with the current 
> multiplexed channel capability in GAtMux/GatChat and not need to involve an 
> external daemon.
> 

Wow. So ofono will not use the kernel space ppp and implement the ppp 
stack in userspace?

>> After reading briefly the code from pppd, the implementation, for a
>> first draft, is pretty straight forward (w/o encryption, etc. in
>> userspace). "Just" dial the apn, and hand over the tty fd to ppp via ioctl.
>>
> 
> Unfortunately it is not that simple.  pppd requires a proper kernel file 
> descriptor to hand off to the kernel ppp line discipline.  In our userspace 
> implementation that is not the case.  1 kernel file descriptor is shared by 
> potentially many GAtChat channels using a multiplexing protocol.  Hence why we 
> can't reuse the kernel implementation.
> 

Yea. That's right.

> Regards,
> -Denis
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono

  reply	other threads:[~2009-11-12 18:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 13:58 ppp Ryan Raasch
2009-11-12 18:37 ` ppp Denis Kenzior
2009-11-12 18:42   ` Ryan Raasch [this message]
2009-11-12 19:39   ` ppp Chris Pitchford
2009-11-13 11:31     ` ppp =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-11-13 11:53       ` ppp Chris Pitchford
2009-11-14 18:50         ` ppp Andrzej Zaborowski
2009-11-14 19:26           ` ppp Chris Pitchford
2009-11-15  9:09             ` ppp =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-11-13 12:02     ` ppp Marcel Holtmann
2009-11-13 12:13       ` ppp Chris Pitchford
2009-11-13 12:23         ` ppp Marcel Holtmann
2009-11-13 11:30   ` ppp =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont

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=4AFC5702.50406@gmail.com \
    --to=ryan.raasch@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox