Open Source Telephony
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [patch 1/6] Add PPP protocol support with HDLC framing
Date: Mon, 15 Mar 2010 16:20:15 -0600	[thread overview]
Message-ID: <201003151720.16409.denkenz@gmail.com> (raw)
In-Reply-To: <20100315150408.45104132@kcaccard-MOBL3>

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

Hi Kristen,

> On Thu, 11 Mar 2010 20:17:49 -0600
> 
> Denis Kenzior <denkenz@gmail.com> wrote:
> > > +			} else {
> > > +				/* store last flag character */
> > > +				link->buffer[link->index++] = data[pos];
> > > +				frame = ppp_decode(link, link->buffer);
> >
> > This function along with ppp_decode do almost exactly the same thing as
> > gsm0710_advanced_extract_frame in gsm0710.c.  They both do HDLC frame
> > decoding, and the only difference I can see is in the fcs table.  Can we
> > combine these somehow?
> 
> Possibly - although in theory in addition to the escaping that you do
> in the gsm0710 code, we have to support a negotiated accm (which you see
> I've not yet implemented here).  We also in theory should support PFC and
> ACFC (which the one modem I tested with required, otherwise it refused to
> ack my Configure-Request).  I think there may eventually be enough
> differences to keep these separate.
> 

You will have to explain to me what that all means ;)  However, it would be 
ideal if we can create a set of utilities that can be shared between ppp and 
mux code (maybe with extra configuration parameters turning on/off or passing in 
parameters required for pfc/acfc/accm support.)

No sense writing, testing and debugging (and more importantly maintaining) the 
same code twice.

Regards,
-Denis

  reply	other threads:[~2010-03-15 22:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100311214022.838696145@linux.intel.com>
2010-03-11 22:00 ` [patch 1/6] Add PPP protocol support with HDLC framing kristen
2010-03-12  2:17   ` Denis Kenzior
2010-03-15 22:04     ` Kristen Carlson Accardi
2010-03-15 22:20       ` Denis Kenzior [this message]
2010-03-12  2:24   ` Denis Kenzior
2010-03-12  6:51     ` Marcel Holtmann
2010-03-11 22:00 ` [patch 2/6] Generic PPP control protocol kristen
2010-03-11 22:00 ` [patch 3/6] LCP support kristen
2010-03-11 22:00 ` [patch 4/6] CHAP with MD5 authentication kristen
2010-03-11 22:00 ` [patch 5/6] IP support for PPP kristen
2010-03-14 20:22   ` Marcel Holtmann
2010-03-16 22:53     ` Kristen Carlson Accardi
2010-03-17  4:39       ` Marcel Holtmann
2010-03-11 22:00 ` [patch 6/6] Allow gsmdial to use gatchat ppp support kristen
2010-03-14 20:02   ` Marcel Holtmann
2010-03-16 23:52     ` Kristen Carlson Accardi
     [not found] <20100317000824.420232401@linux.intel.com>
2010-03-17  0:13 ` [patch 1/6] Add PPP protocol support with HDLC framing Kristen Carlson Accardi
2010-03-17  6:28   ` Marcel Holtmann
     [not found] <20100319194705.214150215@linux.intel.com>
2010-03-19 19:46 ` Kristen Carlson Accardi
2010-03-20 15:33   ` Marcel Holtmann

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=201003151720.16409.denkenz@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox